[2025-01-12 00:00:01] Production.INFO: ==13338== Lock acquired, processing the job...
[2025-01-12 00:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:00:01] Production.INFO: neon service started
[2025-01-12 00:00:01] Production.INFO: neon service started
[2025-01-12 00:00:01] Production.INFO: ==13338== Releasing lock...
[2025-01-12 00:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:00:01] Production.INFO: ==13342== Lock acquired, processing the job...
[2025-01-12 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:00:01] Production.INFO: ==13342== Releasing lock...
[2025-01-12 00:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:00:02] Production.INFO: ==13340== Lock acquired, processing the job...
[2025-01-11 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:00:02] Production.INFO: ==13340== Releasing lock...
[2025-01-11 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:00:03] Production.INFO: ==13353== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:00:03] Production.INFO: ==13355== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:00:03] Production.INFO: ==13345== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 19:00:03] Production.INFO: ==13359== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:00:03] Production.INFO: ==13347== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:00:03] Production.INFO: Account Balance Start.
[2025-01-11 19:00:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:00:03] Production.INFO: 117
[2025-01-11 19:00:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:00:03] Production.ERROR: CronJob PID - 13347
[2025-01-11 19:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 19:00:03] Production.ERROR: CronJob ID - 5
[2025-01-11 19:00:03] Production.ERROR: CronJob Last Run Time 2025-01-11 19:00:00
[2025-01-11 19:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:00:03] Production.ERROR: CronJob PID - 13353
[2025-01-11 19:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-11 19:00:03] Production.ERROR: CronJob ID - 12
[2025-01-11 19:00:03] Production.ERROR: CronJob Last Run Time 2025-01-11 19:00:00
[2025-01-11 19:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:00:03] Production.ERROR: CronJob PID - 13355
[2025-01-11 19:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-11 19:00:03] Production.ERROR: CronJob ID - 16
[2025-01-11 19:00:03] Production.ERROR: CronJob Last Run Time 2025-01-11 19:00:00
[2025-01-11 19:00:03] Production.INFO: ==13349== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:00:03] Production.ERROR: CronJob PID - 13359
[2025-01-11 19:00:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-11 19:00:03] Production.ERROR: CronJob ID - 19
[2025-01-11 19:00:03] Production.ERROR: CronJob Last Run Time 2025-01-11 19:00:00
[2025-01-11 19:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19: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-01-11 19:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 19:00:03] Production.INFO: ==13345== Releasing lock...
[2025-01-11 19:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 19:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 19:00:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:00:03] Production.INFO: ==13351== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:00:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:00:03] Production.INFO: count ==21
[2025-01-11 19:00:03] Production.INFO: ==13357== Lock acquired, processing the job...
[2025-01-11 19:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 19:00:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226249') start
[2025-01-11 19:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:00:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:00:04] Production.INFO: Total Charge 0
[2025-01-11 19:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226249') end
[2025-01-11 19:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:00:04] Production.INFO: 1
[2025-01-11 19:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:00:04] Production.INFO: CreateAllLog End
[2025-01-11 19:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:00:04] Production.INFO: ==13359== Releasing lock...
[2025-01-11 19:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:00:04] Production.ERROR: done
[2025-01-11 19:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:00:04] Production.ERROR: done
[2025-01-11 19:00:04] Production.INFO: ==13349== Releasing lock...
[2025-01-11 19:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:00:04] Production.ERROR: done
[2025-01-11 19:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 19:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226252', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 19:00:04] Production.INFO: Account Balance End.
[2025-01-11 19:00:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:00:04] Production.INFO: ==13353== Releasing lock...
[2025-01-11 19:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:00:05
[end_date_ymd] => 2025-01-11 19:00:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:00:05' and `end` < '2025-01-11 19: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-01-11 19:00:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226252', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 19:00:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 19:00:07] Production.INFO: ProcessCDR(1,14226252,1,1,2)
[2025-01-11 19:00:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226252,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:00:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226252,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:00:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:00:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:00:07] Production.INFO: ==13357== Releasing lock...
[2025-01-11 19:00:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 19:00:07] Production.INFO: 26 MB #Memory Used#
[2025-01-11 19:00:14] Production.ERROR: CronJobId end10
[2025-01-11 19:00:14] Production.INFO: ==13351== Releasing lock...
[2025-01-11 19:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:00:15] Production.INFO: call_cost start
[2025-01-11 19:00:15] Production.INFO: call_cost end
[2025-01-11 19:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:00:16] Production.INFO: ==13347== Releasing lock...
[2025-01-11 19:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:00:18] Production.INFO: count ==1867
[2025-01-11 19:00:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:00:05 - End Time 2025-01-11 19:00:05
[2025-01-11 19:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226253', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226253', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226253', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226253', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:00:19] Production.INFO: ProcessCDR(1,14226253,1,1,2)
[2025-01-11 19:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226253', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226253', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:00:22] Production.INFO: ==13355== Releasing lock...
[2025-01-11 19:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:00:22] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 00:01:01] Production.INFO: ==13497== Lock acquired, processing the job...
[2025-01-12 00:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:01:01] Production.INFO: neon service started
[2025-01-12 00:01:01] Production.INFO: neon service started
[2025-01-12 00:01:01] Production.INFO: ==13497== Releasing lock...
[2025-01-12 00:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:01:02] Production.INFO: ==13508== Lock acquired, processing the job...
[2025-01-11 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:01:02] Production.INFO: ==13508== Releasing lock...
[2025-01-11 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:01:02] Production.INFO: ==13510== Lock acquired, processing the job...
[2025-01-12 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:01:02] Production.INFO: ==13510== Releasing lock...
[2025-01-12 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:01:03] Production.INFO: ==13517== Lock acquired, processing the job...
[2025-01-11 19:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:01:03] Production.INFO: ==13523== Lock acquired, processing the job...
[2025-01-11 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:01:03] Production.INFO: ==13513== Lock acquired, processing the job...
[2025-01-11 19:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:01:03] Production.INFO: ==13515== Lock acquired, processing the job...
[2025-01-11 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:01:03] Production.INFO: ==13519== Lock acquired, processing the job...
[2025-01-11 19:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:01:03] Production.INFO: ==13521== Lock acquired, processing the job...
[2025-01-11 19:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:01:03] Production.INFO: Account Balance Start.
[2025-01-11 19:01:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:01:03] Production.INFO: 117
[2025-01-11 19:01:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:01:03] Production.INFO: count ==21
[2025-01-11 19:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:01:03] Production.INFO: count ==21
[2025-01-11 19:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226255') start
[2025-01-11 19:01:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:01:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:01:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226255') end
[2025-01-11 19:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:01:03] Production.INFO: 1
[2025-01-11 19:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:01:03] Production.INFO: ==13523== Releasing lock...
[2025-01-11 19:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:01:03] Production.INFO: ==13515== Releasing lock...
[2025-01-11 19:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:01:03] Production.INFO: Total Charge 0
[2025-01-11 19:01:03] Production.ERROR: done
[2025-01-11 19:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:01:03] Production.INFO: CreateAllLog End
[2025-01-11 19:01:04] Production.ERROR: done
[2025-01-11 19:01:04] Production.INFO: Account Balance End.
[2025-01-11 19:01:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:01:04] Production.INFO: ==13519== Releasing lock...
[2025-01-11 19:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:01:05
[end_date_ymd] => 2025-01-11 19:01:05
[RateCDR] => 1
)
[2025-01-11 19:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:01:05' and `end` < '2025-01-11 19:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:01:11] Production.ERROR: CronJobId end10
[2025-01-11 19:01:11] Production.INFO: ==13517== Releasing lock...
[2025-01-11 19:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:01:13] Production.INFO: call_cost start
[2025-01-11 19:01:13] Production.INFO: call_cost end
[2025-01-11 19:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:01:14] Production.INFO: ==13513== Releasing lock...
[2025-01-11 19:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:01:18] Production.INFO: count ==1915
[2025-01-11 19:01:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:01:05 - End Time 2025-01-11 19:01:05
[2025-01-11 19:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226258', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226258', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226258', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226258', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:01:18] Production.INFO: ProcessCDR(1,14226258,1,1,2)
[2025-01-11 19:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226258', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226258', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:01:22] Production.INFO: ==13521== Releasing lock...
[2025-01-11 19:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:01:22] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:02:02] Production.INFO: ==13577== Lock acquired, processing the job...
[2025-01-12 00:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:02:02] Production.INFO: neon service started
[2025-01-12 00:02:02] Production.INFO: neon service started
[2025-01-12 00:02:02] Production.INFO: ==13577== Releasing lock...
[2025-01-12 00:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:02:02] Production.INFO: ==13579== Lock acquired, processing the job...
[2025-01-11 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:02:02] Production.INFO: ==13579== Releasing lock...
[2025-01-11 19:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:02:03] Production.INFO: ==13581== Lock acquired, processing the job...
[2025-01-12 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:02:03] Production.INFO: ==13581== Releasing lock...
[2025-01-12 00:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:02:03] Production.INFO: ==13589== Lock acquired, processing the job...
[2025-01-11 19:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:02:03] Production.INFO: Account Balance Start.
[2025-01-11 19:02:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:02:03] Production.INFO: 117
[2025-01-11 19:02:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:02:03] Production.INFO: ==13591== Lock acquired, processing the job...
[2025-01-11 19:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:02:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:02:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:02:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:02:03] Production.INFO: ==13583== Lock acquired, processing the job...
[2025-01-11 19:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:02:04] Production.INFO: ==13585== Lock acquired, processing the job...
[2025-01-11 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:02:04] Production.INFO: ==13587== Lock acquired, processing the job...
[2025-01-11 19:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:02:04] Production.INFO: Total Charge 0
[2025-01-11 19:02:04] Production.INFO: CreateAllLog End
[2025-01-11 19:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:02:04] Production.INFO: ==13593== Lock acquired, processing the job...
[2025-01-11 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:02:04] Production.ERROR: done
[2025-01-11 19:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:02:04] Production.ERROR: done
[2025-01-11 19:02:04] Production.INFO: ==13585== Releasing lock...
[2025-01-11 19:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:02:04] Production.INFO: Account Balance End.
[2025-01-11 19:02:04] Production.INFO: count ==21
[2025-01-11 19:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:02:04] Production.INFO: count ==21
[2025-01-11 19:02:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:02:04] Production.INFO: ==13589== Releasing lock...
[2025-01-11 19:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226262') start
[2025-01-11 19:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226262') end
[2025-01-11 19:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:02:04] Production.INFO: 1
[2025-01-11 19:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:02:04] Production.INFO: ==13593== Releasing lock...
[2025-01-11 19:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:02:05
[end_date_ymd] => 2025-01-11 19:02:05
[RateCDR] => 1
)
[2025-01-11 19:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:02:05' and `end` < '2025-01-11 19:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:02:12] Production.ERROR: CronJobId end10
[2025-01-11 19:02:12] Production.INFO: ==13587== Releasing lock...
[2025-01-11 19:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:02:13] Production.INFO: call_cost start
[2025-01-11 19:02:13] Production.INFO: call_cost end
[2025-01-11 19:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:02:14] Production.INFO: ==13583== Releasing lock...
[2025-01-11 19:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:02:21] Production.INFO: count ==1915
[2025-01-11 19:02:21] Production.ERROR: pbx CDR StartTime 2025-01-11 16:02:05 - End Time 2025-01-11 19:02:05
[2025-01-11 19:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226263', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226263', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226263', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226263', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:02:21] Production.INFO: ProcessCDR(1,14226263,1,1,2)
[2025-01-11 19:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226263', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226263', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:02:24] Production.INFO: ==13591== Releasing lock...
[2025-01-11 19:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:02:24] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:03:01] Production.INFO: ==13649== Lock acquired, processing the job...
[2025-01-12 00:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:03:01] Production.INFO: neon service started
[2025-01-12 00:03:01] Production.INFO: neon service started
[2025-01-12 00:03:01] Production.INFO: ==13649== Releasing lock...
[2025-01-12 00:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:03:02] Production.INFO: ==13651== Lock acquired, processing the job...
[2025-01-11 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:03:02] Production.INFO: ==13651== Releasing lock...
[2025-01-11 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:03:02] Production.INFO: ==13653== Lock acquired, processing the job...
[2025-01-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:03:02] Production.INFO: ==13653== Releasing lock...
[2025-01-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:03:03] Production.INFO: ==13656== Lock acquired, processing the job...
[2025-01-11 19:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:03:03] Production.INFO: ==13658== Lock acquired, processing the job...
[2025-01-11 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:03:03] Production.INFO: ==13662== Lock acquired, processing the job...
[2025-01-11 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:03:03] Production.INFO: Account Balance Start.
[2025-01-11 19:03:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:03:03] Production.INFO: 117
[2025-01-11 19:03:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:03:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:03:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:03:03] Production.INFO: ==13660== Lock acquired, processing the job...
[2025-01-11 19:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:03:03] Production.INFO: ==13658== Releasing lock...
[2025-01-11 19:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:03:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:03:03] Production.INFO: ==13666== Lock acquired, processing the job...
[2025-01-11 19:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:03:03] Production.INFO: Total Charge 0
[2025-01-11 19:03:03] Production.INFO: ==13664== Lock acquired, processing the job...
[2025-01-11 19:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:03:03] Production.INFO: CreateAllLog End
[2025-01-11 19:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:03:03] Production.INFO: Account Balance End.
[2025-01-11 19:03:03] Production.INFO: count ==21
[2025-01-11 19:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:03:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:03:03] Production.INFO: ==13662== Releasing lock...
[2025-01-11 19:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:03:03] Production.INFO: count ==21
[2025-01-11 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226267') start
[2025-01-11 19:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226267') end
[2025-01-11 19:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:03:03] Production.INFO: 1
[2025-01-11 19:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:03:03] Production.ERROR: done
[2025-01-11 19:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:03:04] Production.INFO: ==13666== Releasing lock...
[2025-01-11 19:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:03:04] Production.ERROR: done
[2025-01-11 19:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:03:05
[end_date_ymd] => 2025-01-11 19:03:05
[RateCDR] => 1
)
[2025-01-11 19:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:03:05' and `end` < '2025-01-11 19:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:03:11] Production.ERROR: CronJobId end10
[2025-01-11 19:03:11] Production.INFO: ==13660== Releasing lock...
[2025-01-11 19:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:03:12] Production.INFO: call_cost start
[2025-01-11 19:03:12] Production.INFO: call_cost end
[2025-01-11 19:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:03:13] Production.INFO: ==13656== Releasing lock...
[2025-01-11 19:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:03:22] Production.INFO: count ==1913
[2025-01-11 19:03:22] Production.ERROR: pbx CDR StartTime 2025-01-11 16:03:05 - End Time 2025-01-11 19:03:05
[2025-01-11 19:03:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226268', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226268', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226268', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:03:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226268', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:03:22] Production.INFO: ProcessCDR(1,14226268,1,1,2)
[2025-01-11 19:03:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:03:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:03:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:03:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226268', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:03:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226268', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:03:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:03:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:03:27] Production.INFO: ==13664== Releasing lock...
[2025-01-11 19:03:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:03:27] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 00:04:02] Production.INFO: ==13720== Lock acquired, processing the job...
[2025-01-12 00:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:04:02] Production.INFO: neon service started
[2025-01-12 00:04:02] Production.INFO: neon service started
[2025-01-12 00:04:02] Production.INFO: ==13720== Releasing lock...
[2025-01-12 00:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:04:02] Production.INFO: ==13724== Lock acquired, processing the job...
[2025-01-12 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:04:02] Production.INFO: ==13724== Releasing lock...
[2025-01-12 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:04:02] Production.INFO: ==13722== Lock acquired, processing the job...
[2025-01-11 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:04:02] Production.INFO: ==13722== Releasing lock...
[2025-01-11 19:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:04:03] Production.INFO: ==13726== Lock acquired, processing the job...
[2025-01-11 19:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:04:03] Production.INFO: ==13728== Lock acquired, processing the job...
[2025-01-11 19:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:04:03] Production.INFO: ==13734== Lock acquired, processing the job...
[2025-01-11 19:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:04:03] Production.INFO: ==13732== Lock acquired, processing the job...
[2025-01-11 19:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:04:03] Production.INFO: ==13730== Lock acquired, processing the job...
[2025-01-11 19:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:04:03] Production.INFO: ==13736== Lock acquired, processing the job...
[2025-01-11 19:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:04:04] Production.INFO: ==13728== Releasing lock...
[2025-01-11 19:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:04:04] Production.ERROR: done
[2025-01-11 19:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:04:04] Production.INFO: Account Balance Start.
[2025-01-11 19:04:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:04:04] Production.INFO: 117
[2025-01-11 19:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:04:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:04:04] Production.INFO: count ==21
[2025-01-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:04:04] Production.INFO: count ==21
[2025-01-11 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226271') start
[2025-01-11 19:04:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:04:04] Production.ERROR: done
[2025-01-11 19:04:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:04:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226271') end
[2025-01-11 19:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:04:04] Production.INFO: 1
[2025-01-11 19:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:04:04] Production.INFO: ==13736== Releasing lock...
[2025-01-11 19:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:04:04] Production.INFO: Total Charge 0
[2025-01-11 19:04:04] Production.INFO: CreateAllLog End
[2025-01-11 19:04:04] Production.INFO: Account Balance End.
[2025-01-11 19:04:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:04:04] Production.INFO: ==13732== Releasing lock...
[2025-01-11 19:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:04:05
[end_date_ymd] => 2025-01-11 19:04:05
[RateCDR] => 1
)
[2025-01-11 19:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:04:05' and `end` < '2025-01-11 19:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:04:11] Production.ERROR: CronJobId end10
[2025-01-11 19:04:11] Production.INFO: ==13730== Releasing lock...
[2025-01-11 19:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:04:14] Production.INFO: call_cost start
[2025-01-11 19:04:14] Production.INFO: call_cost end
[2025-01-11 19:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:04:14] Production.INFO: ==13726== Releasing lock...
[2025-01-11 19:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:04:18] Production.INFO: count ==1915
[2025-01-11 19:04:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:04:05 - End Time 2025-01-11 19:04:05
[2025-01-11 19:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226273', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226273', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226273', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226273', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:04:19] Production.INFO: ProcessCDR(1,14226273,1,1,2)
[2025-01-11 19:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226273', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226273', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:04:22] Production.INFO: ==13734== Releasing lock...
[2025-01-11 19:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:04:22] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:05:01] Production.INFO: ==13867== Lock acquired, processing the job...
[2025-01-12 00:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:05:01] Production.INFO: neon service started
[2025-01-12 00:05:01] Production.INFO: neon service started
[2025-01-12 00:05:01] Production.INFO: ==13867== Releasing lock...
[2025-01-12 00:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:05:01] Production.INFO: ==13870== Lock acquired, processing the job...
[2025-01-11 19:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:05:02] Production.INFO: ==13870== Releasing lock...
[2025-01-11 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:05:02] Production.INFO: ==13872== Lock acquired, processing the job...
[2025-01-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:05:02] Production.INFO: ==13872== Releasing lock...
[2025-01-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:05:03] Production.INFO: ==13884== Lock acquired, processing the job...
[2025-01-11 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:05:03] Production.INFO: ==13882== Lock acquired, processing the job...
[2025-01-11 19:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:05:03] Production.INFO: ==13876== Lock acquired, processing the job...
[2025-01-11 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:05:03] Production.INFO: ==13874== Lock acquired, processing the job...
[2025-01-11 19:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:05:03] Production.INFO: ==13878== Lock acquired, processing the job...
[2025-01-11 19:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:05:03] Production.INFO: count ==21
[2025-01-11 19:05:03] Production.INFO: ==13880== Lock acquired, processing the job...
[2025-01-11 19:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:05:03] Production.INFO: count ==21
[2025-01-11 19:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226274') start
[2025-01-11 19:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:05:03] Production.INFO: Account Balance Start.
[2025-01-11 19:05:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:05:03] Production.INFO: 117
[2025-01-11 19:05:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:05:03] Production.ERROR: done
[2025-01-11 19:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226274') end
[2025-01-11 19:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:05:03] Production.INFO: 1
[2025-01-11 19:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:05:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:05:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:05:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:05:03] Production.INFO: ==13884== Releasing lock...
[2025-01-11 19:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:05:03] Production.INFO: ==13876== Releasing lock...
[2025-01-11 19:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:05:03] Production.INFO: Total Charge 0
[2025-01-11 19:05:03] Production.ERROR: done
[2025-01-11 19:05:03] Production.INFO: CreateAllLog End
[2025-01-11 19:05:03] Production.INFO: Account Balance End.
[2025-01-11 19:05:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:05:04] Production.INFO: ==13880== Releasing lock...
[2025-01-11 19:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:05:04
[end_date_ymd] => 2025-01-11 19:05:04
[RateCDR] => 1
)
[2025-01-11 19:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:05:04' and `end` < '2025-01-11 19:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:05:11] Production.ERROR: CronJobId end10
[2025-01-11 19:05:11] Production.INFO: ==13878== Releasing lock...
[2025-01-11 19:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:05:12] Production.INFO: call_cost start
[2025-01-11 19:05:12] Production.INFO: call_cost end
[2025-01-11 19:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:05:13] Production.INFO: ==13874== Releasing lock...
[2025-01-11 19:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:05:18] Production.INFO: count ==1914
[2025-01-11 19:05:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:05:04 - End Time 2025-01-11 19:05:04
[2025-01-11 19:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226278', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226278', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226278', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226278', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:05:18] Production.INFO: ProcessCDR(1,14226278,1,1,2)
[2025-01-11 19:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226278', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226278', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:05:21] Production.INFO: ==13882== Releasing lock...
[2025-01-11 19:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:05:21] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:06:01] Production.INFO: ==13938== Lock acquired, processing the job...
[2025-01-12 00:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:06:01] Production.INFO: neon service started
[2025-01-12 00:06:01] Production.INFO: neon service started
[2025-01-12 00:06:01] Production.INFO: ==13938== Releasing lock...
[2025-01-12 00:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:06:02] Production.INFO: ==13942== Lock acquired, processing the job...
[2025-01-12 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:06:02] Production.INFO: ==13942== Releasing lock...
[2025-01-12 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:06:02] Production.INFO: ==13940== Lock acquired, processing the job...
[2025-01-11 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:06:02] Production.INFO: ==13940== Releasing lock...
[2025-01-11 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:06:03] Production.INFO: ==13947== Lock acquired, processing the job...
[2025-01-11 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:06:03] Production.INFO: ==13945== Lock acquired, processing the job...
[2025-01-11 19:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:06:03] Production.INFO: ==13951== Lock acquired, processing the job...
[2025-01-11 19:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:06:03] Production.INFO: Account Balance Start.
[2025-01-11 19:06:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:06:03] Production.INFO: 117
[2025-01-11 19:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:06:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:06:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:06:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:06:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:06:03] Production.INFO: Total Charge 0
[2025-01-11 19:06:03] Production.INFO: CreateAllLog End
[2025-01-11 19:06:03] Production.INFO: ==13949== Lock acquired, processing the job...
[2025-01-11 19:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:06:03] Production.INFO: ==13947== Releasing lock...
[2025-01-11 19:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:06:04] Production.INFO: ==13953== Lock acquired, processing the job...
[2025-01-11 19:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:06:04] Production.INFO: ==13955== Lock acquired, processing the job...
[2025-01-11 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:06:04] Production.INFO: Account Balance End.
[2025-01-11 19:06:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:06:04] Production.INFO: ==13951== Releasing lock...
[2025-01-11 19:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:06:04] Production.INFO: count ==21
[2025-01-11 19:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:06:04] Production.INFO: count ==21
[2025-01-11 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226282') start
[2025-01-11 19:06:04] Production.ERROR: done
[2025-01-11 19:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226282') end
[2025-01-11 19:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:06:04] Production.INFO: 1
[2025-01-11 19:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:06:04] Production.INFO: ==13955== Releasing lock...
[2025-01-11 19:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:06:04] Production.ERROR: done
[2025-01-11 19:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:06:05
[end_date_ymd] => 2025-01-11 19:06:05
[RateCDR] => 1
)
[2025-01-11 19:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:06:05' and `end` < '2025-01-11 19:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:06:11] Production.ERROR: CronJobId end10
[2025-01-11 19:06:11] Production.INFO: ==13949== Releasing lock...
[2025-01-11 19:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:06:13] Production.INFO: call_cost start
[2025-01-11 19:06:13] Production.INFO: call_cost end
[2025-01-11 19:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:06:14] Production.INFO: ==13945== Releasing lock...
[2025-01-11 19:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:06:18] Production.INFO: count ==1916
[2025-01-11 19:06:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:06:05 - End Time 2025-01-11 19:06:05
[2025-01-11 19:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226283', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226283', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226283', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226283', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:06:19] Production.INFO: ProcessCDR(1,14226283,1,1,2)
[2025-01-11 19:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226283', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226283', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:06:23] Production.INFO: ==13953== Releasing lock...
[2025-01-11 19:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:06:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 00:07:01] Production.INFO: ==14008== Lock acquired, processing the job...
[2025-01-12 00:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:07:01] Production.INFO: neon service started
[2025-01-12 00:07:01] Production.INFO: neon service started
[2025-01-12 00:07:01] Production.INFO: ==14008== Releasing lock...
[2025-01-12 00:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:07:02] Production.INFO: ==14010== Lock acquired, processing the job...
[2025-01-11 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:07:02] Production.INFO: ==14012== Lock acquired, processing the job...
[2025-01-12 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:07:02] Production.INFO: ==14012== Releasing lock...
[2025-01-12 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:07:02] Production.INFO: ==14010== Releasing lock...
[2025-01-11 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:07:03] Production.INFO: ==14021== Lock acquired, processing the job...
[2025-01-11 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:07:03] Production.INFO: ==14015== Lock acquired, processing the job...
[2025-01-11 19:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:07:03] Production.INFO: Account Balance Start.
[2025-01-11 19:07:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:07:03] Production.INFO: 117
[2025-01-11 19:07:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:07:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:07:03] Production.INFO: ==14025== Lock acquired, processing the job...
[2025-01-11 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:07:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:07:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:07:03] Production.INFO: ==14017== Lock acquired, processing the job...
[2025-01-11 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:07:03] Production.INFO: Total Charge 0
[2025-01-11 19:07:03] Production.INFO: CreateAllLog End
[2025-01-11 19:07:03] Production.INFO: ==14019== Lock acquired, processing the job...
[2025-01-11 19:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:07:03] Production.INFO: Account Balance End.
[2025-01-11 19:07:03] Production.INFO: count ==21
[2025-01-11 19:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:07:03] Production.INFO: ==14023== Lock acquired, processing the job...
[2025-01-11 19:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:07:03] Production.INFO: count ==21
[2025-01-11 19:07:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:07:03] Production.INFO: ==14021== Releasing lock...
[2025-01-11 19:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226286') start
[2025-01-11 19:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:07:03] Production.INFO: ==14017== Releasing lock...
[2025-01-11 19:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226286') end
[2025-01-11 19:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:07:03] Production.INFO: 1
[2025-01-11 19:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:07:03] Production.INFO: ==14025== Releasing lock...
[2025-01-11 19:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:07:04] Production.ERROR: done
[2025-01-11 19:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:07:04] Production.ERROR: done
[2025-01-11 19:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:07:05
[end_date_ymd] => 2025-01-11 19:07:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:07:05' and `end` < '2025-01-11 19: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-01-11 19:07:11] Production.ERROR: CronJobId end10
[2025-01-11 19:07:11] Production.INFO: ==14019== Releasing lock...
[2025-01-11 19:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:07:13] Production.INFO: call_cost start
[2025-01-11 19:07:13] Production.INFO: call_cost end
[2025-01-11 19:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:07:14] Production.INFO: ==14015== Releasing lock...
[2025-01-11 19:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:07:18] Production.INFO: count ==1916
[2025-01-11 19:07:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:07:05 - End Time 2025-01-11 19:07:05
[2025-01-11 19:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226288', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226288', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226288', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226288', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:07:19] Production.INFO: ProcessCDR(1,14226288,1,1,2)
[2025-01-11 19:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226288', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226288', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:07:22] Production.INFO: ==14023== Releasing lock...
[2025-01-11 19:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:07:22] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:08:01] Production.INFO: ==14157== Lock acquired, processing the job...
[2025-01-12 00:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:08:01] Production.INFO: neon service started
[2025-01-12 00:08:01] Production.INFO: neon service started
[2025-01-12 00:08:01] Production.INFO: ==14157== Releasing lock...
[2025-01-12 00:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:08:02] Production.INFO: ==14160== Lock acquired, processing the job...
[2025-01-11 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:08:02] Production.INFO: ==14160== Releasing lock...
[2025-01-11 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:08:02] Production.INFO: ==14162== Lock acquired, processing the job...
[2025-01-12 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:08:02] Production.INFO: ==14162== Releasing lock...
[2025-01-12 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:08:03] Production.INFO: ==14165== Lock acquired, processing the job...
[2025-01-11 19:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:08:03] Production.INFO: ==14167== Lock acquired, processing the job...
[2025-01-11 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:08:03] Production.INFO: ==14171== Lock acquired, processing the job...
[2025-01-11 19:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:08:03] Production.INFO: Account Balance Start.
[2025-01-11 19:08:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:08:03] Production.INFO: 117
[2025-01-11 19:08:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:08:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:08:03] Production.INFO: ==14169== Lock acquired, processing the job...
[2025-01-11 19:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:08:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:08:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:08:03] Production.INFO: ==14173== Lock acquired, processing the job...
[2025-01-11 19:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:08:03] Production.INFO: Total Charge 0
[2025-01-11 19:08:03] Production.INFO: ==14175== Lock acquired, processing the job...
[2025-01-11 19:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:08:03] Production.INFO: CreateAllLog End
[2025-01-11 19:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:08:03] Production.INFO: ==14167== Releasing lock...
[2025-01-11 19:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:08:04] Production.INFO: Account Balance End.
[2025-01-11 19:08:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:08:04] Production.INFO: ==14171== Releasing lock...
[2025-01-11 19:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19: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-01-11 19:08:04] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:08:04] Production.ERROR: done
[2025-01-11 19:08:04] Production.INFO: count ==21
[2025-01-11 19:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226292') start
[2025-01-11 19:08:04] Production.ERROR: done
[2025-01-11 19:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226292') end
[2025-01-11 19:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:08:04] Production.INFO: 1
[2025-01-11 19:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:08:04] Production.INFO: ==14175== Releasing lock...
[2025-01-11 19:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:08:05
[end_date_ymd] => 2025-01-11 19:08:05
[RateCDR] => 1
)
[2025-01-11 19:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:08:05' and `end` < '2025-01-11 19:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:08:12] Production.ERROR: CronJobId end10
[2025-01-11 19:08:12] Production.INFO: ==14169== Releasing lock...
[2025-01-11 19:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:08:14] Production.INFO: call_cost start
[2025-01-11 19:08:14] Production.INFO: call_cost end
[2025-01-11 19:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:08:14] Production.INFO: ==14165== Releasing lock...
[2025-01-11 19:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:08:18] Production.INFO: count ==1915
[2025-01-11 19:08:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:08:05 - End Time 2025-01-11 19:08:05
[2025-01-11 19:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226293', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226293', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226293', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226293', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:08:19] Production.INFO: ProcessCDR(1,14226293,1,1,2)
[2025-01-11 19:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226293', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226293', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:08:23] Production.INFO: ==14173== Releasing lock...
[2025-01-11 19:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:08:23] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:09:02] Production.INFO: ==14228== Lock acquired, processing the job...
[2025-01-12 00:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:09:02] Production.INFO: neon service started
[2025-01-12 00:09:02] Production.INFO: neon service started
[2025-01-12 00:09:02] Production.INFO: ==14228== Releasing lock...
[2025-01-12 00:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:09:02] Production.INFO: ==14230== Lock acquired, processing the job...
[2025-01-11 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:09:02] Production.INFO: ==14230== Releasing lock...
[2025-01-11 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:09:03] Production.INFO: ==14233== Lock acquired, processing the job...
[2025-01-12 00:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:09:03] Production.INFO: ==14233== Releasing lock...
[2025-01-12 00:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:09:03] Production.INFO: ==14235== Lock acquired, processing the job...
[2025-01-11 19:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:09:03] Production.INFO: ==14245== Lock acquired, processing the job...
[2025-01-11 19:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:09:03] Production.INFO: ==14237== Lock acquired, processing the job...
[2025-01-11 19:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:09:03] Production.INFO: ==14239== Lock acquired, processing the job...
[2025-01-11 19:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:09:03] Production.INFO: ==14241== Lock acquired, processing the job...
[2025-01-11 19:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:09:03] Production.INFO: count ==21
[2025-01-11 19:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19: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-01-11 19:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:09:04] Production.INFO: ==14243== Lock acquired, processing the job...
[2025-01-11 19:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:09:04] Production.INFO: count ==21
[2025-01-11 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226295') start
[2025-01-11 19:09:04] Production.INFO: Account Balance Start.
[2025-01-11 19:09:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:09:04] Production.INFO: 117
[2025-01-11 19:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:09:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226295') end
[2025-01-11 19:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:09:04] Production.INFO: 1
[2025-01-11 19:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:09:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:09:04] Production.INFO: ==14245== Releasing lock...
[2025-01-11 19:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:09:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:09:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:09:04] Production.INFO: Total Charge 0
[2025-01-11 19:09:04] Production.INFO: CreateAllLog End
[2025-01-11 19:09:04] Production.ERROR: done
[2025-01-11 19:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:09:04] Production.INFO: ==14237== Releasing lock...
[2025-01-11 19:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:09:04] Production.INFO: Account Balance End.
[2025-01-11 19:09:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:09:04] Production.INFO: ==14241== Releasing lock...
[2025-01-11 19:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:09:04] Production.ERROR: done
[2025-01-11 19:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:09:05
[end_date_ymd] => 2025-01-11 19:09:05
[RateCDR] => 1
)
[2025-01-11 19:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:09:05' and `end` < '2025-01-11 19:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:09:12] Production.ERROR: CronJobId end10
[2025-01-11 19:09:12] Production.INFO: ==14239== Releasing lock...
[2025-01-11 19:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:09:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:09:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:09:14] Production.INFO: call_cost start
[2025-01-11 19:09:14] Production.INFO: call_cost end
[2025-01-11 19:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:09:15] Production.INFO: ==14235== Releasing lock...
[2025-01-11 19:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:09:20] Production.INFO: count ==1913
[2025-01-11 19:09:20] Production.ERROR: pbx CDR StartTime 2025-01-11 16:09:05 - End Time 2025-01-11 19:09:05
[2025-01-11 19:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226298', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226298', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226298', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226298', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:09:20] Production.INFO: ProcessCDR(1,14226298,1,1,2)
[2025-01-11 19:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226298', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226298', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:09:23] Production.INFO: ==14243== Releasing lock...
[2025-01-11 19:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:09:23] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:10:01] Production.INFO: ==14300== Lock acquired, processing the job...
[2025-01-12 00:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:10:01] Production.INFO: neon service started
[2025-01-12 00:10:01] Production.INFO: neon service started
[2025-01-12 00:10:01] Production.INFO: ==14300== Releasing lock...
[2025-01-12 00:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:10:02] Production.INFO: ==14304== Lock acquired, processing the job...
[2025-01-12 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:10:02] Production.INFO: ==14304== Releasing lock...
[2025-01-12 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:10:02] Production.INFO: ==14302== Lock acquired, processing the job...
[2025-01-11 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:10:02] Production.INFO: ==14302== Releasing lock...
[2025-01-11 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:10:03] Production.INFO: ==14307== Lock acquired, processing the job...
[2025-01-11 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 19:10:03] Production.INFO: ==14313== Lock acquired, processing the job...
[2025-01-11 19:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 19:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 19:10:03] Production.INFO: ==14307== Releasing lock...
[2025-01-11 19:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 19:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 19:10:03] Production.INFO: ==14315== Lock acquired, processing the job...
[2025-01-11 19:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:10:03] Production.INFO: ==14317== Lock acquired, processing the job...
[2025-01-11 19:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:10:03] Production.INFO: ==14309== Lock acquired, processing the job...
[2025-01-11 19:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:10:03] Production.INFO: Account Balance Start.
[2025-01-11 19:10:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:10:03] Production.INFO: 117
[2025-01-11 19:10:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:10:03] Production.INFO: ==14311== Lock acquired, processing the job...
[2025-01-11 19:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:10:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:10:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:10:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:10:04] Production.INFO: ==14319== Lock acquired, processing the job...
[2025-01-11 19:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 19:10:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:10:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:10:04] Production.INFO: Total Charge 0
[2025-01-11 19:10:04] Production.INFO: ==14321== Lock acquired, processing the job...
[2025-01-11 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:10:04] Production.INFO: CreateAllLog End
[2025-01-11 19:10:04] Production.ERROR: done
[2025-01-11 19:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:10:04] Production.INFO: count ==21
[2025-01-11 19:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:10:04] Production.INFO: count ==21
[2025-01-11 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226302') start
[2025-01-11 19:10:04] Production.ERROR: done
[2025-01-11 19:10:04] Production.INFO: Account Balance End.
[2025-01-11 19:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226302') end
[2025-01-11 19:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:10:04] Production.INFO: 1
[2025-01-11 19:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:10:04] Production.ERROR: done
[2025-01-11 19:10:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:10:04] Production.INFO: ==14315== Releasing lock...
[2025-01-11 19:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:10:04] Production.INFO: ==14321== Releasing lock...
[2025-01-11 19:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:10:04] Production.INFO: ==14311== Releasing lock...
[2025-01-11 19:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 19:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226304', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 19:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:10:05
[end_date_ymd] => 2025-01-11 19:10:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:10:05' and `end` < '2025-01-11 19: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-01-11 19:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226304', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 19:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 19:10:08] Production.INFO: ProcessCDR(1,14226304,1,1,2)
[2025-01-11 19:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:10:08] Production.INFO: ==14319== Releasing lock...
[2025-01-11 19:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 19:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 19:10:12] Production.ERROR: CronJobId end10
[2025-01-11 19:10:12] Production.INFO: ==14313== Releasing lock...
[2025-01-11 19:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:10:15] Production.INFO: call_cost start
[2025-01-11 19:10:15] Production.INFO: call_cost end
[2025-01-11 19:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:10:16] Production.INFO: ==14309== Releasing lock...
[2025-01-11 19:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:10:22] Production.INFO: count ==1915
[2025-01-11 19:10:23] Production.ERROR: pbx CDR StartTime 2025-01-11 16:10:05 - End Time 2025-01-11 19:10:05
[2025-01-11 19:10:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226303', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226303', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226303', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:10:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226303', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:10:23] Production.INFO: ProcessCDR(1,14226303,1,1,2)
[2025-01-11 19:10:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:10:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:10:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:10:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226303', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:10:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226303', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:10:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:10:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:10:27] Production.INFO: ==14317== Releasing lock...
[2025-01-11 19:10:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:10:27] Production.INFO: 42 MB #Memory Used#
[2025-01-12 00:11:02] Production.INFO: ==14378== Lock acquired, processing the job...
[2025-01-12 00:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:11:02] Production.INFO: neon service started
[2025-01-12 00:11:02] Production.INFO: neon service started
[2025-01-12 00:11:02] Production.INFO: ==14378== Releasing lock...
[2025-01-12 00:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:11:02] Production.INFO: ==14381== Lock acquired, processing the job...
[2025-01-11 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:11:02] Production.INFO: ==14381== Releasing lock...
[2025-01-11 19:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:11:02] Production.INFO: ==14383== Lock acquired, processing the job...
[2025-01-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:11:02] Production.INFO: ==14383== Releasing lock...
[2025-01-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:11:03] Production.INFO: ==14385== Lock acquired, processing the job...
[2025-01-11 19:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:11:03] Production.INFO: ==14387== Lock acquired, processing the job...
[2025-01-11 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:11:03] Production.INFO: ==14389== Lock acquired, processing the job...
[2025-01-11 19:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:11:03] Production.INFO: ==14395== Lock acquired, processing the job...
[2025-01-11 19:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:11:03] Production.INFO: ==14391== Lock acquired, processing the job...
[2025-01-11 19:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:11:03] Production.INFO: ==14387== Releasing lock...
[2025-01-11 19:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:11:03] Production.INFO: ==14393== Lock acquired, processing the job...
[2025-01-11 19:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:11:03] Production.INFO: Account Balance Start.
[2025-01-11 19:11:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:11:03] Production.INFO: 117
[2025-01-11 19:11:03] Production.INFO: Date 2025-01-08
[2025-01-11 19: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-01-11 19:11:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:11:03] Production.INFO: count ==21
[2025-01-11 19:11:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:11:04] Production.INFO: count ==21
[2025-01-11 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226307') start
[2025-01-11 19:11:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:11:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:11:04] Production.ERROR: done
[2025-01-11 19:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226307') end
[2025-01-11 19:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:11:04] Production.INFO: 1
[2025-01-11 19:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:11:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:11:04] Production.INFO: Total Charge 0
[2025-01-11 19:11:04] Production.INFO: CreateAllLog End
[2025-01-11 19:11:04] Production.INFO: ==14395== Releasing lock...
[2025-01-11 19:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:11:04] Production.ERROR: done
[2025-01-11 19:11:04] Production.INFO: Account Balance End.
[2025-01-11 19:11:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:11:04] Production.INFO: ==14391== Releasing lock...
[2025-01-11 19:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:11:05
[end_date_ymd] => 2025-01-11 19:11:05
[RateCDR] => 1
)
[2025-01-11 19:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:11:05' and `end` < '2025-01-11 19:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:11:12] Production.ERROR: CronJobId end10
[2025-01-11 19:11:12] Production.INFO: ==14389== Releasing lock...
[2025-01-11 19:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:11:14] Production.INFO: call_cost start
[2025-01-11 19:11:14] Production.INFO: call_cost end
[2025-01-11 19:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:11:14] Production.INFO: ==14385== Releasing lock...
[2025-01-11 19:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:11:18] Production.INFO: count ==1967
[2025-01-11 19:11:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:11:05 - End Time 2025-01-11 19:11:05
[2025-01-11 19:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226309', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226309', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226309', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226309', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:11:19] Production.INFO: ProcessCDR(1,14226309,1,1,2)
[2025-01-11 19:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226309', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226309', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:11:23] Production.INFO: ==14393== Releasing lock...
[2025-01-11 19:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:11:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 00:12:01] Production.INFO: ==14530== Lock acquired, processing the job...
[2025-01-12 00:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:12:01] Production.INFO: neon service started
[2025-01-12 00:12:01] Production.INFO: neon service started
[2025-01-12 00:12:01] Production.INFO: ==14530== Releasing lock...
[2025-01-12 00:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:12:01] Production.INFO: ==14532== Lock acquired, processing the job...
[2025-01-11 19:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:12:02] Production.INFO: ==14532== Releasing lock...
[2025-01-11 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:12:02] Production.INFO: ==14534== Lock acquired, processing the job...
[2025-01-12 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:12:02] Production.INFO: ==14534== Releasing lock...
[2025-01-12 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:12:02] Production.INFO: ==14541== Lock acquired, processing the job...
[2025-01-11 19:12:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:12:03] Production.INFO: ==14547== Lock acquired, processing the job...
[2025-01-11 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:12:03] Production.INFO: ==14537== Lock acquired, processing the job...
[2025-01-11 19:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:12:03] Production.INFO: count ==21
[2025-01-11 19:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:12:03] Production.INFO: ==14539== Lock acquired, processing the job...
[2025-01-11 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:12:03] Production.INFO: count ==21
[2025-01-11 19:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226310') start
[2025-01-11 19:12:03] Production.INFO: ==14543== Lock acquired, processing the job...
[2025-01-11 19:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:12:03] Production.INFO: ==14545== Lock acquired, processing the job...
[2025-01-11 19:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226310') end
[2025-01-11 19:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:12:03] Production.INFO: 1
[2025-01-11 19:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:12:03] Production.INFO: ==14547== Releasing lock...
[2025-01-11 19:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:12:03] Production.INFO: Account Balance Start.
[2025-01-11 19:12:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:12:03] Production.INFO: 117
[2025-01-11 19:12:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:12:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:12:03] Production.INFO: ==14539== Releasing lock...
[2025-01-11 19:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:12:03] Production.ERROR: done
[2025-01-11 19:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:12:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:12:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:12:03] Production.ERROR: done
[2025-01-11 19:12:03] Production.INFO: Total Charge 0
[2025-01-11 19:12:03] Production.INFO: CreateAllLog End
[2025-01-11 19:12:04] Production.INFO: Account Balance End.
[2025-01-11 19:12:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:12:04] Production.INFO: ==14543== Releasing lock...
[2025-01-11 19:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:12:04
[end_date_ymd] => 2025-01-11 19:12:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:12:04' and `end` < '2025-01-11 19: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-01-11 19:12:10] Production.ERROR: CronJobId end10
[2025-01-11 19:12:10] Production.INFO: ==14541== Releasing lock...
[2025-01-11 19:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:12:13] Production.INFO: call_cost start
[2025-01-11 19:12:13] Production.INFO: call_cost end
[2025-01-11 19:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:12:13] Production.INFO: ==14537== Releasing lock...
[2025-01-11 19:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:12:21] Production.INFO: count ==1965
[2025-01-11 19:12:21] Production.ERROR: pbx CDR StartTime 2025-01-11 16:12:04 - End Time 2025-01-11 19:12:04
[2025-01-11 19:12:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226314', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226314', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226314', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:12:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226314', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:12:21] Production.INFO: ProcessCDR(1,14226314,1,1,2)
[2025-01-11 19:12:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:12:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:12:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:12:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226314', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:12:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226314', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:12:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:12:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:12:25] Production.INFO: ==14545== Releasing lock...
[2025-01-11 19:12:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:12:25] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 00:13:01] Production.INFO: ==14600== Lock acquired, processing the job...
[2025-01-12 00:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:13:01] Production.INFO: neon service started
[2025-01-12 00:13:01] Production.INFO: neon service started
[2025-01-12 00:13:01] Production.INFO: ==14600== Releasing lock...
[2025-01-12 00:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:13:02] Production.INFO: ==14602== Lock acquired, processing the job...
[2025-01-11 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:13:02] Production.INFO: ==14602== Releasing lock...
[2025-01-11 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:13:02] Production.INFO: ==14604== Lock acquired, processing the job...
[2025-01-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:13:02] Production.INFO: ==14604== Releasing lock...
[2025-01-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:13:03] Production.INFO: ==14611== Lock acquired, processing the job...
[2025-01-11 19:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:13:03] Production.INFO: ==14609== Lock acquired, processing the job...
[2025-01-11 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:13:03] Production.INFO: ==14615== Lock acquired, processing the job...
[2025-01-11 19:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:13:03] Production.INFO: ==14607== Lock acquired, processing the job...
[2025-01-11 19:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:13:03] Production.INFO: ==14613== Lock acquired, processing the job...
[2025-01-11 19:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:13:03] Production.INFO: ==14617== Lock acquired, processing the job...
[2025-01-11 19:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:13:03] Production.ERROR: done
[2025-01-11 19:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:13:03] Production.INFO: Account Balance Start.
[2025-01-11 19:13:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:13:03] Production.INFO: 117
[2025-01-11 19:13:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:13:03] Production.INFO: count ==21
[2025-01-11 19:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:13:03] Production.INFO: count ==21
[2025-01-11 19:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226318') start
[2025-01-11 19:13:03] Production.ERROR: done
[2025-01-11 19:13:03] Production.INFO: ==14609== Releasing lock...
[2025-01-11 19:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:13:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:13:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:13:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226318') end
[2025-01-11 19:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:13:03] Production.INFO: 1
[2025-01-11 19:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:13:04] Production.INFO: ==14617== Releasing lock...
[2025-01-11 19:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:13:04] Production.INFO: Total Charge 0
[2025-01-11 19:13:04] Production.INFO: CreateAllLog End
[2025-01-11 19:13:04] Production.INFO: Account Balance End.
[2025-01-11 19:13:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:13:04] Production.INFO: ==14613== Releasing lock...
[2025-01-11 19:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:13:04
[end_date_ymd] => 2025-01-11 19:13:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:13:04' and `end` < '2025-01-11 19: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-01-11 19:13:11] Production.ERROR: CronJobId end10
[2025-01-11 19:13:11] Production.INFO: ==14611== Releasing lock...
[2025-01-11 19:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:13:13] Production.INFO: call_cost start
[2025-01-11 19:13:13] Production.INFO: call_cost end
[2025-01-11 19:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:13:13] Production.INFO: ==14607== Releasing lock...
[2025-01-11 19:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:13:19] Production.INFO: count ==1970
[2025-01-11 19:13:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:13:04 - End Time 2025-01-11 19:13:04
[2025-01-11 19:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226319', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226319', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226319', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226319', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:13:19] Production.INFO: ProcessCDR(1,14226319,1,1,2)
[2025-01-11 19:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226319', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226319', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:13:23] Production.INFO: ==14615== Releasing lock...
[2025-01-11 19:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:13:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 00:14:02] Production.INFO: ==14671== Lock acquired, processing the job...
[2025-01-12 00:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:14:02] Production.INFO: neon service started
[2025-01-12 00:14:02] Production.INFO: neon service started
[2025-01-12 00:14:02] Production.INFO: ==14671== Releasing lock...
[2025-01-12 00:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:14:02] Production.INFO: ==14673== Lock acquired, processing the job...
[2025-01-11 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:14:02] Production.INFO: ==14673== Releasing lock...
[2025-01-11 19:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:14:02] Production.INFO: ==14675== Lock acquired, processing the job...
[2025-01-12 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:14:03] Production.INFO: ==14675== Releasing lock...
[2025-01-12 00:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:14:03] Production.INFO: ==14679== Lock acquired, processing the job...
[2025-01-11 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:14:03] Production.INFO: ==14677== Lock acquired, processing the job...
[2025-01-11 19:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:14:03] Production.INFO: ==14687== Lock acquired, processing the job...
[2025-01-11 19:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:14:03] Production.INFO: ==14679== Releasing lock...
[2025-01-11 19:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:14:04] Production.INFO: ==14681== Lock acquired, processing the job...
[2025-01-11 19:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:14:04] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:14:04] Production.INFO: count ==21
[2025-01-11 19:14:04] Production.INFO: ==14685== Lock acquired, processing the job...
[2025-01-11 19:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226322') start
[2025-01-11 19:14:04] Production.INFO: ==14683== Lock acquired, processing the job...
[2025-01-11 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226322') end
[2025-01-11 19:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:14:04] Production.INFO: 1
[2025-01-11 19:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:14:04] Production.INFO: Account Balance Start.
[2025-01-11 19:14:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:14:04] Production.INFO: 117
[2025-01-11 19:14:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:14:04] Production.INFO: ==14687== Releasing lock...
[2025-01-11 19:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:14:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:14:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:14:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:14:04] Production.INFO: Total Charge 0
[2025-01-11 19:14:04] Production.INFO: CreateAllLog End
[2025-01-11 19:14:04] Production.ERROR: done
[2025-01-11 19:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:14:04] Production.INFO: Account Balance End.
[2025-01-11 19:14:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:14:04] Production.INFO: ==14683== Releasing lock...
[2025-01-11 19:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:14:04] Production.ERROR: done
[2025-01-11 19:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:14:05
[end_date_ymd] => 2025-01-11 19:14:05
[RateCDR] => 1
)
[2025-01-11 19:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:14:05' and `end` < '2025-01-11 19:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:14:11] Production.ERROR: CronJobId end10
[2025-01-11 19:14:11] Production.INFO: ==14681== Releasing lock...
[2025-01-11 19:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:14:13] Production.INFO: call_cost start
[2025-01-11 19:14:13] Production.INFO: call_cost end
[2025-01-11 19:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:14:14] Production.INFO: ==14677== Releasing lock...
[2025-01-11 19:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:14:18] Production.INFO: count ==1969
[2025-01-11 19:14:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:14:05 - End Time 2025-01-11 19:14:05
[2025-01-11 19:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226324', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226324', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226324', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226324', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:14:19] Production.INFO: ProcessCDR(1,14226324,1,1,2)
[2025-01-11 19:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226324', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226324', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:14:23] Production.INFO: ==14685== Releasing lock...
[2025-01-11 19:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:14:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 00:15:01] Production.INFO: ==14858== Lock acquired, processing the job...
[2025-01-12 00:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:15:01] Production.INFO: neon service started
[2025-01-12 00:15:01] Production.INFO: neon service started
[2025-01-12 00:15:01] Production.INFO: ==14858== Releasing lock...
[2025-01-12 00:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:15:02] Production.INFO: ==14860== Lock acquired, processing the job...
[2025-01-11 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:15:02] Production.INFO: ==14860== Releasing lock...
[2025-01-11 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:15:02] Production.INFO: ==14862== Lock acquired, processing the job...
[2025-01-12 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:15:02] Production.INFO: ==14862== Releasing lock...
[2025-01-12 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:15:03] Production.INFO: ==14866== Lock acquired, processing the job...
[2025-01-11 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:15:03] Production.INFO: ==14864== Lock acquired, processing the job...
[2025-01-11 19:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:15:03] Production.INFO: ==14870== Lock acquired, processing the job...
[2025-01-11 19:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:15:03] Production.INFO: ==14868== Lock acquired, processing the job...
[2025-01-11 19:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:15:03] Production.INFO: Account Balance Start.
[2025-01-11 19:15:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:15:03] Production.INFO: 117
[2025-01-11 19:15:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:15:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:15:03] Production.INFO: ==14866== Releasing lock...
[2025-01-11 19:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:15:03] Production.INFO: ==14872== Lock acquired, processing the job...
[2025-01-11 19:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:15:03] Production.INFO: ==14874== Lock acquired, processing the job...
[2025-01-11 19:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:15:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:15:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:15:03] Production.INFO: Total Charge 0
[2025-01-11 19:15:03] Production.INFO: CreateAllLog End
[2025-01-11 19: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-01-11 19:15:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:15:03] Production.INFO: count ==21
[2025-01-11 19:15:03] Production.ERROR: done
[2025-01-11 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226328') start
[2025-01-11 19:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:15:03] Production.ERROR: done
[2025-01-11 19:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226328') end
[2025-01-11 19:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:15:03] Production.INFO: 1
[2025-01-11 19:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:15:04] Production.INFO: Account Balance End.
[2025-01-11 19:15:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:15:04] Production.INFO: ==14874== Releasing lock...
[2025-01-11 19:15:04] Production.INFO: ==14870== Releasing lock...
[2025-01-11 19:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:15:04
[end_date_ymd] => 2025-01-11 19:15:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:15:04' and `end` < '2025-01-11 19: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-01-11 19:15:11] Production.ERROR: CronJobId end10
[2025-01-11 19:15:11] Production.INFO: ==14868== Releasing lock...
[2025-01-11 19:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:15:12] Production.INFO: call_cost start
[2025-01-11 19:15:12] Production.INFO: call_cost end
[2025-01-11 19:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:15:13] Production.INFO: ==14864== Releasing lock...
[2025-01-11 19:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:15:19] Production.INFO: count ==1974
[2025-01-11 19:15:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:15:04 - End Time 2025-01-11 19:15:04
[2025-01-11 19:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226329', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226329', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226329', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226329', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:15:19] Production.INFO: ProcessCDR(1,14226329,1,1,2)
[2025-01-11 19:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226329', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226329', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:15:24] Production.INFO: ==14872== Releasing lock...
[2025-01-11 19:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:15:24] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 00:16:02] Production.INFO: ==14929== Lock acquired, processing the job...
[2025-01-12 00:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:16:02] Production.INFO: neon service started
[2025-01-12 00:16:02] Production.INFO: neon service started
[2025-01-12 00:16:02] Production.INFO: ==14929== Releasing lock...
[2025-01-12 00:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:16:02] Production.INFO: ==14931== Lock acquired, processing the job...
[2025-01-11 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:16:02] Production.INFO: ==14933== Lock acquired, processing the job...
[2025-01-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:16:02] Production.INFO: ==14933== Releasing lock...
[2025-01-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:16:03] Production.INFO: ==14931== Releasing lock...
[2025-01-11 19:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:16:03] Production.INFO: ==14938== Lock acquired, processing the job...
[2025-01-11 19:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:16:03] Production.INFO: ==14946== Lock acquired, processing the job...
[2025-01-11 19:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:16:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:16:04] Production.INFO: ==14936== Lock acquired, processing the job...
[2025-01-11 19:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:16:04] Production.INFO: count ==21
[2025-01-11 19:16:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:16:04] Production.INFO: count ==21
[2025-01-11 19:16:04] Production.INFO: ==14940== Lock acquired, processing the job...
[2025-01-11 19:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226330') start
[2025-01-11 19:16:04] Production.INFO: ==14938== Releasing lock...
[2025-01-11 19:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:16:04] Production.INFO: ==14942== Lock acquired, processing the job...
[2025-01-11 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:16:04] Production.INFO: ==14944== Lock acquired, processing the job...
[2025-01-11 19:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226330') end
[2025-01-11 19:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:16:04] Production.INFO: 1
[2025-01-11 19:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:16:04] Production.INFO: ==14946== Releasing lock...
[2025-01-11 19:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:16:04] Production.INFO: Account Balance Start.
[2025-01-11 19:16:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:16:04] Production.INFO: 117
[2025-01-11 19:16:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:16:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:16:04] Production.ERROR: done
[2025-01-11 19:16:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:16:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:16:04] Production.INFO: Total Charge 0
[2025-01-11 19:16:04] Production.ERROR: done
[2025-01-11 19:16:04] Production.INFO: CreateAllLog End
[2025-01-11 19:16:04] Production.INFO: Account Balance End.
[2025-01-11 19:16:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:16:04] Production.INFO: ==14942== Releasing lock...
[2025-01-11 19:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:16:05
[end_date_ymd] => 2025-01-11 19:16:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:16:05' and `end` < '2025-01-11 19: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-01-11 19:16:12] Production.ERROR: CronJobId end10
[2025-01-11 19:16:12] Production.INFO: ==14940== Releasing lock...
[2025-01-11 19:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:16:13] Production.INFO: call_cost start
[2025-01-11 19:16:13] Production.INFO: call_cost end
[2025-01-11 19:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:16:14] Production.INFO: ==14936== Releasing lock...
[2025-01-11 19:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:16:19] Production.INFO: count ==1980
[2025-01-11 19:16:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:16:05 - End Time 2025-01-11 19:16:05
[2025-01-11 19:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226334', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226334', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226334', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226334', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:16:19] Production.INFO: ProcessCDR(1,14226334,1,1,2)
[2025-01-11 19:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226334', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226334', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:16:24] Production.INFO: ==14944== Releasing lock...
[2025-01-11 19:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:16:24] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 00:17:01] Production.INFO: ==14998== Lock acquired, processing the job...
[2025-01-12 00:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:17:01] Production.INFO: neon service started
[2025-01-12 00:17:01] Production.INFO: neon service started
[2025-01-12 00:17:01] Production.INFO: ==14998== Releasing lock...
[2025-01-12 00:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:17:01] Production.INFO: ==15001== Lock acquired, processing the job...
[2025-01-11 19:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:17:02] Production.INFO: ==15001== Releasing lock...
[2025-01-11 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:17:02] Production.INFO: ==15003== Lock acquired, processing the job...
[2025-01-12 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:17:02] Production.INFO: ==15003== Releasing lock...
[2025-01-12 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:17:02] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-01-11 19:17:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:17:03] Production.INFO: ==15005== Lock acquired, processing the job...
[2025-01-11 19:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19: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-01-11 19:17:03] Production.INFO: ==15013== Lock acquired, processing the job...
[2025-01-11 19:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:17:03] Production.INFO: count ==21
[2025-01-11 19:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19: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-01-11 19:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:17:03] Production.INFO: count ==21
[2025-01-11 19:17:03] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-01-11 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226335') start
[2025-01-11 19:17:03] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-01-11 19:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226335') end
[2025-01-11 19:17:03] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-01-11 19:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:17:03] Production.INFO: 1
[2025-01-11 19:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:17:03] Production.INFO: ==15015== Releasing lock...
[2025-01-11 19:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:17:03] Production.INFO: Account Balance Start.
[2025-01-11 19:17:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:17:03] Production.INFO: 117
[2025-01-11 19:17:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:17:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:17:03] Production.ERROR: done
[2025-01-11 19:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:17:03] Production.INFO: ==15007== Releasing lock...
[2025-01-11 19:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:17:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:17:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:17:03] Production.INFO: Total Charge 0
[2025-01-11 19:17:03] Production.INFO: CreateAllLog End
[2025-01-11 19:17:04] Production.ERROR: done
[2025-01-11 19:17:04] Production.INFO: Account Balance End.
[2025-01-11 19:17:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:17:04] Production.INFO: ==15011== Releasing lock...
[2025-01-11 19:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:17:05
[end_date_ymd] => 2025-01-11 19:17:05
[RateCDR] => 1
)
[2025-01-11 19:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:17:05' and `end` < '2025-01-11 19:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:17:11] Production.ERROR: CronJobId end10
[2025-01-11 19:17:11] Production.INFO: ==15009== Releasing lock...
[2025-01-11 19:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:17:14] Production.INFO: call_cost start
[2025-01-11 19:17:14] Production.INFO: call_cost end
[2025-01-11 19:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:17:15] Production.INFO: ==15005== Releasing lock...
[2025-01-11 19:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:17:19] Production.INFO: count ==1986
[2025-01-11 19:17:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:17:05 - End Time 2025-01-11 19:17:05
[2025-01-11 19:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226339', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226339', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226339', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226339', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:17:19] Production.INFO: ProcessCDR(1,14226339,1,1,2)
[2025-01-11 19:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226339', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226339', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:17:22] Production.INFO: ==15013== Releasing lock...
[2025-01-11 19:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:17:22] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 00:18:01] Production.INFO: ==15068== Lock acquired, processing the job...
[2025-01-12 00:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:18:01] Production.INFO: neon service started
[2025-01-12 00:18:02] Production.INFO: neon service started
[2025-01-12 00:18:02] Production.INFO: ==15068== Releasing lock...
[2025-01-12 00:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:18:02] Production.INFO: ==15070== Lock acquired, processing the job...
[2025-01-11 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:18:02] Production.INFO: ==15070== Releasing lock...
[2025-01-11 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:18:02] Production.INFO: ==15072== Lock acquired, processing the job...
[2025-01-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:18:02] Production.INFO: ==15072== Releasing lock...
[2025-01-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:18:03] Production.INFO: ==15081== Lock acquired, processing the job...
[2025-01-11 19:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:18:03] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-01-11 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:18:03] Production.INFO: Account Balance Start.
[2025-01-11 19:18:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:18:03] Production.INFO: 117
[2025-01-11 19:18:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:18:03] Production.INFO: ==15077== Lock acquired, processing the job...
[2025-01-11 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:18:03] Production.INFO: ==15075== Lock acquired, processing the job...
[2025-01-11 19:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19: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-01-11 19:18:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:18:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:18:03] Production.INFO: count ==21
[2025-01-11 19:18:03] Production.INFO: ==15079== Lock acquired, processing the job...
[2025-01-11 19:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:18:03] Production.INFO: ==15083== Lock acquired, processing the job...
[2025-01-11 19:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226341') start
[2025-01-11 19:18:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:18:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:18:03] Production.INFO: Total Charge 0
[2025-01-11 19:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:18:03] Production.INFO: CreateAllLog End
[2025-01-11 19:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226341') end
[2025-01-11 19:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:18:03] Production.INFO: 1
[2025-01-11 19:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:18:03] Production.INFO: ==15085== Releasing lock...
[2025-01-11 19:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:18:03] Production.INFO: ==15077== Releasing lock...
[2025-01-11 19:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:18:04] Production.INFO: Account Balance End.
[2025-01-11 19:18:04] Production.ERROR: done
[2025-01-11 19:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:18:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:18:04] Production.INFO: ==15081== Releasing lock...
[2025-01-11 19:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:18:04] Production.ERROR: done
[2025-01-11 19:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:18:05
[end_date_ymd] => 2025-01-11 19:18:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:18:05' and `end` < '2025-01-11 19: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-01-11 19:18:11] Production.ERROR: CronJobId end10
[2025-01-11 19:18:11] Production.INFO: ==15079== Releasing lock...
[2025-01-11 19:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:18:13] Production.INFO: call_cost start
[2025-01-11 19:18:13] Production.INFO: call_cost end
[2025-01-11 19:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:18:14] Production.INFO: ==15075== Releasing lock...
[2025-01-11 19:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:18:18] Production.INFO: count ==1985
[2025-01-11 19:18:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:18:05 - End Time 2025-01-11 19:18:05
[2025-01-11 19:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226344', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226344', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226344', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226344', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:18:18] Production.INFO: ProcessCDR(1,14226344,1,1,2)
[2025-01-11 19:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226344', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226344', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:18:22] Production.INFO: ==15083== Releasing lock...
[2025-01-11 19:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:18:22] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 00:19:01] Production.INFO: ==15139== Lock acquired, processing the job...
[2025-01-12 00:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:19:01] Production.INFO: neon service started
[2025-01-12 00:19:01] Production.INFO: neon service started
[2025-01-12 00:19:01] Production.INFO: ==15139== Releasing lock...
[2025-01-12 00:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:19:01] Production.INFO: ==15141== Lock acquired, processing the job...
[2025-01-11 19:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:19:02] Production.INFO: ==15143== Lock acquired, processing the job...
[2025-01-12 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 19:19:02] Production.INFO: ==15141== Releasing lock...
[2025-01-11 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:19:02] Production.INFO: ==15143== Releasing lock...
[2025-01-12 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:19:02] Production.INFO: ==15145== Lock acquired, processing the job...
[2025-01-11 19:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:19:02] Production.INFO: ==15147== Lock acquired, processing the job...
[2025-01-11 19:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:19:02] Production.INFO: ==15152== Lock acquired, processing the job...
[2025-01-11 19:19:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:19:03] Production.INFO: Account Balance Start.
[2025-01-11 19:19:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:19:03] Production.INFO: 117
[2025-01-11 19:19:03] Production.INFO: ==15149== Lock acquired, processing the job...
[2025-01-11 19:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:19:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:19:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:19:03] Production.INFO: ==15147== Releasing lock...
[2025-01-11 19:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:19:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:19:03] Production.INFO: ==15154== Lock acquired, processing the job...
[2025-01-11 19:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:19:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:19:03] Production.INFO: Total Charge 0
[2025-01-11 19:19:03] Production.INFO: ==15156== Lock acquired, processing the job...
[2025-01-11 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:19:03] Production.INFO: CreateAllLog End
[2025-01-11 19:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:19:03] Production.INFO: count ==21
[2025-01-11 19:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:19:03] Production.INFO: count ==21
[2025-01-11 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226348') start
[2025-01-11 19:19:03] Production.ERROR: done
[2025-01-11 19:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:19:03] Production.INFO: Account Balance End.
[2025-01-11 19:19:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:19:03] Production.INFO: ==15152== Releasing lock...
[2025-01-11 19:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226348') end
[2025-01-11 19:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:19:03] Production.INFO: 1
[2025-01-11 19:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:19:03] Production.INFO: ==15156== Releasing lock...
[2025-01-11 19:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:19:03] Production.ERROR: done
[2025-01-11 19:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:19:04
[end_date_ymd] => 2025-01-11 19:19:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:19:04' and `end` < '2025-01-11 19: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-01-11 19:19:11] Production.ERROR: CronJobId end10
[2025-01-11 19:19:11] Production.INFO: ==15149== Releasing lock...
[2025-01-11 19:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:19:13] Production.INFO: call_cost start
[2025-01-11 19:19:13] Production.INFO: call_cost end
[2025-01-11 19:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:19:14] Production.INFO: ==15145== Releasing lock...
[2025-01-11 19:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:19:22] Production.INFO: count ==2029
[2025-01-11 19:19:22] Production.ERROR: pbx CDR StartTime 2025-01-11 16:19:04 - End Time 2025-01-11 19:19:04
[2025-01-11 19:19:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226349', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226349', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226349', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:19:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226349', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:19:22] Production.INFO: ProcessCDR(1,14226349,1,1,2)
[2025-01-11 19:19:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:19:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:19:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:19:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226349', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:19:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226349', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:19:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:19:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:19:27] Production.INFO: ==15154== Releasing lock...
[2025-01-11 19:19:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:19:27] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 00:20:01] Production.INFO: ==15209== Lock acquired, processing the job...
[2025-01-12 00:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:20:01] Production.INFO: neon service started
[2025-01-12 00:20:01] Production.INFO: neon service started
[2025-01-12 00:20:01] Production.INFO: ==15209== Releasing lock...
[2025-01-12 00:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:20:02] Production.INFO: ==15212== Lock acquired, processing the job...
[2025-01-11 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:20:02] Production.INFO: ==15212== Releasing lock...
[2025-01-11 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:20:02] Production.INFO: ==15214== Lock acquired, processing the job...
[2025-01-12 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:20:02] Production.INFO: ==15214== Releasing lock...
[2025-01-12 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:20:03] Production.INFO: ==15218== Lock acquired, processing the job...
[2025-01-11 19:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:20:03] Production.INFO: ==15216== Lock acquired, processing the job...
[2025-01-11 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 19:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:20:03] Production.INFO: ==15222== Lock acquired, processing the job...
[2025-01-11 19:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 19:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:20:03] Production.ERROR: CronJob PID - 15218
[2025-01-11 19:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 19:20:03] Production.ERROR: CronJob ID - 5
[2025-01-11 19:20:03] Production.ERROR: CronJob Last Run Time 2025-01-11 19:20:00
[2025-01-11 19:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:20:03] Production.INFO: ==15220== Lock acquired, processing the job...
[2025-01-11 19:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 19:20:03] Production.INFO: ==15216== Releasing lock...
[2025-01-11 19:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 19:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 19:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:20:04] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-01-11 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:20:04] Production.INFO: ==15224== Lock acquired, processing the job...
[2025-01-11 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:20:04] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-01-11 19:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:20:04] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-01-11 19:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 19:20:04] Production.INFO: count ==21
[2025-01-11 19:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:20:04] Production.INFO: Account Balance Start.
[2025-01-11 19:20:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:20:04] Production.INFO: count ==21
[2025-01-11 19:20:04] Production.INFO: 117
[2025-01-11 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226352') start
[2025-01-11 19:20:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:20:04] Production.INFO: ==15220== Releasing lock...
[2025-01-11 19:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:20:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226352') end
[2025-01-11 19:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:20:04] Production.INFO: 1
[2025-01-11 19:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:20:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:20:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:20:04] Production.INFO: ==15230== Releasing lock...
[2025-01-11 19:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:20:04] Production.ERROR: done
[2025-01-11 19:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:20:04] Production.INFO: Total Charge 0
[2025-01-11 19:20:04] Production.INFO: CreateAllLog End
[2025-01-11 19:20:04] Production.ERROR: done
[2025-01-11 19:20:04] Production.ERROR: done
[2025-01-11 19:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 19:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226355', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 19:20:04] Production.INFO: Account Balance End.
[2025-01-11 19:20:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:20:04] Production.INFO: ==15224== Releasing lock...
[2025-01-11 19:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:20:05
[end_date_ymd] => 2025-01-11 19:20:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:20:05' and `end` < '2025-01-11 19: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-01-11 19:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226355', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 19:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 19:20:08] Production.INFO: ProcessCDR(1,14226355,1,1,2)
[2025-01-11 19:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226355,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226355,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:20:08] Production.INFO: ==15228== Releasing lock...
[2025-01-11 19:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 19:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 19:20:12] Production.ERROR: CronJobId end10
[2025-01-11 19:20:12] Production.INFO: ==15222== Releasing lock...
[2025-01-11 19:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:20:14] Production.INFO: call_cost start
[2025-01-11 19:20:14] Production.INFO: call_cost end
[2025-01-11 19:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:20:15] Production.INFO: ==15218== Releasing lock...
[2025-01-11 19:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:20:19] Production.INFO: count ==2025
[2025-01-11 19:20:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:20:05 - End Time 2025-01-11 19:20:05
[2025-01-11 19:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226354', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226354', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226354', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226354', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:20:19] Production.INFO: ProcessCDR(1,14226354,1,1,2)
[2025-01-11 19:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226354', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226354', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:20:22] Production.INFO: ==15226== Releasing lock...
[2025-01-11 19:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:20:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 00:21:02] Production.INFO: ==15284== Lock acquired, processing the job...
[2025-01-12 00:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:21:02] Production.INFO: neon service started
[2025-01-12 00:21:02] Production.INFO: neon service started
[2025-01-12 00:21:02] Production.INFO: ==15284== Releasing lock...
[2025-01-12 00:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:21:02] Production.INFO: ==15287== Lock acquired, processing the job...
[2025-01-11 19:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:21:02] Production.INFO: ==15289== Lock acquired, processing the job...
[2025-01-12 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 19:21:03] Production.INFO: ==15287== Releasing lock...
[2025-01-11 19:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:21:03] Production.INFO: ==15289== Releasing lock...
[2025-01-12 00:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:21:03] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-01-11 19:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:21:03] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-01-11 19:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:21:03] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-01-11 19:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:21:03] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-01-11 19:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:21:04] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-01-11 19:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:21:04] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-01-11 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:21:04] Production.ERROR: done
[2025-01-11 19:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:21:04] Production.INFO: Account Balance Start.
[2025-01-11 19:21:04] Production.INFO: CreateAllLog Start
[2025-01-11 19: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-01-11 19:21:04] Production.INFO: 117
[2025-01-11 19:21:04] Production.INFO: count ==21
[2025-01-11 19:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19: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-01-11 19:21:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:21:04] Production.INFO: count ==21
[2025-01-11 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226356') start
[2025-01-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:21:04] Production.ERROR: done
[2025-01-11 19:21:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226356') end
[2025-01-11 19:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:21:04] Production.INFO: 1
[2025-01-11 19:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:21:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:21:04] Production.INFO: ==15301== Releasing lock...
[2025-01-11 19:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:21:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:21:04] Production.INFO: ==15293== Releasing lock...
[2025-01-11 19:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:21:04] Production.INFO: Total Charge 0
[2025-01-11 19:21:04] Production.INFO: CreateAllLog End
[2025-01-11 19:21:04] Production.INFO: Account Balance End.
[2025-01-11 19:21:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:21:04] Production.INFO: ==15297== Releasing lock...
[2025-01-11 19:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:21:05
[end_date_ymd] => 2025-01-11 19:21:05
[RateCDR] => 1
)
[2025-01-11 19:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:21:05' and `end` < '2025-01-11 19:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:21:11] Production.ERROR: CronJobId end10
[2025-01-11 19:21:11] Production.INFO: ==15295== Releasing lock...
[2025-01-11 19:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:21:13] Production.INFO: call_cost start
[2025-01-11 19:21:13] Production.INFO: call_cost end
[2025-01-11 19:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:21:14] Production.INFO: ==15291== Releasing lock...
[2025-01-11 19:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:21:21] Production.INFO: count ==2061
[2025-01-11 19:21:22] Production.ERROR: pbx CDR StartTime 2025-01-11 16:21:05 - End Time 2025-01-11 19:21:05
[2025-01-11 19:21:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226360', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226360', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226360', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:21:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226360', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:21:22] Production.INFO: ProcessCDR(1,14226360,1,1,2)
[2025-01-11 19:21:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226360', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226360', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:21:25] Production.INFO: ==15299== Releasing lock...
[2025-01-11 19:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:21:25] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:22:01] Production.INFO: ==15355== Lock acquired, processing the job...
[2025-01-12 00:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:22:01] Production.INFO: neon service started
[2025-01-12 00:22:01] Production.INFO: neon service started
[2025-01-12 00:22:01] Production.INFO: ==15355== Releasing lock...
[2025-01-12 00:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:22:02] Production.INFO: ==15357== Lock acquired, processing the job...
[2025-01-11 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:22:02] Production.INFO: ==15359== Lock acquired, processing the job...
[2025-01-12 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:22:02] Production.INFO: ==15359== Releasing lock...
[2025-01-12 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:22:02] Production.INFO: ==15357== Releasing lock...
[2025-01-11 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:22:03] Production.INFO: ==15364== Lock acquired, processing the job...
[2025-01-11 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:22:03] Production.INFO: ==15366== Lock acquired, processing the job...
[2025-01-11 19:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:22:03] Production.INFO: ==15372== Lock acquired, processing the job...
[2025-01-11 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:22:03] Production.INFO: ==15364== Releasing lock...
[2025-01-11 19:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:22:03] Production.INFO: ==15362== Lock acquired, processing the job...
[2025-01-11 19:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:22:03] Production.INFO: ==15368== Lock acquired, processing the job...
[2025-01-11 19:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:22:03] Production.INFO: ==15370== Lock acquired, processing the job...
[2025-01-11 19:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19: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-01-11 19:22:03] Production.INFO: count ==21
[2025-01-11 19:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19: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-01-11 19:22:03] Production.INFO: count ==21
[2025-01-11 19:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226362') start
[2025-01-11 19:22:03] Production.INFO: Account Balance Start.
[2025-01-11 19:22:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:22:03] Production.INFO: 117
[2025-01-11 19:22:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:22:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:22:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226362') end
[2025-01-11 19:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:22:03] Production.INFO: 1
[2025-01-11 19:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:22:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:22:03] Production.INFO: ==15372== Releasing lock...
[2025-01-11 19:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:22:04] Production.INFO: Total Charge 0
[2025-01-11 19:22:04] Production.INFO: CreateAllLog End
[2025-01-11 19:22:04] Production.ERROR: done
[2025-01-11 19:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:22:04] Production.INFO: Account Balance End.
[2025-01-11 19:22:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:22:04] Production.INFO: ==15368== Releasing lock...
[2025-01-11 19:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:22:04] Production.ERROR: done
[2025-01-11 19:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:22:05
[end_date_ymd] => 2025-01-11 19:22:05
[RateCDR] => 1
)
[2025-01-11 19:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:22:05' and `end` < '2025-01-11 19:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:22:10] Production.ERROR: CronJobId end10
[2025-01-11 19:22:10] Production.INFO: ==15366== Releasing lock...
[2025-01-11 19:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:22:12] Production.INFO: call_cost start
[2025-01-11 19:22:12] Production.INFO: call_cost end
[2025-01-11 19:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:22:13] Production.INFO: ==15362== Releasing lock...
[2025-01-11 19:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:22:18] Production.INFO: count ==2065
[2025-01-11 19:22:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:22:05 - End Time 2025-01-11 19:22:05
[2025-01-11 19:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226365', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226365', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226365', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226365', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:22:18] Production.INFO: ProcessCDR(1,14226365,1,1,2)
[2025-01-11 19:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226365', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226365', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:22:22] Production.INFO: ==15370== Releasing lock...
[2025-01-11 19:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:22:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:23:02] Production.INFO: ==15425== Lock acquired, processing the job...
[2025-01-12 00:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:23:02] Production.INFO: neon service started
[2025-01-12 00:23:02] Production.INFO: neon service started
[2025-01-12 00:23:02] Production.INFO: ==15425== Releasing lock...
[2025-01-12 00:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:23:02] Production.INFO: ==15427== Lock acquired, processing the job...
[2025-01-11 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:23:02] Production.INFO: ==15429== Lock acquired, processing the job...
[2025-01-12 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:23:02] Production.INFO: ==15429== Releasing lock...
[2025-01-12 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:23:03] Production.INFO: ==15427== Releasing lock...
[2025-01-11 19:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:23:03] Production.INFO: ==15436== Lock acquired, processing the job...
[2025-01-11 19:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:23:03] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-01-11 19:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:23:03] Production.INFO: ==15432== Lock acquired, processing the job...
[2025-01-11 19:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:23:04] Production.INFO: ==15434== Lock acquired, processing the job...
[2025-01-11 19:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:23:04] Production.INFO: ==15438== Lock acquired, processing the job...
[2025-01-11 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:23:04] Production.INFO: ==15442== Lock acquired, processing the job...
[2025-01-11 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:23:04] Production.INFO: Account Balance Start.
[2025-01-11 19:23:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:23:04] Production.INFO: 117
[2025-01-11 19:23:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:23:04] Production.ERROR: done
[2025-01-11 19:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:23:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:23:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:23:04] Production.ERROR: done
[2025-01-11 19:23:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:23:04] Production.INFO: Total Charge 0
[2025-01-11 19:23:04] Production.INFO: CreateAllLog End
[2025-01-11 19: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-01-11 19:23:04] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:23:04] Production.INFO: count ==21
[2025-01-11 19:23:04] Production.INFO: ==15434== Releasing lock...
[2025-01-11 19:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226369') start
[2025-01-11 19:23:04] Production.INFO: Account Balance End.
[2025-01-11 19:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226369') end
[2025-01-11 19:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:23:04] Production.INFO: 1
[2025-01-11 19:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:23:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:23:04] Production.INFO: ==15438== Releasing lock...
[2025-01-11 19:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:23:04] Production.INFO: ==15442== Releasing lock...
[2025-01-11 19:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:23:05
[end_date_ymd] => 2025-01-11 19:23:05
[RateCDR] => 1
)
[2025-01-11 19:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:23:05' and `end` < '2025-01-11 19:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:23:11] Production.ERROR: CronJobId end10
[2025-01-11 19:23:11] Production.INFO: ==15436== Releasing lock...
[2025-01-11 19:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:23:13] Production.INFO: call_cost start
[2025-01-11 19:23:13] Production.INFO: call_cost end
[2025-01-11 19:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:23:14] Production.INFO: ==15432== Releasing lock...
[2025-01-11 19:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:23:20] Production.INFO: count ==2066
[2025-01-11 19:23:20] Production.ERROR: pbx CDR StartTime 2025-01-11 16:23:05 - End Time 2025-01-11 19:23:05
[2025-01-11 19:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226370', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226370', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226370', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226370', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:23:20] Production.INFO: ProcessCDR(1,14226370,1,1,2)
[2025-01-11 19:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:23:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226370', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:23:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226370', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:23:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:23:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:23:25] Production.INFO: ==15440== Releasing lock...
[2025-01-11 19:23:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:23:25] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:24:01] Production.INFO: ==15502== Lock acquired, processing the job...
[2025-01-12 00:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:24:01] Production.INFO: neon service started
[2025-01-12 00:24:01] Production.INFO: neon service started
[2025-01-12 00:24:01] Production.INFO: ==15502== Releasing lock...
[2025-01-12 00:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:24:01] Production.INFO: ==15504== Lock acquired, processing the job...
[2025-01-11 19:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:24:02] Production.INFO: ==15504== Releasing lock...
[2025-01-11 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:24:02] Production.INFO: ==15506== Lock acquired, processing the job...
[2025-01-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:24:02] Production.INFO: ==15506== Releasing lock...
[2025-01-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:24:03] Production.INFO: ==15510== Lock acquired, processing the job...
[2025-01-11 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:24:03] Production.INFO: ==15516== Lock acquired, processing the job...
[2025-01-11 19:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:24:03] Production.INFO: ==15508== Lock acquired, processing the job...
[2025-01-11 19:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:24:03] Production.INFO: ==15512== Lock acquired, processing the job...
[2025-01-11 19:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:24:03] Production.INFO: ==15514== Lock acquired, processing the job...
[2025-01-11 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:24:03] Production.INFO: ==15518== Lock acquired, processing the job...
[2025-01-11 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:24:03] Production.INFO: ==15510== Releasing lock...
[2025-01-11 19:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:24:03] Production.INFO: Account Balance Start.
[2025-01-11 19:24:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:24:03] Production.INFO: 117
[2025-01-11 19: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-01-11 19:24:03] Production.ERROR: done
[2025-01-11 19:24:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:24:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:24:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:24:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:24:03] Production.INFO: count ==21
[2025-01-11 19:24:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:24:03] Production.INFO: Total Charge 0
[2025-01-11 19:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226374') start
[2025-01-11 19:24:03] Production.INFO: CreateAllLog End
[2025-01-11 19:24:03] Production.ERROR: done
[2025-01-11 19:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226374') end
[2025-01-11 19:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:24:03] Production.INFO: 1
[2025-01-11 19:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:24:03] Production.INFO: Account Balance End.
[2025-01-11 19:24:03] Production.INFO: ==15518== Releasing lock...
[2025-01-11 19:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:24:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:24:03] Production.INFO: ==15514== Releasing lock...
[2025-01-11 19:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:24:04
[end_date_ymd] => 2025-01-11 19:24:04
[RateCDR] => 1
)
[2025-01-11 19:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:24:04' and `end` < '2025-01-11 19:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:24:10] Production.ERROR: CronJobId end10
[2025-01-11 19:24:10] Production.INFO: ==15512== Releasing lock...
[2025-01-11 19:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:24:13] Production.INFO: call_cost start
[2025-01-11 19:24:13] Production.INFO: call_cost end
[2025-01-11 19:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:24:14] Production.INFO: ==15508== Releasing lock...
[2025-01-11 19:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:24:18] Production.INFO: count ==2063
[2025-01-11 19:24:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:24:04 - End Time 2025-01-11 19:24:04
[2025-01-11 19:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226375', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226375', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226375', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226375', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:24:18] Production.INFO: ProcessCDR(1,14226375,1,1,2)
[2025-01-11 19:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226375', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226375', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:24:21] Production.INFO: ==15516== Releasing lock...
[2025-01-11 19:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:24:21] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:25:01] Production.INFO: ==15576== Lock acquired, processing the job...
[2025-01-12 00:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:25:01] Production.INFO: neon service started
[2025-01-12 00:25:02] Production.INFO: neon service started
[2025-01-12 00:25:02] Production.INFO: ==15576== Releasing lock...
[2025-01-12 00:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:25:02] Production.INFO: ==15578== Lock acquired, processing the job...
[2025-01-11 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:25:02] Production.INFO: ==15578== Releasing lock...
[2025-01-11 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:25:02] Production.INFO: ==15580== Lock acquired, processing the job...
[2025-01-12 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:25:02] Production.INFO: ==15580== Releasing lock...
[2025-01-12 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:25:03] Production.INFO: ==15588== Lock acquired, processing the job...
[2025-01-11 19:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:25:03] Production.INFO: Account Balance Start.
[2025-01-11 19:25:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:25:03] Production.INFO: ==15592== Lock acquired, processing the job...
[2025-01-11 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:25:03] Production.INFO: 117
[2025-01-11 19:25:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:25:03] Production.INFO: ==15586== Lock acquired, processing the job...
[2025-01-11 19:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:25:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:25:03] Production.INFO: ==15584== Lock acquired, processing the job...
[2025-01-11 19:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:25:03] Production.INFO: ==15582== Lock acquired, processing the job...
[2025-01-11 19:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19: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-01-11 19:25:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:25:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:25:03] Production.INFO: count ==21
[2025-01-11 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226377') start
[2025-01-11 19:25:03] Production.INFO: ==15590== Lock acquired, processing the job...
[2025-01-11 19:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:25:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:25:03] Production.INFO: Total Charge 0
[2025-01-11 19:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226377') end
[2025-01-11 19:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:25:03] Production.INFO: 1
[2025-01-11 19:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:25:03] Production.INFO: CreateAllLog End
[2025-01-11 19:25:03] Production.INFO: ==15592== Releasing lock...
[2025-01-11 19:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:25:04] Production.INFO: ==15584== Releasing lock...
[2025-01-11 19:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:25:04] Production.INFO: Account Balance End.
[2025-01-11 19:25:04] Production.ERROR: done
[2025-01-11 19:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:25:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:25:04] Production.INFO: ==15588== Releasing lock...
[2025-01-11 19:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:25:04] Production.ERROR: done
[2025-01-11 19:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:25:05
[end_date_ymd] => 2025-01-11 19:25:05
[RateCDR] => 1
)
[2025-01-11 19:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:25:05' and `end` < '2025-01-11 19:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:25:11] Production.ERROR: CronJobId end10
[2025-01-11 19:25:11] Production.INFO: ==15586== Releasing lock...
[2025-01-11 19:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:25:13] Production.INFO: call_cost start
[2025-01-11 19:25:13] Production.INFO: call_cost end
[2025-01-11 19:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:25:14] Production.INFO: ==15582== Releasing lock...
[2025-01-11 19:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:25:18] Production.INFO: count ==2059
[2025-01-11 19:25:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:25:05 - End Time 2025-01-11 19:25:05
[2025-01-11 19:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226380', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226380', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226380', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226380', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:25:19] Production.INFO: ProcessCDR(1,14226380,1,1,2)
[2025-01-11 19:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226380', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226380', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:25:22] Production.INFO: ==15590== Releasing lock...
[2025-01-11 19:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:25:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:26:01] Production.INFO: ==15647== Lock acquired, processing the job...
[2025-01-12 00:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:26:01] Production.INFO: neon service started
[2025-01-12 00:26:01] Production.INFO: neon service started
[2025-01-12 00:26:01] Production.INFO: ==15647== Releasing lock...
[2025-01-12 00:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:26:01] Production.INFO: ==15649== Lock acquired, processing the job...
[2025-01-11 19:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:26:02] Production.INFO: ==15649== Releasing lock...
[2025-01-11 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:26:02] Production.INFO: ==15651== Lock acquired, processing the job...
[2025-01-12 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:26:02] Production.INFO: ==15651== Releasing lock...
[2025-01-12 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:26:02] Production.INFO: ==15659== Lock acquired, processing the job...
[2025-01-11 19:26:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:26:03] Production.INFO: ==15664== Lock acquired, processing the job...
[2025-01-11 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:26:03] Production.INFO: ==15653== Lock acquired, processing the job...
[2025-01-11 19:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:26:03] Production.INFO: Account Balance Start.
[2025-01-11 19:26:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:26:03] Production.INFO: 117
[2025-01-11 19:26:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:26:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:26:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:26:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:26:03] Production.INFO: ==15655== Lock acquired, processing the job...
[2025-01-11 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:26:03] Production.INFO: Total Charge 0
[2025-01-11 19:26:03] Production.INFO: count ==21
[2025-01-11 19:26:03] Production.INFO: CreateAllLog End
[2025-01-11 19: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-01-11 19:26:03] Production.INFO: count ==21
[2025-01-11 19:26:03] Production.INFO: ==15657== Lock acquired, processing the job...
[2025-01-11 19:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226382') start
[2025-01-11 19:26:03] Production.INFO: ==15661== Lock acquired, processing the job...
[2025-01-11 19:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226382') end
[2025-01-11 19:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:26:03] Production.INFO: 1
[2025-01-11 19:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:26:03] Production.INFO: Account Balance End.
[2025-01-11 19:26:03] Production.INFO: ==15664== Releasing lock...
[2025-01-11 19:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:26:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:26:03] Production.INFO: ==15659== Releasing lock...
[2025-01-11 19:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:26:03] Production.ERROR: done
[2025-01-11 19:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:26:03] Production.INFO: ==15655== Releasing lock...
[2025-01-11 19:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:26:03] Production.ERROR: done
[2025-01-11 19:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:26:04
[end_date_ymd] => 2025-01-11 19:26:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:26:04' and `end` < '2025-01-11 19: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-01-11 19:26:10] Production.ERROR: CronJobId end10
[2025-01-11 19:26:10] Production.INFO: ==15657== Releasing lock...
[2025-01-11 19:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:26:13] Production.INFO: call_cost start
[2025-01-11 19:26:13] Production.INFO: call_cost end
[2025-01-11 19:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:26:14] Production.INFO: ==15653== Releasing lock...
[2025-01-11 19:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:26:20] Production.INFO: count ==2059
[2025-01-11 19:26:20] Production.ERROR: pbx CDR StartTime 2025-01-11 16:26:04 - End Time 2025-01-11 19:26:04
[2025-01-11 19:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226385', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226385', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226385', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226385', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:26:20] Production.INFO: ProcessCDR(1,14226385,1,1,2)
[2025-01-11 19:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226385', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226385', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:26:23] Production.INFO: ==15661== Releasing lock...
[2025-01-11 19:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:26:23] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:27:01] Production.INFO: ==15718== Lock acquired, processing the job...
[2025-01-12 00:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:27:01] Production.INFO: neon service started
[2025-01-12 00:27:01] Production.INFO: neon service started
[2025-01-12 00:27:01] Production.INFO: ==15718== Releasing lock...
[2025-01-12 00:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:27:02] Production.INFO: ==15720== Lock acquired, processing the job...
[2025-01-11 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:27:02] Production.INFO: ==15720== Releasing lock...
[2025-01-11 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:27:02] Production.INFO: ==15722== Lock acquired, processing the job...
[2025-01-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:27:02] Production.INFO: ==15722== Releasing lock...
[2025-01-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:27:03] Production.INFO: ==15724== Lock acquired, processing the job...
[2025-01-11 19:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:27:03] Production.INFO: ==15726== Lock acquired, processing the job...
[2025-01-11 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:27:03] Production.INFO: ==15730== Lock acquired, processing the job...
[2025-01-11 19:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:27:03] Production.INFO: Account Balance Start.
[2025-01-11 19:27:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:27:03] Production.INFO: 117
[2025-01-11 19:27:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:27:03] Production.INFO: ==15728== Lock acquired, processing the job...
[2025-01-11 19:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:27:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:27:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:27:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:27:03] Production.INFO: ==15732== Lock acquired, processing the job...
[2025-01-11 19:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:27:03] Production.INFO: ==15726== Releasing lock...
[2025-01-11 19:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:27:03] Production.INFO: Total Charge 0
[2025-01-11 19:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:27:03] Production.INFO: CreateAllLog End
[2025-01-11 19:27:03] Production.INFO: ==15734== Lock acquired, processing the job...
[2025-01-11 19:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:27:03] Production.INFO: Account Balance End.
[2025-01-11 19:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:27:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:27:04] Production.INFO: ==15730== Releasing lock...
[2025-01-11 19:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:27:04] Production.INFO: count ==21
[2025-01-11 19:27:04] Production.ERROR: done
[2025-01-11 19:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19: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-01-11 19:27:04] Production.INFO: count ==21
[2025-01-11 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226389') start
[2025-01-11 19:27:04] Production.ERROR: done
[2025-01-11 19:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226389') end
[2025-01-11 19:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:27:04] Production.INFO: 1
[2025-01-11 19:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:27:04] Production.INFO: ==15734== Releasing lock...
[2025-01-11 19:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:27:05
[end_date_ymd] => 2025-01-11 19:27:05
[RateCDR] => 1
)
[2025-01-11 19:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:27:05' and `end` < '2025-01-11 19:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:27:11] Production.ERROR: CronJobId end10
[2025-01-11 19:27:11] Production.INFO: ==15728== Releasing lock...
[2025-01-11 19:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:27:13] Production.INFO: call_cost start
[2025-01-11 19:27:13] Production.INFO: call_cost end
[2025-01-11 19:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:27:14] Production.INFO: ==15724== Releasing lock...
[2025-01-11 19:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:27:18] Production.INFO: count ==2057
[2025-01-11 19:27:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:27:05 - End Time 2025-01-11 19:27:05
[2025-01-11 19:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226390', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226390', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226390', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226390', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:27:18] Production.INFO: ProcessCDR(1,14226390,1,1,2)
[2025-01-11 19:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226390', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226390', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:27:22] Production.INFO: ==15732== Releasing lock...
[2025-01-11 19:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:27:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:28:02] Production.INFO: ==15790== Lock acquired, processing the job...
[2025-01-12 00:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:28:02] Production.INFO: neon service started
[2025-01-12 00:28:02] Production.INFO: neon service started
[2025-01-12 00:28:02] Production.INFO: ==15790== Releasing lock...
[2025-01-12 00:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:28:02] Production.INFO: ==15792== Lock acquired, processing the job...
[2025-01-11 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:28:02] Production.INFO: ==15792== Releasing lock...
[2025-01-11 19:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:28:02] Production.INFO: ==15794== Lock acquired, processing the job...
[2025-01-12 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:28:03] Production.INFO: ==15794== Releasing lock...
[2025-01-12 00:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:28:03] Production.INFO: ==15802== Lock acquired, processing the job...
[2025-01-11 19:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:28:03] Production.INFO: ==15804== Lock acquired, processing the job...
[2025-01-11 19:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:28:03] Production.INFO: ==15796== Lock acquired, processing the job...
[2025-01-11 19:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:28:03] Production.INFO: Account Balance Start.
[2025-01-11 19:28:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:28:03] Production.INFO: 117
[2025-01-11 19:28:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:28:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:28:03] Production.INFO: ==15798== Lock acquired, processing the job...
[2025-01-11 19:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:28:04] Production.INFO: ==15800== Lock acquired, processing the job...
[2025-01-11 19:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:28:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:28:04] Production.INFO: ==15806== Lock acquired, processing the job...
[2025-01-11 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:28:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:28:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:28:04] Production.ERROR: done
[2025-01-11 19:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:28:04] Production.INFO: Total Charge 0
[2025-01-11 19:28:04] Production.INFO: count ==21
[2025-01-11 19:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:28:04] Production.INFO: count ==21
[2025-01-11 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226393') start
[2025-01-11 19:28:04] Production.INFO: CreateAllLog End
[2025-01-11 19:28:04] Production.ERROR: done
[2025-01-11 19:28:04] Production.INFO: Account Balance End.
[2025-01-11 19:28:04] Production.INFO: ==15798== Releasing lock...
[2025-01-11 19:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226393') end
[2025-01-11 19:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:28:04] Production.INFO: 1
[2025-01-11 19:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:28:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:28:04] Production.INFO: ==15802== Releasing lock...
[2025-01-11 19:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:28:04] Production.INFO: ==15806== Releasing lock...
[2025-01-11 19:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:28:05
[end_date_ymd] => 2025-01-11 19:28:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:28:05' and `end` < '2025-01-11 19: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-01-11 19:28:12] Production.ERROR: CronJobId end10
[2025-01-11 19:28:12] Production.INFO: ==15800== Releasing lock...
[2025-01-11 19:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:28:13] Production.INFO: call_cost start
[2025-01-11 19:28:13] Production.INFO: call_cost end
[2025-01-11 19:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:28:14] Production.INFO: ==15796== Releasing lock...
[2025-01-11 19:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:28:18] Production.INFO: count ==2056
[2025-01-11 19:28:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:28:05 - End Time 2025-01-11 19:28:05
[2025-01-11 19:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226395', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226395', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226395', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226395', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:28:18] Production.INFO: ProcessCDR(1,14226395,1,1,2)
[2025-01-11 19:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226395', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226395', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:28:22] Production.INFO: ==15804== Releasing lock...
[2025-01-11 19:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:28:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:29:01] Production.INFO: ==15860== Lock acquired, processing the job...
[2025-01-12 00:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:29:01] Production.INFO: neon service started
[2025-01-12 00:29:01] Production.INFO: neon service started
[2025-01-12 00:29:01] Production.INFO: ==15860== Releasing lock...
[2025-01-12 00:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:29:02] Production.INFO: ==15862== Lock acquired, processing the job...
[2025-01-11 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:29:02] Production.INFO: ==15864== Lock acquired, processing the job...
[2025-01-12 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:29:02] Production.INFO: ==15864== Releasing lock...
[2025-01-12 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:29:02] Production.INFO: ==15862== Releasing lock...
[2025-01-11 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:29:02] Production.INFO: ==15869== Lock acquired, processing the job...
[2025-01-11 19:29:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:29:03] Production.INFO: ==15875== Lock acquired, processing the job...
[2025-01-11 19:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:29:03] Production.INFO: ==15869== Releasing lock...
[2025-01-11 19:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:29:03] Production.ERROR: done
[2025-01-11 19:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:29:03] Production.INFO: ==15877== Lock acquired, processing the job...
[2025-01-11 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:29:03] Production.INFO: ==15871== Lock acquired, processing the job...
[2025-01-11 19:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:29:03] Production.INFO: ==15867== Lock acquired, processing the job...
[2025-01-11 19:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:29:03] Production.ERROR: done
[2025-01-11 19:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:29:03] Production.INFO: count ==21
[2025-01-11 19:29:03] Production.INFO: ==15873== Lock acquired, processing the job...
[2025-01-11 19:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19: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-01-11 19:29:03] Production.INFO: count ==21
[2025-01-11 19:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226397') start
[2025-01-11 19:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226397') end
[2025-01-11 19:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:29:03] Production.INFO: 1
[2025-01-11 19:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:29:03] Production.INFO: Account Balance Start.
[2025-01-11 19:29:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:29:03] Production.INFO: 117
[2025-01-11 19:29:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:29:03] Production.INFO: ==15877== Releasing lock...
[2025-01-11 19:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:29:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:29:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:29:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:29:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:29:03] Production.INFO: Total Charge 0
[2025-01-11 19:29:04] Production.INFO: CreateAllLog End
[2025-01-11 19:29:04] Production.INFO: Account Balance End.
[2025-01-11 19:29:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:29:04] Production.INFO: ==15873== Releasing lock...
[2025-01-11 19:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:29:04
[end_date_ymd] => 2025-01-11 19:29:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:29:04' and `end` < '2025-01-11 19: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-01-11 19:29:10] Production.ERROR: CronJobId end10
[2025-01-11 19:29:10] Production.INFO: ==15871== Releasing lock...
[2025-01-11 19:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:29:12] Production.INFO: call_cost start
[2025-01-11 19:29:12] Production.INFO: call_cost end
[2025-01-11 19:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:29:13] Production.INFO: ==15867== Releasing lock...
[2025-01-11 19:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:29:18] Production.INFO: count ==2053
[2025-01-11 19:29:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:29:04 - End Time 2025-01-11 19:29:04
[2025-01-11 19:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226398', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226398', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226398', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226398', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:29:18] Production.INFO: ProcessCDR(1,14226398,1,1,2)
[2025-01-11 19:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226398,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226398,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226398', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226398', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:29:21] Production.INFO: ==15875== Releasing lock...
[2025-01-11 19:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:29:21] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:30:01] Production.INFO: ==15930== Lock acquired, processing the job...
[2025-01-12 00:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:30:02] Production.INFO: neon service started
[2025-01-12 00:30:02] Production.INFO: neon service started
[2025-01-12 00:30:02] Production.INFO: ==15930== Releasing lock...
[2025-01-12 00:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:30:02] Production.INFO: ==15932== Lock acquired, processing the job...
[2025-01-11 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:30:02] Production.INFO: ==15934== Lock acquired, processing the job...
[2025-01-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:30:02] Production.INFO: ==15934== Releasing lock...
[2025-01-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:30:02] Production.INFO: ==15932== Releasing lock...
[2025-01-11 19:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:30:03] Production.INFO: ==15936== Lock acquired, processing the job...
[2025-01-11 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 19:30:03] Production.INFO: ==15938== Lock acquired, processing the job...
[2025-01-11 19:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 19:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:30:03] Production.ERROR: CronJob PID - 15938
[2025-01-11 19:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 19:30:03] Production.ERROR: CronJob ID - 5
[2025-01-11 19:30:03] Production.ERROR: CronJob Last Run Time 2025-01-11 19:30:00
[2025-01-11 19:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 19:30:03] Production.INFO: ==15936== Releasing lock...
[2025-01-11 19:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 19:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 19:30:03] Production.INFO: ==15943== Lock acquired, processing the job...
[2025-01-11 19:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:30:04] Production.INFO: ==15947== Lock acquired, processing the job...
[2025-01-11 19:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:30:04] Production.INFO: ==15941== Lock acquired, processing the job...
[2025-01-11 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:30:04] Production.INFO: ==15945== Lock acquired, processing the job...
[2025-01-11 19:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:30:04] Production.INFO: ==15951== Lock acquired, processing the job...
[2025-01-11 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:30:04] Production.INFO: ==15949== Lock acquired, processing the job...
[2025-01-11 19:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 19:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:30:04] Production.ERROR: done
[2025-01-11 19:30:04] Production.INFO: Account Balance Start.
[2025-01-11 19:30:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:30:04] Production.INFO: 117
[2025-01-11 19:30:04] Production.INFO: ==15941== Releasing lock...
[2025-01-11 19:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:30:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:30:04] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:30:04] Production.INFO: count ==21
[2025-01-11 19:30:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226404') start
[2025-01-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:30:04] Production.ERROR: done
[2025-01-11 19:30:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226404') end
[2025-01-11 19:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:30:04] Production.INFO: 1
[2025-01-11 19:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:30:04] Production.INFO: ==15951== Releasing lock...
[2025-01-11 19:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:30:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:30:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:30:05] Production.INFO: Total Charge 0
[2025-01-11 19:30:05] Production.INFO: CreateAllLog End
[2025-01-11 19:30:05] Production.ERROR: done
[2025-01-11 19:30:05] Production.INFO: Account Balance End.
[2025-01-11 19:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 19:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226406', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 19:30:05] Production.ERROR: CronJobId end 12
[2025-01-11 19:30:05] Production.INFO: ==15945== Releasing lock...
[2025-01-11 19:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:30:05
[end_date_ymd] => 2025-01-11 19:30:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:30:05' and `end` < '2025-01-11 19: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-01-11 19:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226406', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 19:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 19:30:08] Production.INFO: ProcessCDR(1,14226406,1,1,2)
[2025-01-11 19:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:30:08] Production.INFO: ==15949== Releasing lock...
[2025-01-11 19:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 19:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 19:30:12] Production.ERROR: CronJobId end10
[2025-01-11 19:30:12] Production.INFO: ==15943== Releasing lock...
[2025-01-11 19:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:30:14] Production.INFO: call_cost start
[2025-01-11 19:30:14] Production.INFO: call_cost end
[2025-01-11 19:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:30:15] Production.INFO: ==15938== Releasing lock...
[2025-01-11 19:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:30:19] Production.INFO: count ==2052
[2025-01-11 19:30:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:30:05 - End Time 2025-01-11 19:30:05
[2025-01-11 19:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226405', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226405', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226405', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226405', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:30:19] Production.INFO: ProcessCDR(1,14226405,1,1,2)
[2025-01-11 19:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226405', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226405', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:30:22] Production.INFO: ==15947== Releasing lock...
[2025-01-11 19:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:30:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:31:01] Production.INFO: ==16042== Lock acquired, processing the job...
[2025-01-12 00:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:31:01] Production.INFO: neon service started
[2025-01-12 00:31:01] Production.INFO: neon service started
[2025-01-12 00:31:01] Production.INFO: ==16042== Releasing lock...
[2025-01-12 00:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:31:01] Production.INFO: ==16044== Lock acquired, processing the job...
[2025-01-11 19:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:31:02] Production.INFO: ==16046== Lock acquired, processing the job...
[2025-01-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 19:31:02] Production.INFO: ==16044== Releasing lock...
[2025-01-11 19:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:31:02] Production.INFO: ==16046== Releasing lock...
[2025-01-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:31:02] Production.INFO: ==16048== Lock acquired, processing the job...
[2025-01-11 19:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:31:03] Production.INFO: ==16050== Lock acquired, processing the job...
[2025-01-11 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:31:03] Production.INFO: ==16052== Lock acquired, processing the job...
[2025-01-11 19:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:31:03] Production.INFO: ==16054== Lock acquired, processing the job...
[2025-01-11 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:31:03] Production.INFO: ==16056== Lock acquired, processing the job...
[2025-01-11 19:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:31:03] Production.INFO: ==16058== Lock acquired, processing the job...
[2025-01-11 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:31:03] Production.INFO: Account Balance Start.
[2025-01-11 19:31:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:31:03] Production.INFO: 117
[2025-01-11 19:31:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:31:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:31:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:31:03] Production.INFO: ==16050== Releasing lock...
[2025-01-11 19:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:31:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:31:03] Production.INFO: count ==21
[2025-01-11 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226410') start
[2025-01-11 19:31:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:31:03] Production.ERROR: done
[2025-01-11 19:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226410') end
[2025-01-11 19:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:31:03] Production.INFO: 1
[2025-01-11 19:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:31:03] Production.INFO: Total Charge 0
[2025-01-11 19:31:03] Production.INFO: CreateAllLog End
[2025-01-11 19:31:03] Production.INFO: ==16058== Releasing lock...
[2025-01-11 19:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:31:03] Production.ERROR: done
[2025-01-11 19:31:03] Production.INFO: Account Balance End.
[2025-01-11 19:31:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:31:03] Production.INFO: ==16054== Releasing lock...
[2025-01-11 19:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:31:04
[end_date_ymd] => 2025-01-11 19:31:04
[RateCDR] => 1
)
[2025-01-11 19:31: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-01-11 16:31:04' and `end` < '2025-01-11 19:31: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-01-11 19:31:10] Production.ERROR: CronJobId end10
[2025-01-11 19:31:10] Production.INFO: ==16052== Releasing lock...
[2025-01-11 19:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:31:13] Production.INFO: call_cost start
[2025-01-11 19:31:13] Production.INFO: call_cost end
[2025-01-11 19:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:31:13] Production.INFO: ==16048== Releasing lock...
[2025-01-11 19:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:31:18] Production.INFO: count ==2065
[2025-01-11 19:31:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:31:04 - End Time 2025-01-11 19:31:04
[2025-01-11 19:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226411', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226411', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226411', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226411', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:31:18] Production.INFO: ProcessCDR(1,14226411,1,1,2)
[2025-01-11 19:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226411', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226411', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:31:22] Production.INFO: ==16056== Releasing lock...
[2025-01-11 19:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:31:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 00:32:01] Production.INFO: ==16113== Lock acquired, processing the job...
[2025-01-12 00:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:32:01] Production.INFO: neon service started
[2025-01-12 00:32:01] Production.INFO: neon service started
[2025-01-12 00:32:01] Production.INFO: ==16113== Releasing lock...
[2025-01-12 00:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:32:02] Production.INFO: ==16115== Lock acquired, processing the job...
[2025-01-11 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:32:02] Production.INFO: ==16117== Lock acquired, processing the job...
[2025-01-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:32:02] Production.INFO: ==16117== Releasing lock...
[2025-01-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:32:02] Production.INFO: ==16115== Releasing lock...
[2025-01-11 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:32:03] Production.INFO: ==16120== Lock acquired, processing the job...
[2025-01-11 19:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:32:03] Production.INFO: ==16124== Lock acquired, processing the job...
[2025-01-11 19:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:32:03] Production.INFO: ==16122== Lock acquired, processing the job...
[2025-01-11 19:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:32:03] Production.INFO: ==16128== Lock acquired, processing the job...
[2025-01-11 19:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:32:04] Production.INFO: ==16126== Lock acquired, processing the job...
[2025-01-11 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:32:04] Production.INFO: ==16130== Lock acquired, processing the job...
[2025-01-11 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:32:04] Production.INFO: ==16122== Releasing lock...
[2025-01-11 19:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:32:04] Production.ERROR: done
[2025-01-11 19:32:04] Production.INFO: Account Balance Start.
[2025-01-11 19:32:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:32:04] Production.INFO: 117
[2025-01-11 19:32:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:32:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:32:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:32:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:32:04] Production.INFO: count ==21
[2025-01-11 19:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:32:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:32:04] Production.INFO: count ==21
[2025-01-11 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226415') start
[2025-01-11 19:32:04] Production.ERROR: done
[2025-01-11 19:32:04] Production.INFO: Total Charge 0
[2025-01-11 19:32:04] Production.INFO: CreateAllLog End
[2025-01-11 19:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226415') end
[2025-01-11 19:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:32:04] Production.INFO: 1
[2025-01-11 19:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:32:04] Production.INFO: Account Balance End.
[2025-01-11 19:32:04] Production.INFO: ==16130== Releasing lock...
[2025-01-11 19:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:32:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:32:04] Production.INFO: ==16126== Releasing lock...
[2025-01-11 19:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:32:05
[end_date_ymd] => 2025-01-11 19:32:05
[RateCDR] => 1
)
[2025-01-11 19:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:32:05' and `end` < '2025-01-11 19:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:32:11] Production.ERROR: CronJobId end10
[2025-01-11 19:32:11] Production.INFO: ==16124== Releasing lock...
[2025-01-11 19:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:32:13] Production.INFO: call_cost start
[2025-01-11 19:32:13] Production.INFO: call_cost end
[2025-01-11 19:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:32:13] Production.INFO: ==16120== Releasing lock...
[2025-01-11 19:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:32:20] Production.INFO: count ==2075
[2025-01-11 19:32:20] Production.ERROR: pbx CDR StartTime 2025-01-11 16:32:05 - End Time 2025-01-11 19:32:05
[2025-01-11 19:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226416', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226416', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226416', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226416', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:32:20] Production.INFO: ProcessCDR(1,14226416,1,1,2)
[2025-01-11 19:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226416', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226416', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:32:25] Production.INFO: ==16128== Releasing lock...
[2025-01-11 19:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:32:25] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 00:33:01] Production.INFO: ==16183== Lock acquired, processing the job...
[2025-01-12 00:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:33:01] Production.INFO: neon service started
[2025-01-12 00:33:01] Production.INFO: neon service started
[2025-01-12 00:33:01] Production.INFO: ==16183== Releasing lock...
[2025-01-12 00:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:33:01] Production.INFO: ==16187== Lock acquired, processing the job...
[2025-01-12 00:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:33:01] Production.INFO: ==16187== Releasing lock...
[2025-01-12 00:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:33:01] Production.INFO: ==16185== Lock acquired, processing the job...
[2025-01-11 19:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:33:02] Production.INFO: ==16185== Releasing lock...
[2025-01-11 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:33:02] Production.INFO: ==16195== Lock acquired, processing the job...
[2025-01-11 19:33:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:33:02] Production.INFO: ==16197== Lock acquired, processing the job...
[2025-01-11 19:33:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:33:02] Production.INFO: Account Balance Start.
[2025-01-11 19:33:02] Production.INFO: CreateAllLog Start
[2025-01-11 19:33:03] Production.INFO: 117
[2025-01-11 19:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:33:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:33:03] Production.INFO: ==16189== Lock acquired, processing the job...
[2025-01-11 19:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:33:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:33:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:33:03] Production.INFO: ==16191== Lock acquired, processing the job...
[2025-01-11 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:33:03] Production.INFO: ==16193== Lock acquired, processing the job...
[2025-01-11 19:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:33:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:33:03] Production.INFO: ==16199== Lock acquired, processing the job...
[2025-01-11 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:33:03] Production.INFO: Total Charge 0
[2025-01-11 19:33:03] Production.INFO: CreateAllLog End
[2025-01-11 19:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:33:03] Production.ERROR: done
[2025-01-11 19:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:33:03] Production.INFO: Account Balance End.
[2025-01-11 19:33:03] Production.INFO: count ==21
[2025-01-11 19:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:33:03] Production.INFO: ==16191== Releasing lock...
[2025-01-11 19:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:33:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:33:03] Production.INFO: ==16195== Releasing lock...
[2025-01-11 19:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:33:03] Production.INFO: count ==21
[2025-01-11 19:33:03] Production.ERROR: done
[2025-01-11 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226420') start
[2025-01-11 19:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226420') end
[2025-01-11 19:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:33:03] Production.INFO: 1
[2025-01-11 19:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:33:03] Production.INFO: ==16199== Releasing lock...
[2025-01-11 19:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:33:04
[end_date_ymd] => 2025-01-11 19:33:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:33:04' and `end` < '2025-01-11 19: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-01-11 19:33:10] Production.ERROR: CronJobId end10
[2025-01-11 19:33:10] Production.INFO: ==16193== Releasing lock...
[2025-01-11 19:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:33:12] Production.INFO: call_cost start
[2025-01-11 19:33:12] Production.INFO: call_cost end
[2025-01-11 19:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:33:13] Production.INFO: ==16189== Releasing lock...
[2025-01-11 19:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:33:18] Production.INFO: count ==2087
[2025-01-11 19:33:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:33:04 - End Time 2025-01-11 19:33:04
[2025-01-11 19:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226421', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226421', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226421', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226421', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:33:19] Production.INFO: ProcessCDR(1,14226421,1,1,2)
[2025-01-11 19:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226421', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226421', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:33:22] Production.INFO: ==16197== Releasing lock...
[2025-01-11 19:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:33:22] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 00:34:01] Production.INFO: ==16255== Lock acquired, processing the job...
[2025-01-12 00:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:34:01] Production.INFO: neon service started
[2025-01-12 00:34:01] Production.INFO: neon service started
[2025-01-12 00:34:01] Production.INFO: ==16255== Releasing lock...
[2025-01-12 00:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:34:02] Production.INFO: ==16257== Lock acquired, processing the job...
[2025-01-11 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:34:02] Production.INFO: ==16257== Releasing lock...
[2025-01-11 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:34:02] Production.INFO: ==16259== Lock acquired, processing the job...
[2025-01-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:34:02] Production.INFO: ==16259== Releasing lock...
[2025-01-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:34:03] Production.INFO: ==16267== Lock acquired, processing the job...
[2025-01-11 19:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:34:03] Production.INFO: ==16269== Lock acquired, processing the job...
[2025-01-11 19:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:34:03] Production.INFO: ==16261== Lock acquired, processing the job...
[2025-01-11 19:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:34:03] Production.INFO: ==16263== Lock acquired, processing the job...
[2025-01-11 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:34:03] Production.INFO: ==16265== Lock acquired, processing the job...
[2025-01-11 19:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:34:03] Production.INFO: ==16271== Lock acquired, processing the job...
[2025-01-11 19:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:34:03] Production.INFO: Account Balance Start.
[2025-01-11 19:34:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:34:03] Production.INFO: 117
[2025-01-11 19:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:34:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:34:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:34:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:34:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:34:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:34:03] Production.INFO: count ==21
[2025-01-11 19:34:03] Production.INFO: Total Charge 0
[2025-01-11 19:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226424') start
[2025-01-11 19:34:03] Production.ERROR: done
[2025-01-11 19:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:34:03] Production.INFO: CreateAllLog End
[2025-01-11 19:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226424') end
[2025-01-11 19:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:34:03] Production.INFO: 1
[2025-01-11 19:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:34:03] Production.INFO: ==16263== Releasing lock...
[2025-01-11 19:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:34:04] Production.INFO: ==16271== Releasing lock...
[2025-01-11 19:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:34:04] Production.ERROR: done
[2025-01-11 19:34:04] Production.INFO: Account Balance End.
[2025-01-11 19:34:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:34:04] Production.INFO: ==16267== Releasing lock...
[2025-01-11 19:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:34:05
[end_date_ymd] => 2025-01-11 19:34:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:34:05' and `end` < '2025-01-11 19: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-01-11 19:34:10] Production.ERROR: CronJobId end10
[2025-01-11 19:34:10] Production.INFO: ==16265== Releasing lock...
[2025-01-11 19:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:34:13] Production.INFO: call_cost start
[2025-01-11 19:34:13] Production.INFO: call_cost end
[2025-01-11 19:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:34:14] Production.INFO: ==16261== Releasing lock...
[2025-01-11 19:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:34:19] Production.INFO: count ==2093
[2025-01-11 19:34:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:34:05 - End Time 2025-01-11 19:34:05
[2025-01-11 19:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226426', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226426', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226426', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226426', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:34:19] Production.INFO: ProcessCDR(1,14226426,1,1,2)
[2025-01-11 19:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:34:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:34:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226426', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226426', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:34:24] Production.INFO: ==16269== Releasing lock...
[2025-01-11 19:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:34:24] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 00:35:02] Production.INFO: ==16332== Lock acquired, processing the job...
[2025-01-12 00:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:35:02] Production.INFO: neon service started
[2025-01-12 00:35:02] Production.INFO: neon service started
[2025-01-12 00:35:02] Production.INFO: ==16332== Releasing lock...
[2025-01-12 00:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:35:02] Production.INFO: ==16336== Lock acquired, processing the job...
[2025-01-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:35:02] Production.INFO: ==16336== Releasing lock...
[2025-01-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:35:02] Production.INFO: ==16334== Lock acquired, processing the job...
[2025-01-11 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:35:02] Production.INFO: ==16334== Releasing lock...
[2025-01-11 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:35:03] Production.INFO: ==16338== Lock acquired, processing the job...
[2025-01-11 19:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:35:03] Production.INFO: ==16342== Lock acquired, processing the job...
[2025-01-11 19:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:35:03] Production.INFO: ==16348== Lock acquired, processing the job...
[2025-01-11 19:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:35:03] Production.INFO: ==16340== Lock acquired, processing the job...
[2025-01-11 19:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:35:04] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-01-11 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19: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-01-11 19:35:04] Production.INFO: ==16346== Lock acquired, processing the job...
[2025-01-11 19:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:35:04] Production.INFO: Account Balance Start.
[2025-01-11 19:35:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:35:04] Production.INFO: 117
[2025-01-11 19:35:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:35:04] Production.INFO: count ==21
[2025-01-11 19:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:35:04] Production.INFO: count ==21
[2025-01-11 19:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226428') start
[2025-01-11 19:35:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:35:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:35:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226428') end
[2025-01-11 19:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:35:04] Production.INFO: 1
[2025-01-11 19:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:35:04] Production.INFO: ==16340== Releasing lock...
[2025-01-11 19:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:35:04] Production.INFO: ==16348== Releasing lock...
[2025-01-11 19:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:35:04] Production.INFO: Total Charge 0
[2025-01-11 19:35:04] Production.INFO: CreateAllLog End
[2025-01-11 19:35:04] Production.ERROR: done
[2025-01-11 19:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:35:04] Production.INFO: Account Balance End.
[2025-01-11 19:35:04] Production.ERROR: done
[2025-01-11 19:35:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:35:04] Production.INFO: ==16344== Releasing lock...
[2025-01-11 19:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:35:05
[end_date_ymd] => 2025-01-11 19:35:05
[RateCDR] => 1
)
[2025-01-11 19:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:35:05' and `end` < '2025-01-11 19:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:35:12] Production.ERROR: CronJobId end10
[2025-01-11 19:35:12] Production.INFO: ==16342== Releasing lock...
[2025-01-11 19:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:35:13] Production.INFO: call_cost start
[2025-01-11 19:35:13] Production.INFO: call_cost end
[2025-01-11 19:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:35:14] Production.INFO: ==16338== Releasing lock...
[2025-01-11 19:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:35:18] Production.INFO: count ==2109
[2025-01-11 19:35:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:35:05 - End Time 2025-01-11 19:35:05
[2025-01-11 19:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226431', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226431', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226431', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226431', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:35:19] Production.INFO: ProcessCDR(1,14226431,1,1,2)
[2025-01-11 19:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226431', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226431', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:35:23] Production.INFO: ==16346== Releasing lock...
[2025-01-11 19:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:35:23] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:36:01] Production.INFO: ==16404== Lock acquired, processing the job...
[2025-01-12 00:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:36:01] Production.INFO: neon service started
[2025-01-12 00:36:01] Production.INFO: neon service started
[2025-01-12 00:36:01] Production.INFO: ==16404== Releasing lock...
[2025-01-12 00:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:36:01] Production.INFO: ==16406== Lock acquired, processing the job...
[2025-01-11 19:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:36:02] Production.INFO: ==16406== Releasing lock...
[2025-01-11 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:36:02] Production.INFO: ==16408== Lock acquired, processing the job...
[2025-01-12 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:36:02] Production.INFO: ==16408== Releasing lock...
[2025-01-12 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:36:02] Production.INFO: 26 MB #Memory Used#
[2025-01-11 19:36:02] Production.INFO: ==16416== Lock acquired, processing the job...
[2025-01-11 19:36:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:36:02] Production.INFO: Account Balance Start.
[2025-01-11 19:36:02] Production.INFO: CreateAllLog Start
[2025-01-11 19:36:02] Production.INFO: 117
[2025-01-11 19:36:02] Production.INFO: Date 2025-01-08
[2025-01-11 19:36:02] Production.INFO: Reseller ==> 0
[2025-01-11 19:36:02] Production.INFO: Date 2025-01-09
[2025-01-11 19:36:02] Production.INFO: Reseller ==> 0
[2025-01-11 19:36:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:36:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:36:03] Production.INFO: Total Charge 0
[2025-01-11 19:36:03] Production.INFO: CreateAllLog End
[2025-01-11 19:36:03] Production.INFO: Account Balance End.
[2025-01-11 19:36:03] Production.INFO: ==16410== Lock acquired, processing the job...
[2025-01-11 19:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:36:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:36:03] Production.INFO: ==16416== Releasing lock...
[2025-01-11 19:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:36:03] Production.INFO: ==16414== Lock acquired, processing the job...
[2025-01-11 19:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:36:03] Production.INFO: ==16412== Lock acquired, processing the job...
[2025-01-11 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:36:03] Production.INFO: ==16418== Lock acquired, processing the job...
[2025-01-11 19:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:36:03] Production.INFO: ==16420== Lock acquired, processing the job...
[2025-01-11 19:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19: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-01-11 19:36:03] Production.INFO: count ==21
[2025-01-11 19:36:03] Production.INFO: ==16412== Releasing lock...
[2025-01-11 19:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19: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-01-11 19:36:03] Production.INFO: count ==21
[2025-01-11 19:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226435') start
[2025-01-11 19:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226435') end
[2025-01-11 19:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:36:03] Production.INFO: 1
[2025-01-11 19:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:36:04] Production.ERROR: done
[2025-01-11 19:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:36:04] Production.INFO: ==16420== Releasing lock...
[2025-01-11 19:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:36:04] Production.ERROR: done
[2025-01-11 19:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:36:05
[end_date_ymd] => 2025-01-11 19:36:05
[RateCDR] => 1
)
[2025-01-11 19:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:36:05' and `end` < '2025-01-11 19:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:36:11] Production.ERROR: CronJobId end10
[2025-01-11 19:36:11] Production.INFO: ==16414== Releasing lock...
[2025-01-11 19:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:36:12] Production.INFO: call_cost start
[2025-01-11 19:36:12] Production.INFO: call_cost end
[2025-01-11 19:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:36:13] Production.INFO: ==16410== Releasing lock...
[2025-01-11 19:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:36:19] Production.INFO: count ==2109
[2025-01-11 19:36:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:36:05 - End Time 2025-01-11 19:36:05
[2025-01-11 19:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226436', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226436', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226436', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226436', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:36:19] Production.INFO: ProcessCDR(1,14226436,1,1,2)
[2025-01-11 19:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226436', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226436', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:36:22] Production.INFO: ==16418== Releasing lock...
[2025-01-11 19:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:36:22] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:37:01] Production.INFO: ==16478== Lock acquired, processing the job...
[2025-01-12 00:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:37:01] Production.INFO: neon service started
[2025-01-12 00:37:01] Production.INFO: neon service started
[2025-01-12 00:37:01] Production.INFO: ==16478== Releasing lock...
[2025-01-12 00:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:37:02] Production.INFO: ==16480== Lock acquired, processing the job...
[2025-01-11 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:37:02] Production.INFO: ==16482== Lock acquired, processing the job...
[2025-01-12 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 19:37:02] Production.INFO: ==16480== Releasing lock...
[2025-01-11 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:37:02] Production.INFO: ==16482== Releasing lock...
[2025-01-12 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:37:03] Production.INFO: ==16484== Lock acquired, processing the job...
[2025-01-11 19:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:37:03] Production.INFO: ==16486== Lock acquired, processing the job...
[2025-01-11 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:37:03] Production.INFO: ==16488== Lock acquired, processing the job...
[2025-01-11 19:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:37:03] Production.INFO: ==16490== Lock acquired, processing the job...
[2025-01-11 19:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:37:03] Production.INFO: ==16492== Lock acquired, processing the job...
[2025-01-11 19:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:37:03] Production.INFO: Account Balance Start.
[2025-01-11 19:37:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:37:03] Production.INFO: 117
[2025-01-11 19:37:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:37:03] Production.INFO: ==16494== Lock acquired, processing the job...
[2025-01-11 19:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:37:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:37:03] Production.ERROR: done
[2025-01-11 19:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:37:03] Production.INFO: ==16486== Releasing lock...
[2025-01-11 19:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:37:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:37:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:37:04] Production.ERROR: done
[2025-01-11 19:37:04] Production.INFO: count ==21
[2025-01-11 19:37:04] Production.INFO: Total Charge 0
[2025-01-11 19: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-01-11 19:37:04] Production.INFO: CreateAllLog End
[2025-01-11 19:37:04] Production.INFO: count ==21
[2025-01-11 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226440') start
[2025-01-11 19:37:04] Production.INFO: Account Balance End.
[2025-01-11 19:37:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226440') end
[2025-01-11 19:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:37:04] Production.INFO: ==16490== Releasing lock...
[2025-01-11 19:37:04] Production.INFO: 1
[2025-01-11 19:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:37:04] Production.INFO: ==16494== Releasing lock...
[2025-01-11 19:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:37:05
[end_date_ymd] => 2025-01-11 19:37:05
[RateCDR] => 1
)
[2025-01-11 19:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:37:05' and `end` < '2025-01-11 19:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:37:10] Production.ERROR: CronJobId end10
[2025-01-11 19:37:10] Production.INFO: ==16488== Releasing lock...
[2025-01-11 19:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:37:13] Production.INFO: call_cost start
[2025-01-11 19:37:13] Production.INFO: call_cost end
[2025-01-11 19:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:37:13] Production.INFO: ==16484== Releasing lock...
[2025-01-11 19:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:37:22] Production.INFO: count ==2108
[2025-01-11 19:37:22] Production.ERROR: pbx CDR StartTime 2025-01-11 16:37:05 - End Time 2025-01-11 19:37:05
[2025-01-11 19:37:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226441', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226441', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226441', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:37:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226441', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:37:22] Production.INFO: ProcessCDR(1,14226441,1,1,2)
[2025-01-11 19:37:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:37:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:37:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:37:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226441', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:37:27] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226441', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:37:27] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:37:27] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:37:27] Production.INFO: ==16492== Releasing lock...
[2025-01-11 19:37:27] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:37:27] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:38:01] Production.INFO: ==16559== Lock acquired, processing the job...
[2025-01-12 00:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:38:01] Production.INFO: neon service started
[2025-01-12 00:38:01] Production.INFO: neon service started
[2025-01-12 00:38:01] Production.INFO: ==16559== Releasing lock...
[2025-01-12 00:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:38:02] Production.INFO: ==16561== Lock acquired, processing the job...
[2025-01-11 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:38:02] Production.INFO: ==16563== Lock acquired, processing the job...
[2025-01-12 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:38:02] Production.INFO: ==16563== Releasing lock...
[2025-01-12 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:38:02] Production.INFO: ==16561== Releasing lock...
[2025-01-11 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:38:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:38:03] Production.INFO: ==16570== Lock acquired, processing the job...
[2025-01-11 19:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:38:03] Production.INFO: ==16576== Lock acquired, processing the job...
[2025-01-11 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:38:03] Production.INFO: ==16566== Lock acquired, processing the job...
[2025-01-11 19:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19: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-01-11 19:38:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:38:03] Production.INFO: ==16568== Lock acquired, processing the job...
[2025-01-11 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:38:03] Production.INFO: count ==21
[2025-01-11 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226442') start
[2025-01-11 19:38:03] Production.INFO: ==16572== Lock acquired, processing the job...
[2025-01-11 19:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:38:03] Production.INFO: ==16574== Lock acquired, processing the job...
[2025-01-11 19:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226442') end
[2025-01-11 19:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:38:03] Production.INFO: 1
[2025-01-11 19:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:38:03] Production.INFO: Account Balance Start.
[2025-01-11 19:38:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:38:03] Production.INFO: 117
[2025-01-11 19:38:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:38:03] Production.INFO: ==16576== Releasing lock...
[2025-01-11 19:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:38:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:38:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:38:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:38:03] Production.INFO: Total Charge 0
[2025-01-11 19:38:03] Production.INFO: CreateAllLog End
[2025-01-11 19:38:03] Production.INFO: ==16568== Releasing lock...
[2025-01-11 19:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:38:04] Production.ERROR: done
[2025-01-11 19:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:38:04] Production.INFO: Account Balance End.
[2025-01-11 19:38:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:38:04] Production.INFO: ==16572== Releasing lock...
[2025-01-11 19:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:38:04] Production.ERROR: done
[2025-01-11 19:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:38:04
[end_date_ymd] => 2025-01-11 19:38:04
[RateCDR] => 1
)
[2025-01-11 19:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:38:04' and `end` < '2025-01-11 19:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:38:10] Production.ERROR: CronJobId end10
[2025-01-11 19:38:10] Production.INFO: ==16570== Releasing lock...
[2025-01-11 19:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:38:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:38:11] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:38:11] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:38:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:38:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:38:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:38:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:38:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:38:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:38:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:38:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:38:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:38:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:38:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:38:12] Production.INFO: call_cost start
[2025-01-11 19:38:12] Production.INFO: call_cost end
[2025-01-11 19:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:38:13] Production.INFO: ==16566== Releasing lock...
[2025-01-11 19:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:38:20] Production.INFO: count ==2108
[2025-01-11 19:38:21] Production.ERROR: pbx CDR StartTime 2025-01-11 16:38:04 - End Time 2025-01-11 19:38:04
[2025-01-11 19:38:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226446', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226446', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226446', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:38:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226446', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:38:21] Production.INFO: ProcessCDR(1,14226446,1,1,2)
[2025-01-11 19:38:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:38:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:38:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:38:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226446', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:38:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226446', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:38:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:38:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:38:24] Production.INFO: ==16574== Releasing lock...
[2025-01-11 19:38:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:38:24] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:39:01] Production.INFO: ==16646== Lock acquired, processing the job...
[2025-01-12 00:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:39:01] Production.INFO: neon service started
[2025-01-12 00:39:01] Production.INFO: neon service started
[2025-01-12 00:39:01] Production.INFO: ==16646== Releasing lock...
[2025-01-12 00:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:39:02] Production.INFO: ==16648== Lock acquired, processing the job...
[2025-01-11 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:39:02] Production.INFO: ==16648== Releasing lock...
[2025-01-11 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:39:02] Production.INFO: ==16650== Lock acquired, processing the job...
[2025-01-12 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:39:02] Production.INFO: ==16650== Releasing lock...
[2025-01-12 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:39:03] Production.INFO: ==16656== Lock acquired, processing the job...
[2025-01-11 19:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:39:03] Production.INFO: ==16660== Lock acquired, processing the job...
[2025-01-11 19:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:39:03] Production.INFO: ==16652== Lock acquired, processing the job...
[2025-01-11 19:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:39:03] Production.INFO: ==16654== Lock acquired, processing the job...
[2025-01-11 19:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:39:03] Production.INFO: ==16658== Lock acquired, processing the job...
[2025-01-11 19:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:39:03] Production.INFO: ==16662== Lock acquired, processing the job...
[2025-01-11 19:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:39:03] Production.INFO: Account Balance Start.
[2025-01-11 19:39:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:39:03] Production.INFO: 117
[2025-01-11 19:39:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:39:03] Production.INFO: count ==21
[2025-01-11 19:39:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:39:03] Production.INFO: count ==21
[2025-01-11 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:39:03] Production.ERROR: done
[2025-01-11 19:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226449') start
[2025-01-11 19:39:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:39:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:39:03] Production.INFO: Total Charge 0
[2025-01-11 19:39:03] Production.INFO: CreateAllLog End
[2025-01-11 19:39:03] Production.ERROR: done
[2025-01-11 19:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226449') end
[2025-01-11 19:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:39:03] Production.INFO: 1
[2025-01-11 19:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:39:04] Production.INFO: ==16654== Releasing lock...
[2025-01-11 19:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:39:04] Production.INFO: Account Balance End.
[2025-01-11 19:39:04] Production.INFO: ==16662== Releasing lock...
[2025-01-11 19:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:39:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:39:04] Production.INFO: ==16658== Releasing lock...
[2025-01-11 19:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:39:04
[end_date_ymd] => 2025-01-11 19:39:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:39:04' and `end` < '2025-01-11 19: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-01-11 19:39:10] Production.ERROR: CronJobId end10
[2025-01-11 19:39:10] Production.INFO: ==16656== Releasing lock...
[2025-01-11 19:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:39:12] Production.INFO: call_cost start
[2025-01-11 19:39:12] Production.INFO: call_cost end
[2025-01-11 19:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:39:13] Production.INFO: ==16652== Releasing lock...
[2025-01-11 19:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:39:18] Production.INFO: count ==2116
[2025-01-11 19:39:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:39:04 - End Time 2025-01-11 19:39:04
[2025-01-11 19:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226451', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226451', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226451', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226451', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:39:18] Production.INFO: ProcessCDR(1,14226451,1,1,2)
[2025-01-11 19:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226451', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226451', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:39:22] Production.INFO: ==16660== Releasing lock...
[2025-01-11 19:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:39:22] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:40:02] Production.INFO: ==16732== Lock acquired, processing the job...
[2025-01-12 00:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:40:02] Production.INFO: neon service started
[2025-01-12 00:40:02] Production.INFO: neon service started
[2025-01-12 00:40:02] Production.INFO: ==16732== Releasing lock...
[2025-01-12 00:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:40:02] Production.INFO: ==16734== Lock acquired, processing the job...
[2025-01-11 19:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:40:03] Production.INFO: ==16736== Lock acquired, processing the job...
[2025-01-12 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:40:03] Production.INFO: ==16736== Releasing lock...
[2025-01-12 00:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:40:03] Production.INFO: ==16734== Releasing lock...
[2025-01-11 19:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:40:04] Production.INFO: ==16745== Lock acquired, processing the job...
[2025-01-11 19:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:40:04] Production.INFO: ==16743== Lock acquired, processing the job...
[2025-01-11 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:40:04] Production.INFO: ==16751== Lock acquired, processing the job...
[2025-01-11 19:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 19:40:04] Production.INFO: ==16739== Lock acquired, processing the job...
[2025-01-11 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 19:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:40:04] Production.INFO: ==16741== Lock acquired, processing the job...
[2025-01-11 19:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:40:04] Production.INFO: ==16743== Releasing lock...
[2025-01-11 19:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:40:04] Production.INFO: ==16747== Lock acquired, processing the job...
[2025-01-11 19:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:40:04] Production.ERROR: CronJob PID - 16741
[2025-01-11 19:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 19:40:04] Production.ERROR: CronJob ID - 5
[2025-01-11 19:40:04] Production.ERROR: CronJob Last Run Time 2025-01-11 19:40:00
[2025-01-11 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:40:04] Production.ERROR: CronJob PID - 16745
[2025-01-11 19:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-11 19:40:04] Production.ERROR: CronJob ID - 10
[2025-01-11 19:40:04] Production.ERROR: CronJob Last Run Time 2025-01-11 19:40:00
[2025-01-11 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 19:40:04] Production.ERROR: CronJob PID - 16751
[2025-01-11 19:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-11 19:40:04] Production.ERROR: CronJob ID - 17
[2025-01-11 19:40:04] Production.ERROR: CronJob Last Run Time 2025-01-11 19:40:00
[2025-01-11 19:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 19:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:40:04] Production.INFO: ==16749== Lock acquired, processing the job...
[2025-01-11 19:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 19:40:04] Production.INFO: ==16739== Releasing lock...
[2025-01-11 19:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 19:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 19:40:05] Production.INFO: ==16753== Lock acquired, processing the job...
[2025-01-11 19:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:40:05] Production.INFO: Account Balance Start.
[2025-01-11 19:40:05] Production.INFO: CreateAllLog Start
[2025-01-11 19:40:05] Production.INFO: 117
[2025-01-11 19:40:05] Production.INFO: Date 2025-01-08
[2025-01-11 19:40:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-11 19:40:05] Production.ERROR: done
[2025-01-11 19: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-01-11 19:40:05] Production.INFO: Date 2025-01-09
[2025-01-11 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-11 19:40:05] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:40:05] Production.INFO: count ==21
[2025-01-11 19:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14226455') start
[2025-01-11 19:40:05] Production.INFO: Date 2025-01-10
[2025-01-11 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-11 19:40:05] Production.ERROR: done
[2025-01-11 19:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 19:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226456', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 19:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:40:05] Production.INFO: Date 2025-01-11
[2025-01-11 19:40:05] Production.INFO: Reseller ==> 0
[2025-01-11 19:40:05] Production.INFO: Total Charge 0
[2025-01-11 19:40:05] Production.INFO: CreateAllLog End
[2025-01-11 19:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14226455') end
[2025-01-11 19:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:40:05] Production.INFO: 1
[2025-01-11 19:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:40:05] Production.ERROR: done
[2025-01-11 19:40:05] Production.INFO: ==16753== Releasing lock...
[2025-01-11 19:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:40:05] Production.INFO: Account Balance End.
[2025-01-11 19:40:05] Production.ERROR: CronJobId end 12
[2025-01-11 19:40:05] Production.INFO: ==16747== Releasing lock...
[2025-01-11 19:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:40:06
[end_date_ymd] => 2025-01-11 19:40:06
[RateCDR] => 1
)
[2025-01-11 19:40:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:40:06' and `end` < '2025-01-11 19:40:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226456', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 19:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 19:40:09] Production.INFO: ProcessCDR(1,14226456,1,1,2)
[2025-01-11 19:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226456,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226456,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:40:09] Production.INFO: ==16751== Releasing lock...
[2025-01-11 19:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 19:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 19:40:13] Production.ERROR: CronJobId end10
[2025-01-11 19:40:13] Production.INFO: ==16745== Releasing lock...
[2025-01-11 19:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:40:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:40:16] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:40:16] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:40:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:40:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:40:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:40:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:40:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:40:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:40:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:40:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:40:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:40:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:40:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:40:16] Production.INFO: call_cost start
[2025-01-11 19:40:16] Production.INFO: call_cost end
[2025-01-11 19:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:40:17] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:40:17] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:40:17] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:40:17] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:40:17] Production.INFO: ==16741== Releasing lock...
[2025-01-11 19:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:40:21] Production.INFO: count ==2124
[2025-01-11 19:40:21] Production.ERROR: pbx CDR StartTime 2025-01-11 16:40:06 - End Time 2025-01-11 19:40:06
[2025-01-11 19:40:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226457', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226457', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226457', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:40:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226457', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:40:21] Production.INFO: ProcessCDR(1,14226457,1,1,2)
[2025-01-11 19:40:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:40:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:40:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:40:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226457', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:40:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226457', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:40:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:40:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:40:26] Production.INFO: ==16749== Releasing lock...
[2025-01-11 19:40:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:40:26] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:41:01] Production.INFO: ==16828== Lock acquired, processing the job...
[2025-01-12 00:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:41:01] Production.INFO: neon service started
[2025-01-12 00:41:01] Production.INFO: neon service started
[2025-01-12 00:41:01] Production.INFO: ==16828== Releasing lock...
[2025-01-12 00:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:41:02] Production.INFO: ==16832== Lock acquired, processing the job...
[2025-01-12 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:41:02] Production.INFO: ==16832== Releasing lock...
[2025-01-12 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:41:02] Production.INFO: ==16830== Lock acquired, processing the job...
[2025-01-11 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:41:02] Production.INFO: ==16830== Releasing lock...
[2025-01-11 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:41:03] Production.INFO: ==16836== Lock acquired, processing the job...
[2025-01-11 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:41:03] Production.INFO: ==16834== Lock acquired, processing the job...
[2025-01-11 19:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:41:03] Production.INFO: ==16838== Lock acquired, processing the job...
[2025-01-11 19:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:41:03] Production.INFO: ==16841== Lock acquired, processing the job...
[2025-01-11 19:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:41:03] Production.INFO: ==16845== Lock acquired, processing the job...
[2025-01-11 19:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:41:03] Production.INFO: ==16843== Lock acquired, processing the job...
[2025-01-11 19:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:41:03] Production.INFO: Account Balance Start.
[2025-01-11 19:41:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:41:03] Production.INFO: 117
[2025-01-11 19:41:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:41:03] Production.INFO: ==16836== Releasing lock...
[2025-01-11 19:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:41:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:41:04] Production.INFO: count ==21
[2025-01-11 19:41:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:41:04] Production.INFO: count ==21
[2025-01-11 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226461') start
[2025-01-11 19:41:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:41:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:41:04] Production.ERROR: done
[2025-01-11 19:41:04] Production.INFO: Total Charge 0
[2025-01-11 19:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226461') end
[2025-01-11 19:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:41:04] Production.INFO: 1
[2025-01-11 19:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:41:04] Production.INFO: CreateAllLog End
[2025-01-11 19:41:04] Production.INFO: ==16845== Releasing lock...
[2025-01-11 19:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:41:04] Production.ERROR: done
[2025-01-11 19:41:04] Production.INFO: Account Balance End.
[2025-01-11 19:41:05] Production.ERROR: CronJobId end 12
[2025-01-11 19:41:05] Production.INFO: ==16841== Releasing lock...
[2025-01-11 19:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:41:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:41:06
[end_date_ymd] => 2025-01-11 19:41:06
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:41:06' and `end` < '2025-01-11 19: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-01-11 19:41:12] Production.ERROR: CronJobId end10
[2025-01-11 19:41:12] Production.INFO: ==16838== Releasing lock...
[2025-01-11 19:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:41:14] Production.INFO: call_cost start
[2025-01-11 19:41:14] Production.INFO: call_cost end
[2025-01-11 19:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:41:15] Production.INFO: ==16834== Releasing lock...
[2025-01-11 19:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:41:19] Production.INFO: count ==2129
[2025-01-11 19:41:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:41:06 - End Time 2025-01-11 19:41:06
[2025-01-11 19:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226462', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226462', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226462', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226462', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:41:19] Production.INFO: ProcessCDR(1,14226462,1,1,2)
[2025-01-11 19:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226462', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226462', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:41:24] Production.INFO: ==16843== Releasing lock...
[2025-01-11 19:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:41:24] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:42:02] Production.INFO: ==16915== Lock acquired, processing the job...
[2025-01-12 00:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:42:02] Production.INFO: neon service started
[2025-01-12 00:42:02] Production.INFO: neon service started
[2025-01-12 00:42:02] Production.INFO: ==16915== Releasing lock...
[2025-01-12 00:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:42:02] Production.INFO: ==16919== Lock acquired, processing the job...
[2025-01-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:42:02] Production.INFO: ==16919== Releasing lock...
[2025-01-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:42:02] Production.INFO: ==16917== Lock acquired, processing the job...
[2025-01-11 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:42:03] Production.INFO: ==16917== Releasing lock...
[2025-01-11 19:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:42:03] Production.INFO: ==16923== Lock acquired, processing the job...
[2025-01-11 19:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:42:03] Production.INFO: ==16926== Lock acquired, processing the job...
[2025-01-11 19:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:42:03] Production.INFO: ==16932== Lock acquired, processing the job...
[2025-01-11 19:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:42:04] Production.INFO: ==16928== Lock acquired, processing the job...
[2025-01-11 19:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:42:04] Production.INFO: ==16926== Releasing lock...
[2025-01-11 19:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:42:04] Production.INFO: ==16930== Lock acquired, processing the job...
[2025-01-11 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:42:04] Production.ERROR: done
[2025-01-11 19:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:42:04] Production.INFO: ==16934== Lock acquired, processing the job...
[2025-01-11 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:42:04] Production.INFO: Account Balance Start.
[2025-01-11 19:42:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:42:04] Production.INFO: 117
[2025-01-11 19:42:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:42:04] Production.ERROR: done
[2025-01-11 19:42:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:42:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:42:04] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:42:04] Production.INFO: count ==21
[2025-01-11 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226466') start
[2025-01-11 19:42:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:42:04] Production.INFO: Total Charge 0
[2025-01-11 19:42:04] Production.INFO: CreateAllLog End
[2025-01-11 19:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226466') end
[2025-01-11 19:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:42:04] Production.INFO: 1
[2025-01-11 19:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:42:04] Production.INFO: ==16934== Releasing lock...
[2025-01-11 19:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:42:04] Production.INFO: Account Balance End.
[2025-01-11 19:42:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:42:04] Production.INFO: ==16930== Releasing lock...
[2025-01-11 19:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:42:05
[end_date_ymd] => 2025-01-11 19:42:05
[RateCDR] => 1
)
[2025-01-11 19:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:42:05' and `end` < '2025-01-11 19:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:42:11] Production.ERROR: CronJobId end10
[2025-01-11 19:42:11] Production.INFO: ==16928== Releasing lock...
[2025-01-11 19:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:42:13] Production.INFO: call_cost start
[2025-01-11 19:42:13] Production.INFO: call_cost end
[2025-01-11 19:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:42:14] Production.INFO: ==16923== Releasing lock...
[2025-01-11 19:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:42:19] Production.INFO: count ==2141
[2025-01-11 19:42:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:42:05 - End Time 2025-01-11 19:42:05
[2025-01-11 19:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226467', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226467', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226467', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226467', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:42:19] Production.INFO: ProcessCDR(1,14226467,1,1,2)
[2025-01-11 19:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226467', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226467', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:42:22] Production.INFO: ==16932== Releasing lock...
[2025-01-11 19:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:42:22] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:43:01] Production.INFO: ==17001== Lock acquired, processing the job...
[2025-01-12 00:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:43:01] Production.INFO: neon service started
[2025-01-12 00:43:01] Production.INFO: neon service started
[2025-01-12 00:43:01] Production.INFO: ==17001== Releasing lock...
[2025-01-12 00:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:43:02] Production.INFO: ==17003== Lock acquired, processing the job...
[2025-01-11 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:43:02] Production.INFO: ==17005== Lock acquired, processing the job...
[2025-01-12 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:43:02] Production.INFO: ==17005== Releasing lock...
[2025-01-12 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:43:02] Production.INFO: ==17003== Releasing lock...
[2025-01-11 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:43:03] Production.INFO: ==17012== Lock acquired, processing the job...
[2025-01-11 19:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:43:03] Production.INFO: ==17018== Lock acquired, processing the job...
[2025-01-11 19:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19: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-01-11 19:43:03] Production.INFO: ==17008== Lock acquired, processing the job...
[2025-01-11 19:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:43:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:43:03] Production.INFO: count ==21
[2025-01-11 19:43:03] Production.INFO: ==17010== Lock acquired, processing the job...
[2025-01-11 19:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:43:03] Production.INFO: ==17016== Lock acquired, processing the job...
[2025-01-11 19:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226468') start
[2025-01-11 19:43:04] Production.INFO: ==17014== Lock acquired, processing the job...
[2025-01-11 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226468') end
[2025-01-11 19:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:43:04] Production.INFO: 1
[2025-01-11 19:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:43:04] Production.INFO: Account Balance Start.
[2025-01-11 19:43:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:43:04] Production.INFO: 117
[2025-01-11 19:43:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:43:04] Production.INFO: ==17018== Releasing lock...
[2025-01-11 19:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:43:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:43:04] Production.ERROR: done
[2025-01-11 19:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:43:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:43:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:43:04] Production.INFO: Total Charge 0
[2025-01-11 19:43:04] Production.INFO: CreateAllLog End
[2025-01-11 19:43:04] Production.ERROR: done
[2025-01-11 19:43:04] Production.INFO: ==17010== Releasing lock...
[2025-01-11 19:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:43:04] Production.INFO: Account Balance End.
[2025-01-11 19:43:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:43:04] Production.INFO: ==17014== Releasing lock...
[2025-01-11 19:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:43:05
[end_date_ymd] => 2025-01-11 19:43:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:43:05' and `end` < '2025-01-11 19: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-01-11 19:43:12] Production.ERROR: CronJobId end10
[2025-01-11 19:43:12] Production.INFO: ==17012== Releasing lock...
[2025-01-11 19:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:43:13] Production.INFO: call_cost start
[2025-01-11 19:43:13] Production.INFO: call_cost end
[2025-01-11 19:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:43:14] Production.INFO: ==17008== Releasing lock...
[2025-01-11 19:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:43:18] Production.INFO: count ==2143
[2025-01-11 19:43:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:43:05 - End Time 2025-01-11 19:43:05
[2025-01-11 19:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226472', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226472', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226472', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226472', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:43:19] Production.INFO: ProcessCDR(1,14226472,1,1,2)
[2025-01-11 19:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226472', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226472', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:43:22] Production.INFO: ==17016== Releasing lock...
[2025-01-11 19:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:43:22] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:44:02] Production.INFO: ==17096== Lock acquired, processing the job...
[2025-01-12 00:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:44:02] Production.INFO: neon service started
[2025-01-12 00:44:02] Production.INFO: neon service started
[2025-01-12 00:44:02] Production.INFO: ==17096== Releasing lock...
[2025-01-12 00:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:44:02] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-01-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:44:02] Production.INFO: ==17100== Releasing lock...
[2025-01-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:44:02] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-01-11 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:44:03] Production.INFO: ==17098== Releasing lock...
[2025-01-11 19:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:44:03] Production.INFO: ==17105== Lock acquired, processing the job...
[2025-01-11 19:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:44:03] Production.INFO: ==17109== Lock acquired, processing the job...
[2025-01-11 19:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:44:03] Production.INFO: ==17113== Lock acquired, processing the job...
[2025-01-11 19:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:44:03] Production.INFO: Account Balance Start.
[2025-01-11 19:44:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:44:03] Production.INFO: 117
[2025-01-11 19:44:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:44:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:44:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:44:04] Production.INFO: count ==21
[2025-01-11 19:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:44:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:44:04] Production.INFO: count ==21
[2025-01-11 19:44:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226475') start
[2025-01-11 19:44:04] Production.INFO: Total Charge 0
[2025-01-11 19:44:04] Production.INFO: ==17103== Lock acquired, processing the job...
[2025-01-11 19:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:44:04] Production.INFO: CreateAllLog End
[2025-01-11 19:44:04] Production.INFO: ==17107== Lock acquired, processing the job...
[2025-01-11 19:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226475') end
[2025-01-11 19:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:44:04] Production.INFO: 1
[2025-01-11 19:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:44:04] Production.INFO: ==17105== Releasing lock...
[2025-01-11 19:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:44:04] Production.INFO: ==17111== Lock acquired, processing the job...
[2025-01-11 19:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:44:04] Production.INFO: ==17113== Releasing lock...
[2025-01-11 19:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:44:04] Production.INFO: Account Balance End.
[2025-01-11 19:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:44:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:44:04] Production.INFO: ==17109== Releasing lock...
[2025-01-11 19:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:44:04] Production.ERROR: done
[2025-01-11 19:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:44:04] Production.ERROR: done
[2025-01-11 19:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:44:05
[end_date_ymd] => 2025-01-11 19:44:05
[RateCDR] => 1
)
[2025-01-11 19:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:44:05' and `end` < '2025-01-11 19:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:44:11] Production.ERROR: CronJobId end10
[2025-01-11 19:44:11] Production.INFO: ==17107== Releasing lock...
[2025-01-11 19:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:44:13] Production.INFO: call_cost start
[2025-01-11 19:44:13] Production.INFO: call_cost end
[2025-01-11 19:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:44:14] Production.INFO: ==17103== Releasing lock...
[2025-01-11 19:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:44:21] Production.INFO: count ==2148
[2025-01-11 19:44:21] Production.ERROR: pbx CDR StartTime 2025-01-11 16:44:05 - End Time 2025-01-11 19:44:05
[2025-01-11 19:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226477', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226477', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226477', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226477', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:44:21] Production.INFO: ProcessCDR(1,14226477,1,1,2)
[2025-01-11 19:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:44:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226477', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:44:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226477', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:44:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:44:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:44:26] Production.INFO: ==17111== Releasing lock...
[2025-01-11 19:44:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:44:26] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:45:01] Production.INFO: ==17193== Lock acquired, processing the job...
[2025-01-12 00:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:45:01] Production.INFO: neon service started
[2025-01-12 00:45:01] Production.INFO: neon service started
[2025-01-12 00:45:01] Production.INFO: ==17193== Releasing lock...
[2025-01-12 00:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:45:02] Production.INFO: ==17197== Lock acquired, processing the job...
[2025-01-12 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:45:02] Production.INFO: ==17197== Releasing lock...
[2025-01-12 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:45:02] Production.INFO: ==17195== Lock acquired, processing the job...
[2025-01-11 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:45:02] Production.INFO: ==17195== Releasing lock...
[2025-01-11 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:45:03] Production.INFO: ==17199== Lock acquired, processing the job...
[2025-01-11 19:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:45:03] Production.INFO: ==17203== Lock acquired, processing the job...
[2025-01-11 19:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:45:03] Production.INFO: ==17205== Lock acquired, processing the job...
[2025-01-11 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:45:03] Production.INFO: Account Balance Start.
[2025-01-11 19:45:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:45:03] Production.INFO: 117
[2025-01-11 19:45:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:45:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:45:03] Production.INFO: ==17201== Lock acquired, processing the job...
[2025-01-11 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:45:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:45:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:45:03] Production.INFO: Total Charge 0
[2025-01-11 19:45:03] Production.INFO: CreateAllLog End
[2025-01-11 19:45:03] Production.INFO: ==17207== Lock acquired, processing the job...
[2025-01-11 19:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:45:03] Production.INFO: ==17209== Lock acquired, processing the job...
[2025-01-11 19:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:45:03] Production.INFO: Account Balance End.
[2025-01-11 19:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:45:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:45:03] Production.INFO: ==17205== Releasing lock...
[2025-01-11 19:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:45:03] Production.INFO: count ==21
[2025-01-11 19:45:03] Production.INFO: ==17201== Releasing lock...
[2025-01-11 19:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19: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-01-11 19:45:04] Production.INFO: count ==21
[2025-01-11 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226481') start
[2025-01-11 19:45:04] Production.ERROR: done
[2025-01-11 19:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226481') end
[2025-01-11 19:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:45:04] Production.INFO: 1
[2025-01-11 19:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:45:04] Production.ERROR: done
[2025-01-11 19:45:04] Production.INFO: ==17209== Releasing lock...
[2025-01-11 19:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:45:05
[end_date_ymd] => 2025-01-11 19:45:05
[RateCDR] => 1
)
[2025-01-11 19:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:45:05' and `end` < '2025-01-11 19:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:45:11] Production.ERROR: CronJobId end10
[2025-01-11 19:45:11] Production.INFO: ==17203== Releasing lock...
[2025-01-11 19:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:45:13] Production.INFO: call_cost start
[2025-01-11 19:45:13] Production.INFO: call_cost end
[2025-01-11 19:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:45:14] Production.INFO: ==17199== Releasing lock...
[2025-01-11 19:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:45:18] Production.INFO: count ==2145
[2025-01-11 19:45:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:45:05 - End Time 2025-01-11 19:45:05
[2025-01-11 19:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226482', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226482', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226482', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226482', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:45:19] Production.INFO: ProcessCDR(1,14226482,1,1,2)
[2025-01-11 19:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226482', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226482', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:45:23] Production.INFO: ==17207== Releasing lock...
[2025-01-11 19:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:45:23] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:46:02] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-01-12 00:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:46:02] Production.INFO: neon service started
[2025-01-12 00:46:02] Production.INFO: neon service started
[2025-01-12 00:46:02] Production.INFO: ==17324== Releasing lock...
[2025-01-12 00:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:46:02] Production.INFO: ==17327== Lock acquired, processing the job...
[2025-01-11 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:46:02] Production.INFO: ==17329== Lock acquired, processing the job...
[2025-01-12 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:46:02] Production.INFO: ==17329== Releasing lock...
[2025-01-12 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:46:03] Production.INFO: ==17327== Releasing lock...
[2025-01-11 19:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:46:03] Production.INFO: ==17331== Lock acquired, processing the job...
[2025-01-11 19:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:46:03] Production.INFO: ==17333== Lock acquired, processing the job...
[2025-01-11 19:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:46:04] Production.INFO: ==17337== Lock acquired, processing the job...
[2025-01-11 19:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:46:04] Production.INFO: ==17335== Lock acquired, processing the job...
[2025-01-11 19:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:46:04] Production.INFO: ==17339== Lock acquired, processing the job...
[2025-01-11 19:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:46:04] Production.INFO: ==17341== Lock acquired, processing the job...
[2025-01-11 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:46:04] Production.INFO: Account Balance Start.
[2025-01-11 19:46:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:46:04] Production.INFO: 117
[2025-01-11 19:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:46:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:46:04] Production.INFO: count ==21
[2025-01-11 19:46:04] Production.INFO: ==17333== Releasing lock...
[2025-01-11 19:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:46:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:46:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:46:04] Production.INFO: count ==21
[2025-01-11 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226486') start
[2025-01-11 19:46:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:46:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:46:04] Production.ERROR: done
[2025-01-11 19:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226486') end
[2025-01-11 19:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:46:04] Production.INFO: 1
[2025-01-11 19:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:46:04] Production.INFO: Total Charge 0
[2025-01-11 19:46:04] Production.INFO: CreateAllLog End
[2025-01-11 19:46:04] Production.INFO: ==17341== Releasing lock...
[2025-01-11 19:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:46:04] Production.ERROR: done
[2025-01-11 19:46:05] Production.INFO: Account Balance End.
[2025-01-11 19:46:05] Production.ERROR: CronJobId end 12
[2025-01-11 19:46:05] Production.INFO: ==17337== Releasing lock...
[2025-01-11 19:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:46:06
[end_date_ymd] => 2025-01-11 19:46:06
[RateCDR] => 1
)
[2025-01-11 19:46:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:46:06' and `end` < '2025-01-11 19:46:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:46:11] Production.ERROR: CronJobId end10
[2025-01-11 19:46:11] Production.INFO: ==17335== Releasing lock...
[2025-01-11 19:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:46:13] Production.INFO: call_cost start
[2025-01-11 19:46:13] Production.INFO: call_cost end
[2025-01-11 19:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:46:14] Production.INFO: ==17331== Releasing lock...
[2025-01-11 19:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:46:20] Production.INFO: count ==2148
[2025-01-11 19:46:20] Production.ERROR: pbx CDR StartTime 2025-01-11 16:46:06 - End Time 2025-01-11 19:46:06
[2025-01-11 19:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226487', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226487', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226487', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226487', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:46:20] Production.INFO: ProcessCDR(1,14226487,1,1,2)
[2025-01-11 19:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226487', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226487', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:46:25] Production.INFO: ==17339== Releasing lock...
[2025-01-11 19:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:46:25] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:47:01] Production.INFO: ==17417== Lock acquired, processing the job...
[2025-01-12 00:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:47:01] Production.INFO: neon service started
[2025-01-12 00:47:01] Production.INFO: neon service started
[2025-01-12 00:47:01] Production.INFO: ==17417== Releasing lock...
[2025-01-12 00:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:47:02] Production.INFO: ==17419== Lock acquired, processing the job...
[2025-01-11 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:47:02] Production.INFO: ==17421== Lock acquired, processing the job...
[2025-01-12 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:47:02] Production.INFO: ==17421== Releasing lock...
[2025-01-12 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:47:02] Production.INFO: ==17419== Releasing lock...
[2025-01-11 19:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:47:03] Production.INFO: ==17426== Lock acquired, processing the job...
[2025-01-11 19:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:47:03] Production.INFO: ==17428== Lock acquired, processing the job...
[2025-01-11 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:47:03] Production.INFO: ==17434== Lock acquired, processing the job...
[2025-01-11 19:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:47:03] Production.INFO: ==17430== Lock acquired, processing the job...
[2025-01-11 19:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:47:03] Production.INFO: ==17428== Releasing lock...
[2025-01-11 19:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:47:03] Production.INFO: ==17432== Lock acquired, processing the job...
[2025-01-11 19:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:47:03] Production.INFO: ==17436== Lock acquired, processing the job...
[2025-01-11 19:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:47:03] Production.ERROR: done
[2025-01-11 19:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:47:03] Production.INFO: Account Balance Start.
[2025-01-11 19:47:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:47:03] Production.INFO: 117
[2025-01-11 19:47:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:47:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:47:03] Production.INFO: count ==21
[2025-01-11 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:47:03] Production.INFO: count ==21
[2025-01-11 19:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226490') start
[2025-01-11 19:47:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:47:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226490') end
[2025-01-11 19:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:47:04] Production.INFO: 1
[2025-01-11 19:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:47:04] Production.INFO: Total Charge 0
[2025-01-11 19:47:04] Production.ERROR: done
[2025-01-11 19:47:04] Production.INFO: CreateAllLog End
[2025-01-11 19:47:04] Production.INFO: ==17436== Releasing lock...
[2025-01-11 19:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:47:04] Production.INFO: Account Balance End.
[2025-01-11 19:47:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:47:04] Production.INFO: ==17432== Releasing lock...
[2025-01-11 19:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:47:05
[end_date_ymd] => 2025-01-11 19:47:05
[RateCDR] => 1
)
[2025-01-11 19:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:47:05' and `end` < '2025-01-11 19:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:47:11] Production.ERROR: CronJobId end10
[2025-01-11 19:47:11] Production.INFO: ==17430== Releasing lock...
[2025-01-11 19:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:47:12] Production.INFO: call_cost start
[2025-01-11 19:47:12] Production.INFO: call_cost end
[2025-01-11 19:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:47:13] Production.INFO: ==17426== Releasing lock...
[2025-01-11 19:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:47:18] Production.INFO: count ==2150
[2025-01-11 19:47:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:47:05 - End Time 2025-01-11 19:47:05
[2025-01-11 19:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226492', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226492', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226492', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226492', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:47:19] Production.INFO: ProcessCDR(1,14226492,1,1,2)
[2025-01-11 19:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226492', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226492', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:47:23] Production.INFO: ==17434== Releasing lock...
[2025-01-11 19:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:47:23] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:48:01] Production.INFO: ==17514== Lock acquired, processing the job...
[2025-01-12 00:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:48:01] Production.INFO: neon service started
[2025-01-12 00:48:01] Production.INFO: neon service started
[2025-01-12 00:48:01] Production.INFO: ==17514== Releasing lock...
[2025-01-12 00:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:48:02] Production.INFO: ==17518== Lock acquired, processing the job...
[2025-01-12 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:48:02] Production.INFO: ==17518== Releasing lock...
[2025-01-12 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:48:02] Production.INFO: ==17516== Lock acquired, processing the job...
[2025-01-11 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:48:02] Production.INFO: ==17516== Releasing lock...
[2025-01-11 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:48:03] Production.INFO: ==17520== Lock acquired, processing the job...
[2025-01-11 19:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:48:03] Production.INFO: ==17522== Lock acquired, processing the job...
[2025-01-11 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:48:03] Production.INFO: ==17528== Lock acquired, processing the job...
[2025-01-11 19:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:48:03] Production.INFO: ==17524== Lock acquired, processing the job...
[2025-01-11 19:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:48:03] Production.INFO: ==17526== Lock acquired, processing the job...
[2025-01-11 19:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:48:03] Production.INFO: ==17530== Lock acquired, processing the job...
[2025-01-11 19:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:48:03] Production.INFO: ==17522== Releasing lock...
[2025-01-11 19:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:48:03] Production.INFO: Account Balance Start.
[2025-01-11 19:48:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:48:03] Production.INFO: 117
[2025-01-11 19:48:03] Production.INFO: Date 2025-01-08
[2025-01-11 19: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-01-11 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:48:03] Production.ERROR: done
[2025-01-11 19:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:48:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:48:03] Production.INFO: count ==21
[2025-01-11 19:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:48:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:48:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:48:04] Production.INFO: count ==21
[2025-01-11 19:48:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226496') start
[2025-01-11 19:48:04] Production.ERROR: done
[2025-01-11 19:48:04] Production.INFO: Total Charge 0
[2025-01-11 19:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226496') end
[2025-01-11 19:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:48:04] Production.INFO: 1
[2025-01-11 19:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:48:04] Production.INFO: CreateAllLog End
[2025-01-11 19:48:04] Production.INFO: ==17530== Releasing lock...
[2025-01-11 19:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:48:04] Production.INFO: Account Balance End.
[2025-01-11 19:48:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:48:04] Production.INFO: ==17526== Releasing lock...
[2025-01-11 19:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:48:05
[end_date_ymd] => 2025-01-11 19:48:05
[RateCDR] => 1
)
[2025-01-11 19:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:48:05' and `end` < '2025-01-11 19:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:48:10] Production.ERROR: CronJobId end10
[2025-01-11 19:48:10] Production.INFO: ==17524== Releasing lock...
[2025-01-11 19:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:48:13] Production.INFO: call_cost start
[2025-01-11 19:48:13] Production.INFO: call_cost end
[2025-01-11 19:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:48:14] Production.INFO: ==17520== Releasing lock...
[2025-01-11 19:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:48:18] Production.INFO: count ==2150
[2025-01-11 19:48:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:48:05 - End Time 2025-01-11 19:48:05
[2025-01-11 19:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226497', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226497', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226497', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226497', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:48:18] Production.INFO: ProcessCDR(1,14226497,1,1,2)
[2025-01-11 19:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:48:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226497', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:48:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226497', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:48:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:48:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:48:21] Production.INFO: ==17528== Releasing lock...
[2025-01-11 19:48:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:48:21] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:49:01] Production.INFO: ==17603== Lock acquired, processing the job...
[2025-01-12 00:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:49:01] Production.INFO: neon service started
[2025-01-12 00:49:01] Production.INFO: neon service started
[2025-01-12 00:49:01] Production.INFO: ==17603== Releasing lock...
[2025-01-12 00:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:49:01] Production.INFO: ==17607== Lock acquired, processing the job...
[2025-01-12 00:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:49:01] Production.INFO: ==17607== Releasing lock...
[2025-01-12 00:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:49:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:49:01] Production.INFO: ==17605== Lock acquired, processing the job...
[2025-01-11 19:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:49:02] Production.INFO: ==17605== Releasing lock...
[2025-01-11 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:49:02] Production.INFO: ==17610== Lock acquired, processing the job...
[2025-01-11 19:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:49:02] Production.INFO: ==17612== Lock acquired, processing the job...
[2025-01-11 19:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:49:02] Production.INFO: ==17614== Lock acquired, processing the job...
[2025-01-11 19:49:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:49:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:49:03] Production.INFO: ==17616== Lock acquired, processing the job...
[2025-01-11 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:49:03] Production.INFO: ==17618== Lock acquired, processing the job...
[2025-01-11 19:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:49:03] Production.INFO: ==17612== Releasing lock...
[2025-01-11 19:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:49:03] Production.INFO: ==17620== Lock acquired, processing the job...
[2025-01-11 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:49:03] Production.INFO: Account Balance Start.
[2025-01-11 19:49:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:49:03] Production.INFO: 117
[2025-01-11 19:49:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:49:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:49:03] Production.INFO: Date 2025-01-10
[2025-01-11 19: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-01-11 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:49:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:49:03] Production.INFO: count ==21
[2025-01-11 19:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:49:03] Production.INFO: count ==21
[2025-01-11 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226501') start
[2025-01-11 19:49:03] Production.INFO: Total Charge 0
[2025-01-11 19:49:03] Production.ERROR: done
[2025-01-11 19:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:49:03] Production.INFO: CreateAllLog End
[2025-01-11 19:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226501') end
[2025-01-11 19:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:49:03] Production.INFO: 1
[2025-01-11 19:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:49:03] Production.INFO: ==17620== Releasing lock...
[2025-01-11 19:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:49:03] Production.ERROR: done
[2025-01-11 19:49:03] Production.INFO: Account Balance End.
[2025-01-11 19:49:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:49:03] Production.INFO: ==17616== Releasing lock...
[2025-01-11 19:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:49:04
[end_date_ymd] => 2025-01-11 19:49:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:49:04' and `end` < '2025-01-11 19: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-01-11 19:49:10] Production.ERROR: CronJobId end10
[2025-01-11 19:49:10] Production.INFO: ==17614== Releasing lock...
[2025-01-11 19:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:49:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:49:11] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:49:11] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:49:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:49:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:49:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:49:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:49:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:49:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:49:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:49:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:49:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:49:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:49:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:49:12] Production.INFO: call_cost start
[2025-01-11 19:49:12] Production.INFO: call_cost end
[2025-01-11 19:49:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:49:12] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:49:12] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:49:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:49:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:49:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:49:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:49:12] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:49:12] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:49:12] Production.INFO: ==17610== Releasing lock...
[2025-01-11 19:49:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:49:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:49:35] Production.INFO: count ==2151
[2025-01-11 19:49:35] Production.ERROR: pbx CDR StartTime 2025-01-11 16:49:04 - End Time 2025-01-11 19:49:04
[2025-01-11 19:49:35] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:49:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226502', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:49:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226502', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:49:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226502', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:49:35] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226502', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:49:35] Production.INFO: ProcessCDR(1,14226502,1,1,2)
[2025-01-11 19:49:35] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:49:37] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:49:37] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:49:39] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:49:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226502', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:49:39] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226502', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:49:39] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:49:39] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:49:39] Production.INFO: ==17618== Releasing lock...
[2025-01-11 19:49:39] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:49:39] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:50:01] Production.INFO: ==17688== Lock acquired, processing the job...
[2025-01-12 00:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:50:01] Production.INFO: neon service started
[2025-01-12 00:50:01] Production.INFO: neon service started
[2025-01-12 00:50:01] Production.INFO: ==17688== Releasing lock...
[2025-01-12 00:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:50:02] Production.INFO: ==17692== Lock acquired, processing the job...
[2025-01-11 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:50:02] Production.INFO: ==17694== Lock acquired, processing the job...
[2025-01-12 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:50:02] Production.INFO: ==17694== Releasing lock...
[2025-01-12 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:50:02] Production.INFO: ==17692== Releasing lock...
[2025-01-11 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:50:03] Production.INFO: ==17697== Lock acquired, processing the job...
[2025-01-11 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 19:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 19:50:03] Production.INFO: ==17699== Lock acquired, processing the job...
[2025-01-11 19:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 19:50:03] Production.INFO: ==17697== Releasing lock...
[2025-01-11 19:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 19:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 19:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:50:03] Production.INFO: ==17707== Lock acquired, processing the job...
[2025-01-11 19:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:50:03] Production.INFO: ==17701== Lock acquired, processing the job...
[2025-01-11 19:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:50:03] Production.INFO: ==17703== Lock acquired, processing the job...
[2025-01-11 19:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:50:04] Production.INFO: ==17709== Lock acquired, processing the job...
[2025-01-11 19:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 19:50:04] Production.INFO: ==17705== Lock acquired, processing the job...
[2025-01-11 19:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:50:04] Production.INFO: ==17711== Lock acquired, processing the job...
[2025-01-11 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:50:04] Production.INFO: Account Balance Start.
[2025-01-11 19:50:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:50:04] Production.INFO: 117
[2025-01-11 19:50:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:50:04] Production.ERROR: done
[2025-01-11 19:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:50:04] Production.INFO: ==17701== Releasing lock...
[2025-01-11 19:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:50:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:50:04] Production.INFO: count ==21
[2025-01-11 19:50:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:50:04] Production.INFO: count ==21
[2025-01-11 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226506') start
[2025-01-11 19:50:04] Production.ERROR: done
[2025-01-11 19:50:04] Production.ERROR: done
[2025-01-11 19:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 19:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226507', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 19:50:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226506') end
[2025-01-11 19:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:50:04] Production.INFO: 1
[2025-01-11 19:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:50:04] Production.INFO: ==17711== Releasing lock...
[2025-01-11 19:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:50:05] Production.INFO: Total Charge 0
[2025-01-11 19:50:05] Production.INFO: CreateAllLog End
[2025-01-11 19:50:05] Production.INFO: Account Balance End.
[2025-01-11 19:50:05] Production.ERROR: CronJobId end 12
[2025-01-11 19:50:05] Production.INFO: ==17705== Releasing lock...
[2025-01-11 19:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:50:06
[end_date_ymd] => 2025-01-11 19:50:06
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:50:06' and `end` < '2025-01-11 19: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-01-11 19:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226507', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 19:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 19:50:08] Production.INFO: ProcessCDR(1,14226507,1,1,2)
[2025-01-11 19:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:50:08] Production.INFO: ==17709== Releasing lock...
[2025-01-11 19:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 19:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 19:50:13] Production.ERROR: CronJobId end10
[2025-01-11 19:50:13] Production.INFO: ==17703== Releasing lock...
[2025-01-11 19:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:50:14] Production.INFO: call_cost start
[2025-01-11 19:50:14] Production.INFO: call_cost end
[2025-01-11 19:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:50:15] Production.INFO: ==17699== Releasing lock...
[2025-01-11 19:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:50:30] Production.INFO: count ==2136
[2025-01-11 19:50:30] Production.ERROR: pbx CDR StartTime 2025-01-11 16:50:06 - End Time 2025-01-11 19:50:06
[2025-01-11 19:50:30] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226508', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226508', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226508', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:50:30] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226508', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:50:30] Production.INFO: ProcessCDR(1,14226508,1,1,2)
[2025-01-11 19:50:30] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:50:31] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:50:31] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:50:33] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226508', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:50:33] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226508', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:50:33] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:50:33] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:50:33] Production.INFO: ==17707== Releasing lock...
[2025-01-11 19:50:33] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:50:33] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:51:02] Production.INFO: ==17783== Lock acquired, processing the job...
[2025-01-12 00:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:51:02] Production.INFO: neon service started
[2025-01-12 00:51:02] Production.INFO: neon service started
[2025-01-12 00:51:02] Production.INFO: ==17783== Releasing lock...
[2025-01-12 00:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:51:02] Production.INFO: ==17785== Lock acquired, processing the job...
[2025-01-11 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:51:02] Production.INFO: ==17787== Lock acquired, processing the job...
[2025-01-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:51:02] Production.INFO: ==17787== Releasing lock...
[2025-01-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:51:03] Production.INFO: ==17785== Releasing lock...
[2025-01-11 19:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:51:03] Production.INFO: ==17790== Lock acquired, processing the job...
[2025-01-11 19:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:51:03] Production.INFO: ==17792== Lock acquired, processing the job...
[2025-01-11 19:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:51:03] Production.INFO: ==17796== Lock acquired, processing the job...
[2025-01-11 19:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:51:04] Production.INFO: Account Balance Start.
[2025-01-11 19:51:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:51:04] Production.INFO: 117
[2025-01-11 19:51:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:51:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:51:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:51:04] Production.INFO: ==17794== Lock acquired, processing the job...
[2025-01-11 19:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:51:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:51:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:51:04] Production.INFO: Total Charge 0
[2025-01-11 19:51:04] Production.INFO: CreateAllLog End
[2025-01-11 19:51:04] Production.INFO: ==17792== Releasing lock...
[2025-01-11 19:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:51:04] Production.INFO: ==17800== Lock acquired, processing the job...
[2025-01-11 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:51:04] Production.INFO: ==17798== Lock acquired, processing the job...
[2025-01-11 19:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:51:04] Production.INFO: Account Balance End.
[2025-01-11 19:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:51:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:51:04] Production.INFO: ==17796== Releasing lock...
[2025-01-11 19:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:51:04] Production.INFO: count ==21
[2025-01-11 19:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:51:04] Production.INFO: count ==21
[2025-01-11 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226512') start
[2025-01-11 19:51:04] Production.ERROR: done
[2025-01-11 19:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:51:04] Production.ERROR: done
[2025-01-11 19:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226512') end
[2025-01-11 19:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:51:04] Production.INFO: 1
[2025-01-11 19:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:51:04] Production.INFO: ==17800== Releasing lock...
[2025-01-11 19:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:51:05
[end_date_ymd] => 2025-01-11 19:51:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:51:05' and `end` < '2025-01-11 19: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-01-11 19:51:12] Production.ERROR: CronJobId end10
[2025-01-11 19:51:12] Production.INFO: ==17794== Releasing lock...
[2025-01-11 19:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:51:13] Production.INFO: call_cost start
[2025-01-11 19:51:13] Production.INFO: call_cost end
[2025-01-11 19:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:51:14] Production.INFO: ==17790== Releasing lock...
[2025-01-11 19:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:51:22] Production.INFO: count ==2125
[2025-01-11 19:51:23] Production.ERROR: pbx CDR StartTime 2025-01-11 16:51:05 - End Time 2025-01-11 19:51:05
[2025-01-11 19:51:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226513', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226513', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226513', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:51:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226513', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:51:23] Production.INFO: ProcessCDR(1,14226513,1,1,2)
[2025-01-11 19:51:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:51:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:51:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:51:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226513', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:51:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226513', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:51:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:51:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:51:26] Production.INFO: ==17798== Releasing lock...
[2025-01-11 19:51:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:51:26] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:52:01] Production.INFO: ==17877== Lock acquired, processing the job...
[2025-01-12 00:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:52:01] Production.INFO: neon service started
[2025-01-12 00:52:01] Production.INFO: neon service started
[2025-01-12 00:52:01] Production.INFO: ==17877== Releasing lock...
[2025-01-12 00:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:52:02] Production.INFO: ==17879== Lock acquired, processing the job...
[2025-01-11 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:52:02] Production.INFO: ==17881== Lock acquired, processing the job...
[2025-01-12 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 19:52:02] Production.INFO: ==17879== Releasing lock...
[2025-01-11 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:52:02] Production.INFO: ==17881== Releasing lock...
[2025-01-12 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:52:03] Production.INFO: ==17892== Lock acquired, processing the job...
[2025-01-11 19:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:52:03] Production.INFO: ==17894== Lock acquired, processing the job...
[2025-01-11 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:52:03] Production.INFO: ==17884== Lock acquired, processing the job...
[2025-01-11 19:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:52:03] Production.INFO: ==17886== Lock acquired, processing the job...
[2025-01-11 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:52:03] Production.INFO: ==17890== Lock acquired, processing the job...
[2025-01-11 19:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:52:03] Production.INFO: count ==21
[2025-01-11 19:52:03] Production.INFO: ==17888== Lock acquired, processing the job...
[2025-01-11 19:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:52:03] Production.INFO: count ==21
[2025-01-11 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226514') start
[2025-01-11 19:52:03] Production.INFO: Account Balance Start.
[2025-01-11 19:52:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:52:03] Production.INFO: 117
[2025-01-11 19:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:52:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:52:03] Production.ERROR: done
[2025-01-11 19:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226514') end
[2025-01-11 19:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:52:03] Production.INFO: 1
[2025-01-11 19:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:52:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:52:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:52:03] Production.INFO: ==17894== Releasing lock...
[2025-01-11 19:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:52:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:52:03] Production.ERROR: done
[2025-01-11 19:52:03] Production.INFO: Total Charge 0
[2025-01-11 19:52:03] Production.INFO: ==17886== Releasing lock...
[2025-01-11 19:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:52:03] Production.INFO: CreateAllLog End
[2025-01-11 19:52:04] Production.INFO: Account Balance End.
[2025-01-11 19:52:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:52:04] Production.INFO: ==17890== Releasing lock...
[2025-01-11 19:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:52:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:52:04
[end_date_ymd] => 2025-01-11 19:52:04
[RateCDR] => 1
)
[2025-01-11 19:52:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:52:04' and `end` < '2025-01-11 19:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:52:11] Production.ERROR: CronJobId end10
[2025-01-11 19:52:11] Production.INFO: ==17888== Releasing lock...
[2025-01-11 19:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:52:13] Production.INFO: call_cost start
[2025-01-11 19:52:13] Production.INFO: call_cost end
[2025-01-11 19:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:52:13] Production.INFO: ==17884== Releasing lock...
[2025-01-11 19:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:52:19] Production.INFO: count ==2124
[2025-01-11 19:52:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:52:04 - End Time 2025-01-11 19:52:04
[2025-01-11 19:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226518', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226518', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226518', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226518', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:52:19] Production.INFO: ProcessCDR(1,14226518,1,1,2)
[2025-01-11 19:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226518', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226518', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:52:22] Production.INFO: ==17892== Releasing lock...
[2025-01-11 19:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:52:22] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:53:01] Production.INFO: ==17961== Lock acquired, processing the job...
[2025-01-12 00:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:53:01] Production.INFO: neon service started
[2025-01-12 00:53:01] Production.INFO: neon service started
[2025-01-12 00:53:01] Production.INFO: ==17961== Releasing lock...
[2025-01-12 00:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:53:02] Production.INFO: ==17963== Lock acquired, processing the job...
[2025-01-11 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:53:02] Production.INFO: ==17965== Lock acquired, processing the job...
[2025-01-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:53:02] Production.INFO: ==17965== Releasing lock...
[2025-01-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:53:03] Production.INFO: ==17963== Releasing lock...
[2025-01-11 19:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:53:03] Production.INFO: ==17970== Lock acquired, processing the job...
[2025-01-11 19:53:03] Production.INFO: ==17976== Lock acquired, processing the job...
[2025-01-11 19:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:53:03] Production.INFO: ==17972== Lock acquired, processing the job...
[2025-01-11 19:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:53:03] Production.INFO: ==17974== Lock acquired, processing the job...
[2025-01-11 19:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:53:03] Production.INFO: Account Balance Start.
[2025-01-11 19:53:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:53:03] Production.INFO: 117
[2025-01-11 19:53:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:53:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:53:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:53:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:53:04] Production.INFO: ==17972== Releasing lock...
[2025-01-11 19:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:53:04] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-01-11 19:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:53:04] Production.INFO: Total Charge 0
[2025-01-11 19:53:04] Production.INFO: ==17980== Lock acquired, processing the job...
[2025-01-11 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:53:04] Production.INFO: CreateAllLog End
[2025-01-11 19:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:53:04] Production.INFO: count ==21
[2025-01-11 19:53:04] Production.INFO: Account Balance End.
[2025-01-11 19:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:53:04] Production.INFO: count ==21
[2025-01-11 19:53:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:53:04] Production.INFO: ==17976== Releasing lock...
[2025-01-11 19:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226522') start
[2025-01-11 19:53:04] Production.ERROR: done
[2025-01-11 19:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226522') end
[2025-01-11 19:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:53:04] Production.INFO: 1
[2025-01-11 19:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:53:04] Production.INFO: ==17980== Releasing lock...
[2025-01-11 19:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:53:04] Production.ERROR: done
[2025-01-11 19:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:53:05
[end_date_ymd] => 2025-01-11 19:53:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:53:05' and `end` < '2025-01-11 19: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-01-11 19:53:11] Production.ERROR: CronJobId end10
[2025-01-11 19:53:11] Production.INFO: ==17974== Releasing lock...
[2025-01-11 19:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:53:13] Production.INFO: call_cost start
[2025-01-11 19:53:13] Production.INFO: call_cost end
[2025-01-11 19:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:53:14] Production.INFO: ==17970== Releasing lock...
[2025-01-11 19:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:53:19] Production.INFO: count ==2120
[2025-01-11 19:53:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:53:05 - End Time 2025-01-11 19:53:05
[2025-01-11 19:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226523', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226523', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226523', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226523', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:53:19] Production.INFO: ProcessCDR(1,14226523,1,1,2)
[2025-01-11 19:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226523', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226523', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:53:22] Production.INFO: ==17978== Releasing lock...
[2025-01-11 19:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:53:22] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:54:01] Production.INFO: ==18050== Lock acquired, processing the job...
[2025-01-12 00:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:54:01] Production.INFO: neon service started
[2025-01-12 00:54:01] Production.INFO: neon service started
[2025-01-12 00:54:01] Production.INFO: ==18050== Releasing lock...
[2025-01-12 00:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:54:01] Production.INFO: ==18052== Lock acquired, processing the job...
[2025-01-11 19:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:54:02] Production.INFO: ==18052== Releasing lock...
[2025-01-11 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:54:02] Production.INFO: ==18054== Lock acquired, processing the job...
[2025-01-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:54:02] Production.INFO: ==18054== Releasing lock...
[2025-01-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:54:02] Production.INFO: ==18064== Lock acquired, processing the job...
[2025-01-11 19:54:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:54:02] Production.INFO: ==18060== Lock acquired, processing the job...
[2025-01-11 19:54:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:54:03] Production.INFO: ==18056== Lock acquired, processing the job...
[2025-01-11 19:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:54:03] Production.INFO: ==18058== Lock acquired, processing the job...
[2025-01-11 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:54:03] Production.INFO: ==18062== Lock acquired, processing the job...
[2025-01-11 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:54:03] Production.INFO: ==18066== Lock acquired, processing the job...
[2025-01-11 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:54:03] Production.ERROR: done
[2025-01-11 19:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:54:03] Production.INFO: Account Balance Start.
[2025-01-11 19:54:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:54:03] Production.INFO: 117
[2025-01-11 19:54:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:54:03] Production.INFO: count ==21
[2025-01-11 19:54:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:54:03] Production.INFO: count ==21
[2025-01-11 19:54:03] Production.ERROR: done
[2025-01-11 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226526') start
[2025-01-11 19:54:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:54:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:54:03] Production.INFO: Total Charge 0
[2025-01-11 19:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226526') end
[2025-01-11 19:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:54:03] Production.INFO: ==18058== Releasing lock...
[2025-01-11 19:54:03] Production.INFO: 1
[2025-01-11 19:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:54:03] Production.INFO: CreateAllLog End
[2025-01-11 19:54:03] Production.INFO: ==18066== Releasing lock...
[2025-01-11 19:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:54:03] Production.INFO: Account Balance End.
[2025-01-11 19:54:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:54:03] Production.INFO: ==18062== Releasing lock...
[2025-01-11 19:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:54:04
[end_date_ymd] => 2025-01-11 19:54:04
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:54:04' and `end` < '2025-01-11 19: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-01-11 19:54:10] Production.ERROR: CronJobId end10
[2025-01-11 19:54:10] Production.INFO: ==18060== Releasing lock...
[2025-01-11 19:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:54:13] Production.INFO: call_cost start
[2025-01-11 19:54:13] Production.INFO: call_cost end
[2025-01-11 19:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:54:13] Production.INFO: ==18056== Releasing lock...
[2025-01-11 19:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:54:18] Production.INFO: count ==2103
[2025-01-11 19:54:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:54:04 - End Time 2025-01-11 19:54:04
[2025-01-11 19:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226528', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226528', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226528', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226528', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:54:18] Production.INFO: ProcessCDR(1,14226528,1,1,2)
[2025-01-11 19:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226528', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226528', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:54:22] Production.INFO: ==18064== Releasing lock...
[2025-01-11 19:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:54:22] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 00:55:01] Production.INFO: ==18135== Lock acquired, processing the job...
[2025-01-12 00:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:55:01] Production.INFO: neon service started
[2025-01-12 00:55:01] Production.INFO: neon service started
[2025-01-12 00:55:01] Production.INFO: ==18135== Releasing lock...
[2025-01-12 00:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:55:02] Production.INFO: ==18137== Lock acquired, processing the job...
[2025-01-11 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:55:02] Production.INFO: ==18139== Lock acquired, processing the job...
[2025-01-12 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 19:55:02] Production.INFO: ==18137== Releasing lock...
[2025-01-11 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:55:02] Production.INFO: ==18139== Releasing lock...
[2025-01-12 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:55:03] Production.INFO: ==18148== Lock acquired, processing the job...
[2025-01-11 19:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:55:03] Production.INFO: ==18142== Lock acquired, processing the job...
[2025-01-11 19:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:55:03] Production.INFO: ==18152== Lock acquired, processing the job...
[2025-01-11 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:55:03] Production.INFO: Account Balance Start.
[2025-01-11 19:55:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:55:03] Production.INFO: 117
[2025-01-11 19:55:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:55:03] Production.INFO: ==18144== Lock acquired, processing the job...
[2025-01-11 19:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19: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-01-11 19:55:03] Production.INFO: count ==21
[2025-01-11 19:55:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:55:03] Production.INFO: ==18146== Lock acquired, processing the job...
[2025-01-11 19:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19: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-01-11 19:55:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:55:03] Production.INFO: count ==21
[2025-01-11 19:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226530') start
[2025-01-11 19:55:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:55:03] Production.INFO: Total Charge 0
[2025-01-11 19:55:03] Production.INFO: CreateAllLog End
[2025-01-11 19:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:55:03] Production.INFO: ==18150== Lock acquired, processing the job...
[2025-01-11 19:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226530') end
[2025-01-11 19:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:55:03] Production.INFO: 1
[2025-01-11 19:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:55:03] Production.INFO: Account Balance End.
[2025-01-11 19:55:03] Production.INFO: ==18152== Releasing lock...
[2025-01-11 19:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:55:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:55:04] Production.INFO: ==18148== Releasing lock...
[2025-01-11 19:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:55:04] Production.INFO: ==18144== Releasing lock...
[2025-01-11 19:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:55:04] Production.ERROR: done
[2025-01-11 19:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:55:04] Production.ERROR: done
[2025-01-11 19:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:55:05
[end_date_ymd] => 2025-01-11 19:55:05
[RateCDR] => 1
)
[2025-01-11 19: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-01-11 16:55:05' and `end` < '2025-01-11 19: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-01-11 19:55:11] Production.ERROR: CronJobId end10
[2025-01-11 19:55:11] Production.INFO: ==18146== Releasing lock...
[2025-01-11 19:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:55:12] Production.INFO: call_cost start
[2025-01-11 19:55:12] Production.INFO: call_cost end
[2025-01-11 19:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:55:13] Production.INFO: ==18142== Releasing lock...
[2025-01-11 19:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:55:18] Production.INFO: count ==2103
[2025-01-11 19:55:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:55:05 - End Time 2025-01-11 19:55:05
[2025-01-11 19:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226533', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226533', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226533', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226533', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:55:19] Production.INFO: ProcessCDR(1,14226533,1,1,2)
[2025-01-11 19:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226533', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226533', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:55:22] Production.INFO: ==18150== Releasing lock...
[2025-01-11 19:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:55:22] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 00:56:02] Production.INFO: ==18236== Lock acquired, processing the job...
[2025-01-12 00:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:56:02] Production.INFO: neon service started
[2025-01-12 00:56:02] Production.INFO: neon service started
[2025-01-12 00:56:02] Production.INFO: ==18236== Releasing lock...
[2025-01-12 00:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:56:02] Production.INFO: ==18238== Lock acquired, processing the job...
[2025-01-11 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:56:02] Production.INFO: ==18238== Releasing lock...
[2025-01-11 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:56:03] Production.INFO: ==18240== Lock acquired, processing the job...
[2025-01-12 00:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:56:03] Production.INFO: ==18240== Releasing lock...
[2025-01-12 00:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:56:03] Production.INFO: ==18251== Lock acquired, processing the job...
[2025-01-11 19:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:56:03] Production.INFO: ==18253== Lock acquired, processing the job...
[2025-01-11 19:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:56:03] Production.INFO: ==18242== Lock acquired, processing the job...
[2025-01-11 19:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:56:03] Production.INFO: ==18244== Lock acquired, processing the job...
[2025-01-11 19:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19: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-01-11 19:56:03] Production.INFO: ==18247== Lock acquired, processing the job...
[2025-01-11 19:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:56:03] Production.INFO: count ==21
[2025-01-11 19:56:03] Production.INFO: ==18249== Lock acquired, processing the job...
[2025-01-11 19:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:56:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:56:04] Production.INFO: count ==21
[2025-01-11 19:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226534') start
[2025-01-11 19:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:56:04] Production.INFO: Account Balance Start.
[2025-01-11 19:56:04] Production.INFO: CreateAllLog Start
[2025-01-11 19:56:04] Production.INFO: 117
[2025-01-11 19:56:04] Production.INFO: Date 2025-01-08
[2025-01-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:56:04] Production.INFO: Date 2025-01-09
[2025-01-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:56:04] Production.INFO: Date 2025-01-10
[2025-01-11 19:56:04] Production.INFO: ==18244== Releasing lock...
[2025-01-11 19:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:56:04] Production.ERROR: done
[2025-01-11 19:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:56:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:56:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226534') end
[2025-01-11 19:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:56:04] Production.INFO: 1
[2025-01-11 19:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:56:04] Production.INFO: Total Charge 0
[2025-01-11 19:56:04] Production.INFO: CreateAllLog End
[2025-01-11 19:56:04] Production.INFO: ==18253== Releasing lock...
[2025-01-11 19:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:56:04] Production.ERROR: done
[2025-01-11 19:56:04] Production.INFO: Account Balance End.
[2025-01-11 19:56:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:56:04] Production.INFO: ==18249== Releasing lock...
[2025-01-11 19:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:56:05
[end_date_ymd] => 2025-01-11 19:56:05
[RateCDR] => 1
)
[2025-01-11 19:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:56:05' and `end` < '2025-01-11 19:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:56:11] Production.ERROR: CronJobId end10
[2025-01-11 19:56:11] Production.INFO: ==18247== Releasing lock...
[2025-01-11 19:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:56:13] Production.INFO: call_cost start
[2025-01-11 19:56:13] Production.INFO: call_cost end
[2025-01-11 19:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:56:14] Production.INFO: ==18242== Releasing lock...
[2025-01-11 19:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:56:18] Production.INFO: count ==2101
[2025-01-11 19:56:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:56:05 - End Time 2025-01-11 19:56:05
[2025-01-11 19:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226538', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226538', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226538', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226538', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:56:18] Production.INFO: ProcessCDR(1,14226538,1,1,2)
[2025-01-11 19:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226538', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226538', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:56:21] Production.INFO: ==18251== Releasing lock...
[2025-01-11 19:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:56:21] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 00:57:01] Production.INFO: ==18347== Lock acquired, processing the job...
[2025-01-12 00:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:57:01] Production.INFO: neon service started
[2025-01-12 00:57:01] Production.INFO: neon service started
[2025-01-12 00:57:01] Production.INFO: ==18347== Releasing lock...
[2025-01-12 00:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:57:02] Production.INFO: ==18351== Lock acquired, processing the job...
[2025-01-12 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:57:02] Production.INFO: ==18351== Releasing lock...
[2025-01-12 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:57:02] Production.INFO: ==18349== Lock acquired, processing the job...
[2025-01-11 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:57:02] Production.INFO: ==18349== Releasing lock...
[2025-01-11 19:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:57:03] Production.INFO: ==18353== Lock acquired, processing the job...
[2025-01-11 19:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:57:03] Production.INFO: ==18357== Lock acquired, processing the job...
[2025-01-11 19:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:57:03] Production.INFO: ==18361== Lock acquired, processing the job...
[2025-01-11 19:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:57:03] Production.INFO: ==18359== Lock acquired, processing the job...
[2025-01-11 19:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:57:03] Production.INFO: ==18355== Lock acquired, processing the job...
[2025-01-11 19:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:57:03] Production.INFO: ==18363== Lock acquired, processing the job...
[2025-01-11 19:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:57:03] Production.INFO: Account Balance Start.
[2025-01-11 19:57:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:57:03] Production.INFO: 117
[2025-01-11 19:57:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:57:03] Production.ERROR: done
[2025-01-11 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19: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-01-11 19:57:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:57:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:57:04] Production.INFO: count ==21
[2025-01-11 19:57:04] Production.ERROR: done
[2025-01-11 19:57:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:57:04] Production.INFO: count ==21
[2025-01-11 19:57:04] Production.INFO: ==18355== Releasing lock...
[2025-01-11 19:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226542') start
[2025-01-11 19:57:04] Production.INFO: Date 2025-01-11
[2025-01-11 19:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 19:57:04] Production.INFO: Total Charge 0
[2025-01-11 19:57:04] Production.INFO: CreateAllLog End
[2025-01-11 19:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226542') end
[2025-01-11 19:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:57:04] Production.INFO: 1
[2025-01-11 19:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:57:04] Production.INFO: ==18363== Releasing lock...
[2025-01-11 19:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:57:04] Production.INFO: Account Balance End.
[2025-01-11 19:57:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:57:04] Production.INFO: ==18359== Releasing lock...
[2025-01-11 19:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:57:04
[end_date_ymd] => 2025-01-11 19:57:04
[RateCDR] => 1
)
[2025-01-11 19:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:57:04' and `end` < '2025-01-11 19:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:57:10] Production.ERROR: CronJobId end10
[2025-01-11 19:57:10] Production.INFO: ==18357== Releasing lock...
[2025-01-11 19:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:57:12] Production.INFO: call_cost start
[2025-01-11 19:57:12] Production.INFO: call_cost end
[2025-01-11 19:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:57:13] Production.INFO: ==18353== Releasing lock...
[2025-01-11 19:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:57:18] Production.INFO: count ==2109
[2025-01-11 19:57:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:57:04 - End Time 2025-01-11 19:57:04
[2025-01-11 19:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226543', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226543', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226543', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226543', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:57:18] Production.INFO: ProcessCDR(1,14226543,1,1,2)
[2025-01-11 19:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226543', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226543', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:57:21] Production.INFO: ==18361== Releasing lock...
[2025-01-11 19:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:57:21] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 00:58:02] Production.INFO: ==18447== Lock acquired, processing the job...
[2025-01-12 00:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:58:02] Production.INFO: neon service started
[2025-01-12 00:58:02] Production.INFO: neon service started
[2025-01-12 00:58:02] Production.INFO: ==18447== Releasing lock...
[2025-01-12 00:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:58:02] Production.INFO: ==18451== Lock acquired, processing the job...
[2025-01-12 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:58:02] Production.INFO: ==18451== Releasing lock...
[2025-01-12 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:58:02] Production.INFO: ==18449== Lock acquired, processing the job...
[2025-01-11 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:58:02] Production.INFO: ==18449== Releasing lock...
[2025-01-11 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 19:58:03] Production.INFO: ==18453== Lock acquired, processing the job...
[2025-01-11 19:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:58:03] Production.INFO: ==18455== Lock acquired, processing the job...
[2025-01-11 19:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:58:03] Production.INFO: ==18460== Lock acquired, processing the job...
[2025-01-11 19:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:58:03] Production.INFO: Account Balance Start.
[2025-01-11 19:58:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:58:03] Production.INFO: 117
[2025-01-11 19:58:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:58:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:58:03] Production.INFO: ==18457== Lock acquired, processing the job...
[2025-01-11 19:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:58:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:58:03] Production.INFO: ==18462== Lock acquired, processing the job...
[2025-01-11 19:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:58:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:58:03] Production.INFO: Total Charge 0
[2025-01-11 19:58:03] Production.INFO: ==18464== Lock acquired, processing the job...
[2025-01-11 19:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:58:03] Production.INFO: CreateAllLog End
[2025-01-11 19:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:58:04] Production.INFO: ==18455== Releasing lock...
[2025-01-11 19:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:58:04] Production.INFO: Account Balance End.
[2025-01-11 19:58:04] Production.ERROR: done
[2025-01-11 19:58:04] Production.INFO: count ==21
[2025-01-11 19:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 19:58:04] Production.INFO: count ==21
[2025-01-11 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226547') start
[2025-01-11 19:58:04] Production.ERROR: CronJobId end 12
[2025-01-11 19:58:04] Production.INFO: ==18460== Releasing lock...
[2025-01-11 19:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226547') end
[2025-01-11 19:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:58:04] Production.INFO: 1
[2025-01-11 19:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:58:04] Production.INFO: ==18464== Releasing lock...
[2025-01-11 19:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:58:04] Production.ERROR: done
[2025-01-11 19:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:58:05
[end_date_ymd] => 2025-01-11 19:58:05
[RateCDR] => 1
)
[2025-01-11 19:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:58:05' and `end` < '2025-01-11 19:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:58:12] Production.ERROR: CronJobId end10
[2025-01-11 19:58:12] Production.INFO: ==18457== Releasing lock...
[2025-01-11 19:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:58:13] Production.INFO: call_cost start
[2025-01-11 19:58:13] Production.INFO: call_cost end
[2025-01-11 19:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:58:14] Production.INFO: ==18453== Releasing lock...
[2025-01-11 19:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:58:19] Production.INFO: count ==2110
[2025-01-11 19:58:19] Production.ERROR: pbx CDR StartTime 2025-01-11 16:58:05 - End Time 2025-01-11 19:58:05
[2025-01-11 19:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226548', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226548', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226548', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226548', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:58:19] Production.INFO: ProcessCDR(1,14226548,1,1,2)
[2025-01-11 19:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226548', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226548', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:58:22] Production.INFO: ==18462== Releasing lock...
[2025-01-11 19:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:58:22] Production.INFO: 43.75 MB #Memory Used#
[2025-01-12 00:59:01] Production.INFO: ==18548== Lock acquired, processing the job...
[2025-01-12 00:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 00:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 00:59:01] Production.INFO: neon service started
[2025-01-12 00:59:01] Production.INFO: neon service started
[2025-01-12 00:59:01] Production.INFO: ==18548== Releasing lock...
[2025-01-12 00:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 00:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 19:59:01] Production.INFO: ==18550== Lock acquired, processing the job...
[2025-01-11 19:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 19:59:02] Production.INFO: ==18550== Releasing lock...
[2025-01-11 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 19:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:59:02] Production.INFO: ==18552== Lock acquired, processing the job...
[2025-01-12 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:59:02] Production.INFO: ==18552== Releasing lock...
[2025-01-12 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 00:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 19:59:02] Production.INFO: ==18555== Lock acquired, processing the job...
[2025-01-11 19:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 19:59:02] Production.INFO: ==18561== Lock acquired, processing the job...
[2025-01-11 19:59:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 19:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 19:59:03] Production.INFO: ==18565== Lock acquired, processing the job...
[2025-01-11 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 19:59:03] Production.INFO: Account Balance Start.
[2025-01-11 19:59:03] Production.INFO: CreateAllLog Start
[2025-01-11 19:59:03] Production.INFO: 117
[2025-01-11 19:59:03] Production.INFO: Date 2025-01-08
[2025-01-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:59:03] Production.INFO: ==18557== Lock acquired, processing the job...
[2025-01-11 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 19:59:03] Production.INFO: ==18559== Lock acquired, processing the job...
[2025-01-11 19:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 19:59:03] Production.INFO: Date 2025-01-09
[2025-01-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:59:03] Production.INFO: Date 2025-01-10
[2025-01-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 19: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-01-11 19:59:03] Production.INFO: count ==21
[2025-01-11 19: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-01-11 19:59:03] Production.INFO: count ==21
[2025-01-11 19:59:03] Production.INFO: Date 2025-01-11
[2025-01-11 19:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 19:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 19:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 19:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 19:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 19:59:03] Production.INFO: Total Charge 0
[2025-01-11 19:59:03] Production.INFO: ==18563== Lock acquired, processing the job...
[2025-01-11 19:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226551') start
[2025-01-11 19:59:03] Production.INFO: CreateAllLog End
[2025-01-11 19:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 19:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226551') end
[2025-01-11 19:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 19:59:03] Production.INFO: 1
[2025-01-11 19:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 19:59:03] Production.INFO: ==18557== Releasing lock...
[2025-01-11 19:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 19:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 19:59:03] Production.INFO: ==18565== Releasing lock...
[2025-01-11 19:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 19:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 19:59:03] Production.ERROR: done
[2025-01-11 19:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 19:59:03] Production.INFO: Account Balance End.
[2025-01-11 19:59:03] Production.ERROR: CronJobId end 12
[2025-01-11 19:59:03] Production.INFO: ==18561== Releasing lock...
[2025-01-11 19:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 19:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 19:59:03] Production.ERROR: done
[2025-01-11 19:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 16:59:04
[end_date_ymd] => 2025-01-11 19:59:04
[RateCDR] => 1
)
[2025-01-11 19:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 16:59:04' and `end` < '2025-01-11 19:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 19:59:12] Production.ERROR: CronJobId end10
[2025-01-11 19:59:12] Production.INFO: ==18559== Releasing lock...
[2025-01-11 19:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 19:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 19:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 19:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 19:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 19:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 19:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 19:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 19:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 19:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 19:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 19:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 19:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 19:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 19:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 19:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 19:59:13] Production.INFO: call_cost start
[2025-01-11 19:59:13] Production.INFO: call_cost end
[2025-01-11 19:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 19:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 19:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 19:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 19:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 19:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 19:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 19:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 19:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 19:59:14] Production.INFO: ==18555== Releasing lock...
[2025-01-11 19:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 19:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 19:59:18] Production.INFO: count ==2111
[2025-01-11 19:59:18] Production.ERROR: pbx CDR StartTime 2025-01-11 16:59:04 - End Time 2025-01-11 19:59:04
[2025-01-11 19:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226553', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226553', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226553', 'tblTempVendorCDR_20' ) start
[2025-01-11 19:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226553', 'tblTempVendorCDR_20' ) end
[2025-01-11 19:59:18] Production.INFO: ProcessCDR(1,14226553,1,1,2)
[2025-01-11 19:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 19:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 19:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226553', 'tblTempUsageDetail_20' ) start
[2025-01-11 19:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226553', 'tblTempUsageDetail_20' ) end
[2025-01-11 19:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 19:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 19:59:21] Production.INFO: ==18563== Releasing lock...
[2025-01-11 19:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 19:59:21] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 01:00:01] Production.INFO: ==18648== Lock acquired, processing the job...
[2025-01-12 01:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:00:01] Production.INFO: neon service started
[2025-01-12 01:00:01] Production.INFO: neon service started
[2025-01-12 01:00:01] Production.INFO: ==18648== Releasing lock...
[2025-01-12 01:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:00:02] Production.INFO: ==18650== Lock acquired, processing the job...
[2025-01-11 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:00:02] Production.INFO: ==18652== Lock acquired, processing the job...
[2025-01-12 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:00:02] Production.INFO: ==18652== Releasing lock...
[2025-01-12 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:00:02] Production.INFO: ==18650== Releasing lock...
[2025-01-11 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:00:03] Production.INFO: ==18654== Lock acquired, processing the job...
[2025-01-11 20:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 20:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 20:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 20:00:03] Production.INFO: ==18654== Releasing lock...
[2025-01-11 20:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 20:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 20:00:03] Production.INFO: ==18661== Lock acquired, processing the job...
[2025-01-11 20:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:00:03] Production.INFO: ==18665== Lock acquired, processing the job...
[2025-01-11 20:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:00:03] Production.ERROR: done
[2025-01-11 20:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:00:04] Production.INFO: ==18656== Lock acquired, processing the job...
[2025-01-11 20:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:00:04] Production.ERROR: done
[2025-01-11 20:00:04] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-01-11 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:00:04] Production.INFO: ==18669== Lock acquired, processing the job...
[2025-01-11 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:00:04] Production.INFO: ==18667== Lock acquired, processing the job...
[2025-01-11 20:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 20:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:00:04] Production.INFO: ==18663== Lock acquired, processing the job...
[2025-01-11 20:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 20:00:04] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:00:04] Production.INFO: Account Balance Start.
[2025-01-11 20:00:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:00:04] Production.INFO: count ==21
[2025-01-11 20:00:04] Production.INFO: 117
[2025-01-11 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226556') start
[2025-01-11 20:00:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226556') end
[2025-01-11 20:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:00:04] Production.INFO: 1
[2025-01-11 20:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:00:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:00:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:00:04] Production.ERROR: done
[2025-01-11 20:00:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:00:04] Production.INFO: ==18669== Releasing lock...
[2025-01-11 20:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:00:04] Production.INFO: ==18658== Releasing lock...
[2025-01-11 20:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:00:04] Production.INFO: Total Charge 0
[2025-01-11 20:00:04] Production.INFO: CreateAllLog End
[2025-01-11 20:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 20:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226559', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 20:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:00:05
[end_date_ymd] => 2025-01-11 20:00:05
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:00:05' and `end` < '2025-01-11 20: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-01-11 20:00:05] Production.INFO: Account Balance End.
[2025-01-11 20:00:05] Production.ERROR: CronJobId end 12
[2025-01-11 20:00:05] Production.INFO: ==18663== Releasing lock...
[2025-01-11 20:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226559', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 20:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 20:00:08] Production.INFO: ProcessCDR(1,14226559,1,1,2)
[2025-01-11 20:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226559,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226559,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:00:08] Production.INFO: ==18667== Releasing lock...
[2025-01-11 20:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 20:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 20:00:14] Production.ERROR: CronJobId end10
[2025-01-11 20:00:14] Production.INFO: ==18661== Releasing lock...
[2025-01-11 20:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:00:16] Production.INFO: call_cost start
[2025-01-11 20:00:16] Production.INFO: call_cost end
[2025-01-11 20:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:00:16] Production.INFO: ==18656== Releasing lock...
[2025-01-11 20:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:00:18] Production.INFO: count ==2117
[2025-01-11 20:00:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:00:05 - End Time 2025-01-11 20:00:05
[2025-01-11 20:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226554', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226554', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226554', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226554', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:00:18] Production.INFO: ProcessCDR(1,14226554,1,1,2)
[2025-01-11 20:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226554', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226554', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:00:23] Production.INFO: ==18665== Releasing lock...
[2025-01-11 20:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:00:23] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 01:01:02] Production.INFO: ==18797== Lock acquired, processing the job...
[2025-01-12 01:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:01:02] Production.INFO: neon service started
[2025-01-12 01:01:02] Production.INFO: neon service started
[2025-01-12 01:01:02] Production.INFO: ==18797== Releasing lock...
[2025-01-12 01:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:01:02] Production.INFO: ==18803== Lock acquired, processing the job...
[2025-01-11 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:01:02] Production.INFO: ==18803== Releasing lock...
[2025-01-11 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:01:03] Production.INFO: ==18805== Lock acquired, processing the job...
[2025-01-12 01:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:01:03] Production.INFO: ==18805== Releasing lock...
[2025-01-12 01:01:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:01:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:01:03] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-01-11 20:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:01:03] Production.INFO: ==18807== Lock acquired, processing the job...
[2025-01-11 20:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:01:04] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-01-11 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:01:04] Production.INFO: ==18812== Lock acquired, processing the job...
[2025-01-11 20:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:01:04] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-01-11 20:01:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:01:04] Production.INFO: Account Balance Start.
[2025-01-11 20:01:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:01:04] Production.INFO: 117
[2025-01-11 20:01:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:01:04] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-01-11 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:01:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:01:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:01:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:01:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:01:04] Production.INFO: ==18809== Releasing lock...
[2025-01-11 20:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 20:01:04] Production.INFO: Total Charge 0
[2025-01-11 20:01:04] Production.INFO: CreateAllLog End
[2025-01-11 20:01:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:01:04] Production.INFO: count ==21
[2025-01-11 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226563') start
[2025-01-11 20:01:04] Production.ERROR: done
[2025-01-11 20:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226563') end
[2025-01-11 20:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:01:04] Production.INFO: 1
[2025-01-11 20:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:01:04] Production.ERROR: done
[2025-01-11 20:01:04] Production.INFO: Account Balance End.
[2025-01-11 20:01:04] Production.INFO: ==18819== Releasing lock...
[2025-01-11 20:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:01:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:01:04] Production.INFO: ==18815== Releasing lock...
[2025-01-11 20:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:01:05
[end_date_ymd] => 2025-01-11 20:01:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:01:05' and `end` < '2025-01-11 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-01-11 20:01:12] Production.ERROR: CronJobId end10
[2025-01-11 20:01:12] Production.INFO: ==18812== Releasing lock...
[2025-01-11 20:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:01:14] Production.INFO: call_cost start
[2025-01-11 20:01:14] Production.INFO: call_cost end
[2025-01-11 20:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:01:15] Production.INFO: ==18807== Releasing lock...
[2025-01-11 20:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:01:18] Production.INFO: count ==2100
[2025-01-11 20:01:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:01:05 - End Time 2025-01-11 20:01:05
[2025-01-11 20:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226564', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226564', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226564', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226564', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:01:19] Production.INFO: ProcessCDR(1,14226564,1,1,2)
[2025-01-11 20:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226564', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226564', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:01:22] Production.INFO: ==18817== Releasing lock...
[2025-01-11 20:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:01:22] Production.INFO: 43.5 MB #Memory Used#
[2025-01-12 01:02:01] Production.INFO: ==18939== Lock acquired, processing the job...
[2025-01-12 01:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:02:01] Production.INFO: neon service started
[2025-01-12 01:02:01] Production.INFO: neon service started
[2025-01-12 01:02:01] Production.INFO: ==18939== Releasing lock...
[2025-01-12 01:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:02:02] Production.INFO: ==18941== Lock acquired, processing the job...
[2025-01-11 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:02:02] Production.INFO: ==18941== Releasing lock...
[2025-01-11 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:02:02] Production.INFO: ==18943== Lock acquired, processing the job...
[2025-01-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:02:02] Production.INFO: ==18943== Releasing lock...
[2025-01-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:02:03] Production.INFO: ==18948== Lock acquired, processing the job...
[2025-01-11 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:02:03] Production.INFO: ==18956== Lock acquired, processing the job...
[2025-01-11 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20: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-01-11 20:02:03] Production.INFO: count ==21
[2025-01-11 20:02:03] Production.INFO: ==18946== Lock acquired, processing the job...
[2025-01-11 20:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20: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-01-11 20:02:03] Production.INFO: count ==21
[2025-01-11 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226566') start
[2025-01-11 20:02:03] Production.INFO: ==18950== Lock acquired, processing the job...
[2025-01-11 20:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:02:03] Production.INFO: ==18948== Releasing lock...
[2025-01-11 20:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:02:03] Production.INFO: ==18952== Lock acquired, processing the job...
[2025-01-11 20:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226566') end
[2025-01-11 20:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:02:03] Production.INFO: 1
[2025-01-11 20:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:02:03] Production.INFO: ==18954== Lock acquired, processing the job...
[2025-01-11 20:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:02:03] Production.INFO: Account Balance Start.
[2025-01-11 20:02:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:02:03] Production.INFO: 117
[2025-01-11 20:02:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:02:03] Production.INFO: ==18956== Releasing lock...
[2025-01-11 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:02:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:02:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:02:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:02:04] Production.INFO: Total Charge 0
[2025-01-11 20:02:04] Production.INFO: CreateAllLog End
[2025-01-11 20:02:04] Production.ERROR: done
[2025-01-11 20:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:02:04] Production.INFO: Account Balance End.
[2025-01-11 20:02:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:02:04] Production.INFO: ==18952== Releasing lock...
[2025-01-11 20:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:02:04] Production.ERROR: done
[2025-01-11 20:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:02:05
[end_date_ymd] => 2025-01-11 20:02:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:02:05' and `end` < '2025-01-11 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-01-11 20:02:11] Production.ERROR: CronJobId end10
[2025-01-11 20:02:11] Production.INFO: ==18950== Releasing lock...
[2025-01-11 20:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:02:13] Production.INFO: call_cost start
[2025-01-11 20:02:13] Production.INFO: call_cost end
[2025-01-11 20:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:02:14] Production.INFO: ==18946== Releasing lock...
[2025-01-11 20:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:02:18] Production.INFO: count ==2098
[2025-01-11 20:02:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:02:05 - End Time 2025-01-11 20:02:05
[2025-01-11 20:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226569', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226569', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226569', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226569', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:02:19] Production.INFO: ProcessCDR(1,14226569,1,1,2)
[2025-01-11 20:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226569', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226569', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:02:23] Production.INFO: ==18954== Releasing lock...
[2025-01-11 20:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:02:23] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 01:03:01] Production.INFO: ==19039== Lock acquired, processing the job...
[2025-01-12 01:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:03:01] Production.INFO: neon service started
[2025-01-12 01:03:01] Production.INFO: neon service started
[2025-01-12 01:03:01] Production.INFO: ==19039== Releasing lock...
[2025-01-12 01:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:03:01] Production.INFO: ==19044== Lock acquired, processing the job...
[2025-01-12 01:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:03:01] Production.INFO: ==19044== Releasing lock...
[2025-01-12 01:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:03:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:03:01] Production.INFO: ==19041== Lock acquired, processing the job...
[2025-01-11 20:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:03:02] Production.INFO: ==19041== Releasing lock...
[2025-01-11 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:03:03] Production.INFO: ==19047== Lock acquired, processing the job...
[2025-01-11 20:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:03:03] Production.INFO: ==19053== Lock acquired, processing the job...
[2025-01-11 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:03:03] Production.INFO: ==19049== Lock acquired, processing the job...
[2025-01-11 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:03:03] Production.INFO: ==19055== Lock acquired, processing the job...
[2025-01-11 20:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:03:03] Production.INFO: Account Balance Start.
[2025-01-11 20:03:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:03:03] Production.INFO: 117
[2025-01-11 20:03:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:03:03] Production.INFO: ==19051== Lock acquired, processing the job...
[2025-01-11 20:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:03:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:03:03] Production.INFO: ==19058== Lock acquired, processing the job...
[2025-01-11 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:03:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:03:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 20: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-01-11 20:03:03] Production.INFO: Total Charge 0
[2025-01-11 20:03:03] Production.INFO: CreateAllLog End
[2025-01-11 20:03:03] Production.INFO: ==19049== Releasing lock...
[2025-01-11 20:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:03:03] Production.ERROR: done
[2025-01-11 20:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:03:03] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:03:03] Production.INFO: count ==21
[2025-01-11 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226573') start
[2025-01-11 20:03:03] Production.INFO: Account Balance End.
[2025-01-11 20:03:03] Production.ERROR: done
[2025-01-11 20:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226573') end
[2025-01-11 20:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:03:03] Production.INFO: 1
[2025-01-11 20:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:03:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:03:03] Production.INFO: ==19053== Releasing lock...
[2025-01-11 20:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:03:03] Production.INFO: ==19058== Releasing lock...
[2025-01-11 20:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:03:04
[end_date_ymd] => 2025-01-11 20:03:04
[RateCDR] => 1
)
[2025-01-11 20:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:03:04' and `end` < '2025-01-11 20:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:03:11] Production.ERROR: CronJobId end10
[2025-01-11 20:03:11] Production.INFO: ==19051== Releasing lock...
[2025-01-11 20:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:03:13] Production.INFO: call_cost start
[2025-01-11 20:03:13] Production.INFO: call_cost end
[2025-01-11 20:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:03:14] Production.INFO: ==19047== Releasing lock...
[2025-01-11 20:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:03:18] Production.INFO: count ==2095
[2025-01-11 20:03:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:03:04 - End Time 2025-01-11 20:03:04
[2025-01-11 20:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226574', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226574', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226574', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226574', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:03:18] Production.INFO: ProcessCDR(1,14226574,1,1,2)
[2025-01-11 20:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226574', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226574', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:03:21] Production.INFO: ==19055== Releasing lock...
[2025-01-11 20:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:03:21] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 01:04:01] Production.INFO: ==19140== Lock acquired, processing the job...
[2025-01-12 01:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:04:01] Production.INFO: neon service started
[2025-01-12 01:04:01] Production.INFO: neon service started
[2025-01-12 01:04:01] Production.INFO: ==19140== Releasing lock...
[2025-01-12 01:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:04:02] Production.INFO: ==19142== Lock acquired, processing the job...
[2025-01-11 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:04:02] Production.INFO: ==19142== Releasing lock...
[2025-01-11 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:04:02] Production.INFO: ==19144== Lock acquired, processing the job...
[2025-01-12 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:04:02] Production.INFO: ==19144== Releasing lock...
[2025-01-12 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:04:03] Production.INFO: ==19147== Lock acquired, processing the job...
[2025-01-11 20:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:04:03] Production.INFO: ==19155== Lock acquired, processing the job...
[2025-01-11 20:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:04:03] Production.INFO: ==19149== Lock acquired, processing the job...
[2025-01-11 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:04:03] Production.INFO: ==19151== Lock acquired, processing the job...
[2025-01-11 20:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:04:03] Production.INFO: ==19153== Lock acquired, processing the job...
[2025-01-11 20:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:04:03] Production.INFO: ==19157== Lock acquired, processing the job...
[2025-01-11 20:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:04:03] Production.INFO: Account Balance Start.
[2025-01-11 20:04:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:04:03] Production.INFO: 117
[2025-01-11 20:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:04:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:04:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:04:03] Production.INFO: count ==21
[2025-01-11 20:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:04:03] Production.INFO: count ==21
[2025-01-11 20:04:03] Production.ERROR: done
[2025-01-11 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:04:03] Production.INFO: ==19149== Releasing lock...
[2025-01-11 20:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226578') start
[2025-01-11 20:04:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:04:04] Production.ERROR: done
[2025-01-11 20:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226578') end
[2025-01-11 20:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:04:04] Production.INFO: 1
[2025-01-11 20:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:04:04] Production.INFO: ==19157== Releasing lock...
[2025-01-11 20:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:04:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:04:04] Production.INFO: Total Charge 0
[2025-01-11 20:04:04] Production.INFO: CreateAllLog End
[2025-01-11 20:04:04] Production.INFO: Account Balance End.
[2025-01-11 20:04:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:04:04] Production.INFO: ==19153== Releasing lock...
[2025-01-11 20:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:04:04
[end_date_ymd] => 2025-01-11 20:04:04
[RateCDR] => 1
)
[2025-01-11 20:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:04:04' and `end` < '2025-01-11 20:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:04:12] Production.ERROR: CronJobId end10
[2025-01-11 20:04:12] Production.INFO: ==19151== Releasing lock...
[2025-01-11 20:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:04:13] Production.INFO: call_cost start
[2025-01-11 20:04:13] Production.INFO: call_cost end
[2025-01-11 20:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:04:14] Production.INFO: ==19147== Releasing lock...
[2025-01-11 20:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:04:18] Production.INFO: count ==2080
[2025-01-11 20:04:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:04:04 - End Time 2025-01-11 20:04:04
[2025-01-11 20:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226579', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226579', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226579', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226579', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:04:18] Production.INFO: ProcessCDR(1,14226579,1,1,2)
[2025-01-11 20:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226579', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226579', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:04:21] Production.INFO: ==19155== Releasing lock...
[2025-01-11 20:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:04:21] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 01:05:02] Production.INFO: ==19240== Lock acquired, processing the job...
[2025-01-12 01:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:05:02] Production.INFO: neon service started
[2025-01-12 01:05:02] Production.INFO: neon service started
[2025-01-12 01:05:02] Production.INFO: ==19240== Releasing lock...
[2025-01-12 01:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:05:02] Production.INFO: ==19244== Lock acquired, processing the job...
[2025-01-12 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:05:02] Production.INFO: ==19244== Releasing lock...
[2025-01-12 01:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:05:02] Production.INFO: ==19242== Lock acquired, processing the job...
[2025-01-11 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:05:02] Production.INFO: ==19242== Releasing lock...
[2025-01-11 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:05:03] Production.INFO: ==19252== Lock acquired, processing the job...
[2025-01-11 20:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:05:03] Production.INFO: ==19246== Lock acquired, processing the job...
[2025-01-11 20:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:05:03] Production.INFO: ==19256== Lock acquired, processing the job...
[2025-01-11 20:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:05:03] Production.INFO: Account Balance Start.
[2025-01-11 20:05:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:05:03] Production.INFO: 117
[2025-01-11 20:05:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:05:03] Production.INFO: ==19248== Lock acquired, processing the job...
[2025-01-11 20:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:05:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:05:03] Production.INFO: ==19254== Lock acquired, processing the job...
[2025-01-11 20:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:05:03] Production.INFO: ==19250== Lock acquired, processing the job...
[2025-01-11 20:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:05:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 20: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-01-11 20:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:05:03] Production.INFO: count ==21
[2025-01-11 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-01-11 20:05:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:05:04] Production.INFO: count ==21
[2025-01-11 20:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226581') start
[2025-01-11 20:05:04] Production.INFO: Total Charge 0
[2025-01-11 20:05:04] Production.INFO: CreateAllLog End
[2025-01-11 20:05:04] Production.INFO: ==19248== Releasing lock...
[2025-01-11 20:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226581') end
[2025-01-11 20:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:05:04] Production.INFO: 1
[2025-01-11 20:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:05:04] Production.INFO: ==19256== Releasing lock...
[2025-01-11 20:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:05:04] Production.ERROR: done
[2025-01-11 20:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:05:04] Production.ERROR: done
[2025-01-11 20:05:04] Production.INFO: Account Balance End.
[2025-01-11 20:05:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:05:04] Production.INFO: ==19252== Releasing lock...
[2025-01-11 20:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:05:05
[end_date_ymd] => 2025-01-11 20:05:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:05:05' and `end` < '2025-01-11 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-01-11 20:05:11] Production.ERROR: CronJobId end10
[2025-01-11 20:05:11] Production.INFO: ==19250== Releasing lock...
[2025-01-11 20:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:05:13] Production.INFO: call_cost start
[2025-01-11 20:05:13] Production.INFO: call_cost end
[2025-01-11 20:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:05:14] Production.INFO: ==19246== Releasing lock...
[2025-01-11 20:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:05:18] Production.INFO: count ==2077
[2025-01-11 20:05:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:05:05 - End Time 2025-01-11 20:05:05
[2025-01-11 20:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226584', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226584', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226584', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226584', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:05:18] Production.INFO: ProcessCDR(1,14226584,1,1,2)
[2025-01-11 20:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226584', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226584', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:05:21] Production.INFO: ==19254== Releasing lock...
[2025-01-11 20:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:05:22] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 01:06:01] Production.INFO: ==19341== Lock acquired, processing the job...
[2025-01-12 01:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:06:01] Production.INFO: neon service started
[2025-01-12 01:06:01] Production.INFO: neon service started
[2025-01-12 01:06:01] Production.INFO: ==19341== Releasing lock...
[2025-01-12 01:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:06:01] Production.INFO: ==19345== Lock acquired, processing the job...
[2025-01-12 01:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:06:02] Production.INFO: ==19345== Releasing lock...
[2025-01-12 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:06:02] Production.INFO: ==19343== Lock acquired, processing the job...
[2025-01-11 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:06:02] Production.INFO: ==19343== Releasing lock...
[2025-01-11 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:06:03] Production.INFO: ==19350== Lock acquired, processing the job...
[2025-01-11 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:06:03] Production.INFO: ==19348== Lock acquired, processing the job...
[2025-01-11 20:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:06:03] Production.INFO: ==19356== Lock acquired, processing the job...
[2025-01-11 20:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:06:03] Production.INFO: ==19352== Lock acquired, processing the job...
[2025-01-11 20:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:06:03] Production.INFO: ==19354== Lock acquired, processing the job...
[2025-01-11 20:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:06:03] Production.INFO: ==19358== Lock acquired, processing the job...
[2025-01-11 20:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:06:03] Production.INFO: Account Balance Start.
[2025-01-11 20:06:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:06:03] Production.INFO: 117
[2025-01-11 20:06:03] Production.INFO: ==19350== Releasing lock...
[2025-01-11 20:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:06:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:06:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 20: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-01-11 20:06:03] Production.INFO: count ==21
[2025-01-11 20:06:03] Production.INFO: Date 2025-01-10
[2025-01-11 20: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-01-11 20:06:03] Production.INFO: count ==21
[2025-01-11 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226588') start
[2025-01-11 20:06:03] Production.ERROR: done
[2025-01-11 20:06:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:06:03] Production.INFO: Total Charge 0
[2025-01-11 20:06:03] Production.INFO: CreateAllLog End
[2025-01-11 20:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226588') end
[2025-01-11 20:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:06:03] Production.INFO: 1
[2025-01-11 20:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:06:04] Production.INFO: ==19358== Releasing lock...
[2025-01-11 20:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:06:04] Production.ERROR: done
[2025-01-11 20:06:04] Production.INFO: Account Balance End.
[2025-01-11 20:06:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:06:04] Production.INFO: ==19354== Releasing lock...
[2025-01-11 20:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:06:05
[end_date_ymd] => 2025-01-11 20:06:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:06:05' and `end` < '2025-01-11 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-01-11 20:06:11] Production.ERROR: CronJobId end10
[2025-01-11 20:06:11] Production.INFO: ==19352== Releasing lock...
[2025-01-11 20:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:06:13] Production.INFO: call_cost start
[2025-01-11 20:06:13] Production.INFO: call_cost end
[2025-01-11 20:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:06:14] Production.INFO: ==19348== Releasing lock...
[2025-01-11 20:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:06:19] Production.INFO: count ==2072
[2025-01-11 20:06:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:06:05 - End Time 2025-01-11 20:06:05
[2025-01-11 20:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226589', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226589', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226589', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226589', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:06:20] Production.INFO: ProcessCDR(1,14226589,1,1,2)
[2025-01-11 20:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:06:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226589', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:06:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226589', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:06:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:06:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:06:24] Production.INFO: ==19356== Releasing lock...
[2025-01-11 20:06:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:06:24] Production.INFO: 43.25 MB #Memory Used#
[2025-01-12 01:07:01] Production.INFO: ==19441== Lock acquired, processing the job...
[2025-01-12 01:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:07:01] Production.INFO: neon service started
[2025-01-12 01:07:01] Production.INFO: neon service started
[2025-01-12 01:07:01] Production.INFO: ==19441== Releasing lock...
[2025-01-12 01:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:07:02] Production.INFO: ==19445== Lock acquired, processing the job...
[2025-01-12 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:07:02] Production.INFO: ==19445== Releasing lock...
[2025-01-12 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:07:02] Production.INFO: ==19443== Lock acquired, processing the job...
[2025-01-11 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:07:02] Production.INFO: ==19443== Releasing lock...
[2025-01-11 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:07:03] Production.INFO: ==19448== Lock acquired, processing the job...
[2025-01-11 20:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:07:03] Production.INFO: ==19450== Lock acquired, processing the job...
[2025-01-11 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:07:03] Production.INFO: ==19452== Lock acquired, processing the job...
[2025-01-11 20:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:07:03] Production.INFO: ==19454== Lock acquired, processing the job...
[2025-01-11 20:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:07:03] Production.INFO: ==19450== Releasing lock...
[2025-01-11 20:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:07:03] Production.INFO: ==19456== Lock acquired, processing the job...
[2025-01-11 20:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:07:03] Production.INFO: Account Balance Start.
[2025-01-11 20:07:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:07:03] Production.INFO: 117
[2025-01-11 20:07:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:07:03] Production.INFO: ==19458== Lock acquired, processing the job...
[2025-01-11 20:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:07:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:07:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:07:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:07:04] Production.INFO: Total Charge 0
[2025-01-11 20: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-01-11 20:07:04] Production.INFO: CreateAllLog End
[2025-01-11 20:07:04] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:07:04] Production.INFO: count ==21
[2025-01-11 20:07:04] Production.ERROR: done
[2025-01-11 20:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226593') start
[2025-01-11 20:07:04] Production.INFO: Account Balance End.
[2025-01-11 20:07:04] Production.ERROR: done
[2025-01-11 20:07:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:07:04] Production.INFO: ==19454== Releasing lock...
[2025-01-11 20:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226593') end
[2025-01-11 20:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:07:04] Production.INFO: 1
[2025-01-11 20:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:07:04] Production.INFO: ==19458== Releasing lock...
[2025-01-11 20:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:07:05
[end_date_ymd] => 2025-01-11 20:07:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:07:05' and `end` < '2025-01-11 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-01-11 20:07:12] Production.ERROR: CronJobId end10
[2025-01-11 20:07:12] Production.INFO: ==19452== Releasing lock...
[2025-01-11 20:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:07:13] Production.INFO: call_cost start
[2025-01-11 20:07:13] Production.INFO: call_cost end
[2025-01-11 20:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:07:14] Production.INFO: ==19448== Releasing lock...
[2025-01-11 20:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:07:19] Production.INFO: count ==2070
[2025-01-11 20:07:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:07:05 - End Time 2025-01-11 20:07:05
[2025-01-11 20:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226594', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226594', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226594', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226594', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:07:19] Production.INFO: ProcessCDR(1,14226594,1,1,2)
[2025-01-11 20:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226594', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226594', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:07:22] Production.INFO: ==19456== Releasing lock...
[2025-01-11 20:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:07:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 01:08:01] Production.INFO: ==19538== Lock acquired, processing the job...
[2025-01-12 01:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:08:01] Production.INFO: neon service started
[2025-01-12 01:08:01] Production.INFO: neon service started
[2025-01-12 01:08:01] Production.INFO: ==19538== Releasing lock...
[2025-01-12 01:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:08:02] Production.INFO: ==19542== Lock acquired, processing the job...
[2025-01-11 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:08:02] Production.INFO: ==19544== Lock acquired, processing the job...
[2025-01-12 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:08:02] Production.INFO: ==19544== Releasing lock...
[2025-01-12 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:08:02] Production.INFO: ==19542== Releasing lock...
[2025-01-11 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:08:03] Production.INFO: ==19555== Lock acquired, processing the job...
[2025-01-11 20:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:08:03] Production.INFO: ==19557== Lock acquired, processing the job...
[2025-01-11 20:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:08:03] Production.INFO: ==19547== Lock acquired, processing the job...
[2025-01-11 20:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20: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-01-11 20:08:03] Production.INFO: ==19551== Lock acquired, processing the job...
[2025-01-11 20:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:08:03] Production.INFO: count ==21
[2025-01-11 20:08:03] Production.INFO: ==19549== Lock acquired, processing the job...
[2025-01-11 20:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20: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-01-11 20:08:03] Production.INFO: count ==21
[2025-01-11 20:08:03] Production.INFO: ==19553== Lock acquired, processing the job...
[2025-01-11 20:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226595') start
[2025-01-11 20:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:08:03] Production.ERROR: done
[2025-01-11 20:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:08:03] Production.INFO: Account Balance Start.
[2025-01-11 20:08:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:08:03] Production.INFO: 117
[2025-01-11 20:08:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226595') end
[2025-01-11 20:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:08:03] Production.INFO: 1
[2025-01-11 20:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:08:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:08:04] Production.INFO: ==19557== Releasing lock...
[2025-01-11 20:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:08:04] Production.ERROR: done
[2025-01-11 20:08:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:08:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:08:04] Production.INFO: Total Charge 0
[2025-01-11 20:08:04] Production.INFO: CreateAllLog End
[2025-01-11 20:08:04] Production.INFO: ==19549== Releasing lock...
[2025-01-11 20:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:08:04] Production.INFO: Account Balance End.
[2025-01-11 20:08:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:08:04] Production.INFO: ==19553== Releasing lock...
[2025-01-11 20:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:08:04
[end_date_ymd] => 2025-01-11 20:08:04
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:08:04' and `end` < '2025-01-11 20: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-01-11 20:08:11] Production.ERROR: CronJobId end10
[2025-01-11 20:08:11] Production.INFO: ==19551== Releasing lock...
[2025-01-11 20:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:08:13] Production.INFO: call_cost start
[2025-01-11 20:08:13] Production.INFO: call_cost end
[2025-01-11 20:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:08:14] Production.INFO: ==19547== Releasing lock...
[2025-01-11 20:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:08:18] Production.INFO: count ==2067
[2025-01-11 20:08:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:08:04 - End Time 2025-01-11 20:08:04
[2025-01-11 20:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226599', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226599', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226599', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226599', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:08:19] Production.INFO: ProcessCDR(1,14226599,1,1,2)
[2025-01-11 20:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226599', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226599', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:08:22] Production.INFO: ==19555== Releasing lock...
[2025-01-11 20:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:08:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 01:09:01] Production.INFO: ==19639== Lock acquired, processing the job...
[2025-01-12 01:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:09:01] Production.INFO: neon service started
[2025-01-12 01:09:01] Production.INFO: neon service started
[2025-01-12 01:09:01] Production.INFO: ==19639== Releasing lock...
[2025-01-12 01:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:09:02] Production.INFO: ==19641== Lock acquired, processing the job...
[2025-01-11 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:09:02] Production.INFO: ==19641== Releasing lock...
[2025-01-11 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:09:02] Production.INFO: ==19643== Lock acquired, processing the job...
[2025-01-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:09:02] Production.INFO: ==19643== Releasing lock...
[2025-01-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:09:03] Production.INFO: ==19646== Lock acquired, processing the job...
[2025-01-11 20:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:09:03] Production.INFO: ==19648== Lock acquired, processing the job...
[2025-01-11 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:09:03] Production.INFO: ==19650== Lock acquired, processing the job...
[2025-01-11 20:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:09:03] Production.INFO: ==19652== Lock acquired, processing the job...
[2025-01-11 20:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:09:03] Production.INFO: ==19654== Lock acquired, processing the job...
[2025-01-11 20:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:09:03] Production.INFO: Account Balance Start.
[2025-01-11 20:09:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:09:03] Production.INFO: 117
[2025-01-11 20:09:03] Production.INFO: ==19656== Lock acquired, processing the job...
[2025-01-11 20:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:09:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:09:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:09:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:09:03] Production.INFO: ==19648== Releasing lock...
[2025-01-11 20:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:09:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:09:03] Production.INFO: Total Charge 0
[2025-01-11 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-01-11 20:09:03] Production.INFO: CreateAllLog End
[2025-01-11 20:09:03] Production.INFO: count ==21
[2025-01-11 20:09:03] Production.ERROR: done
[2025-01-11 20:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:09:04] Production.INFO: count ==21
[2025-01-11 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226603') start
[2025-01-11 20:09:04] Production.INFO: Account Balance End.
[2025-01-11 20:09:04] Production.ERROR: done
[2025-01-11 20:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226603') end
[2025-01-11 20:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:09:04] Production.INFO: 1
[2025-01-11 20:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:09:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:09:04] Production.INFO: ==19652== Releasing lock...
[2025-01-11 20:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:09:04] Production.INFO: ==19656== Releasing lock...
[2025-01-11 20:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:09:05
[end_date_ymd] => 2025-01-11 20:09:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:09:05' and `end` < '2025-01-11 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-01-11 20:09:12] Production.ERROR: CronJobId end10
[2025-01-11 20:09:12] Production.INFO: ==19650== Releasing lock...
[2025-01-11 20:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:09:13] Production.INFO: call_cost start
[2025-01-11 20:09:13] Production.INFO: call_cost end
[2025-01-11 20:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:09:14] Production.INFO: ==19646== Releasing lock...
[2025-01-11 20:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:09:19] Production.INFO: count ==2068
[2025-01-11 20:09:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:09:05 - End Time 2025-01-11 20:09:05
[2025-01-11 20:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226604', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226604', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226604', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226604', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:09:19] Production.INFO: ProcessCDR(1,14226604,1,1,2)
[2025-01-11 20:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226604', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226604', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:09:22] Production.INFO: ==19654== Releasing lock...
[2025-01-11 20:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:09:22] Production.INFO: 43 MB #Memory Used#
[2025-01-12 01:10:02] Production.INFO: ==19739== Lock acquired, processing the job...
[2025-01-12 01:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:10:02] Production.INFO: neon service started
[2025-01-12 01:10:02] Production.INFO: neon service started
[2025-01-12 01:10:02] Production.INFO: ==19739== Releasing lock...
[2025-01-12 01:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:10:02] Production.INFO: ==19741== Lock acquired, processing the job...
[2025-01-11 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:10:03] Production.INFO: ==19741== Releasing lock...
[2025-01-11 20:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:10:03] Production.INFO: ==19743== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:10:03] Production.INFO: ==19743== Releasing lock...
[2025-01-12 01:10:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:10:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:10:03] Production.INFO: ==19746== Lock acquired, processing the job...
[2025-01-11 20:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 20:10:04] Production.INFO: ==19748== Lock acquired, processing the job...
[2025-01-11 20:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 20:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 20:10:04] Production.INFO: ==19746== Releasing lock...
[2025-01-11 20:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 20:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 20:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:10:04] Production.INFO: ==19752== Lock acquired, processing the job...
[2025-01-11 20:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:10:04] Production.INFO: ==19754== Lock acquired, processing the job...
[2025-01-11 20:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:10:04] Production.INFO: Account Balance Start.
[2025-01-11 20:10:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:10:04] Production.INFO: 117
[2025-01-11 20:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:10:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:10:04] Production.INFO: ==19750== Lock acquired, processing the job...
[2025-01-11 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:10:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:10:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:10:04] Production.INFO: ==19756== Lock acquired, processing the job...
[2025-01-11 20:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:10:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:10:04] Production.INFO: ==19760== Lock acquired, processing the job...
[2025-01-11 20:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:10:04] Production.INFO: ==19758== Lock acquired, processing the job...
[2025-01-11 20:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 20:10:04] Production.INFO: Total Charge 0
[2025-01-11 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:10:04] Production.INFO: CreateAllLog End
[2025-01-11 20:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 20:10:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:10:04] Production.INFO: count ==21
[2025-01-11 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226608') start
[2025-01-11 20:10:04] Production.INFO: ==19750== Releasing lock...
[2025-01-11 20:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:10:04] Production.ERROR: done
[2025-01-11 20:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226608') end
[2025-01-11 20:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:10:04] Production.INFO: 1
[2025-01-11 20:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:10:05] Production.INFO: Account Balance End.
[2025-01-11 20:10:05] Production.ERROR: done
[2025-01-11 20:10:05] Production.INFO: ==19760== Releasing lock...
[2025-01-11 20:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:10:05] Production.ERROR: CronJobId end 12
[2025-01-11 20:10:05] Production.INFO: ==19754== Releasing lock...
[2025-01-11 20:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:10:05] Production.ERROR: done
[2025-01-11 20:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 20:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226609', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 20:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:10:06
[end_date_ymd] => 2025-01-11 20:10:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:10:06' and `end` < '2025-01-11 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-01-11 20:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226609', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 20:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 20:10:09] Production.INFO: ProcessCDR(1,14226609,1,1,2)
[2025-01-11 20:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226609,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226609,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:10:09] Production.INFO: ==19758== Releasing lock...
[2025-01-11 20:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 20:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 20:10:14] Production.ERROR: CronJobId end10
[2025-01-11 20:10:14] Production.INFO: ==19752== Releasing lock...
[2025-01-11 20:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:10:15] Production.INFO: call_cost start
[2025-01-11 20:10:15] Production.INFO: call_cost end
[2025-01-11 20:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:10:16] Production.INFO: ==19748== Releasing lock...
[2025-01-11 20:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:10:19] Production.INFO: count ==2071
[2025-01-11 20:10:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:10:06 - End Time 2025-01-11 20:10:06
[2025-01-11 20:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226610', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226610', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226610', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226610', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:10:19] Production.INFO: ProcessCDR(1,14226610,1,1,2)
[2025-01-11 20:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226610', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226610', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:10:24] Production.INFO: ==19756== Releasing lock...
[2025-01-11 20:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:10:24] Production.INFO: 43 MB #Memory Used#
[2025-01-12 01:11:01] Production.INFO: ==19850== Lock acquired, processing the job...
[2025-01-12 01:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:11:01] Production.INFO: neon service started
[2025-01-12 01:11:01] Production.INFO: neon service started
[2025-01-12 01:11:01] Production.INFO: ==19850== Releasing lock...
[2025-01-12 01:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:11:02] Production.INFO: ==19855== Lock acquired, processing the job...
[2025-01-11 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:11:02] Production.INFO: ==19855== Releasing lock...
[2025-01-11 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:11:02] Production.INFO: ==19857== Lock acquired, processing the job...
[2025-01-12 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:11:02] Production.INFO: ==19857== Releasing lock...
[2025-01-12 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:11:03] Production.INFO: ==19859== Lock acquired, processing the job...
[2025-01-11 20:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:11:03] Production.INFO: ==19867== Lock acquired, processing the job...
[2025-01-11 20:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:11:03] Production.INFO: ==19863== Lock acquired, processing the job...
[2025-01-11 20:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:11:03] Production.INFO: ==19861== Lock acquired, processing the job...
[2025-01-11 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:11:03] Production.INFO: ==19865== Lock acquired, processing the job...
[2025-01-11 20:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:11:03] Production.INFO: ==19869== Lock acquired, processing the job...
[2025-01-11 20:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:11:03] Production.INFO: Account Balance Start.
[2025-01-11 20:11:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:11:03] Production.INFO: 117
[2025-01-11 20:11:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:11:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:11:03] Production.INFO: count ==21
[2025-01-11 20:11:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:11:03] Production.INFO: count ==21
[2025-01-11 20:11:03] Production.INFO: ==19861== Releasing lock...
[2025-01-11 20:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:11:03] Production.ERROR: done
[2025-01-11 20:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226614') start
[2025-01-11 20:11:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:11:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226614') end
[2025-01-11 20:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:11:04] Production.INFO: 1
[2025-01-11 20:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:11:04] Production.INFO: Total Charge 0
[2025-01-11 20:11:04] Production.INFO: CreateAllLog End
[2025-01-11 20:11:04] Production.INFO: ==19869== Releasing lock...
[2025-01-11 20:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:11:04] Production.ERROR: done
[2025-01-11 20:11:04] Production.INFO: Account Balance End.
[2025-01-11 20:11:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:11:04] Production.INFO: ==19865== Releasing lock...
[2025-01-11 20:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:11:04
[end_date_ymd] => 2025-01-11 20:11:04
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:11:04' and `end` < '2025-01-11 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-01-11 20:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:11:13] Production.ERROR: CronJobId end10
[2025-01-11 20:11:13] Production.INFO: ==19863== Releasing lock...
[2025-01-11 20:11:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:11:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:11:13] Production.INFO: call_cost start
[2025-01-11 20:11:13] Production.INFO: call_cost end
[2025-01-11 20:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:11:14] Production.INFO: ==19859== Releasing lock...
[2025-01-11 20:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:11:18] Production.INFO: count ==2042
[2025-01-11 20:11:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:11:04 - End Time 2025-01-11 20:11:04
[2025-01-11 20:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226615', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226615', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226615', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226615', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:11:18] Production.INFO: ProcessCDR(1,14226615,1,1,2)
[2025-01-11 20:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226615', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226615', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:11:21] Production.INFO: ==19867== Releasing lock...
[2025-01-11 20:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:11:21] Production.INFO: 43 MB #Memory Used#
[2025-01-12 01:12:02] Production.INFO: ==19983== Lock acquired, processing the job...
[2025-01-12 01:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:12:02] Production.INFO: neon service started
[2025-01-12 01:12:02] Production.INFO: neon service started
[2025-01-12 01:12:02] Production.INFO: ==19983== Releasing lock...
[2025-01-12 01:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:12:02] Production.INFO: ==19985== Lock acquired, processing the job...
[2025-01-11 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:12:02] Production.INFO: ==19985== Releasing lock...
[2025-01-11 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:12:02] Production.INFO: ==19987== Lock acquired, processing the job...
[2025-01-12 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:12:02] Production.INFO: ==19987== Releasing lock...
[2025-01-12 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:12:03] Production.INFO: ==19990== Lock acquired, processing the job...
[2025-01-11 20:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:12:03] Production.INFO: ==19998== Lock acquired, processing the job...
[2025-01-11 20:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:12:03] Production.INFO: ==19992== Lock acquired, processing the job...
[2025-01-11 20:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:12:03] Production.INFO: ==20000== Lock acquired, processing the job...
[2025-01-11 20:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:12:03] Production.INFO: ==19994== Lock acquired, processing the job...
[2025-01-11 20:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:12:03] Production.INFO: ==19996== Lock acquired, processing the job...
[2025-01-11 20:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20: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-01-11 20:12:03] Production.INFO: Account Balance Start.
[2025-01-11 20:12:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:12:03] Production.INFO: 117
[2025-01-11 20:12:03] Production.ERROR: done
[2025-01-11 20:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:12:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:12:03] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:12:03] Production.INFO: count ==21
[2025-01-11 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226617') start
[2025-01-11 20:12:04] Production.ERROR: done
[2025-01-11 20:12:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:12:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226617') end
[2025-01-11 20:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:12:04] Production.INFO: 1
[2025-01-11 20:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:12:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:12:04] Production.INFO: ==20000== Releasing lock...
[2025-01-11 20:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:12:04] Production.INFO: ==19992== Releasing lock...
[2025-01-11 20:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:12:04] Production.INFO: Total Charge 0
[2025-01-11 20:12:04] Production.INFO: CreateAllLog End
[2025-01-11 20:12:04] Production.INFO: Account Balance End.
[2025-01-11 20:12:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:12:04] Production.INFO: ==19996== Releasing lock...
[2025-01-11 20:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:12:05
[end_date_ymd] => 2025-01-11 20:12:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:12:05' and `end` < '2025-01-11 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-01-11 20:12:13] Production.ERROR: CronJobId end10
[2025-01-11 20:12:13] Production.INFO: ==19994== Releasing lock...
[2025-01-11 20:12:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:12:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:12:14] Production.INFO: call_cost start
[2025-01-11 20:12:14] Production.INFO: call_cost end
[2025-01-11 20:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:12:15] Production.INFO: ==19990== Releasing lock...
[2025-01-11 20:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:12:18] Production.INFO: count ==2037
[2025-01-11 20:12:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:12:05 - End Time 2025-01-11 20:12:05
[2025-01-11 20:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226620', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226620', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226620', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226620', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:12:18] Production.INFO: ProcessCDR(1,14226620,1,1,2)
[2025-01-11 20:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226620', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226620', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:12:21] Production.INFO: ==19998== Releasing lock...
[2025-01-11 20:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:12:21] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:13:01] Production.INFO: ==20114== Lock acquired, processing the job...
[2025-01-12 01:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:13:01] Production.INFO: neon service started
[2025-01-12 01:13:01] Production.INFO: neon service started
[2025-01-12 01:13:01] Production.INFO: ==20114== Releasing lock...
[2025-01-12 01:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:13:01] Production.INFO: ==20118== Lock acquired, processing the job...
[2025-01-12 01:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:13:01] Production.INFO: ==20118== Releasing lock...
[2025-01-12 01:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:13:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:13:02] Production.INFO: ==20116== Lock acquired, processing the job...
[2025-01-11 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:13:02] Production.INFO: ==20116== Releasing lock...
[2025-01-11 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:13:03] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-01-11 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:13:03] Production.INFO: ==20129== Lock acquired, processing the job...
[2025-01-11 20:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:13:03] Production.INFO: Account Balance Start.
[2025-01-11 20:13:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:13:03] Production.INFO: 117
[2025-01-11 20:13:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:13:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:13:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:13:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:13:03] Production.INFO: ==20121== Lock acquired, processing the job...
[2025-01-11 20:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:13:03] Production.INFO: ==20125== Lock acquired, processing the job...
[2025-01-11 20:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:13:03] Production.INFO: ==20123== Lock acquired, processing the job...
[2025-01-11 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:13:03] Production.ERROR: done
[2025-01-11 20:13:03] Production.INFO: ==20131== Lock acquired, processing the job...
[2025-01-11 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:13:03] Production.INFO: Total Charge 0
[2025-01-11 20:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:13:03] Production.INFO: CreateAllLog End
[2025-01-11 20:13:03] Production.INFO: count ==21
[2025-01-11 20:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:13:03] Production.INFO: count ==21
[2025-01-11 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226624') start
[2025-01-11 20:13:03] Production.ERROR: done
[2025-01-11 20:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226624') end
[2025-01-11 20:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:13:03] Production.INFO: 1
[2025-01-11 20:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:13:03] Production.INFO: ==20131== Releasing lock...
[2025-01-11 20:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:13:03] Production.INFO: Account Balance End.
[2025-01-11 20:13:03] Production.INFO: ==20123== Releasing lock...
[2025-01-11 20:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:13:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:13:03] Production.INFO: ==20127== Releasing lock...
[2025-01-11 20:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:13:04
[end_date_ymd] => 2025-01-11 20:13:04
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:13:04' and `end` < '2025-01-11 20: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-01-11 20:13:11] Production.ERROR: CronJobId end10
[2025-01-11 20:13:11] Production.INFO: ==20125== Releasing lock...
[2025-01-11 20:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:13:13] Production.INFO: call_cost start
[2025-01-11 20:13:13] Production.INFO: call_cost end
[2025-01-11 20:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:13:14] Production.INFO: ==20121== Releasing lock...
[2025-01-11 20:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:13:18] Production.INFO: count ==2038
[2025-01-11 20:13:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:13:04 - End Time 2025-01-11 20:13:04
[2025-01-11 20:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226625', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226625', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226625', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226625', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:13:18] Production.INFO: ProcessCDR(1,14226625,1,1,2)
[2025-01-11 20:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226625', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226625', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:13:21] Production.INFO: ==20129== Releasing lock...
[2025-01-11 20:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:13:21] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:14:01] Production.INFO: ==20221== Lock acquired, processing the job...
[2025-01-12 01:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:14:01] Production.INFO: neon service started
[2025-01-12 01:14:01] Production.INFO: neon service started
[2025-01-12 01:14:01] Production.INFO: ==20221== Releasing lock...
[2025-01-12 01:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:14:02] Production.INFO: ==20223== Lock acquired, processing the job...
[2025-01-11 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:14:02] Production.INFO: ==20223== Releasing lock...
[2025-01-11 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:14:02] Production.INFO: ==20225== Lock acquired, processing the job...
[2025-01-12 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:14:02] Production.INFO: ==20225== Releasing lock...
[2025-01-12 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:14:03] Production.INFO: ==20230== Lock acquired, processing the job...
[2025-01-11 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:14:03] Production.INFO: ==20232== Lock acquired, processing the job...
[2025-01-11 20:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:14:03] Production.INFO: ==20234== Lock acquired, processing the job...
[2025-01-11 20:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:14:03] Production.INFO: ==20230== Releasing lock...
[2025-01-11 20:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:14:03] Production.INFO: ==20228== Lock acquired, processing the job...
[2025-01-11 20:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:14:03] Production.INFO: Account Balance Start.
[2025-01-11 20:14:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:14:03] Production.INFO: 117
[2025-01-11 20:14:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:14:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:14:04] Production.INFO: ==20236== Lock acquired, processing the job...
[2025-01-11 20:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:14:04] Production.INFO: ==20238== Lock acquired, processing the job...
[2025-01-11 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:14:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:14:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:14:04] Production.INFO: Total Charge 0
[2025-01-11 20:14:04] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 20:14:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:14:04] Production.INFO: count ==21
[2025-01-11 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226629') start
[2025-01-11 20:14:04] Production.INFO: Account Balance End.
[2025-01-11 20:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226629') end
[2025-01-11 20:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:14:04] Production.INFO: 1
[2025-01-11 20:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:14:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:14:04] Production.INFO: ==20234== Releasing lock...
[2025-01-11 20:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:14:04] Production.INFO: ==20238== Releasing lock...
[2025-01-11 20:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:14:04] Production.ERROR: done
[2025-01-11 20:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:14:04] Production.ERROR: done
[2025-01-11 20:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:14:05
[end_date_ymd] => 2025-01-11 20:14:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:14:05' and `end` < '2025-01-11 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-01-11 20:14:12] Production.ERROR: CronJobId end10
[2025-01-11 20:14:12] Production.INFO: ==20232== Releasing lock...
[2025-01-11 20:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:14:14] Production.INFO: call_cost start
[2025-01-11 20:14:14] Production.INFO: call_cost end
[2025-01-11 20:14:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:14:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:14:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:14:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:14:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:14:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:14:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:14:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:14:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:14:15] Production.INFO: ==20228== Releasing lock...
[2025-01-11 20:14:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:14:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:14:21] Production.INFO: count ==2041
[2025-01-11 20:14:21] Production.ERROR: pbx CDR StartTime 2025-01-11 17:14:05 - End Time 2025-01-11 20:14:05
[2025-01-11 20:14:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226630', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226630', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226630', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:14:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226630', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:14:21] Production.INFO: ProcessCDR(1,14226630,1,1,2)
[2025-01-11 20:14:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:14:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:14:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:14:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226630', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:14:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226630', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:14:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:14:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:14:26] Production.INFO: ==20236== Releasing lock...
[2025-01-11 20:14:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:14:26] Production.INFO: 43 MB #Memory Used#
[2025-01-12 01:15:01] Production.INFO: ==20326== Lock acquired, processing the job...
[2025-01-12 01:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:15:01] Production.INFO: neon service started
[2025-01-12 01:15:01] Production.INFO: neon service started
[2025-01-12 01:15:01] Production.INFO: ==20326== Releasing lock...
[2025-01-12 01:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:15:01] Production.INFO: ==20328== Lock acquired, processing the job...
[2025-01-11 20:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:15:02] Production.INFO: ==20328== Releasing lock...
[2025-01-11 20:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:15:02] Production.INFO: ==20330== Lock acquired, processing the job...
[2025-01-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:15:02] Production.INFO: ==20330== Releasing lock...
[2025-01-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:15:02] Production.INFO: ==20342== Lock acquired, processing the job...
[2025-01-11 20:15:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:15:02] Production.INFO: ==20338== Lock acquired, processing the job...
[2025-01-11 20:15:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:15:03] Production.INFO: Account Balance Start.
[2025-01-11 20:15:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:15:03] Production.INFO: 117
[2025-01-11 20:15:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:15:03] Production.INFO: count ==21
[2025-01-11 20:15:03] Production.INFO: ==20332== Lock acquired, processing the job...
[2025-01-11 20:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:15:03] Production.INFO: count ==21
[2025-01-11 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226631') start
[2025-01-11 20:15:03] Production.INFO: ==20334== Lock acquired, processing the job...
[2025-01-11 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:15:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:15:03] Production.INFO: ==20336== Lock acquired, processing the job...
[2025-01-11 20:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:15:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:15:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226631') end
[2025-01-11 20:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:15:03] Production.INFO: 1
[2025-01-11 20:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:15:03] Production.INFO: ==20340== Lock acquired, processing the job...
[2025-01-11 20:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:15:03] Production.INFO: ==20342== Releasing lock...
[2025-01-11 20:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:15:03] Production.INFO: Total Charge 0
[2025-01-11 20:15:03] Production.INFO: CreateAllLog End
[2025-01-11 20:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:15:03] Production.INFO: ==20334== Releasing lock...
[2025-01-11 20:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:15:03] Production.ERROR: done
[2025-01-11 20:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:15:03] Production.ERROR: done
[2025-01-11 20:15:03] Production.INFO: Account Balance End.
[2025-01-11 20:15:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:15:03] Production.INFO: ==20338== Releasing lock...
[2025-01-11 20:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:15:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:15:04
[end_date_ymd] => 2025-01-11 20:15:04
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:15:04' and `end` < '2025-01-11 20: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-01-11 20:15:11] Production.ERROR: CronJobId end10
[2025-01-11 20:15:11] Production.INFO: ==20336== Releasing lock...
[2025-01-11 20:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:15:14] Production.INFO: call_cost start
[2025-01-11 20:15:14] Production.INFO: call_cost end
[2025-01-11 20:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:15:14] Production.INFO: ==20332== Releasing lock...
[2025-01-11 20:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:15:18] Production.INFO: count ==2037
[2025-01-11 20:15:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:15:04 - End Time 2025-01-11 20:15:04
[2025-01-11 20:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226635', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226635', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226635', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226635', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:15:18] Production.INFO: ProcessCDR(1,14226635,1,1,2)
[2025-01-11 20:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226635', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226635', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:15:21] Production.INFO: ==20340== Releasing lock...
[2025-01-11 20:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:15:21] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:16:01] Production.INFO: ==20433== Lock acquired, processing the job...
[2025-01-12 01:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:16:01] Production.INFO: neon service started
[2025-01-12 01:16:01] Production.INFO: neon service started
[2025-01-12 01:16:01] Production.INFO: ==20433== Releasing lock...
[2025-01-12 01:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:16:02] Production.INFO: ==20435== Lock acquired, processing the job...
[2025-01-11 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:16:02] Production.INFO: ==20435== Releasing lock...
[2025-01-11 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:16:02] Production.INFO: ==20437== Lock acquired, processing the job...
[2025-01-12 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:16:02] Production.INFO: ==20437== Releasing lock...
[2025-01-12 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:16:03] Production.INFO: ==20440== Lock acquired, processing the job...
[2025-01-11 20:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:16:03] Production.INFO: ==20450== Lock acquired, processing the job...
[2025-01-11 20:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:16:03] Production.INFO: ==20444== Lock acquired, processing the job...
[2025-01-11 20:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:16:03] Production.INFO: ==20442== Lock acquired, processing the job...
[2025-01-11 20:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:16:03] Production.INFO: ==20446== Lock acquired, processing the job...
[2025-01-11 20:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:16:03] Production.INFO: ==20448== Lock acquired, processing the job...
[2025-01-11 20:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:16:03] Production.INFO: Account Balance Start.
[2025-01-11 20:16:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:16:03] Production.INFO: 117
[2025-01-11 20:16:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20: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-01-11 20:16:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:16:03] Production.INFO: count ==21
[2025-01-11 20:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20: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-01-11 20:16:03] Production.INFO: count ==21
[2025-01-11 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226637') start
[2025-01-11 20:16:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:16:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226637') end
[2025-01-11 20:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:16:03] Production.INFO: 1
[2025-01-11 20:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:16:03] Production.INFO: Total Charge 0
[2025-01-11 20:16:03] Production.INFO: CreateAllLog End
[2025-01-11 20:16:04] Production.INFO: ==20450== Releasing lock...
[2025-01-11 20:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:16:04] Production.INFO: ==20442== Releasing lock...
[2025-01-11 20:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:16:04] Production.ERROR: done
[2025-01-11 20:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:16:04] Production.INFO: Account Balance End.
[2025-01-11 20:16:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:16:04] Production.INFO: ==20446== Releasing lock...
[2025-01-11 20:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:16:04] Production.ERROR: done
[2025-01-11 20:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:16:05
[end_date_ymd] => 2025-01-11 20:16:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:16:05' and `end` < '2025-01-11 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-01-11 20:16:11] Production.ERROR: CronJobId end10
[2025-01-11 20:16:11] Production.INFO: ==20444== Releasing lock...
[2025-01-11 20:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:16:13] Production.INFO: call_cost start
[2025-01-11 20:16:13] Production.INFO: call_cost end
[2025-01-11 20:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:16:14] Production.INFO: ==20440== Releasing lock...
[2025-01-11 20:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:16:18] Production.INFO: count ==2033
[2025-01-11 20:16:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:16:05 - End Time 2025-01-11 20:16:05
[2025-01-11 20:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226640', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226640', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226640', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226640', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:16:18] Production.INFO: ProcessCDR(1,14226640,1,1,2)
[2025-01-11 20:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226640', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226640', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:16:22] Production.INFO: ==20448== Releasing lock...
[2025-01-11 20:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:16:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:17:02] Production.INFO: ==20580== Lock acquired, processing the job...
[2025-01-12 01:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:17:02] Production.INFO: neon service started
[2025-01-12 01:17:02] Production.INFO: neon service started
[2025-01-12 01:17:02] Production.INFO: ==20580== Releasing lock...
[2025-01-12 01:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:17:02] Production.INFO: ==20584== Lock acquired, processing the job...
[2025-01-11 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:17:02] Production.INFO: ==20584== Releasing lock...
[2025-01-11 20:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:17:02] Production.INFO: ==20586== Lock acquired, processing the job...
[2025-01-12 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:17:03] Production.INFO: ==20586== Releasing lock...
[2025-01-12 01:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:17:03] Production.INFO: ==20596== Lock acquired, processing the job...
[2025-01-11 20:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:17:03] Production.INFO: ==20598== Lock acquired, processing the job...
[2025-01-11 20:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:17:03] Production.INFO: ==20590== Lock acquired, processing the job...
[2025-01-11 20:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:17:03] Production.INFO: ==20588== Lock acquired, processing the job...
[2025-01-11 20:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:17:04] Production.INFO: ==20592== Lock acquired, processing the job...
[2025-01-11 20:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:17:04] Production.INFO: count ==21
[2025-01-11 20:17:04] Production.INFO: ==20594== Lock acquired, processing the job...
[2025-01-11 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 20:17:04] Production.INFO: count ==21
[2025-01-11 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226641') start
[2025-01-11 20:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:17:04] Production.INFO: Account Balance Start.
[2025-01-11 20:17:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:17:04] Production.INFO: 117
[2025-01-11 20:17:04] Production.ERROR: done
[2025-01-11 20:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:17:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:17:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226641') end
[2025-01-11 20:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:17:04] Production.INFO: 1
[2025-01-11 20:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:17:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:17:04] Production.ERROR: done
[2025-01-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:17:04] Production.INFO: ==20598== Releasing lock...
[2025-01-11 20:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:17:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:17:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:17:04] Production.INFO: ==20590== Releasing lock...
[2025-01-11 20:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:17:04] Production.INFO: Total Charge 0
[2025-01-11 20:17:04] Production.INFO: CreateAllLog End
[2025-01-11 20:17:04] Production.INFO: Account Balance End.
[2025-01-11 20:17:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:17:04] Production.INFO: ==20594== Releasing lock...
[2025-01-11 20:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:17:05
[end_date_ymd] => 2025-01-11 20:17:05
[RateCDR] => 1
)
[2025-01-11 20:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:17:05' and `end` < '2025-01-11 20:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:17:12] Production.ERROR: CronJobId end10
[2025-01-11 20:17:12] Production.INFO: ==20592== Releasing lock...
[2025-01-11 20:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:17:14] Production.INFO: call_cost start
[2025-01-11 20:17:14] Production.INFO: call_cost end
[2025-01-11 20:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:17:15] Production.INFO: ==20588== Releasing lock...
[2025-01-11 20:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:17:19] Production.INFO: count ==2030
[2025-01-11 20:17:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:17:05 - End Time 2025-01-11 20:17:05
[2025-01-11 20:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226645', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226645', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226645', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226645', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:17:20] Production.INFO: ProcessCDR(1,14226645,1,1,2)
[2025-01-11 20:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226645', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226645', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:17:23] Production.INFO: ==20596== Releasing lock...
[2025-01-11 20:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:17:23] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:18:01] Production.INFO: ==20696== Lock acquired, processing the job...
[2025-01-12 01:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:18:01] Production.INFO: neon service started
[2025-01-12 01:18:01] Production.INFO: neon service started
[2025-01-12 01:18:01] Production.INFO: ==20696== Releasing lock...
[2025-01-12 01:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:18:02] Production.INFO: ==20698== Lock acquired, processing the job...
[2025-01-11 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:18:02] Production.INFO: ==20698== Releasing lock...
[2025-01-11 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:18:02] Production.INFO: ==20700== Lock acquired, processing the job...
[2025-01-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:18:02] Production.INFO: ==20700== Releasing lock...
[2025-01-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:18:03] Production.INFO: ==20703== Lock acquired, processing the job...
[2025-01-11 20:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:18:03] Production.INFO: ==20705== Lock acquired, processing the job...
[2025-01-11 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:18:03] Production.INFO: ==20709== Lock acquired, processing the job...
[2025-01-11 20:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:18:03] Production.INFO: Account Balance Start.
[2025-01-11 20:18:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:18:03] Production.INFO: 117
[2025-01-11 20:18:03] Production.INFO: ==20707== Lock acquired, processing the job...
[2025-01-11 20:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:18:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:18:03] Production.INFO: ==20705== Releasing lock...
[2025-01-11 20:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:18:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:18:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:18:03] Production.INFO: ==20711== Lock acquired, processing the job...
[2025-01-11 20:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:18:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:18:03] Production.INFO: Total Charge 0
[2025-01-11 20:18:03] Production.INFO: ==20713== Lock acquired, processing the job...
[2025-01-11 20:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:18:03] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 20:18:04] Production.ERROR: done
[2025-01-11 20:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:18:04] Production.INFO: Account Balance End.
[2025-01-11 20:18:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:18:04] Production.INFO: count ==21
[2025-01-11 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226649') start
[2025-01-11 20:18:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:18:04] Production.INFO: ==20709== Releasing lock...
[2025-01-11 20:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:18:04] Production.ERROR: done
[2025-01-11 20:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226649') end
[2025-01-11 20:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:18:04] Production.INFO: 1
[2025-01-11 20:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:18:04] Production.INFO: ==20713== Releasing lock...
[2025-01-11 20:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:18:05
[end_date_ymd] => 2025-01-11 20:18:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:18:05' and `end` < '2025-01-11 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-01-11 20:18:12] Production.ERROR: CronJobId end10
[2025-01-11 20:18:12] Production.INFO: ==20707== Releasing lock...
[2025-01-11 20:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:18:14] Production.INFO: call_cost start
[2025-01-11 20:18:14] Production.INFO: call_cost end
[2025-01-11 20:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:18:15] Production.INFO: ==20703== Releasing lock...
[2025-01-11 20:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:18:19] Production.INFO: count ==2023
[2025-01-11 20:18:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:18:05 - End Time 2025-01-11 20:18:05
[2025-01-11 20:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226650', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226650', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226650', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226650', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:18:19] Production.INFO: ProcessCDR(1,14226650,1,1,2)
[2025-01-11 20:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226650', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226650', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:18:22] Production.INFO: ==20711== Releasing lock...
[2025-01-11 20:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:18:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:19:02] Production.INFO: ==20801== Lock acquired, processing the job...
[2025-01-12 01:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:19:02] Production.INFO: neon service started
[2025-01-12 01:19:02] Production.INFO: neon service started
[2025-01-12 01:19:02] Production.INFO: ==20801== Releasing lock...
[2025-01-12 01:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:19:02] Production.INFO: ==20805== Lock acquired, processing the job...
[2025-01-11 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:19:02] Production.INFO: ==20805== Releasing lock...
[2025-01-11 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:19:03] Production.INFO: ==20807== Lock acquired, processing the job...
[2025-01-12 01:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:19:03] Production.INFO: ==20807== Releasing lock...
[2025-01-12 01:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:19:03] Production.INFO: ==20812== Lock acquired, processing the job...
[2025-01-11 20:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:19:03] Production.INFO: ==20818== Lock acquired, processing the job...
[2025-01-11 20:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:19:03] Production.INFO: ==20810== Lock acquired, processing the job...
[2025-01-11 20:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:19:03] Production.INFO: ==20814== Lock acquired, processing the job...
[2025-01-11 20:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:19:04] Production.INFO: ==20816== Lock acquired, processing the job...
[2025-01-11 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:19:04] Production.INFO: ==20820== Lock acquired, processing the job...
[2025-01-11 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:19:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:19:04] Production.INFO: ==20812== Releasing lock...
[2025-01-11 20:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:19:04] Production.INFO: Account Balance Start.
[2025-01-11 20:19:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:19:04] Production.INFO: 117
[2025-01-11 20:19:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:19:04] Production.ERROR: done
[2025-01-11 20:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 20:19:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:19:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:19:04] Production.INFO: count ==21
[2025-01-11 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226654') start
[2025-01-11 20:19:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:19:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:19:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:19:04] Production.INFO: Total Charge 0
[2025-01-11 20:19:04] Production.ERROR: done
[2025-01-11 20:19:04] Production.INFO: CreateAllLog End
[2025-01-11 20:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226654') end
[2025-01-11 20:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:19:04] Production.INFO: 1
[2025-01-11 20:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:19:04] Production.INFO: ==20820== Releasing lock...
[2025-01-11 20:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:19:04] Production.INFO: Account Balance End.
[2025-01-11 20:19:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:19:04] Production.INFO: ==20816== Releasing lock...
[2025-01-11 20:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:19:05
[end_date_ymd] => 2025-01-11 20:19:05
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:19:05' and `end` < '2025-01-11 20: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-01-11 20:19:12] Production.ERROR: CronJobId end10
[2025-01-11 20:19:12] Production.INFO: ==20814== Releasing lock...
[2025-01-11 20:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:19:14] Production.INFO: call_cost start
[2025-01-11 20:19:14] Production.INFO: call_cost end
[2025-01-11 20:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:19:15] Production.INFO: ==20810== Releasing lock...
[2025-01-11 20:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:19:18] Production.INFO: count ==2024
[2025-01-11 20:19:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:19:05 - End Time 2025-01-11 20:19:05
[2025-01-11 20:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226655', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226655', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226655', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226655', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:19:19] Production.INFO: ProcessCDR(1,14226655,1,1,2)
[2025-01-11 20:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226655', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226655', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:19:22] Production.INFO: ==20818== Releasing lock...
[2025-01-11 20:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:19:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:20:01] Production.INFO: ==20912== Lock acquired, processing the job...
[2025-01-12 01:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:20:01] Production.INFO: neon service started
[2025-01-12 01:20:01] Production.INFO: neon service started
[2025-01-12 01:20:01] Production.INFO: ==20912== Releasing lock...
[2025-01-12 01:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:20:02] Production.INFO: ==20914== Lock acquired, processing the job...
[2025-01-11 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:20:02] Production.INFO: ==20916== Lock acquired, processing the job...
[2025-01-12 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 20:20:02] Production.INFO: ==20914== Releasing lock...
[2025-01-11 20:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:20:02] Production.INFO: ==20916== Releasing lock...
[2025-01-12 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:20:03] Production.INFO: ==20921== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 20:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 20:20:03] Production.INFO: ==20925== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:20:03] Production.INFO: ==20923== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 20:20:03] Production.INFO: ==20921== Releasing lock...
[2025-01-11 20:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 20:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 20:20:03] Production.INFO: ==20927== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:20:03] Production.INFO: ==20931== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:20:03] Production.INFO: ==20933== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 20:20:03] Production.INFO: ==20929== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:20:03] Production.INFO: ==20935== Lock acquired, processing the job...
[2025-01-11 20:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:20:03] Production.INFO: Account Balance Start.
[2025-01-11 20:20:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:20:04] Production.INFO: 117
[2025-01-11 20:20:04] Production.INFO: ==20925== Releasing lock...
[2025-01-11 20:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:20:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:20:04] Production.ERROR: done
[2025-01-11 20:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 20:20:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:20:04] Production.INFO: count ==21
[2025-01-11 20:20:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:20:04] Production.INFO: count ==21
[2025-01-11 20:20:04] Production.ERROR: done
[2025-01-11 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226659') start
[2025-01-11 20:20:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:20:04] Production.ERROR: done
[2025-01-11 20:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226659') end
[2025-01-11 20:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:20:04] Production.INFO: 1
[2025-01-11 20:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:20:04] Production.INFO: Total Charge 0
[2025-01-11 20:20:04] Production.INFO: CreateAllLog End
[2025-01-11 20:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 20:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226661', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 20:20:04] Production.INFO: ==20935== Releasing lock...
[2025-01-11 20:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:20:04] Production.INFO: Account Balance End.
[2025-01-11 20:20:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:20:04] Production.INFO: ==20929== Releasing lock...
[2025-01-11 20:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:20:05
[end_date_ymd] => 2025-01-11 20:20:05
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:20:05' and `end` < '2025-01-11 20: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-01-11 20:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226661', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 20:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 20:20:08] Production.INFO: ProcessCDR(1,14226661,1,1,2)
[2025-01-11 20:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226661,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226661,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:20:09] Production.INFO: ==20933== Releasing lock...
[2025-01-11 20:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 20:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 20:20:12] Production.ERROR: CronJobId end10
[2025-01-11 20:20:12] Production.INFO: ==20927== Releasing lock...
[2025-01-11 20:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:20:15] Production.INFO: call_cost start
[2025-01-11 20:20:15] Production.INFO: call_cost end
[2025-01-11 20:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:20:16] Production.INFO: ==20923== Releasing lock...
[2025-01-11 20:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:20:18] Production.INFO: count ==2024
[2025-01-11 20:20:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:20:05 - End Time 2025-01-11 20:20:05
[2025-01-11 20:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226660', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226660', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226660', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226660', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:20:18] Production.INFO: ProcessCDR(1,14226660,1,1,2)
[2025-01-11 20:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226660', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226660', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:20:22] Production.INFO: ==20931== Releasing lock...
[2025-01-11 20:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:20:22] Production.INFO: 42.75 MB #Memory Used#
[2025-01-12 01:21:02] Production.INFO: ==21025== Lock acquired, processing the job...
[2025-01-12 01:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:21:02] Production.INFO: neon service started
[2025-01-12 01:21:02] Production.INFO: neon service started
[2025-01-12 01:21:02] Production.INFO: ==21025== Releasing lock...
[2025-01-12 01:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:21:02] Production.INFO: ==21027== Lock acquired, processing the job...
[2025-01-11 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:21:02] Production.INFO: ==21027== Releasing lock...
[2025-01-11 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:21:02] Production.INFO: ==21029== Lock acquired, processing the job...
[2025-01-12 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:21:02] Production.INFO: ==21029== Releasing lock...
[2025-01-12 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:21:03] Production.INFO: ==21037== Lock acquired, processing the job...
[2025-01-11 20:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:21:03] Production.INFO: ==21039== Lock acquired, processing the job...
[2025-01-11 20:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:21:03] Production.INFO: Account Balance Start.
[2025-01-11 20:21:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:21:03] Production.INFO: 117
[2025-01-11 20:21:03] Production.INFO: ==21031== Lock acquired, processing the job...
[2025-01-11 20:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:21:03] Production.INFO: ==21033== Lock acquired, processing the job...
[2025-01-11 20:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:21:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:21:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:21:03] Production.INFO: ==21035== Lock acquired, processing the job...
[2025-01-11 20:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:21:03] Production.INFO: ==21042== Lock acquired, processing the job...
[2025-01-11 20:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:21:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:21:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:21:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:21:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:21:04] Production.ERROR: done
[2025-01-11 20:21:04] Production.INFO: Total Charge 0
[2025-01-11 20:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:21:04] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 20:21:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:21:04] Production.INFO: count ==21
[2025-01-11 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226665') start
[2025-01-11 20:21:04] Production.INFO: ==21033== Releasing lock...
[2025-01-11 20:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:21:04] Production.ERROR: done
[2025-01-11 20:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226665') end
[2025-01-11 20:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:21:04] Production.INFO: 1
[2025-01-11 20:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:21:04] Production.INFO: Account Balance End.
[2025-01-11 20:21:04] Production.INFO: ==21042== Releasing lock...
[2025-01-11 20:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:21:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:21:04] Production.INFO: ==21037== Releasing lock...
[2025-01-11 20:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:21:05
[end_date_ymd] => 2025-01-11 20:21:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:21:05' and `end` < '2025-01-11 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-01-11 20:21:11] Production.ERROR: CronJobId end10
[2025-01-11 20:21:11] Production.INFO: ==21035== Releasing lock...
[2025-01-11 20:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:21:13] Production.INFO: call_cost start
[2025-01-11 20:21:13] Production.INFO: call_cost end
[2025-01-11 20:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:21:14] Production.INFO: ==21031== Releasing lock...
[2025-01-11 20:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:21:18] Production.INFO: count ==1982
[2025-01-11 20:21:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:21:05 - End Time 2025-01-11 20:21:05
[2025-01-11 20:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226666', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226666', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226666', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226666', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:21:19] Production.INFO: ProcessCDR(1,14226666,1,1,2)
[2025-01-11 20:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226666', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226666', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:21:22] Production.INFO: ==21039== Releasing lock...
[2025-01-11 20:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:21:22] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:22:01] Production.INFO: ==21131== Lock acquired, processing the job...
[2025-01-12 01:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:22:01] Production.INFO: neon service started
[2025-01-12 01:22:01] Production.INFO: neon service started
[2025-01-12 01:22:01] Production.INFO: ==21131== Releasing lock...
[2025-01-12 01:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:22:02] Production.INFO: ==21136== Lock acquired, processing the job...
[2025-01-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 20:22:02] Production.INFO: ==21134== Lock acquired, processing the job...
[2025-01-11 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:22:02] Production.INFO: ==21136== Releasing lock...
[2025-01-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:22:02] Production.INFO: ==21134== Releasing lock...
[2025-01-11 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:22:03] Production.INFO: ==21142== Lock acquired, processing the job...
[2025-01-11 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:22:03] Production.INFO: ==21146== Lock acquired, processing the job...
[2025-01-11 20:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:22:03] Production.INFO: ==21148== Lock acquired, processing the job...
[2025-01-11 20:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:22:03] Production.INFO: Account Balance Start.
[2025-01-11 20:22:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:22:03] Production.INFO: 117
[2025-01-11 20:22:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:22:03] Production.INFO: ==21142== Releasing lock...
[2025-01-11 20:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:22:03] Production.INFO: ==21140== Lock acquired, processing the job...
[2025-01-11 20:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:22:03] Production.INFO: ==21144== Lock acquired, processing the job...
[2025-01-11 20:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:22:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:22:04] Production.INFO: ==21150== Lock acquired, processing the job...
[2025-01-11 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:22:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:22:04] Production.ERROR: done
[2025-01-11 20:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:22:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:22:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:22:04] Production.INFO: Total Charge 0
[2025-01-11 20: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-01-11 20:22:04] Production.INFO: CreateAllLog End
[2025-01-11 20:22:04] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:22:04] Production.INFO: count ==21
[2025-01-11 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226670') start
[2025-01-11 20:22:04] Production.ERROR: done
[2025-01-11 20:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226670') end
[2025-01-11 20:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:22:04] Production.INFO: 1
[2025-01-11 20:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:22:04] Production.INFO: Account Balance End.
[2025-01-11 20:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:22:04] Production.INFO: ==21150== Releasing lock...
[2025-01-11 20:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:22:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:22:04] Production.INFO: ==21146== Releasing lock...
[2025-01-11 20:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:22:04
[end_date_ymd] => 2025-01-11 20:22:04
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:22:04' and `end` < '2025-01-11 20: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-01-11 20:22:11] Production.ERROR: CronJobId end10
[2025-01-11 20:22:11] Production.INFO: ==21144== Releasing lock...
[2025-01-11 20:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:22:14] Production.INFO: call_cost start
[2025-01-11 20:22:14] Production.INFO: call_cost end
[2025-01-11 20:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:22:14] Production.INFO: ==21140== Releasing lock...
[2025-01-11 20:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:22:19] Production.INFO: count ==1979
[2025-01-11 20:22:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:22:04 - End Time 2025-01-11 20:22:04
[2025-01-11 20:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226671', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226671', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226671', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226671', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:22:19] Production.INFO: ProcessCDR(1,14226671,1,1,2)
[2025-01-11 20:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226671', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226671', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:22:24] Production.INFO: ==21148== Releasing lock...
[2025-01-11 20:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:22:24] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:23:01] Production.INFO: ==21237== Lock acquired, processing the job...
[2025-01-12 01:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:23:01] Production.INFO: neon service started
[2025-01-12 01:23:01] Production.INFO: neon service started
[2025-01-12 01:23:01] Production.INFO: ==21237== Releasing lock...
[2025-01-12 01:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:23:02] Production.INFO: ==21239== Lock acquired, processing the job...
[2025-01-11 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:23:02] Production.INFO: ==21241== Lock acquired, processing the job...
[2025-01-12 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:23:02] Production.INFO: ==21241== Releasing lock...
[2025-01-12 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:23:02] Production.INFO: ==21239== Releasing lock...
[2025-01-11 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:23:03] Production.INFO: ==21246== Lock acquired, processing the job...
[2025-01-11 20:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:23:03] Production.INFO: ==21248== Lock acquired, processing the job...
[2025-01-11 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:23:03] Production.INFO: ==21250== Lock acquired, processing the job...
[2025-01-11 20:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:23:03] Production.INFO: ==21254== Lock acquired, processing the job...
[2025-01-11 20:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:23:03] Production.INFO: ==21256== Lock acquired, processing the job...
[2025-01-11 20:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:23:03] Production.INFO: ==21252== Lock acquired, processing the job...
[2025-01-11 20:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:23:03] Production.INFO: ==21248== Releasing lock...
[2025-01-11 20:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:23:03] Production.INFO: Account Balance Start.
[2025-01-11 20:23:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:23:03] Production.INFO: 117
[2025-01-11 20:23:03] Production.ERROR: done
[2025-01-11 20:23:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20: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-01-11 20:23:03] Production.INFO: count ==21
[2025-01-11 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-11 20: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-01-11 20:23:03] Production.INFO: count ==21
[2025-01-11 20:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226675') start
[2025-01-11 20:23:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:23:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:23:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:23:03] Production.ERROR: done
[2025-01-11 20:23:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226675') end
[2025-01-11 20:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:23:04] Production.INFO: 1
[2025-01-11 20:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:23:04] Production.INFO: Total Charge 0
[2025-01-11 20:23:04] Production.INFO: CreateAllLog End
[2025-01-11 20:23:04] Production.INFO: ==21256== Releasing lock...
[2025-01-11 20:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:23:04] Production.INFO: Account Balance End.
[2025-01-11 20:23:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:23:04] Production.INFO: ==21252== Releasing lock...
[2025-01-11 20:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:23:04
[end_date_ymd] => 2025-01-11 20:23:04
[RateCDR] => 1
)
[2025-01-11 20:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:23:04' and `end` < '2025-01-11 20:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:23:12] Production.ERROR: CronJobId end10
[2025-01-11 20:23:12] Production.INFO: ==21250== Releasing lock...
[2025-01-11 20:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:23:13] Production.INFO: call_cost start
[2025-01-11 20:23:13] Production.INFO: call_cost end
[2025-01-11 20:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:23:14] Production.INFO: ==21246== Releasing lock...
[2025-01-11 20:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:23:18] Production.INFO: count ==1985
[2025-01-11 20:23:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:23:04 - End Time 2025-01-11 20:23:04
[2025-01-11 20:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226676', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226676', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226676', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226676', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:23:18] Production.INFO: ProcessCDR(1,14226676,1,1,2)
[2025-01-11 20:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226676', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226676', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:23:23] Production.INFO: ==21254== Releasing lock...
[2025-01-11 20:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:23:23] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:24:01] Production.INFO: ==21347== Lock acquired, processing the job...
[2025-01-12 01:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:24:01] Production.INFO: neon service started
[2025-01-12 01:24:01] Production.INFO: neon service started
[2025-01-12 01:24:02] Production.INFO: ==21347== Releasing lock...
[2025-01-12 01:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:24:02] Production.INFO: ==21351== Lock acquired, processing the job...
[2025-01-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:24:02] Production.INFO: ==21351== Releasing lock...
[2025-01-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:24:02] Production.INFO: ==21349== Lock acquired, processing the job...
[2025-01-11 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:24:02] Production.INFO: ==21349== Releasing lock...
[2025-01-11 20:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:24:03] Production.INFO: ==21353== Lock acquired, processing the job...
[2025-01-11 20:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:24:03] Production.INFO: ==21355== Lock acquired, processing the job...
[2025-01-11 20:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:24:03] Production.INFO: ==21364== Lock acquired, processing the job...
[2025-01-11 20:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 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-01-11 20:24:04] Production.INFO: count ==21
[2025-01-11 20:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:24:04] Production.INFO: count ==21
[2025-01-11 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226679') start
[2025-01-11 20:24:04] Production.INFO: ==21355== Releasing lock...
[2025-01-11 20:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:24:04] Production.INFO: ==21357== Lock acquired, processing the job...
[2025-01-11 20:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:24:04] Production.INFO: ==21361== Lock acquired, processing the job...
[2025-01-11 20:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:24:04] Production.INFO: ==21359== Lock acquired, processing the job...
[2025-01-11 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226679') end
[2025-01-11 20:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:24:04] Production.INFO: 1
[2025-01-11 20:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:24:04] Production.INFO: ==21364== Releasing lock...
[2025-01-11 20:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:24:04] Production.INFO: Account Balance Start.
[2025-01-11 20:24:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:24:04] Production.INFO: 117
[2025-01-11 20:24:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:24:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:24:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:24:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:24:04] Production.INFO: Total Charge 0
[2025-01-11 20:24:04] Production.INFO: CreateAllLog End
[2025-01-11 20:24:04] Production.ERROR: done
[2025-01-11 20:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:24:04] Production.INFO: Account Balance End.
[2025-01-11 20:24:04] Production.ERROR: done
[2025-01-11 20:24:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:24:04] Production.INFO: ==21359== Releasing lock...
[2025-01-11 20:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:24:05
[end_date_ymd] => 2025-01-11 20:24:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:24:05' and `end` < '2025-01-11 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-01-11 20:24:11] Production.ERROR: CronJobId end10
[2025-01-11 20:24:11] Production.INFO: ==21357== Releasing lock...
[2025-01-11 20:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:24:14] Production.INFO: call_cost start
[2025-01-11 20:24:14] Production.INFO: call_cost end
[2025-01-11 20:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:24:14] Production.INFO: ==21353== Releasing lock...
[2025-01-11 20:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:24:20] Production.INFO: count ==1993
[2025-01-11 20:24:21] Production.ERROR: pbx CDR StartTime 2025-01-11 17:24:05 - End Time 2025-01-11 20:24:05
[2025-01-11 20:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226681', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226681', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226681', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226681', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:24:21] Production.INFO: ProcessCDR(1,14226681,1,1,2)
[2025-01-11 20:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:24:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:24:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:24:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:24:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226681', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:24:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226681', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:24:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:24:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:24:26] Production.INFO: ==21361== Releasing lock...
[2025-01-11 20:24:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:24:26] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:25:01] Production.INFO: ==21449== Lock acquired, processing the job...
[2025-01-12 01:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:25:01] Production.INFO: neon service started
[2025-01-12 01:25:01] Production.INFO: neon service started
[2025-01-12 01:25:01] Production.INFO: ==21449== Releasing lock...
[2025-01-12 01:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:25:02] Production.INFO: ==21451== Lock acquired, processing the job...
[2025-01-11 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:25:02] Production.INFO: ==21453== Lock acquired, processing the job...
[2025-01-12 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:25:02] Production.INFO: ==21453== Releasing lock...
[2025-01-12 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:25:02] Production.INFO: ==21451== Releasing lock...
[2025-01-11 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:25:03] Production.INFO: ==21456== Lock acquired, processing the job...
[2025-01-11 20:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:25:03] Production.INFO: ==21462== Lock acquired, processing the job...
[2025-01-11 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:25:03] Production.INFO: ==21460== Lock acquired, processing the job...
[2025-01-11 20:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:25:03] Production.INFO: Account Balance Start.
[2025-01-11 20:25:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:25:03] Production.INFO: 117
[2025-01-11 20:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:25:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:25:03] Production.INFO: ==21458== Lock acquired, processing the job...
[2025-01-11 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:25:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:25:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:25:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:25:03] Production.INFO: Total Charge 0
[2025-01-11 20:25:03] Production.INFO: CreateAllLog End
[2025-01-11 20:25:03] Production.INFO: Account Balance End.
[2025-01-11 20:25:03] Production.INFO: ==21464== Lock acquired, processing the job...
[2025-01-11 20:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:25:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:25:03] Production.INFO: ==21462== Releasing lock...
[2025-01-11 20:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:25:03] Production.INFO: ==21466== Lock acquired, processing the job...
[2025-01-11 20:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:25:03] Production.INFO: ==21458== Releasing lock...
[2025-01-11 20:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20: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-01-11 20:25:03] Production.ERROR: done
[2025-01-11 20:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:25:03] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:25:03] Production.INFO: count ==21
[2025-01-11 20:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226685') start
[2025-01-11 20:25:04] Production.ERROR: done
[2025-01-11 20:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226685') end
[2025-01-11 20:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:25:04] Production.INFO: 1
[2025-01-11 20:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:25:04] Production.INFO: ==21466== Releasing lock...
[2025-01-11 20:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:25:05
[end_date_ymd] => 2025-01-11 20:25:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:25:05' and `end` < '2025-01-11 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-01-11 20:25:11] Production.ERROR: CronJobId end10
[2025-01-11 20:25:11] Production.INFO: ==21460== Releasing lock...
[2025-01-11 20:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:25:12] Production.INFO: call_cost start
[2025-01-11 20:25:12] Production.INFO: call_cost end
[2025-01-11 20:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:25:13] Production.INFO: ==21456== Releasing lock...
[2025-01-11 20:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:25:18] Production.INFO: count ==1999
[2025-01-11 20:25:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:25:05 - End Time 2025-01-11 20:25:05
[2025-01-11 20:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226686', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226686', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226686', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226686', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:25:18] Production.INFO: ProcessCDR(1,14226686,1,1,2)
[2025-01-11 20:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226686', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226686', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:25:23] Production.INFO: ==21464== Releasing lock...
[2025-01-11 20:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:25:23] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:26:01] Production.INFO: ==21519== Lock acquired, processing the job...
[2025-01-12 01:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:26:01] Production.INFO: neon service started
[2025-01-12 01:26:01] Production.INFO: neon service started
[2025-01-12 01:26:01] Production.INFO: ==21519== Releasing lock...
[2025-01-12 01:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:26:02] Production.INFO: ==21521== Lock acquired, processing the job...
[2025-01-11 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:26:02] Production.INFO: ==21521== Releasing lock...
[2025-01-11 20:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:26:02] Production.INFO: ==21523== Lock acquired, processing the job...
[2025-01-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:26:02] Production.INFO: ==21523== Releasing lock...
[2025-01-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:26:03] Production.INFO: ==21532== Lock acquired, processing the job...
[2025-01-11 20:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:26:03] Production.INFO: ==21536== Lock acquired, processing the job...
[2025-01-11 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:26:03] Production.INFO: Account Balance Start.
[2025-01-11 20:26:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:26:03] Production.INFO: 117
[2025-01-11 20:26:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:26:03] Production.INFO: ==21526== Lock acquired, processing the job...
[2025-01-11 20:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 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-01-11 20:26:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:26:03] Production.INFO: ==21528== Lock acquired, processing the job...
[2025-01-11 20:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:26:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:26:03] Production.INFO: count ==21
[2025-01-11 20:26:03] Production.INFO: ==21530== Lock acquired, processing the job...
[2025-01-11 20:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 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-01-11 20:26:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:26:03] Production.INFO: count ==21
[2025-01-11 20:26:03] Production.INFO: Total Charge 0
[2025-01-11 20:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226688') start
[2025-01-11 20:26:03] Production.INFO: ==21534== Lock acquired, processing the job...
[2025-01-11 20:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:26:03] Production.INFO: CreateAllLog End
[2025-01-11 20:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226688') end
[2025-01-11 20:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:26:03] Production.INFO: 1
[2025-01-11 20:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:26:03] Production.INFO: ==21536== Releasing lock...
[2025-01-11 20:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:26:04] Production.INFO: Account Balance End.
[2025-01-11 20:26:04] Production.ERROR: done
[2025-01-11 20:26:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:26:04] Production.INFO: ==21532== Releasing lock...
[2025-01-11 20:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:26:04] Production.ERROR: done
[2025-01-11 20:26:04] Production.INFO: ==21528== Releasing lock...
[2025-01-11 20:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:26:05
[end_date_ymd] => 2025-01-11 20:26:05
[RateCDR] => 1
)
[2025-01-11 20:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:26:05' and `end` < '2025-01-11 20:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:26:11] Production.ERROR: CronJobId end10
[2025-01-11 20:26:11] Production.INFO: ==21530== Releasing lock...
[2025-01-11 20:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:26:13] Production.INFO: call_cost start
[2025-01-11 20:26:13] Production.INFO: call_cost end
[2025-01-11 20:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:26:14] Production.INFO: ==21526== Releasing lock...
[2025-01-11 20:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:26:19] Production.INFO: count ==1998
[2025-01-11 20:26:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:26:05 - End Time 2025-01-11 20:26:05
[2025-01-11 20:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226691', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226691', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226691', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226691', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:26:20] Production.INFO: ProcessCDR(1,14226691,1,1,2)
[2025-01-11 20:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226691', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226691', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:26:23] Production.INFO: ==21534== Releasing lock...
[2025-01-11 20:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:26:23] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:27:02] Production.INFO: ==21590== Lock acquired, processing the job...
[2025-01-12 01:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:27:02] Production.INFO: neon service started
[2025-01-12 01:27:02] Production.INFO: neon service started
[2025-01-12 01:27:02] Production.INFO: ==21590== Releasing lock...
[2025-01-12 01:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:27:02] Production.INFO: ==21592== Lock acquired, processing the job...
[2025-01-11 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:27:03] Production.INFO: ==21592== Releasing lock...
[2025-01-11 20:27:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:27:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:27:03] Production.INFO: ==21594== Lock acquired, processing the job...
[2025-01-12 01:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:27:03] Production.INFO: ==21594== Releasing lock...
[2025-01-12 01:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:27:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:27:03] Production.INFO: ==21596== Lock acquired, processing the job...
[2025-01-11 20:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:27:03] Production.INFO: ==21600== Lock acquired, processing the job...
[2025-01-11 20:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:27:03] Production.INFO: ==21604== Lock acquired, processing the job...
[2025-01-11 20:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:27:04] Production.INFO: ==21598== Lock acquired, processing the job...
[2025-01-11 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:27:04] Production.INFO: ==21602== Lock acquired, processing the job...
[2025-01-11 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:27:04] Production.INFO: ==21607== Lock acquired, processing the job...
[2025-01-11 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:27:04] Production.INFO: Account Balance Start.
[2025-01-11 20:27:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:27:04] Production.INFO: 117
[2025-01-11 20:27:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:27:04] Production.INFO: count ==21
[2025-01-11 20:27:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:27:04] Production.ERROR: done
[2025-01-11 20:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:27:04] Production.INFO: count ==21
[2025-01-11 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226695') start
[2025-01-11 20:27:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:27:04] Production.INFO: ==21598== Releasing lock...
[2025-01-11 20:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:27:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226695') end
[2025-01-11 20:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:27:04] Production.INFO: 1
[2025-01-11 20:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:27:04] Production.ERROR: done
[2025-01-11 20:27:04] Production.INFO: Total Charge 0
[2025-01-11 20:27:04] Production.INFO: ==21607== Releasing lock...
[2025-01-11 20:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:27:04] Production.INFO: CreateAllLog End
[2025-01-11 20:27:04] Production.INFO: Account Balance End.
[2025-01-11 20:27:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:27:04] Production.INFO: ==21602== Releasing lock...
[2025-01-11 20:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:27:05
[end_date_ymd] => 2025-01-11 20:27:05
[RateCDR] => 1
)
[2025-01-11 20:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:27:05' and `end` < '2025-01-11 20:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:27:11] Production.ERROR: CronJobId end10
[2025-01-11 20:27:11] Production.INFO: ==21600== Releasing lock...
[2025-01-11 20:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:27:13] Production.INFO: call_cost start
[2025-01-11 20:27:13] Production.INFO: call_cost end
[2025-01-11 20:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:27:14] Production.INFO: ==21596== Releasing lock...
[2025-01-11 20:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:27:18] Production.INFO: count ==2000
[2025-01-11 20:27:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:27:05 - End Time 2025-01-11 20:27:05
[2025-01-11 20:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226696', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226696', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226696', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226696', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:27:19] Production.INFO: ProcessCDR(1,14226696,1,1,2)
[2025-01-11 20:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226696', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226696', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:27:22] Production.INFO: ==21604== Releasing lock...
[2025-01-11 20:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:27:22] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:28:01] Production.INFO: ==21661== Lock acquired, processing the job...
[2025-01-12 01:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:28:01] Production.INFO: neon service started
[2025-01-12 01:28:01] Production.INFO: neon service started
[2025-01-12 01:28:01] Production.INFO: ==21661== Releasing lock...
[2025-01-12 01:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:28:02] Production.INFO: ==21663== Lock acquired, processing the job...
[2025-01-11 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:28:02] Production.INFO: ==21663== Releasing lock...
[2025-01-11 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:28:02] Production.INFO: ==21665== Lock acquired, processing the job...
[2025-01-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:28:02] Production.INFO: ==21665== Releasing lock...
[2025-01-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:28:03] Production.INFO: ==21671== Lock acquired, processing the job...
[2025-01-11 20:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:28:03] Production.INFO: ==21669== Lock acquired, processing the job...
[2025-01-11 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:28:03] Production.INFO: ==21667== Lock acquired, processing the job...
[2025-01-11 20:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:28:03] Production.INFO: ==21678== Lock acquired, processing the job...
[2025-01-11 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:28:03] Production.INFO: ==21673== Lock acquired, processing the job...
[2025-01-11 20:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:28:03] Production.INFO: ==21675== Lock acquired, processing the job...
[2025-01-11 20:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 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-01-11 20:28:03] Production.INFO: Account Balance Start.
[2025-01-11 20:28:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:28:03] Production.INFO: 117
[2025-01-11 20:28:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:28:03] Production.INFO: count ==21
[2025-01-11 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-01-11 20:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:28:03] Production.INFO: count ==21
[2025-01-11 20:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226699') start
[2025-01-11 20:28:03] Production.INFO: ==21669== Releasing lock...
[2025-01-11 20:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:28:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:28:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:28:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226699') end
[2025-01-11 20:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:28:03] Production.INFO: 1
[2025-01-11 20:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:28:03] Production.INFO: Total Charge 0
[2025-01-11 20:28:03] Production.INFO: ==21678== Releasing lock...
[2025-01-11 20:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:28:03] Production.INFO: CreateAllLog End
[2025-01-11 20:28:04] Production.ERROR: done
[2025-01-11 20:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:28:04] Production.ERROR: done
[2025-01-11 20:28:04] Production.INFO: Account Balance End.
[2025-01-11 20:28:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:28:04] Production.INFO: ==21673== Releasing lock...
[2025-01-11 20:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:28:05
[end_date_ymd] => 2025-01-11 20:28:05
[RateCDR] => 1
)
[2025-01-11 20:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:28:05' and `end` < '2025-01-11 20:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:28:11] Production.ERROR: CronJobId end10
[2025-01-11 20:28:11] Production.INFO: ==21671== Releasing lock...
[2025-01-11 20:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:28:14] Production.INFO: call_cost start
[2025-01-11 20:28:14] Production.INFO: call_cost end
[2025-01-11 20:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:28:14] Production.INFO: ==21667== Releasing lock...
[2025-01-11 20:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:28:20] Production.INFO: count ==1990
[2025-01-11 20:28:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:28:05 - End Time 2025-01-11 20:28:05
[2025-01-11 20:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226701', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226701', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226701', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226701', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:28:20] Production.INFO: ProcessCDR(1,14226701,1,1,2)
[2025-01-11 20:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226701', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226701', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:28:23] Production.INFO: ==21675== Releasing lock...
[2025-01-11 20:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:28:23] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:29:02] Production.INFO: ==21733== Lock acquired, processing the job...
[2025-01-12 01:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:29:02] Production.INFO: neon service started
[2025-01-12 01:29:02] Production.INFO: neon service started
[2025-01-12 01:29:02] Production.INFO: ==21733== Releasing lock...
[2025-01-12 01:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:29:02] Production.INFO: ==21736== Lock acquired, processing the job...
[2025-01-11 20:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:29:03] Production.INFO: ==21738== Lock acquired, processing the job...
[2025-01-12 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 20:29:03] Production.INFO: ==21736== Releasing lock...
[2025-01-11 20:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:29:03] Production.INFO: ==21738== Releasing lock...
[2025-01-12 01:29:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:29:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:29:03] Production.INFO: ==21740== Lock acquired, processing the job...
[2025-01-11 20:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:29:03] Production.INFO: ==21748== Lock acquired, processing the job...
[2025-01-11 20:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:29:03] Production.INFO: ==21742== Lock acquired, processing the job...
[2025-01-11 20:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:29:04] Production.INFO: ==21750== Lock acquired, processing the job...
[2025-01-11 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:29:04] Production.INFO: ==21744== Lock acquired, processing the job...
[2025-01-11 20:29:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:29:04] Production.INFO: ==21746== Lock acquired, processing the job...
[2025-01-11 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 20:29:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:29:04] Production.INFO: count ==21
[2025-01-11 20:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:29:04] Production.INFO: Account Balance Start.
[2025-01-11 20:29:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:29:04] Production.INFO: 117
[2025-01-11 20:29:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226704') start
[2025-01-11 20:29:04] Production.ERROR: done
[2025-01-11 20:29:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:29:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:29:04] Production.INFO: ==21742== Releasing lock...
[2025-01-11 20:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226704') end
[2025-01-11 20:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:29:04] Production.INFO: 1
[2025-01-11 20:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:29:04] Production.ERROR: done
[2025-01-11 20:29:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:29:04] Production.INFO: ==21750== Releasing lock...
[2025-01-11 20:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:29:04] Production.INFO: Total Charge 0
[2025-01-11 20:29:04] Production.INFO: CreateAllLog End
[2025-01-11 20:29:04] Production.INFO: Account Balance End.
[2025-01-11 20:29:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:29:04] Production.INFO: ==21746== Releasing lock...
[2025-01-11 20:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:29:05
[end_date_ymd] => 2025-01-11 20:29:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:29:05' and `end` < '2025-01-11 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-01-11 20:29:12] Production.ERROR: CronJobId end10
[2025-01-11 20:29:12] Production.INFO: ==21744== Releasing lock...
[2025-01-11 20:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:29:14] Production.INFO: call_cost start
[2025-01-11 20:29:14] Production.INFO: call_cost end
[2025-01-11 20:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:29:14] Production.INFO: ==21740== Releasing lock...
[2025-01-11 20:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:29:18] Production.INFO: count ==1989
[2025-01-11 20:29:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:29:05 - End Time 2025-01-11 20:29:05
[2025-01-11 20:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226706', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226706', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226706', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226706', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:29:19] Production.INFO: ProcessCDR(1,14226706,1,1,2)
[2025-01-11 20:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226706', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226706', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:29:22] Production.INFO: ==21748== Releasing lock...
[2025-01-11 20:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:29:22] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:30:01] Production.INFO: ==21807== Lock acquired, processing the job...
[2025-01-12 01:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:30:01] Production.INFO: neon service started
[2025-01-12 01:30:01] Production.INFO: neon service started
[2025-01-12 01:30:01] Production.INFO: ==21807== Releasing lock...
[2025-01-12 01:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:30:02] Production.INFO: ==21809== Lock acquired, processing the job...
[2025-01-11 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:30:02] Production.INFO: ==21811== Lock acquired, processing the job...
[2025-01-12 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:30:02] Production.INFO: ==21811== Releasing lock...
[2025-01-12 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:30:02] Production.INFO: ==21809== Releasing lock...
[2025-01-11 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:30:03] Production.INFO: ==21813== Lock acquired, processing the job...
[2025-01-11 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 20:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 20:30:03] Production.INFO: ==21822== Lock acquired, processing the job...
[2025-01-11 20:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 20:30:03] Production.INFO: ==21813== Releasing lock...
[2025-01-11 20:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 20:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 20:30:03] Production.INFO: ==21828== Lock acquired, processing the job...
[2025-01-11 20:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:30:03] Production.INFO: ==21815== Lock acquired, processing the job...
[2025-01-11 20:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:30:03] Production.INFO: Account Balance Start.
[2025-01-11 20:30:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:30:03] Production.INFO: 117
[2025-01-11 20:30:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:30:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:30:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:30:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:30:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:30:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:30:04] Production.INFO: count ==21
[2025-01-11 20:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 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-01-11 20:30:04] Production.INFO: count ==21
[2025-01-11 20:30:04] Production.INFO: ==21817== Lock acquired, processing the job...
[2025-01-11 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226708') start
[2025-01-11 20:30:04] Production.INFO: ==21820== Lock acquired, processing the job...
[2025-01-11 20:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:30:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:30:04] Production.INFO: ==21824== Lock acquired, processing the job...
[2025-01-11 20:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:30:04] Production.INFO: Total Charge 0
[2025-01-11 20:30:04] Production.INFO: ==21826== Lock acquired, processing the job...
[2025-01-11 20:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 20:30:04] Production.INFO: CreateAllLog End
[2025-01-11 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226708') end
[2025-01-11 20:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:30:04] Production.INFO: 1
[2025-01-11 20:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:30:04] Production.INFO: ==21828== Releasing lock...
[2025-01-11 20:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:30:04] Production.ERROR: done
[2025-01-11 20:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:30:04] Production.ERROR: done
[2025-01-11 20:30:04] Production.INFO: Account Balance End.
[2025-01-11 20:30:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:30:04] Production.INFO: ==21822== Releasing lock...
[2025-01-11 20:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 20:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226711', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 20:30:04] Production.INFO: ==21817== Releasing lock...
[2025-01-11 20:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:30:04] Production.ERROR: done
[2025-01-11 20:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:30:05
[end_date_ymd] => 2025-01-11 20:30:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:30:05' and `end` < '2025-01-11 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-01-11 20:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226711', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 20:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 20:30:08] Production.INFO: ProcessCDR(1,14226711,1,1,2)
[2025-01-11 20:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226711,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226711,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:30:08] Production.INFO: ==21826== Releasing lock...
[2025-01-11 20:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 20:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 20:30:13] Production.ERROR: CronJobId end10
[2025-01-11 20:30:13] Production.INFO: ==21820== Releasing lock...
[2025-01-11 20:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:30:15] Production.INFO: call_cost start
[2025-01-11 20:30:15] Production.INFO: call_cost end
[2025-01-11 20:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:30:16] Production.INFO: ==21815== Releasing lock...
[2025-01-11 20:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:30:20] Production.INFO: count ==1999
[2025-01-11 20:30:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:30:05 - End Time 2025-01-11 20:30:05
[2025-01-11 20:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226712', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226712', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226712', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:30:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226712', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:30:21] Production.INFO: ProcessCDR(1,14226712,1,1,2)
[2025-01-11 20:30:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226712', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226712', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:30:24] Production.INFO: ==21824== Releasing lock...
[2025-01-11 20:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:30:24] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:31:02] Production.INFO: ==21883== Lock acquired, processing the job...
[2025-01-12 01:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:31:02] Production.INFO: neon service started
[2025-01-12 01:31:02] Production.INFO: neon service started
[2025-01-12 01:31:02] Production.INFO: ==21883== Releasing lock...
[2025-01-12 01:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:31:02] Production.INFO: ==21885== Lock acquired, processing the job...
[2025-01-11 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:31:02] Production.INFO: ==21887== Lock acquired, processing the job...
[2025-01-12 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 20:31:02] Production.INFO: ==21885== Releasing lock...
[2025-01-11 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:31:03] Production.INFO: ==21887== Releasing lock...
[2025-01-12 01:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:31:03] Production.INFO: ==21891== Lock acquired, processing the job...
[2025-01-11 20:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:31:03] Production.INFO: ==21899== Lock acquired, processing the job...
[2025-01-11 20:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:31:03] Production.INFO: ==21889== Lock acquired, processing the job...
[2025-01-11 20:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20: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-01-11 20:31:03] Production.INFO: count ==21
[2025-01-11 20:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20: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-01-11 20:31:03] Production.INFO: count ==21
[2025-01-11 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226713') start
[2025-01-11 20:31:04] Production.INFO: ==21893== Lock acquired, processing the job...
[2025-01-11 20:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226713') end
[2025-01-11 20:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:31:04] Production.INFO: 1
[2025-01-11 20:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:31:04] Production.INFO: ==21899== Releasing lock...
[2025-01-11 20:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:31:04] Production.INFO: ==21891== Releasing lock...
[2025-01-11 20:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:31:04] Production.INFO: ==21895== Lock acquired, processing the job...
[2025-01-11 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:31:04] Production.INFO: ==21897== Lock acquired, processing the job...
[2025-01-11 20:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:31:04] Production.INFO: Account Balance Start.
[2025-01-11 20:31:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:31:04] Production.INFO: 117
[2025-01-11 20:31:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:31:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:31:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:31:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:31:04] Production.ERROR: done
[2025-01-11 20:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:31:04] Production.INFO: Total Charge 0
[2025-01-11 20:31:04] Production.INFO: CreateAllLog End
[2025-01-11 20:31:04] Production.ERROR: done
[2025-01-11 20:31:04] Production.INFO: Account Balance End.
[2025-01-11 20:31:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:31:04] Production.INFO: ==21895== Releasing lock...
[2025-01-11 20:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:31:05
[end_date_ymd] => 2025-01-11 20:31:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:31:05' and `end` < '2025-01-11 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-01-11 20:31:11] Production.ERROR: CronJobId end10
[2025-01-11 20:31:11] Production.INFO: ==21893== Releasing lock...
[2025-01-11 20:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:31:13] Production.INFO: call_cost start
[2025-01-11 20:31:13] Production.INFO: call_cost end
[2025-01-11 20:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:31:14] Production.INFO: ==21889== Releasing lock...
[2025-01-11 20:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:31:18] Production.INFO: count ==1958
[2025-01-11 20:31:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:31:05 - End Time 2025-01-11 20:31:05
[2025-01-11 20:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226717', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226717', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226717', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226717', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:31:19] Production.INFO: ProcessCDR(1,14226717,1,1,2)
[2025-01-11 20:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226717', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226717', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:31:22] Production.INFO: ==21897== Releasing lock...
[2025-01-11 20:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:31:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:32:01] Production.INFO: ==21953== Lock acquired, processing the job...
[2025-01-12 01:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:32:01] Production.INFO: neon service started
[2025-01-12 01:32:01] Production.INFO: neon service started
[2025-01-12 01:32:01] Production.INFO: ==21953== Releasing lock...
[2025-01-12 01:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:32:02] Production.INFO: ==21957== Lock acquired, processing the job...
[2025-01-12 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:32:02] Production.INFO: ==21957== Releasing lock...
[2025-01-12 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:32:02] Production.INFO: ==21955== Lock acquired, processing the job...
[2025-01-11 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:32:02] Production.INFO: ==21955== Releasing lock...
[2025-01-11 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:32:03] Production.INFO: ==21961== Lock acquired, processing the job...
[2025-01-11 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:32:03] Production.INFO: ==21963== Lock acquired, processing the job...
[2025-01-11 20:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:32:03] Production.INFO: ==21967== Lock acquired, processing the job...
[2025-01-11 20:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:32:03] Production.INFO: ==21959== Lock acquired, processing the job...
[2025-01-11 20:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:32:03] Production.INFO: ==21965== Lock acquired, processing the job...
[2025-01-11 20:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:32:03] Production.INFO: ==21961== Releasing lock...
[2025-01-11 20:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:32:03] Production.INFO: ==21970== Lock acquired, processing the job...
[2025-01-11 20:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:32:03] Production.ERROR: done
[2025-01-11 20:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 20:32:03] Production.INFO: count ==21
[2025-01-11 20:32:03] Production.ERROR: done
[2025-01-11 20:32:03] Production.INFO: Account Balance Start.
[2025-01-11 20:32:03] Production.INFO: CreateAllLog Start
[2025-01-11 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-01-11 20:32:03] Production.INFO: count ==21
[2025-01-11 20:32:03] Production.INFO: 117
[2025-01-11 20:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226721') start
[2025-01-11 20:32:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:32:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:32:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226721') end
[2025-01-11 20:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:32:04] Production.INFO: 1
[2025-01-11 20:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:32:04] Production.INFO: ==21970== Releasing lock...
[2025-01-11 20:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:32:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:32:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:32:04] Production.INFO: Total Charge 0
[2025-01-11 20:32:04] Production.INFO: CreateAllLog End
[2025-01-11 20:32:04] Production.INFO: Account Balance End.
[2025-01-11 20:32:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:32:04] Production.INFO: ==21965== Releasing lock...
[2025-01-11 20:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:32:04
[end_date_ymd] => 2025-01-11 20:32:04
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:32:04' and `end` < '2025-01-11 20:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:32:11] Production.ERROR: CronJobId end10
[2025-01-11 20:32:11] Production.INFO: ==21963== Releasing lock...
[2025-01-11 20:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:32:13] Production.INFO: call_cost start
[2025-01-11 20:32:13] Production.INFO: call_cost end
[2025-01-11 20:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:32:14] Production.INFO: ==21959== Releasing lock...
[2025-01-11 20:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:32:22] Production.INFO: count ==1967
[2025-01-11 20:32:22] Production.ERROR: pbx CDR StartTime 2025-01-11 17:32:04 - End Time 2025-01-11 20:32:04
[2025-01-11 20:32:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226722', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226722', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226722', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:32:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226722', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:32:22] Production.INFO: ProcessCDR(1,14226722,1,1,2)
[2025-01-11 20:32:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:32:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:32:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:32:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226722', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:32:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226722', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:32:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:32:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:32:25] Production.INFO: ==21967== Releasing lock...
[2025-01-11 20:32:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:32:25] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:33:02] Production.INFO: ==22065== Lock acquired, processing the job...
[2025-01-12 01:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:33:02] Production.INFO: neon service started
[2025-01-12 01:33:02] Production.INFO: neon service started
[2025-01-12 01:33:02] Production.INFO: ==22065== Releasing lock...
[2025-01-12 01:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:33:02] Production.INFO: ==22069== Lock acquired, processing the job...
[2025-01-12 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:33:02] Production.INFO: ==22069== Releasing lock...
[2025-01-12 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:33:02] Production.INFO: ==22067== Lock acquired, processing the job...
[2025-01-11 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:33:02] Production.INFO: ==22067== Releasing lock...
[2025-01-11 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:33:03] Production.INFO: ==22071== Lock acquired, processing the job...
[2025-01-11 20:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:33:03] Production.INFO: ==22073== Lock acquired, processing the job...
[2025-01-11 20:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:33:03] Production.INFO: ==22079== Lock acquired, processing the job...
[2025-01-11 20:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:33:04] Production.INFO: ==22077== Lock acquired, processing the job...
[2025-01-11 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:33:04] Production.INFO: ==22075== Lock acquired, processing the job...
[2025-01-11 20:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:33:04] Production.INFO: ==22073== Releasing lock...
[2025-01-11 20:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:33:04] Production.INFO: ==22081== Lock acquired, processing the job...
[2025-01-11 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:33:04] Production.INFO: Account Balance Start.
[2025-01-11 20:33:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:33:04] Production.INFO: 117
[2025-01-11 20:33:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:33:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:33:04] Production.ERROR: done
[2025-01-11 20:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:33:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:33:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:33:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:33:04] Production.INFO: Total Charge 0
[2025-01-11 20:33:04] Production.ERROR: done
[2025-01-11 20:33:04] Production.INFO: count ==21
[2025-01-11 20:33:04] Production.INFO: CreateAllLog End
[2025-01-11 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226726') start
[2025-01-11 20:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226726') end
[2025-01-11 20:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:33:04] Production.INFO: 1
[2025-01-11 20:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:33:04] Production.INFO: Account Balance End.
[2025-01-11 20:33:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:33:04] Production.INFO: ==22077== Releasing lock...
[2025-01-11 20:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:33:04] Production.INFO: ==22081== Releasing lock...
[2025-01-11 20:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:33:05
[end_date_ymd] => 2025-01-11 20:33:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:33:05' and `end` < '2025-01-11 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-01-11 20:33:12] Production.ERROR: CronJobId end10
[2025-01-11 20:33:12] Production.INFO: ==22075== Releasing lock...
[2025-01-11 20:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:33:15] Production.INFO: call_cost start
[2025-01-11 20:33:15] Production.INFO: call_cost end
[2025-01-11 20:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:33:15] Production.INFO: ==22071== Releasing lock...
[2025-01-11 20:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:33:18] Production.INFO: count ==1971
[2025-01-11 20:33:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:33:05 - End Time 2025-01-11 20:33:05
[2025-01-11 20:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226727', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226727', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226727', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226727', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:33:19] Production.INFO: ProcessCDR(1,14226727,1,1,2)
[2025-01-11 20:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226727', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226727', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:33:22] Production.INFO: ==22079== Releasing lock...
[2025-01-11 20:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:33:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:34:01] Production.INFO: ==22139== Lock acquired, processing the job...
[2025-01-12 01:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:34:01] Production.INFO: neon service started
[2025-01-12 01:34:01] Production.INFO: neon service started
[2025-01-12 01:34:01] Production.INFO: ==22139== Releasing lock...
[2025-01-12 01:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:34:02] Production.INFO: ==22141== Lock acquired, processing the job...
[2025-01-11 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:34:02] Production.INFO: ==22141== Releasing lock...
[2025-01-11 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:34:02] Production.INFO: ==22143== Lock acquired, processing the job...
[2025-01-12 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:34:02] Production.INFO: ==22143== Releasing lock...
[2025-01-12 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:34:03] Production.INFO: ==22145== Lock acquired, processing the job...
[2025-01-11 20:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:34:03] Production.INFO: ==22147== Lock acquired, processing the job...
[2025-01-11 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:34:03] Production.INFO: ==22149== Lock acquired, processing the job...
[2025-01-11 20:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:34:03] Production.INFO: ==22152== Lock acquired, processing the job...
[2025-01-11 20:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:34:03] Production.INFO: ==22156== Lock acquired, processing the job...
[2025-01-11 20:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:34:03] Production.INFO: Account Balance Start.
[2025-01-11 20:34:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:34:03] Production.INFO: ==22154== Lock acquired, processing the job...
[2025-01-11 20:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:34:03] Production.INFO: 117
[2025-01-11 20:34:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:34:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:34:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:34:03] Production.INFO: count ==21
[2025-01-11 20:34:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:34:03] Production.INFO: count ==21
[2025-01-11 20:34:03] Production.INFO: Total Charge 0
[2025-01-11 20:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226731') start
[2025-01-11 20:34:03] Production.INFO: CreateAllLog End
[2025-01-11 20:34:03] Production.INFO: ==22147== Releasing lock...
[2025-01-11 20:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226731') end
[2025-01-11 20:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:34:03] Production.INFO: 1
[2025-01-11 20:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:34:04] Production.INFO: ==22156== Releasing lock...
[2025-01-11 20:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:34:04] Production.ERROR: done
[2025-01-11 20:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:34:04] Production.INFO: Account Balance End.
[2025-01-11 20:34:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:34:04] Production.INFO: ==22152== Releasing lock...
[2025-01-11 20:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:34:04] Production.ERROR: done
[2025-01-11 20:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:34:05
[end_date_ymd] => 2025-01-11 20:34:05
[RateCDR] => 1
)
[2025-01-11 20:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:34:05' and `end` < '2025-01-11 20:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:34:12] Production.ERROR: CronJobId end10
[2025-01-11 20:34:12] Production.INFO: ==22149== Releasing lock...
[2025-01-11 20:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:34:13] Production.INFO: call_cost start
[2025-01-11 20:34:13] Production.INFO: call_cost end
[2025-01-11 20:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:34:14] Production.INFO: ==22145== Releasing lock...
[2025-01-11 20:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:34:18] Production.INFO: count ==1968
[2025-01-11 20:34:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:34:05 - End Time 2025-01-11 20:34:05
[2025-01-11 20:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226732', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226732', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226732', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226732', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:34:19] Production.INFO: ProcessCDR(1,14226732,1,1,2)
[2025-01-11 20:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226732', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226732', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:34:22] Production.INFO: ==22154== Releasing lock...
[2025-01-11 20:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:34:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:35:02] Production.INFO: ==22209== Lock acquired, processing the job...
[2025-01-12 01:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:35:02] Production.INFO: neon service started
[2025-01-12 01:35:02] Production.INFO: neon service started
[2025-01-12 01:35:02] Production.INFO: ==22209== Releasing lock...
[2025-01-12 01:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:35:02] Production.INFO: ==22211== Lock acquired, processing the job...
[2025-01-11 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:35:02] Production.INFO: ==22213== Lock acquired, processing the job...
[2025-01-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:35:02] Production.INFO: ==22213== Releasing lock...
[2025-01-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:35:02] Production.INFO: ==22211== Releasing lock...
[2025-01-11 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:35:03] Production.INFO: ==22215== Lock acquired, processing the job...
[2025-01-11 20:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:35:03] Production.INFO: ==22217== Lock acquired, processing the job...
[2025-01-11 20:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:35:03] Production.INFO: ==22224== Lock acquired, processing the job...
[2025-01-11 20:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:35:03] Production.INFO: ==22219== Lock acquired, processing the job...
[2025-01-11 20:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:35:03] Production.INFO: ==22222== Lock acquired, processing the job...
[2025-01-11 20:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:35:04] Production.INFO: ==22217== Releasing lock...
[2025-01-11 20:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:35:04] Production.INFO: ==22226== Lock acquired, processing the job...
[2025-01-11 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:35:04] Production.ERROR: done
[2025-01-11 20:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 20:35:04] Production.INFO: Account Balance Start.
[2025-01-11 20:35:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:35:04] Production.INFO: 117
[2025-01-11 20:35:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:35:04] Production.INFO: count ==21
[2025-01-11 20:35:04] Production.ERROR: done
[2025-01-11 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-01-11 20:35:04] Production.INFO: count ==21
[2025-01-11 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226735') start
[2025-01-11 20:35:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:35:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:35:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226735') end
[2025-01-11 20:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:35:04] Production.INFO: 1
[2025-01-11 20:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:35:04] Production.INFO: Total Charge 0
[2025-01-11 20:35:04] Production.INFO: CreateAllLog End
[2025-01-11 20:35:04] Production.INFO: ==22226== Releasing lock...
[2025-01-11 20:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:35:04] Production.INFO: Account Balance End.
[2025-01-11 20:35:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:35:04] Production.INFO: ==22222== Releasing lock...
[2025-01-11 20:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:35:05
[end_date_ymd] => 2025-01-11 20:35:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:35:05' and `end` < '2025-01-11 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-01-11 20:35:12] Production.ERROR: CronJobId end10
[2025-01-11 20:35:12] Production.INFO: ==22219== Releasing lock...
[2025-01-11 20:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:35:13] Production.INFO: call_cost start
[2025-01-11 20:35:13] Production.INFO: call_cost end
[2025-01-11 20:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:35:14] Production.INFO: ==22215== Releasing lock...
[2025-01-11 20:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:35:18] Production.INFO: count ==1957
[2025-01-11 20:35:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:35:05 - End Time 2025-01-11 20:35:05
[2025-01-11 20:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226737', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226737', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226737', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226737', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:35:18] Production.INFO: ProcessCDR(1,14226737,1,1,2)
[2025-01-11 20:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226737', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226737', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:35:22] Production.INFO: ==22224== Releasing lock...
[2025-01-11 20:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:35:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:36:01] Production.INFO: ==22279== Lock acquired, processing the job...
[2025-01-12 01:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:36:01] Production.INFO: neon service started
[2025-01-12 01:36:01] Production.INFO: neon service started
[2025-01-12 01:36:01] Production.INFO: ==22279== Releasing lock...
[2025-01-12 01:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:36:02] Production.INFO: ==22281== Lock acquired, processing the job...
[2025-01-11 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:36:02] Production.INFO: ==22283== Lock acquired, processing the job...
[2025-01-12 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:36:02] Production.INFO: ==22283== Releasing lock...
[2025-01-12 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:36:02] Production.INFO: 26 MB #Memory Used#
[2025-01-11 20:36:02] Production.INFO: ==22281== Releasing lock...
[2025-01-11 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:36:03] Production.INFO: ==22288== Lock acquired, processing the job...
[2025-01-11 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:36:03] Production.INFO: ==22286== Lock acquired, processing the job...
[2025-01-11 20:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:36:03] Production.INFO: ==22292== Lock acquired, processing the job...
[2025-01-11 20:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:36:03] Production.INFO: ==22290== Lock acquired, processing the job...
[2025-01-11 20:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:36:03] Production.INFO: Account Balance Start.
[2025-01-11 20:36:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:36:03] Production.INFO: 117
[2025-01-11 20:36:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:36:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:36:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:36:03] Production.INFO: ==22294== Lock acquired, processing the job...
[2025-01-11 20:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:36:03] Production.INFO: ==22288== Releasing lock...
[2025-01-11 20:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:36:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:36:03] Production.INFO: Total Charge 0
[2025-01-11 20:36:03] Production.INFO: ==22296== Lock acquired, processing the job...
[2025-01-11 20:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:36:03] Production.INFO: CreateAllLog End
[2025-01-11 20:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:36:04] Production.INFO: count ==21
[2025-01-11 20:36:04] Production.INFO: Account Balance End.
[2025-01-11 20:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:36:04] Production.INFO: count ==21
[2025-01-11 20:36:04] Production.ERROR: done
[2025-01-11 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226741') start
[2025-01-11 20:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:36:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:36:04] Production.INFO: ==22292== Releasing lock...
[2025-01-11 20:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:36:04] Production.ERROR: done
[2025-01-11 20:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226741') end
[2025-01-11 20:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:36:04] Production.INFO: 1
[2025-01-11 20:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:36:04] Production.INFO: ==22296== Releasing lock...
[2025-01-11 20:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:36:05
[end_date_ymd] => 2025-01-11 20:36:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:36:05' and `end` < '2025-01-11 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-01-11 20:36:10] Production.ERROR: CronJobId end10
[2025-01-11 20:36:10] Production.INFO: ==22290== Releasing lock...
[2025-01-11 20:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:36:13] Production.INFO: call_cost start
[2025-01-11 20:36:13] Production.INFO: call_cost end
[2025-01-11 20:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:36:14] Production.INFO: ==22286== Releasing lock...
[2025-01-11 20:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:36:19] Production.INFO: count ==1958
[2025-01-11 20:36:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:36:05 - End Time 2025-01-11 20:36:05
[2025-01-11 20:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226742', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226742', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226742', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226742', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:36:19] Production.INFO: ProcessCDR(1,14226742,1,1,2)
[2025-01-11 20:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226742', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226742', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:36:22] Production.INFO: ==22294== Releasing lock...
[2025-01-11 20:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:36:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:37:02] Production.INFO: ==22350== Lock acquired, processing the job...
[2025-01-12 01:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:37:02] Production.INFO: neon service started
[2025-01-12 01:37:02] Production.INFO: neon service started
[2025-01-12 01:37:02] Production.INFO: ==22350== Releasing lock...
[2025-01-12 01:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:37:02] Production.INFO: ==22354== Lock acquired, processing the job...
[2025-01-12 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:37:02] Production.INFO: ==22354== Releasing lock...
[2025-01-12 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:37:02] Production.INFO: ==22352== Lock acquired, processing the job...
[2025-01-11 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:37:02] Production.INFO: ==22352== Releasing lock...
[2025-01-11 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:37:03] Production.INFO: ==22356== Lock acquired, processing the job...
[2025-01-11 20:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:37:03] Production.INFO: ==22358== Lock acquired, processing the job...
[2025-01-11 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:37:03] Production.INFO: ==22360== Lock acquired, processing the job...
[2025-01-11 20:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:37:03] Production.INFO: ==22358== Releasing lock...
[2025-01-11 20:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:37:04] Production.INFO: ==22365== Lock acquired, processing the job...
[2025-01-11 20:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:37:04] Production.INFO: ==22363== Lock acquired, processing the job...
[2025-01-11 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:37:04] Production.INFO: ==22367== Lock acquired, processing the job...
[2025-01-11 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 20:37:04] Production.INFO: Account Balance Start.
[2025-01-11 20:37:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:37:04] Production.INFO: 117
[2025-01-11 20:37:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:37:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:37:04] Production.INFO: count ==21
[2025-01-11 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226745') start
[2025-01-11 20:37:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:37:04] Production.ERROR: done
[2025-01-11 20:37:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:37:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226745') end
[2025-01-11 20:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:37:04] Production.INFO: 1
[2025-01-11 20:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:37:04] Production.INFO: Total Charge 0
[2025-01-11 20:37:04] Production.INFO: ==22367== Releasing lock...
[2025-01-11 20:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:37:04] Production.INFO: CreateAllLog End
[2025-01-11 20:37:04] Production.ERROR: done
[2025-01-11 20:37:04] Production.INFO: Account Balance End.
[2025-01-11 20:37:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:37:04] Production.INFO: ==22363== Releasing lock...
[2025-01-11 20:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:37:05
[end_date_ymd] => 2025-01-11 20:37:05
[RateCDR] => 1
)
[2025-01-11 20:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:37:05' and `end` < '2025-01-11 20:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:37:12] Production.ERROR: CronJobId end10
[2025-01-11 20:37:12] Production.INFO: ==22360== Releasing lock...
[2025-01-11 20:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:37:13] Production.INFO: call_cost start
[2025-01-11 20:37:13] Production.INFO: call_cost end
[2025-01-11 20:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:37:14] Production.INFO: ==22356== Releasing lock...
[2025-01-11 20:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:37:19] Production.INFO: count ==1967
[2025-01-11 20:37:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:37:05 - End Time 2025-01-11 20:37:05
[2025-01-11 20:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226747', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226747', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226747', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226747', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:37:19] Production.INFO: ProcessCDR(1,14226747,1,1,2)
[2025-01-11 20:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:37:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:37:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226747', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226747', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:37:24] Production.INFO: ==22365== Releasing lock...
[2025-01-11 20:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:37:24] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:38:01] Production.INFO: ==22419== Lock acquired, processing the job...
[2025-01-12 01:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:38:01] Production.INFO: neon service started
[2025-01-12 01:38:01] Production.INFO: neon service started
[2025-01-12 01:38:01] Production.INFO: ==22419== Releasing lock...
[2025-01-12 01:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:38:01] Production.INFO: ==22421== Lock acquired, processing the job...
[2025-01-11 20:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:38:02] Production.INFO: ==22421== Releasing lock...
[2025-01-11 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:38:02] Production.INFO: ==22423== Lock acquired, processing the job...
[2025-01-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:38:02] Production.INFO: ==22423== Releasing lock...
[2025-01-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:38:03] Production.INFO: ==22425== Lock acquired, processing the job...
[2025-01-11 20:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:38:03] Production.INFO: ==22427== Lock acquired, processing the job...
[2025-01-11 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:38:03] Production.INFO: ==22431== Lock acquired, processing the job...
[2025-01-11 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:38:03] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-01-11 20:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:38:03] Production.INFO: Account Balance Start.
[2025-01-11 20:38:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:38:03] Production.INFO: 117
[2025-01-11 20:38:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:38:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:38:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:38:03] Production.INFO: ==22435== Lock acquired, processing the job...
[2025-01-11 20:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:38:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:38:03] Production.INFO: Total Charge 0
[2025-01-11 20:38:03] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-01-11 20:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:38:03] Production.INFO: CreateAllLog End
[2025-01-11 20:38:03] Production.INFO: ==22427== Releasing lock...
[2025-01-11 20:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:38:03] Production.INFO: Account Balance End.
[2025-01-11 20: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-01-11 20:38:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:38:03] Production.INFO: ==22431== Releasing lock...
[2025-01-11 20:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:38:03] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:38:03] Production.INFO: count ==21
[2025-01-11 20:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226751') start
[2025-01-11 20:38:03] Production.ERROR: done
[2025-01-11 20:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226751') end
[2025-01-11 20:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:38:03] Production.INFO: 1
[2025-01-11 20:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:38:04] Production.INFO: ==22435== Releasing lock...
[2025-01-11 20:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:38:04] Production.ERROR: done
[2025-01-11 20:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:38:04
[end_date_ymd] => 2025-01-11 20:38:04
[RateCDR] => 1
)
[2025-01-11 20:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:38:04' and `end` < '2025-01-11 20:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:38:10] Production.ERROR: CronJobId end10
[2025-01-11 20:38:10] Production.INFO: ==22429== Releasing lock...
[2025-01-11 20:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:38:12] Production.INFO: call_cost start
[2025-01-11 20:38:12] Production.INFO: call_cost end
[2025-01-11 20:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:38:13] Production.INFO: ==22425== Releasing lock...
[2025-01-11 20:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:38:18] Production.INFO: count ==1967
[2025-01-11 20:38:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:38:04 - End Time 2025-01-11 20:38:04
[2025-01-11 20:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226752', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226752', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226752', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226752', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:38:18] Production.INFO: ProcessCDR(1,14226752,1,1,2)
[2025-01-11 20:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226752', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226752', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:38:21] Production.INFO: ==22433== Releasing lock...
[2025-01-11 20:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:38:21] Production.INFO: 42.5 MB #Memory Used#
[2025-01-12 01:39:01] Production.INFO: ==22491== Lock acquired, processing the job...
[2025-01-12 01:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:39:01] Production.INFO: neon service started
[2025-01-12 01:39:01] Production.INFO: neon service started
[2025-01-12 01:39:01] Production.INFO: ==22491== Releasing lock...
[2025-01-12 01:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:39:02] Production.INFO: ==22495== Lock acquired, processing the job...
[2025-01-12 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:39:02] Production.INFO: ==22495== Releasing lock...
[2025-01-12 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:39:02] Production.INFO: ==22493== Lock acquired, processing the job...
[2025-01-11 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:39:02] Production.INFO: ==22493== Releasing lock...
[2025-01-11 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:39:03] Production.INFO: ==22502== Lock acquired, processing the job...
[2025-01-11 20:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:39:03] Production.INFO: ==22500== Lock acquired, processing the job...
[2025-01-11 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:39:03] Production.INFO: ==22506== Lock acquired, processing the job...
[2025-01-11 20:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:39:03] Production.INFO: ==22498== Lock acquired, processing the job...
[2025-01-11 20:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:39:03] Production.INFO: ==22500== Releasing lock...
[2025-01-11 20:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:39:03] Production.INFO: ==22504== Lock acquired, processing the job...
[2025-01-11 20:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:39:03] Production.INFO: ==22508== Lock acquired, processing the job...
[2025-01-11 20:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:39:03] Production.ERROR: done
[2025-01-11 20:39:03] Production.INFO: Account Balance Start.
[2025-01-11 20:39:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:39:03] Production.INFO: 117
[2025-01-11 20:39:03] Production.INFO: Date 2025-01-08
[2025-01-11 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-01-11 20:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:39:03] Production.INFO: count ==21
[2025-01-11 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-01-11 20:39:03] Production.INFO: count ==21
[2025-01-11 20:39:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226755') start
[2025-01-11 20:39:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226755') end
[2025-01-11 20:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:39:04] Production.INFO: 1
[2025-01-11 20:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:39:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:39:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:39:04] Production.ERROR: done
[2025-01-11 20:39:04] Production.INFO: ==22508== Releasing lock...
[2025-01-11 20:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:39:04] Production.INFO: Total Charge 0
[2025-01-11 20:39:04] Production.INFO: CreateAllLog End
[2025-01-11 20:39:04] Production.INFO: Account Balance End.
[2025-01-11 20:39:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:39:04] Production.INFO: ==22504== Releasing lock...
[2025-01-11 20:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:39:05
[end_date_ymd] => 2025-01-11 20:39:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:39:05' and `end` < '2025-01-11 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-01-11 20:39:10] Production.ERROR: CronJobId end10
[2025-01-11 20:39:10] Production.INFO: ==22502== Releasing lock...
[2025-01-11 20:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:39:12] Production.INFO: call_cost start
[2025-01-11 20:39:12] Production.INFO: call_cost end
[2025-01-11 20:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:39:13] Production.INFO: ==22498== Releasing lock...
[2025-01-11 20:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:39:18] Production.INFO: count ==1965
[2025-01-11 20:39:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:39:05 - End Time 2025-01-11 20:39:05
[2025-01-11 20:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226757', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226757', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226757', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226757', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:39:18] Production.INFO: ProcessCDR(1,14226757,1,1,2)
[2025-01-11 20:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226757', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226757', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:39:23] Production.INFO: ==22506== Releasing lock...
[2025-01-11 20:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:39:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:40:02] Production.INFO: ==22562== Lock acquired, processing the job...
[2025-01-12 01:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:40:02] Production.INFO: neon service started
[2025-01-12 01:40:02] Production.INFO: neon service started
[2025-01-12 01:40:02] Production.INFO: ==22562== Releasing lock...
[2025-01-12 01:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:40:02] Production.INFO: ==22566== Lock acquired, processing the job...
[2025-01-12 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:40:02] Production.INFO: ==22566== Releasing lock...
[2025-01-12 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:40:02] Production.INFO: ==22564== Lock acquired, processing the job...
[2025-01-11 20:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:40:03] Production.INFO: ==22564== Releasing lock...
[2025-01-11 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:40:04] Production.INFO: ==22569== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 20:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 20:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 20:40:04] Production.INFO: ==22569== Releasing lock...
[2025-01-11 20:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 20:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 20:40:04] Production.INFO: ==22577== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:40:04] Production.INFO: ==22571== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:40:04] Production.INFO: ==22573== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:40:04] Production.INFO: Account Balance Start.
[2025-01-11 20:40:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:40:04] Production.INFO: 117
[2025-01-11 20:40:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:40:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:40:04] Production.INFO: ==22575== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:40:04] Production.INFO: ==22581== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 20:40:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:40:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:40:04] Production.INFO: Total Charge 0
[2025-01-11 20:40:04] Production.INFO: CreateAllLog End
[2025-01-11 20:40:04] Production.INFO: ==22573== Releasing lock...
[2025-01-11 20:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:40:04] Production.INFO: ==22579== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:40:04] Production.INFO: ==22583== Lock acquired, processing the job...
[2025-01-11 20:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:40:04] Production.ERROR: done
[2025-01-11 20:40:04] Production.INFO: Account Balance End.
[2025-01-11 20:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 20:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226761', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 20:40:05] Production.ERROR: CronJobId end 12
[2025-01-11 20:40:05] Production.INFO: ==22577== Releasing lock...
[2025-01-11 20:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20: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-01-11 20:40:05] Production.INFO: count ==21
[2025-01-11 20:40:05] Production.ERROR: done
[2025-01-11 20: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-01-11 20:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:40:05] Production.INFO: count ==21
[2025-01-11 20:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14226762') start
[2025-01-11 20:40:05] Production.ERROR: done
[2025-01-11 20:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14226762') end
[2025-01-11 20:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:40:05] Production.INFO: 1
[2025-01-11 20:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:40:05] Production.INFO: ==22583== Releasing lock...
[2025-01-11 20:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:40:06
[end_date_ymd] => 2025-01-11 20:40:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:40:06' and `end` < '2025-01-11 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-01-11 20:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226761', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 20:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 20:40:08] Production.INFO: ProcessCDR(1,14226761,1,1,2)
[2025-01-11 20:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226761,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226761,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:40:08] Production.INFO: ==22581== Releasing lock...
[2025-01-11 20:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 20:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 20:40:13] Production.ERROR: CronJobId end10
[2025-01-11 20:40:13] Production.INFO: ==22575== Releasing lock...
[2025-01-11 20:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:40:16] Production.INFO: call_cost start
[2025-01-11 20:40:16] Production.INFO: call_cost end
[2025-01-11 20:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:40:16] Production.INFO: ==22571== Releasing lock...
[2025-01-11 20:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:40:20] Production.INFO: count ==1957
[2025-01-11 20:40:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:40:06 - End Time 2025-01-11 20:40:06
[2025-01-11 20:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226763', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226763', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226763', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226763', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:40:20] Production.INFO: ProcessCDR(1,14226763,1,1,2)
[2025-01-11 20:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226763', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226763', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:40:23] Production.INFO: ==22579== Releasing lock...
[2025-01-11 20:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:40:23] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:41:01] Production.INFO: ==22639== Lock acquired, processing the job...
[2025-01-12 01:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:41:01] Production.INFO: neon service started
[2025-01-12 01:41:01] Production.INFO: neon service started
[2025-01-12 01:41:01] Production.INFO: ==22639== Releasing lock...
[2025-01-12 01:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:41:02] Production.INFO: ==22641== Lock acquired, processing the job...
[2025-01-11 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:41:02] Production.INFO: ==22641== Releasing lock...
[2025-01-11 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:41:02] Production.INFO: ==22643== Lock acquired, processing the job...
[2025-01-12 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:41:02] Production.INFO: ==22643== Releasing lock...
[2025-01-12 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:41:03] Production.INFO: ==22645== Lock acquired, processing the job...
[2025-01-11 20:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:41:03] Production.INFO: ==22647== Lock acquired, processing the job...
[2025-01-11 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:41:03] Production.INFO: ==22652== Lock acquired, processing the job...
[2025-01-11 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:41:03] Production.INFO: Account Balance Start.
[2025-01-11 20:41:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:41:03] Production.INFO: 117
[2025-01-11 20:41:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:41:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:41:03] Production.INFO: ==22647== Releasing lock...
[2025-01-11 20:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:41:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:41:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:41:03] Production.INFO: Total Charge 0
[2025-01-11 20:41:03] Production.INFO: CreateAllLog End
[2025-01-11 20:41:03] Production.INFO: ==22649== Lock acquired, processing the job...
[2025-01-11 20:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:41:03] Production.INFO: Account Balance End.
[2025-01-11 20:41:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:41:03] Production.INFO: ==22652== Releasing lock...
[2025-01-11 20:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:41:03] Production.INFO: ==22654== Lock acquired, processing the job...
[2025-01-11 20:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:41:03] Production.INFO: ==22656== Lock acquired, processing the job...
[2025-01-11 20:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:41:03] Production.INFO: count ==21
[2025-01-11 20:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:41:03] Production.INFO: count ==21
[2025-01-11 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226767') start
[2025-01-11 20:41:03] Production.ERROR: done
[2025-01-11 20:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226767') end
[2025-01-11 20:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:41:03] Production.INFO: 1
[2025-01-11 20:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:41:04] Production.INFO: ==22656== Releasing lock...
[2025-01-11 20:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:41:04] Production.ERROR: done
[2025-01-11 20:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:41:05
[end_date_ymd] => 2025-01-11 20:41:05
[RateCDR] => 1
)
[2025-01-11 20:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:41:05' and `end` < '2025-01-11 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-01-11 20:41:12] Production.ERROR: CronJobId end10
[2025-01-11 20:41:12] Production.INFO: ==22649== Releasing lock...
[2025-01-11 20:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:41:13] Production.INFO: call_cost start
[2025-01-11 20:41:13] Production.INFO: call_cost end
[2025-01-11 20:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:41:14] Production.INFO: ==22645== Releasing lock...
[2025-01-11 20:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:41:18] Production.INFO: count ==1944
[2025-01-11 20:41:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:41:05 - End Time 2025-01-11 20:41:05
[2025-01-11 20:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226768', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226768', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226768', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226768', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:41:19] Production.INFO: ProcessCDR(1,14226768,1,1,2)
[2025-01-11 20:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226768', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226768', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:41:22] Production.INFO: ==22654== Releasing lock...
[2025-01-11 20:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:41:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:42:02] Production.INFO: ==22712== Lock acquired, processing the job...
[2025-01-12 01:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:42:02] Production.INFO: neon service started
[2025-01-12 01:42:02] Production.INFO: neon service started
[2025-01-12 01:42:02] Production.INFO: ==22712== Releasing lock...
[2025-01-12 01:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:42:02] Production.INFO: ==22714== Lock acquired, processing the job...
[2025-01-11 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:42:02] Production.INFO: ==22714== Releasing lock...
[2025-01-11 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:42:02] Production.INFO: ==22716== Lock acquired, processing the job...
[2025-01-12 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:42:03] Production.INFO: ==22716== Releasing lock...
[2025-01-12 01:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:42:03] Production.INFO: ==22718== Lock acquired, processing the job...
[2025-01-11 20:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:42:03] Production.INFO: ==22724== Lock acquired, processing the job...
[2025-01-11 20:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:42:03] Production.INFO: ==22722== Lock acquired, processing the job...
[2025-01-11 20:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:42:03] Production.INFO: Account Balance Start.
[2025-01-11 20:42:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:42:03] Production.INFO: 117
[2025-01-11 20:42:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:42:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:42:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:42:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:42:04] Production.INFO: ==22720== Lock acquired, processing the job...
[2025-01-11 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:42:04] Production.INFO: Total Charge 0
[2025-01-11 20:42:04] Production.INFO: ==22728== Lock acquired, processing the job...
[2025-01-11 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:42:04] Production.INFO: CreateAllLog End
[2025-01-11 20:42:04] Production.INFO: ==22726== Lock acquired, processing the job...
[2025-01-11 20:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:42:04] Production.INFO: Account Balance End.
[2025-01-11 20:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:42:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:42:04] Production.INFO: ==22724== Releasing lock...
[2025-01-11 20:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:42:04] Production.INFO: count ==21
[2025-01-11 20:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:42:04] Production.INFO: count ==21
[2025-01-11 20:42:04] Production.INFO: ==22720== Releasing lock...
[2025-01-11 20:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226772') start
[2025-01-11 20:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226772') end
[2025-01-11 20:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:42:04] Production.INFO: 1
[2025-01-11 20:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:42:04] Production.ERROR: done
[2025-01-11 20:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:42:04] Production.INFO: ==22728== Releasing lock...
[2025-01-11 20:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:42:04] Production.ERROR: done
[2025-01-11 20:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:42:05
[end_date_ymd] => 2025-01-11 20:42:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:42:05' and `end` < '2025-01-11 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-01-11 20:42:12] Production.ERROR: CronJobId end10
[2025-01-11 20:42:12] Production.INFO: ==22722== Releasing lock...
[2025-01-11 20:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:42:14] Production.INFO: call_cost start
[2025-01-11 20:42:14] Production.INFO: call_cost end
[2025-01-11 20:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:42:14] Production.INFO: ==22718== Releasing lock...
[2025-01-11 20:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:42:19] Production.INFO: count ==1941
[2025-01-11 20:42:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:42:05 - End Time 2025-01-11 20:42:05
[2025-01-11 20:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226773', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226773', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226773', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226773', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:42:19] Production.INFO: ProcessCDR(1,14226773,1,1,2)
[2025-01-11 20:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226773', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226773', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:42:22] Production.INFO: ==22726== Releasing lock...
[2025-01-11 20:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:42:22] Production.INFO: 42.25 MB #Memory Used#
[2025-01-12 01:43:01] Production.INFO: ==22781== Lock acquired, processing the job...
[2025-01-12 01:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:43:01] Production.INFO: neon service started
[2025-01-12 01:43:01] Production.INFO: neon service started
[2025-01-12 01:43:01] Production.INFO: ==22781== Releasing lock...
[2025-01-12 01:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:43:02] Production.INFO: ==22783== Lock acquired, processing the job...
[2025-01-11 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:43:02] Production.INFO: ==22783== Releasing lock...
[2025-01-11 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:43:02] Production.INFO: ==22785== Lock acquired, processing the job...
[2025-01-12 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:43:02] Production.INFO: ==22785== Releasing lock...
[2025-01-12 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:43:03] Production.INFO: ==22787== Lock acquired, processing the job...
[2025-01-11 20:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:43:03] Production.INFO: ==22789== Lock acquired, processing the job...
[2025-01-11 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:43:03] Production.INFO: ==22791== Lock acquired, processing the job...
[2025-01-11 20:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:43:03] Production.INFO: ==22797== Lock acquired, processing the job...
[2025-01-11 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:43:03] Production.INFO: ==22793== Lock acquired, processing the job...
[2025-01-11 20:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:43:03] Production.INFO: ==22795== Lock acquired, processing the job...
[2025-01-11 20:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:43:03] Production.INFO: Account Balance Start.
[2025-01-11 20:43:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:43:03] Production.INFO: count ==21
[2025-01-11 20:43:03] Production.INFO: 117
[2025-01-11 20:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:43:03] Production.INFO: count ==21
[2025-01-11 20:43:03] Production.INFO: ==22789== Releasing lock...
[2025-01-11 20:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226777') start
[2025-01-11 20:43:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226777') end
[2025-01-11 20:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:43:03] Production.INFO: 1
[2025-01-11 20:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:43:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:43:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:43:03] Production.ERROR: done
[2025-01-11 20:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:43:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:43:03] Production.INFO: ==22797== Releasing lock...
[2025-01-11 20:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:43:03] Production.INFO: Total Charge 0
[2025-01-11 20:43:03] Production.INFO: CreateAllLog End
[2025-01-11 20:43:04] Production.ERROR: done
[2025-01-11 20:43:04] Production.INFO: Account Balance End.
[2025-01-11 20:43:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:43:04] Production.INFO: ==22793== Releasing lock...
[2025-01-11 20:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:43:05
[end_date_ymd] => 2025-01-11 20:43:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:43:05' and `end` < '2025-01-11 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-01-11 20:43:11] Production.ERROR: CronJobId end10
[2025-01-11 20:43:11] Production.INFO: ==22791== Releasing lock...
[2025-01-11 20:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:43:13] Production.INFO: call_cost start
[2025-01-11 20:43:13] Production.INFO: call_cost end
[2025-01-11 20:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:43:14] Production.INFO: ==22787== Releasing lock...
[2025-01-11 20:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:43:18] Production.INFO: count ==1938
[2025-01-11 20:43:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:43:05 - End Time 2025-01-11 20:43:05
[2025-01-11 20:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226778', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226778', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226778', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226778', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:43:18] Production.INFO: ProcessCDR(1,14226778,1,1,2)
[2025-01-11 20:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226778', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226778', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:43:22] Production.INFO: ==22795== Releasing lock...
[2025-01-11 20:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:43:22] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:44:02] Production.INFO: ==22853== Lock acquired, processing the job...
[2025-01-12 01:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:44:02] Production.INFO: neon service started
[2025-01-12 01:44:02] Production.INFO: neon service started
[2025-01-12 01:44:02] Production.INFO: ==22853== Releasing lock...
[2025-01-12 01:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:44:02] Production.INFO: ==22856== Lock acquired, processing the job...
[2025-01-11 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:44:02] Production.INFO: ==22858== Lock acquired, processing the job...
[2025-01-12 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 20:44:02] Production.INFO: ==22856== Releasing lock...
[2025-01-11 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:44:02] Production.INFO: ==22858== Releasing lock...
[2025-01-12 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:44:03] Production.INFO: ==22860== Lock acquired, processing the job...
[2025-01-11 20:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:44:03] Production.INFO: ==22862== Lock acquired, processing the job...
[2025-01-11 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:44:03] Production.INFO: ==22864== Lock acquired, processing the job...
[2025-01-11 20:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:44:03] Production.INFO: ==22862== Releasing lock...
[2025-01-11 20:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:44:03] Production.INFO: ==22866== Lock acquired, processing the job...
[2025-01-11 20:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:44:03] Production.INFO: ==22868== Lock acquired, processing the job...
[2025-01-11 20:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:44:03] Production.INFO: ==22870== Lock acquired, processing the job...
[2025-01-11 20:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:44:04] Production.INFO: Account Balance Start.
[2025-01-11 20:44:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:44:04] Production.INFO: 117
[2025-01-11 20:44:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 20: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-01-11 20:44:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:44:04] Production.INFO: count ==21
[2025-01-11 20:44:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:44:04] Production.INFO: count ==21
[2025-01-11 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226782') start
[2025-01-11 20:44:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:44:04] Production.ERROR: done
[2025-01-11 20:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226782') end
[2025-01-11 20:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:44:04] Production.INFO: 1
[2025-01-11 20:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:44:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:44:04] Production.INFO: ==22870== Releasing lock...
[2025-01-11 20:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:44:04] Production.ERROR: done
[2025-01-11 20:44:04] Production.INFO: Total Charge 0
[2025-01-11 20:44:04] Production.INFO: CreateAllLog End
[2025-01-11 20:44:04] Production.INFO: Account Balance End.
[2025-01-11 20:44:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:44:04] Production.INFO: ==22866== Releasing lock...
[2025-01-11 20:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:44:05
[end_date_ymd] => 2025-01-11 20:44:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:44:05' and `end` < '2025-01-11 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-01-11 20:44:11] Production.ERROR: CronJobId end10
[2025-01-11 20:44:11] Production.INFO: ==22864== Releasing lock...
[2025-01-11 20:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:44:13] Production.INFO: call_cost start
[2025-01-11 20:44:13] Production.INFO: call_cost end
[2025-01-11 20:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:44:14] Production.INFO: ==22860== Releasing lock...
[2025-01-11 20:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:44:19] Production.INFO: count ==1933
[2025-01-11 20:44:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:44:05 - End Time 2025-01-11 20:44:05
[2025-01-11 20:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226783', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226783', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226783', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226783', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:44:20] Production.INFO: ProcessCDR(1,14226783,1,1,2)
[2025-01-11 20:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:44:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:44:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:44:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226783', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:44:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226783', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:44:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:44:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:44:24] Production.INFO: ==22868== Releasing lock...
[2025-01-11 20:44:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:44:24] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:45:01] Production.INFO: ==22934== Lock acquired, processing the job...
[2025-01-12 01:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:45:01] Production.INFO: neon service started
[2025-01-12 01:45:01] Production.INFO: neon service started
[2025-01-12 01:45:01] Production.INFO: ==22934== Releasing lock...
[2025-01-12 01:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:45:01] Production.INFO: ==22940== Lock acquired, processing the job...
[2025-01-12 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:45:01] Production.INFO: ==22940== Releasing lock...
[2025-01-12 01:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:45:02] Production.INFO: ==22938== Lock acquired, processing the job...
[2025-01-11 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:45:02] Production.INFO: ==22938== Releasing lock...
[2025-01-11 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:45:03] Production.INFO: ==22942== Lock acquired, processing the job...
[2025-01-11 20:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:45:03] Production.INFO: ==22944== Lock acquired, processing the job...
[2025-01-11 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:45:03] Production.INFO: ==22951== Lock acquired, processing the job...
[2025-01-11 20:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:45:03] Production.INFO: ==22946== Lock acquired, processing the job...
[2025-01-11 20:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:45:03] Production.INFO: ==22949== Lock acquired, processing the job...
[2025-01-11 20:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:45:03] Production.INFO: ==22944== Releasing lock...
[2025-01-11 20:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:45:03] Production.INFO: ==22953== Lock acquired, processing the job...
[2025-01-11 20:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:45:03] Production.INFO: Account Balance Start.
[2025-01-11 20:45:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:45:03] Production.INFO: 117
[2025-01-11 20:45:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:45:03] Production.ERROR: done
[2025-01-11 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:45:03] Production.INFO: count ==21
[2025-01-11 20:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:45:03] Production.INFO: count ==21
[2025-01-11 20:45:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226787') start
[2025-01-11 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:45:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:45:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:45:03] Production.INFO: Total Charge 0
[2025-01-11 20:45:03] Production.ERROR: done
[2025-01-11 20:45:03] Production.INFO: CreateAllLog End
[2025-01-11 20:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226787') end
[2025-01-11 20:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:45:03] Production.INFO: 1
[2025-01-11 20:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:45:04] Production.INFO: ==22953== Releasing lock...
[2025-01-11 20:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:45:04] Production.INFO: Account Balance End.
[2025-01-11 20:45:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:45:04] Production.INFO: ==22949== Releasing lock...
[2025-01-11 20:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:45:05
[end_date_ymd] => 2025-01-11 20:45:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:45:05' and `end` < '2025-01-11 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-01-11 20:45:12] Production.ERROR: CronJobId end10
[2025-01-11 20:45:12] Production.INFO: ==22946== Releasing lock...
[2025-01-11 20:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:45:14] Production.INFO: call_cost start
[2025-01-11 20:45:14] Production.INFO: call_cost end
[2025-01-11 20:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:45:14] Production.INFO: ==22942== Releasing lock...
[2025-01-11 20:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:45:18] Production.INFO: count ==1932
[2025-01-11 20:45:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:45:05 - End Time 2025-01-11 20:45:05
[2025-01-11 20:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226788', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226788', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226788', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226788', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:45:18] Production.INFO: ProcessCDR(1,14226788,1,1,2)
[2025-01-11 20:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226788', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226788', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:45:21] Production.INFO: ==22951== Releasing lock...
[2025-01-11 20:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:45:21] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:46:02] Production.INFO: ==23055== Lock acquired, processing the job...
[2025-01-12 01:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:46:02] Production.INFO: neon service started
[2025-01-12 01:46:02] Production.INFO: neon service started
[2025-01-12 01:46:02] Production.INFO: ==23055== Releasing lock...
[2025-01-12 01:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:46:02] Production.INFO: ==23059== Lock acquired, processing the job...
[2025-01-12 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:46:02] Production.INFO: ==23059== Releasing lock...
[2025-01-12 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:46:02] Production.INFO: ==23057== Lock acquired, processing the job...
[2025-01-11 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:46:03] Production.INFO: ==23057== Releasing lock...
[2025-01-11 20:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:46:03] Production.INFO: ==23062== Lock acquired, processing the job...
[2025-01-11 20:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:46:03] Production.INFO: ==23068== Lock acquired, processing the job...
[2025-01-11 20:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:46:04] Production.INFO: Account Balance Start.
[2025-01-11 20:46:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:46:04] Production.INFO: 117
[2025-01-11 20:46:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:46:04] Production.INFO: ==23072== Lock acquired, processing the job...
[2025-01-11 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:46:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:46:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:46:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:46:04] Production.INFO: count ==21
[2025-01-11 20:46:04] Production.INFO: Total Charge 0
[2025-01-11 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-01-11 20:46:04] Production.INFO: count ==21
[2025-01-11 20:46:04] Production.INFO: ==23064== Lock acquired, processing the job...
[2025-01-11 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:46:04] Production.INFO: CreateAllLog End
[2025-01-11 20:46:04] Production.INFO: ==23066== Lock acquired, processing the job...
[2025-01-11 20:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226791') start
[2025-01-11 20:46:04] Production.INFO: ==23070== Lock acquired, processing the job...
[2025-01-11 20:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:46:04] Production.INFO: Account Balance End.
[2025-01-11 20:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226791') end
[2025-01-11 20:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:46:04] Production.INFO: 1
[2025-01-11 20:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:46:04] Production.INFO: ==23072== Releasing lock...
[2025-01-11 20:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:46:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:46:04] Production.INFO: ==23068== Releasing lock...
[2025-01-11 20:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:46:04] Production.ERROR: done
[2025-01-11 20:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:46:04] Production.INFO: ==23064== Releasing lock...
[2025-01-11 20:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:46:04] Production.ERROR: done
[2025-01-11 20:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:46:05
[end_date_ymd] => 2025-01-11 20:46:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:46:05' and `end` < '2025-01-11 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-01-11 20:46:13] Production.ERROR: CronJobId end10
[2025-01-11 20:46:13] Production.INFO: ==23066== Releasing lock...
[2025-01-11 20:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:46:14] Production.INFO: call_cost start
[2025-01-11 20:46:14] Production.INFO: call_cost end
[2025-01-11 20:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:46:15] Production.INFO: ==23062== Releasing lock...
[2025-01-11 20:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:46:19] Production.INFO: count ==1929
[2025-01-11 20:46:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:46:05 - End Time 2025-01-11 20:46:05
[2025-01-11 20:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226793', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226793', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226793', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226793', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:46:19] Production.INFO: ProcessCDR(1,14226793,1,1,2)
[2025-01-11 20:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226793', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226793', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:46:23] Production.INFO: ==23070== Releasing lock...
[2025-01-11 20:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:46:23] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:47:01] Production.INFO: ==23170== Lock acquired, processing the job...
[2025-01-12 01:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:47:01] Production.INFO: neon service started
[2025-01-12 01:47:01] Production.INFO: neon service started
[2025-01-12 01:47:01] Production.INFO: ==23170== Releasing lock...
[2025-01-12 01:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:47:02] Production.INFO: ==23174== Lock acquired, processing the job...
[2025-01-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:47:02] Production.INFO: ==23174== Releasing lock...
[2025-01-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:47:02] Production.INFO: ==23172== Lock acquired, processing the job...
[2025-01-11 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:47:02] Production.INFO: ==23172== Releasing lock...
[2025-01-11 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:47:03] Production.INFO: ==23181== Lock acquired, processing the job...
[2025-01-11 20:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:47:03] Production.INFO: ==23177== Lock acquired, processing the job...
[2025-01-11 20:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:47:03] Production.INFO: ==23179== Lock acquired, processing the job...
[2025-01-11 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:47:03] Production.INFO: ==23187== Lock acquired, processing the job...
[2025-01-11 20:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:47:03] Production.INFO: ==23183== Lock acquired, processing the job...
[2025-01-11 20:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:47:03] Production.INFO: ==23185== Lock acquired, processing the job...
[2025-01-11 20:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:47:03] Production.INFO: Account Balance Start.
[2025-01-11 20:47:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:47:03] Production.INFO: 117
[2025-01-11 20: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-01-11 20:47:03] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:47:03] Production.INFO: count ==21
[2025-01-11 20:47:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226797') start
[2025-01-11 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:47:03] Production.INFO: ==23179== Releasing lock...
[2025-01-11 20:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:47:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:47:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226797') end
[2025-01-11 20:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:47:04] Production.INFO: 1
[2025-01-11 20:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:47:04] Production.ERROR: done
[2025-01-11 20:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:47:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:47:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:47:04] Production.INFO: Total Charge 0
[2025-01-11 20:47:04] Production.INFO: ==23187== Releasing lock...
[2025-01-11 20:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:47:04] Production.INFO: CreateAllLog End
[2025-01-11 20:47:04] Production.ERROR: done
[2025-01-11 20:47:04] Production.INFO: Account Balance End.
[2025-01-11 20:47:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:47:04] Production.INFO: ==23183== Releasing lock...
[2025-01-11 20:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:47:05
[end_date_ymd] => 2025-01-11 20:47:05
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:47:05' and `end` < '2025-01-11 20: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-01-11 20:47:11] Production.ERROR: CronJobId end10
[2025-01-11 20:47:11] Production.INFO: ==23181== Releasing lock...
[2025-01-11 20:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:47:14] Production.INFO: call_cost start
[2025-01-11 20:47:14] Production.INFO: call_cost end
[2025-01-11 20:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:47:15] Production.INFO: ==23177== Releasing lock...
[2025-01-11 20:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:47:19] Production.INFO: count ==1916
[2025-01-11 20:47:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:47:05 - End Time 2025-01-11 20:47:05
[2025-01-11 20:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226798', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226798', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226798', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226798', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:47:19] Production.INFO: ProcessCDR(1,14226798,1,1,2)
[2025-01-11 20:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226798', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226798', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:47:24] Production.INFO: ==23185== Releasing lock...
[2025-01-11 20:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:47:24] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:48:02] Production.INFO: ==23291== Lock acquired, processing the job...
[2025-01-12 01:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:48:02] Production.INFO: neon service started
[2025-01-12 01:48:02] Production.INFO: neon service started
[2025-01-12 01:48:02] Production.INFO: ==23291== Releasing lock...
[2025-01-12 01:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:48:02] Production.INFO: ==23294== Lock acquired, processing the job...
[2025-01-11 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:48:02] Production.INFO: ==23294== Releasing lock...
[2025-01-11 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:48:02] Production.INFO: ==23296== Lock acquired, processing the job...
[2025-01-12 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:48:02] Production.INFO: ==23296== Releasing lock...
[2025-01-12 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:48:03] Production.INFO: ==23300== Lock acquired, processing the job...
[2025-01-11 20:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:48:03] Production.INFO: ==23298== Lock acquired, processing the job...
[2025-01-11 20:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:48:03] Production.INFO: ==23308== Lock acquired, processing the job...
[2025-01-11 20:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:48:03] Production.INFO: ==23302== Lock acquired, processing the job...
[2025-01-11 20:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:48:03] Production.INFO: ==23304== Lock acquired, processing the job...
[2025-01-11 20:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:48:03] Production.INFO: ==23306== Lock acquired, processing the job...
[2025-01-11 20:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:48:04] Production.INFO: count ==21
[2025-01-11 20:48:04] Production.INFO: Account Balance Start.
[2025-01-11 20:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:48:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:48:04] Production.INFO: count ==21
[2025-01-11 20:48:04] Production.INFO: 117
[2025-01-11 20:48:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226800') start
[2025-01-11 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:48:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:48:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:48:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:48:04] Production.INFO: Total Charge 0
[2025-01-11 20:48:04] Production.INFO: CreateAllLog End
[2025-01-11 20:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226800') end
[2025-01-11 20:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:48:04] Production.INFO: 1
[2025-01-11 20:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:48:04] Production.INFO: ==23308== Releasing lock...
[2025-01-11 20:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:48:04] Production.INFO: ==23300== Releasing lock...
[2025-01-11 20:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:48:04] Production.ERROR: done
[2025-01-11 20:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:48:04] Production.INFO: Account Balance End.
[2025-01-11 20:48:04] Production.ERROR: done
[2025-01-11 20:48:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:48:04] Production.INFO: ==23304== Releasing lock...
[2025-01-11 20:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:48:05
[end_date_ymd] => 2025-01-11 20:48:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:48:05' and `end` < '2025-01-11 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-01-11 20:48:11] Production.ERROR: CronJobId end10
[2025-01-11 20:48:11] Production.INFO: ==23302== Releasing lock...
[2025-01-11 20:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:48:14] Production.INFO: call_cost start
[2025-01-11 20:48:14] Production.INFO: call_cost end
[2025-01-11 20:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:48:15] Production.INFO: ==23298== Releasing lock...
[2025-01-11 20:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:48:19] Production.INFO: count ==1923
[2025-01-11 20:48:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:48:05 - End Time 2025-01-11 20:48:05
[2025-01-11 20:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226803', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226803', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226803', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226803', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:48:20] Production.INFO: ProcessCDR(1,14226803,1,1,2)
[2025-01-11 20:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226803', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226803', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:48:24] Production.INFO: ==23306== Releasing lock...
[2025-01-11 20:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:48:24] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:49:01] Production.INFO: ==23447== Lock acquired, processing the job...
[2025-01-12 01:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:49:01] Production.INFO: neon service started
[2025-01-12 01:49:01] Production.INFO: neon service started
[2025-01-12 01:49:01] Production.INFO: ==23447== Releasing lock...
[2025-01-12 01:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:49:02] Production.INFO: ==23451== Lock acquired, processing the job...
[2025-01-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:49:02] Production.INFO: ==23451== Releasing lock...
[2025-01-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:49:02] Production.INFO: ==23449== Lock acquired, processing the job...
[2025-01-11 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:49:02] Production.INFO: ==23449== Releasing lock...
[2025-01-11 20:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:49:03] Production.INFO: ==23453== Lock acquired, processing the job...
[2025-01-11 20:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:49:03] Production.INFO: ==23455== Lock acquired, processing the job...
[2025-01-11 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:49:03] Production.INFO: ==23460== Lock acquired, processing the job...
[2025-01-11 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:49:03] Production.INFO: Account Balance Start.
[2025-01-11 20:49:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:49:03] Production.INFO: 117
[2025-01-11 20:49:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:49:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:49:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:49:03] Production.INFO: ==23457== Lock acquired, processing the job...
[2025-01-11 20:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:49:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:49:03] Production.INFO: Total Charge 0
[2025-01-11 20:49:03] Production.INFO: CreateAllLog End
[2025-01-11 20:49:03] Production.INFO: ==23462== Lock acquired, processing the job...
[2025-01-11 20:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:49:03] Production.INFO: ==23455== Releasing lock...
[2025-01-11 20:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:49:03] Production.INFO: ==23464== Lock acquired, processing the job...
[2025-01-11 20:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:49:03] Production.INFO: Account Balance End.
[2025-01-11 20: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-01-11 20:49:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:49:03] Production.INFO: ==23460== Releasing lock...
[2025-01-11 20:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:49:03] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:49:03] Production.INFO: count ==21
[2025-01-11 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226807') start
[2025-01-11 20:49:04] Production.ERROR: done
[2025-01-11 20:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226807') end
[2025-01-11 20:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:49:04] Production.INFO: 1
[2025-01-11 20:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:49:04] Production.ERROR: done
[2025-01-11 20:49:04] Production.INFO: ==23464== Releasing lock...
[2025-01-11 20:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:49:05
[end_date_ymd] => 2025-01-11 20:49:05
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:49:05' and `end` < '2025-01-11 20: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-01-11 20:49:11] Production.ERROR: CronJobId end10
[2025-01-11 20:49:11] Production.INFO: ==23457== Releasing lock...
[2025-01-11 20:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:49:12] Production.INFO: call_cost start
[2025-01-11 20:49:12] Production.INFO: call_cost end
[2025-01-11 20:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:49:13] Production.INFO: ==23453== Releasing lock...
[2025-01-11 20:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:49:18] Production.INFO: count ==1926
[2025-01-11 20:49:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:49:05 - End Time 2025-01-11 20:49:05
[2025-01-11 20:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226808', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226808', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226808', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226808', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:49:18] Production.INFO: ProcessCDR(1,14226808,1,1,2)
[2025-01-11 20:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226808', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226808', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:49:21] Production.INFO: ==23462== Releasing lock...
[2025-01-11 20:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:49:21] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:50:01] Production.INFO: ==23563== Lock acquired, processing the job...
[2025-01-12 01:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:50:01] Production.INFO: neon service started
[2025-01-12 01:50:01] Production.INFO: neon service started
[2025-01-12 01:50:01] Production.INFO: ==23563== Releasing lock...
[2025-01-12 01:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:50:02] Production.INFO: ==23567== Lock acquired, processing the job...
[2025-01-12 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:50:02] Production.INFO: ==23567== Releasing lock...
[2025-01-12 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:50:02] Production.INFO: ==23565== Lock acquired, processing the job...
[2025-01-11 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:50:02] Production.INFO: ==23565== Releasing lock...
[2025-01-11 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:50:03] Production.INFO: ==23571== Lock acquired, processing the job...
[2025-01-11 20:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:50:03] Production.INFO: ==23573== Lock acquired, processing the job...
[2025-01-11 20:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:50:03] Production.INFO: ==23577== Lock acquired, processing the job...
[2025-01-11 20:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:50:03] Production.INFO: ==23569== Lock acquired, processing the job...
[2025-01-11 20:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 20:50:04] Production.ERROR: CronJob PID - 23571
[2025-01-11 20:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 20:50:04] Production.ERROR: CronJob ID - 5
[2025-01-11 20:50:04] Production.ERROR: CronJob Last Run Time 2025-01-11 20:50:00
[2025-01-11 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 20:50:04] Production.ERROR: CronJob PID - 23573
[2025-01-11 20:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-11 20:50:04] Production.ERROR: CronJob ID - 7
[2025-01-11 20:50:04] Production.ERROR: CronJob Last Run Time 2025-01-11 20:50:00
[2025-01-11 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 20:50:04] Production.ERROR: CronJob PID - 23577
[2025-01-11 20:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-11 20:50:04] Production.ERROR: CronJob ID - 12
[2025-01-11 20:50:04] Production.ERROR: CronJob Last Run Time 2025-01-11 20:50:00
[2025-01-11 20:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 20:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 20:50:04] Production.INFO: ==23569== Releasing lock...
[2025-01-11 20:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 20:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 20:50:04] Production.INFO: Account Balance Start.
[2025-01-11 20:50:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:50:04] Production.INFO: 117
[2025-01-11 20:50:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:50:04] Production.INFO: ==23582== Lock acquired, processing the job...
[2025-01-11 20:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 20:50:04] Production.INFO: ==23575== Lock acquired, processing the job...
[2025-01-11 20:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:50:04] Production.INFO: ==23573== Releasing lock...
[2025-01-11 20:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:50:04] Production.INFO: ==23580== Lock acquired, processing the job...
[2025-01-11 20:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:50:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:50:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:50:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:50:04] Production.INFO: ==23584== Lock acquired, processing the job...
[2025-01-11 20:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:50:04] Production.INFO: Total Charge 0
[2025-01-11 20:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:50:04] Production.INFO: CreateAllLog End
[2025-01-11 20:50:04] Production.ERROR: done
[2025-01-11 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-01-11 20:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 20:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226813', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 20:50:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:50:04] Production.INFO: count ==21
[2025-01-11 20:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226812') start
[2025-01-11 20:50:04] Production.ERROR: done
[2025-01-11 20:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:50:04] Production.INFO: Account Balance End.
[2025-01-11 20:50:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:50:04] Production.INFO: ==23577== Releasing lock...
[2025-01-11 20:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14226812') end
[2025-01-11 20:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:50:05] Production.INFO: 1
[2025-01-11 20:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:50:05] Production.ERROR: done
[2025-01-11 20:50:05] Production.INFO: ==23584== Releasing lock...
[2025-01-11 20:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:50:06
[end_date_ymd] => 2025-01-11 20:50:06
[RateCDR] => 1
)
[2025-01-11 20:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:50:06' and `end` < '2025-01-11 20:50:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226813', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 20:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 20:50:08] Production.INFO: ProcessCDR(1,14226813,1,1,2)
[2025-01-11 20:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226813,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226813,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:50:08] Production.INFO: ==23582== Releasing lock...
[2025-01-11 20:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 20:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 20:50:12] Production.ERROR: CronJobId end10
[2025-01-11 20:50:12] Production.INFO: ==23575== Releasing lock...
[2025-01-11 20:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:50:15] Production.INFO: call_cost start
[2025-01-11 20:50:15] Production.INFO: call_cost end
[2025-01-11 20:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:50:16] Production.INFO: ==23571== Releasing lock...
[2025-01-11 20:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:50:19] Production.INFO: count ==1925
[2025-01-11 20:50:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:50:06 - End Time 2025-01-11 20:50:06
[2025-01-11 20:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226814', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226814', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226814', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226814', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:50:20] Production.INFO: ProcessCDR(1,14226814,1,1,2)
[2025-01-11 20:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226814', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226814', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:50:23] Production.INFO: ==23580== Releasing lock...
[2025-01-11 20:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:50:23] Production.INFO: 42 MB #Memory Used#
[2025-01-12 01:51:01] Production.INFO: ==23685== Lock acquired, processing the job...
[2025-01-12 01:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:51:01] Production.INFO: neon service started
[2025-01-12 01:51:01] Production.INFO: neon service started
[2025-01-12 01:51:01] Production.INFO: ==23685== Releasing lock...
[2025-01-12 01:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:51:01] Production.INFO: ==23687== Lock acquired, processing the job...
[2025-01-11 20:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:51:02] Production.INFO: ==23689== Lock acquired, processing the job...
[2025-01-12 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:51:02] Production.INFO: ==23689== Releasing lock...
[2025-01-12 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:51:02] Production.INFO: ==23687== Releasing lock...
[2025-01-11 20:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:51:03] Production.INFO: ==23702== Lock acquired, processing the job...
[2025-01-11 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:51:03] Production.INFO: ==23692== Lock acquired, processing the job...
[2025-01-11 20:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:51:03] Production.INFO: ==23700== Lock acquired, processing the job...
[2025-01-11 20:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20: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-01-11 20:51:03] Production.INFO: count ==21
[2025-01-11 20: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-01-11 20:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:51:03] Production.INFO: count ==21
[2025-01-11 20:51:03] Production.INFO: ==23694== Lock acquired, processing the job...
[2025-01-11 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:51:03] Production.INFO: ==23698== Lock acquired, processing the job...
[2025-01-11 20:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:51:03] Production.INFO: ==23696== Lock acquired, processing the job...
[2025-01-11 20:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226815') start
[2025-01-11 20:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:51:03] Production.INFO: Account Balance Start.
[2025-01-11 20:51:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:51:03] Production.INFO: 117
[2025-01-11 20:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226815') end
[2025-01-11 20:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:51:03] Production.INFO: 1
[2025-01-11 20:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:51:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:51:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:51:03] Production.INFO: ==23702== Releasing lock...
[2025-01-11 20:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:51:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:51:03] Production.ERROR: done
[2025-01-11 20:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:51:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:51:03] Production.INFO: Total Charge 0
[2025-01-11 20:51:03] Production.INFO: ==23694== Releasing lock...
[2025-01-11 20:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:51:03] Production.INFO: CreateAllLog End
[2025-01-11 20:51:03] Production.ERROR: done
[2025-01-11 20:51:04] Production.INFO: Account Balance End.
[2025-01-11 20:51:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:51:04] Production.INFO: ==23698== Releasing lock...
[2025-01-11 20:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:51:04
[end_date_ymd] => 2025-01-11 20:51:04
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:51:04' and `end` < '2025-01-11 20: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-01-11 20:51:10] Production.ERROR: CronJobId end10
[2025-01-11 20:51:10] Production.INFO: ==23696== Releasing lock...
[2025-01-11 20:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:51:13] Production.INFO: call_cost start
[2025-01-11 20:51:13] Production.INFO: call_cost end
[2025-01-11 20:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:51:14] Production.INFO: ==23692== Releasing lock...
[2025-01-11 20:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:51:18] Production.INFO: count ==1889
[2025-01-11 20:51:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:51:04 - End Time 2025-01-11 20:51:04
[2025-01-11 20:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226819', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226819', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226819', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226819', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:51:18] Production.INFO: ProcessCDR(1,14226819,1,1,2)
[2025-01-11 20:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226819', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226819', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:51:21] Production.INFO: ==23700== Releasing lock...
[2025-01-11 20:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:51:21] Production.INFO: 41.75 MB #Memory Used#
[2025-01-12 01:52:01] Production.INFO: ==23804== Lock acquired, processing the job...
[2025-01-12 01:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:52:01] Production.INFO: neon service started
[2025-01-12 01:52:01] Production.INFO: neon service started
[2025-01-12 01:52:01] Production.INFO: ==23804== Releasing lock...
[2025-01-12 01:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:52:02] Production.INFO: ==23808== Lock acquired, processing the job...
[2025-01-12 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:52:02] Production.INFO: ==23808== Releasing lock...
[2025-01-12 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:52:02] Production.INFO: ==23806== Lock acquired, processing the job...
[2025-01-11 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:52:02] Production.INFO: ==23806== Releasing lock...
[2025-01-11 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:52:03] Production.INFO: ==23817== Lock acquired, processing the job...
[2025-01-11 20:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:52:03] Production.INFO: ==23811== Lock acquired, processing the job...
[2025-01-11 20:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:52:03] Production.INFO: ==23813== Lock acquired, processing the job...
[2025-01-11 20:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:52:03] Production.INFO: ==23815== Lock acquired, processing the job...
[2025-01-11 20:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:52:03] Production.INFO: Account Balance Start.
[2025-01-11 20:52:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:52:03] Production.INFO: 117
[2025-01-11 20:52:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:52:03] Production.INFO: ==23819== Lock acquired, processing the job...
[2025-01-11 20:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:52:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:52:03] Production.INFO: ==23821== Lock acquired, processing the job...
[2025-01-11 20:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:52:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:52:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:52:04] Production.INFO: Total Charge 0
[2025-01-11 20:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:52:04] Production.INFO: CreateAllLog End
[2025-01-11 20:52:04] Production.INFO: count ==21
[2025-01-11 20:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:52:04] Production.INFO: count ==21
[2025-01-11 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226823') start
[2025-01-11 20:52:04] Production.INFO: ==23813== Releasing lock...
[2025-01-11 20:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:52:04] Production.ERROR: done
[2025-01-11 20:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226823') end
[2025-01-11 20:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:52:04] Production.INFO: 1
[2025-01-11 20:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:52:04] Production.INFO: ==23821== Releasing lock...
[2025-01-11 20:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:52:04] Production.ERROR: done
[2025-01-11 20:52:04] Production.INFO: Account Balance End.
[2025-01-11 20:52:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:52:04] Production.INFO: ==23817== Releasing lock...
[2025-01-11 20:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:52:05
[end_date_ymd] => 2025-01-11 20:52:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:52:05' and `end` < '2025-01-11 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-01-11 20:52:12] Production.ERROR: CronJobId end10
[2025-01-11 20:52:12] Production.INFO: ==23815== Releasing lock...
[2025-01-11 20:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:52:13] Production.INFO: call_cost start
[2025-01-11 20:52:13] Production.INFO: call_cost end
[2025-01-11 20:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:52:14] Production.INFO: ==23811== Releasing lock...
[2025-01-11 20:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:52:18] Production.INFO: count ==1883
[2025-01-11 20:52:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:52:05 - End Time 2025-01-11 20:52:05
[2025-01-11 20:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226824', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226824', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226824', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226824', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:52:18] Production.INFO: ProcessCDR(1,14226824,1,1,2)
[2025-01-11 20:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226824', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226824', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:52:22] Production.INFO: ==23819== Releasing lock...
[2025-01-11 20:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:52:22] Production.INFO: 41.75 MB #Memory Used#
[2025-01-12 01:53:02] Production.INFO: ==23922== Lock acquired, processing the job...
[2025-01-12 01:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:53:02] Production.INFO: neon service started
[2025-01-12 01:53:02] Production.INFO: neon service started
[2025-01-12 01:53:02] Production.INFO: ==23922== Releasing lock...
[2025-01-12 01:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:53:02] Production.INFO: ==23924== Lock acquired, processing the job...
[2025-01-11 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:53:02] Production.INFO: ==23926== Lock acquired, processing the job...
[2025-01-12 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:53:02] Production.INFO: ==23926== Releasing lock...
[2025-01-12 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:53:03] Production.INFO: ==23924== Releasing lock...
[2025-01-11 20:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:53:03] Production.INFO: ==23930== Lock acquired, processing the job...
[2025-01-11 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:53:03] Production.INFO: ==23935== Lock acquired, processing the job...
[2025-01-11 20:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:53:03] Production.INFO: ==23928== Lock acquired, processing the job...
[2025-01-11 20:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:53:03] Production.INFO: ==23933== Lock acquired, processing the job...
[2025-01-11 20:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:53:03] Production.INFO: ==23930== Releasing lock...
[2025-01-11 20:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:53:04] Production.INFO: Account Balance Start.
[2025-01-11 20:53:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:53:04] Production.INFO: 117
[2025-01-11 20:53:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:53:04] Production.INFO: ==23939== Lock acquired, processing the job...
[2025-01-11 20:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:53:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:53:04] Production.INFO: ==23937== Lock acquired, processing the job...
[2025-01-11 20:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:53:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:53:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:53:04] Production.INFO: Total Charge 0
[2025-01-11 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-01-11 20:53:04] Production.INFO: CreateAllLog End
[2025-01-11 20:53:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:53:04] Production.INFO: count ==21
[2025-01-11 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226828') start
[2025-01-11 20:53:04] Production.ERROR: done
[2025-01-11 20:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:53:04] Production.ERROR: done
[2025-01-11 20:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226828') end
[2025-01-11 20:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:53:04] Production.INFO: 1
[2025-01-11 20:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:53:04] Production.INFO: Account Balance End.
[2025-01-11 20:53:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:53:04] Production.INFO: ==23935== Releasing lock...
[2025-01-11 20:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:53:04] Production.INFO: ==23939== Releasing lock...
[2025-01-11 20:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:53:05
[end_date_ymd] => 2025-01-11 20:53:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:53:05' and `end` < '2025-01-11 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-01-11 20:53:12] Production.ERROR: CronJobId end10
[2025-01-11 20:53:12] Production.INFO: ==23933== Releasing lock...
[2025-01-11 20:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:53:14] Production.INFO: call_cost start
[2025-01-11 20:53:14] Production.INFO: call_cost end
[2025-01-11 20:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:53:15] Production.INFO: ==23928== Releasing lock...
[2025-01-11 20:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:53:19] Production.INFO: count ==1879
[2025-01-11 20:53:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:53:05 - End Time 2025-01-11 20:53:05
[2025-01-11 20:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226829', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226829', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226829', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226829', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:53:19] Production.INFO: ProcessCDR(1,14226829,1,1,2)
[2025-01-11 20:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226829', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226829', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:53:22] Production.INFO: ==23937== Releasing lock...
[2025-01-11 20:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:53:22] Production.INFO: 41.75 MB #Memory Used#
[2025-01-12 01:54:01] Production.INFO: ==24036== Lock acquired, processing the job...
[2025-01-12 01:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:54:01] Production.INFO: neon service started
[2025-01-12 01:54:01] Production.INFO: neon service started
[2025-01-12 01:54:01] Production.INFO: ==24036== Releasing lock...
[2025-01-12 01:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:54:02] Production.INFO: ==24040== Lock acquired, processing the job...
[2025-01-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:54:02] Production.INFO: ==24040== Releasing lock...
[2025-01-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:54:02] Production.INFO: ==24038== Lock acquired, processing the job...
[2025-01-11 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:54:02] Production.INFO: ==24038== Releasing lock...
[2025-01-11 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:54:03] Production.INFO: ==24046== Lock acquired, processing the job...
[2025-01-11 20:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:54:03] Production.INFO: ==24048== Lock acquired, processing the job...
[2025-01-11 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:54:03] Production.INFO: ==24050== Lock acquired, processing the job...
[2025-01-11 20:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:54:03] Production.INFO: Account Balance Start.
[2025-01-11 20:54:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:54:03] Production.INFO: 117
[2025-01-11 20:54:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:54:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:54:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:54:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:54:03] Production.INFO: Total Charge 0
[2025-01-11 20:54:03] Production.INFO: CreateAllLog End
[2025-01-11 20:54:03] Production.INFO: ==24044== Lock acquired, processing the job...
[2025-01-11 20:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:54:03] Production.INFO: ==24042== Lock acquired, processing the job...
[2025-01-11 20:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:54:03] Production.INFO: ==24052== Lock acquired, processing the job...
[2025-01-11 20:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 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-01-11 20:54:03] Production.INFO: Account Balance End.
[2025-01-11 20:54:03] Production.INFO: count ==21
[2025-01-11 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-01-11 20:54:03] Production.INFO: count ==21
[2025-01-11 20:54:03] Production.ERROR: done
[2025-01-11 20:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226832') start
[2025-01-11 20:54:03] Production.ERROR: CronJobId end 12
[2025-01-11 20:54:03] Production.INFO: ==24048== Releasing lock...
[2025-01-11 20:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226832') end
[2025-01-11 20:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:54:04] Production.INFO: 1
[2025-01-11 20:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:54:04] Production.ERROR: done
[2025-01-11 20:54:04] Production.INFO: ==24044== Releasing lock...
[2025-01-11 20:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:54:04] Production.INFO: ==24052== Releasing lock...
[2025-01-11 20:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:54:05
[end_date_ymd] => 2025-01-11 20:54:05
[RateCDR] => 1
)
[2025-01-11 20:54:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:54:05' and `end` < '2025-01-11 20:54:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:54:11] Production.ERROR: CronJobId end10
[2025-01-11 20:54:11] Production.INFO: ==24046== Releasing lock...
[2025-01-11 20:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:54:13] Production.INFO: call_cost start
[2025-01-11 20:54:13] Production.INFO: call_cost end
[2025-01-11 20:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:54:14] Production.INFO: ==24042== Releasing lock...
[2025-01-11 20:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:54:18] Production.INFO: count ==1876
[2025-01-11 20:54:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:54:05 - End Time 2025-01-11 20:54:05
[2025-01-11 20:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226834', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226834', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226834', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226834', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:54:18] Production.INFO: ProcessCDR(1,14226834,1,1,2)
[2025-01-11 20:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226834', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226834', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:54:21] Production.INFO: ==24050== Releasing lock...
[2025-01-11 20:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:54:21] Production.INFO: 41.75 MB #Memory Used#
[2025-01-12 01:55:02] Production.INFO: ==24152== Lock acquired, processing the job...
[2025-01-12 01:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:55:02] Production.INFO: neon service started
[2025-01-12 01:55:02] Production.INFO: neon service started
[2025-01-12 01:55:02] Production.INFO: ==24152== Releasing lock...
[2025-01-12 01:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:55:02] Production.INFO: ==24154== Lock acquired, processing the job...
[2025-01-11 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:55:02] Production.INFO: ==24154== Releasing lock...
[2025-01-11 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:55:02] Production.INFO: ==24156== Lock acquired, processing the job...
[2025-01-12 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:55:02] Production.INFO: ==24156== Releasing lock...
[2025-01-12 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:55:03] Production.INFO: ==24161== Lock acquired, processing the job...
[2025-01-11 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:55:03] Production.INFO: ==24158== Lock acquired, processing the job...
[2025-01-11 20:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:55:03] Production.INFO: ==24169== Lock acquired, processing the job...
[2025-01-11 20:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:55:03] Production.INFO: ==24163== Lock acquired, processing the job...
[2025-01-11 20:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:55:03] Production.INFO: ==24165== Lock acquired, processing the job...
[2025-01-11 20:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:55:03] Production.INFO: ==24167== Lock acquired, processing the job...
[2025-01-11 20:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 20:55:03] Production.INFO: count ==21
[2025-01-11 20:55:03] Production.INFO: ==24161== Releasing lock...
[2025-01-11 20:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 20:55:03] Production.INFO: Account Balance Start.
[2025-01-11 20:55:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:55:03] Production.INFO: count ==21
[2025-01-11 20:55:03] Production.INFO: 117
[2025-01-11 20:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226837') start
[2025-01-11 20:55:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226837') end
[2025-01-11 20:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:55:04] Production.INFO: 1
[2025-01-11 20:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:55:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:55:04] Production.INFO: ==24169== Releasing lock...
[2025-01-11 20:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:55:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:55:04] Production.ERROR: done
[2025-01-11 20:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:55:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:55:04] Production.INFO: Total Charge 0
[2025-01-11 20:55:04] Production.INFO: CreateAllLog End
[2025-01-11 20:55:04] Production.ERROR: done
[2025-01-11 20:55:04] Production.INFO: Account Balance End.
[2025-01-11 20:55:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:55:04] Production.INFO: ==24165== Releasing lock...
[2025-01-11 20:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:55:05
[end_date_ymd] => 2025-01-11 20:55:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:55:05' and `end` < '2025-01-11 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-01-11 20:55:11] Production.ERROR: CronJobId end10
[2025-01-11 20:55:11] Production.INFO: ==24163== Releasing lock...
[2025-01-11 20:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:55:13] Production.INFO: call_cost start
[2025-01-11 20:55:13] Production.INFO: call_cost end
[2025-01-11 20:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:55:14] Production.INFO: ==24158== Releasing lock...
[2025-01-11 20:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:55:18] Production.INFO: count ==1874
[2025-01-11 20:55:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:55:05 - End Time 2025-01-11 20:55:05
[2025-01-11 20:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226839', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226839', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226839', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226839', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:55:19] Production.INFO: ProcessCDR(1,14226839,1,1,2)
[2025-01-11 20:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226839', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226839', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:55:22] Production.INFO: ==24167== Releasing lock...
[2025-01-11 20:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:55:22] Production.INFO: 41.75 MB #Memory Used#
[2025-01-12 01:56:01] Production.INFO: ==24264== Lock acquired, processing the job...
[2025-01-12 01:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:56:01] Production.INFO: neon service started
[2025-01-12 01:56:01] Production.INFO: neon service started
[2025-01-12 01:56:01] Production.INFO: ==24264== Releasing lock...
[2025-01-12 01:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:56:01] Production.INFO: ==24268== Lock acquired, processing the job...
[2025-01-12 01:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:56:01] Production.INFO: ==24268== Releasing lock...
[2025-01-12 01:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:56:02] Production.INFO: ==24266== Lock acquired, processing the job...
[2025-01-11 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:56:02] Production.INFO: ==24266== Releasing lock...
[2025-01-11 20:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:56:03] Production.INFO: ==24273== Lock acquired, processing the job...
[2025-01-11 20:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:56:03] Production.INFO: ==24275== Lock acquired, processing the job...
[2025-01-11 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:56:03] Production.INFO: ==24281== Lock acquired, processing the job...
[2025-01-11 20:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:56:03] Production.INFO: ==24277== Lock acquired, processing the job...
[2025-01-11 20:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:56:03] Production.INFO: ==24279== Lock acquired, processing the job...
[2025-01-11 20:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:56:03] Production.INFO: ==24275== Releasing lock...
[2025-01-11 20:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:56:03] Production.INFO: ==24283== Lock acquired, processing the job...
[2025-01-11 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:56:03] Production.INFO: Account Balance Start.
[2025-01-11 20:56:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:56:03] Production.INFO: 117
[2025-01-11 20:56:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:56:03] Production.ERROR: done
[2025-01-11 20:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 20:56:03] Production.INFO: count ==21
[2025-01-11 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-01-11 20:56:03] Production.INFO: count ==21
[2025-01-11 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226843') start
[2025-01-11 20:56:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:56:03] Production.ERROR: done
[2025-01-11 20:56:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226843') end
[2025-01-11 20:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:56:03] Production.INFO: 1
[2025-01-11 20:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:56:03] Production.INFO: ==24283== Releasing lock...
[2025-01-11 20:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:56:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:56:04] Production.INFO: Total Charge 0
[2025-01-11 20:56:04] Production.INFO: CreateAllLog End
[2025-01-11 20:56:04] Production.INFO: Account Balance End.
[2025-01-11 20:56:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:56:04] Production.INFO: ==24279== Releasing lock...
[2025-01-11 20:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:56:04
[end_date_ymd] => 2025-01-11 20:56:04
[RateCDR] => 1
)
[2025-01-11 20: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-01-11 17:56:04' and `end` < '2025-01-11 20: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-01-11 20:56:11] Production.ERROR: CronJobId end10
[2025-01-11 20:56:11] Production.INFO: ==24277== Releasing lock...
[2025-01-11 20:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:56:13] Production.INFO: call_cost start
[2025-01-11 20:56:13] Production.INFO: call_cost end
[2025-01-11 20:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:56:13] Production.INFO: ==24273== Releasing lock...
[2025-01-11 20:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:56:20] Production.INFO: count ==1872
[2025-01-11 20:56:20] Production.ERROR: pbx CDR StartTime 2025-01-11 17:56:04 - End Time 2025-01-11 20:56:04
[2025-01-11 20:56:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226844', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226844', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226844', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:56:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226844', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:56:20] Production.INFO: ProcessCDR(1,14226844,1,1,2)
[2025-01-11 20:56:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226844', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226844', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:56:23] Production.INFO: ==24281== Releasing lock...
[2025-01-11 20:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:56:23] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 01:57:01] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-12 01:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:57:01] Production.INFO: neon service started
[2025-01-12 01:57:01] Production.INFO: neon service started
[2025-01-12 01:57:01] Production.INFO: ==24383== Releasing lock...
[2025-01-12 01:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:57:02] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-11 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:57:02] Production.INFO: ==24385== Releasing lock...
[2025-01-11 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:57:02] Production.INFO: ==24387== Lock acquired, processing the job...
[2025-01-12 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:57:02] Production.INFO: ==24387== Releasing lock...
[2025-01-12 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:57:03] Production.INFO: ==24392== Lock acquired, processing the job...
[2025-01-11 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:57:03] Production.INFO: ==24398== Lock acquired, processing the job...
[2025-01-11 20:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:57:03] Production.INFO: ==24390== Lock acquired, processing the job...
[2025-01-11 20:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:57:03] Production.INFO: ==24394== Lock acquired, processing the job...
[2025-01-11 20:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:57:03] Production.INFO: ==24396== Lock acquired, processing the job...
[2025-01-11 20:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:57:03] Production.INFO: ==24400== Lock acquired, processing the job...
[2025-01-11 20:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:57:03] Production.INFO: ==24392== Releasing lock...
[2025-01-11 20:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:57:03] Production.ERROR: done
[2025-01-11 20:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:57:04] Production.INFO: Account Balance Start.
[2025-01-11 20:57:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:57:04] Production.INFO: 117
[2025-01-11 20:57:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:57:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:57:04] Production.INFO: count ==21
[2025-01-11 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-01-11 20:57:04] Production.INFO: count ==21
[2025-01-11 20:57:04] Production.ERROR: done
[2025-01-11 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226847') start
[2025-01-11 20:57:04] Production.INFO: Date 2025-01-09
[2025-01-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:57:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:57:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226847') end
[2025-01-11 20:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:57:04] Production.INFO: 1
[2025-01-11 20:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:57:04] Production.INFO: Total Charge 0
[2025-01-11 20:57:04] Production.INFO: CreateAllLog End
[2025-01-11 20:57:04] Production.INFO: ==24400== Releasing lock...
[2025-01-11 20:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:57:04] Production.INFO: Account Balance End.
[2025-01-11 20:57:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:57:04] Production.INFO: ==24396== Releasing lock...
[2025-01-11 20:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:57:05
[end_date_ymd] => 2025-01-11 20:57:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:57:05' and `end` < '2025-01-11 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-01-11 20:57:12] Production.ERROR: CronJobId end10
[2025-01-11 20:57:12] Production.INFO: ==24394== Releasing lock...
[2025-01-11 20:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:57:14] Production.INFO: call_cost start
[2025-01-11 20:57:14] Production.INFO: call_cost end
[2025-01-11 20:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:57:14] Production.INFO: ==24390== Releasing lock...
[2025-01-11 20:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:57:19] Production.INFO: count ==1871
[2025-01-11 20:57:19] Production.ERROR: pbx CDR StartTime 2025-01-11 17:57:05 - End Time 2025-01-11 20:57:05
[2025-01-11 20:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226849', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226849', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226849', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226849', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:57:19] Production.INFO: ProcessCDR(1,14226849,1,1,2)
[2025-01-11 20:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226849', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226849', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:57:24] Production.INFO: ==24398== Releasing lock...
[2025-01-11 20:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:57:24] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 01:58:02] Production.INFO: ==24504== Lock acquired, processing the job...
[2025-01-12 01:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:58:02] Production.INFO: neon service started
[2025-01-12 01:58:02] Production.INFO: neon service started
[2025-01-12 01:58:02] Production.INFO: ==24504== Releasing lock...
[2025-01-12 01:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:58:02] Production.INFO: ==24507== Lock acquired, processing the job...
[2025-01-11 20:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:58:03] Production.INFO: ==24509== Lock acquired, processing the job...
[2025-01-12 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:58:03] Production.INFO: ==24509== Releasing lock...
[2025-01-12 01:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:58:03] Production.INFO: ==24507== Releasing lock...
[2025-01-11 20:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 20:58:03] Production.INFO: ==24513== Lock acquired, processing the job...
[2025-01-11 20:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:58:04] Production.INFO: ==24519== Lock acquired, processing the job...
[2025-01-11 20:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:58:04] Production.INFO: ==24513== Releasing lock...
[2025-01-11 20:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:58:04] Production.INFO: ==24511== Lock acquired, processing the job...
[2025-01-11 20:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:58:04] Production.INFO: ==24515== Lock acquired, processing the job...
[2025-01-11 20:58:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:58:04] Production.INFO: ==24517== Lock acquired, processing the job...
[2025-01-11 20:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:58:04] Production.INFO: ==24521== Lock acquired, processing the job...
[2025-01-11 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:58:04] Production.INFO: Account Balance Start.
[2025-01-11 20:58:04] Production.INFO: CreateAllLog Start
[2025-01-11 20:58:04] Production.INFO: 117
[2025-01-11 20:58:04] Production.ERROR: done
[2025-01-11 20:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:58:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:58:04] Production.INFO: Date 2025-01-08
[2025-01-11 20:58:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:58:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:58:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:58:04] Production.INFO: Date 2025-01-09
[2025-01-11 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-01-11 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:58:04] Production.INFO: count ==21
[2025-01-11 20:58:04] Production.ERROR: done
[2025-01-11 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-01-11 20:58:04] Production.INFO: count ==21
[2025-01-11 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226853') start
[2025-01-11 20:58:04] Production.INFO: Date 2025-01-10
[2025-01-11 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:58:04] Production.INFO: Date 2025-01-11
[2025-01-11 20:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 20:58:04] Production.INFO: Total Charge 0
[2025-01-11 20:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226853') end
[2025-01-11 20:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:58:04] Production.INFO: 1
[2025-01-11 20:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:58:04] Production.INFO: CreateAllLog End
[2025-01-11 20:58:04] Production.INFO: ==24521== Releasing lock...
[2025-01-11 20:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:58:05] Production.INFO: Account Balance End.
[2025-01-11 20:58:05] Production.ERROR: CronJobId end 12
[2025-01-11 20:58:05] Production.INFO: ==24517== Releasing lock...
[2025-01-11 20:58:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:58:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:58:05
[end_date_ymd] => 2025-01-11 20:58:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 17:58:05' and `end` < '2025-01-11 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-01-11 20:58:12] Production.ERROR: CronJobId end10
[2025-01-11 20:58:12] Production.INFO: ==24515== Releasing lock...
[2025-01-11 20:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:58:14] Production.INFO: call_cost start
[2025-01-11 20:58:14] Production.INFO: call_cost end
[2025-01-11 20:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:58:14] Production.INFO: ==24511== Releasing lock...
[2025-01-11 20:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:58:21] Production.INFO: count ==1872
[2025-01-11 20:58:21] Production.ERROR: pbx CDR StartTime 2025-01-11 17:58:05 - End Time 2025-01-11 20:58:05
[2025-01-11 20:58:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226854', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226854', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226854', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:58:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226854', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:58:21] Production.INFO: ProcessCDR(1,14226854,1,1,2)
[2025-01-11 20:58:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226854', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:58:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226854', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:58:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:58:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:58:25] Production.INFO: ==24519== Releasing lock...
[2025-01-11 20:58:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:58:25] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 01:59:01] Production.INFO: ==24623== Lock acquired, processing the job...
[2025-01-12 01:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 01:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 01:59:01] Production.INFO: neon service started
[2025-01-12 01:59:01] Production.INFO: neon service started
[2025-01-12 01:59:01] Production.INFO: ==24623== Releasing lock...
[2025-01-12 01:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 01:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 20:59:02] Production.INFO: ==24625== Lock acquired, processing the job...
[2025-01-11 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 20:59:02] Production.INFO: ==24625== Releasing lock...
[2025-01-11 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 20:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:59:02] Production.INFO: ==24627== Lock acquired, processing the job...
[2025-01-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:59:02] Production.INFO: ==24627== Releasing lock...
[2025-01-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 01:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 20:59:03] Production.INFO: ==24631== Lock acquired, processing the job...
[2025-01-11 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 20:59:03] Production.INFO: ==24633== Lock acquired, processing the job...
[2025-01-11 20:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 20:59:03] Production.INFO: ==24637== Lock acquired, processing the job...
[2025-01-11 20:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 20:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 20:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 20:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 20:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 20:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 20:59:03] Production.INFO: ==24631== Releasing lock...
[2025-01-11 20:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 20:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 20:59:03] Production.ERROR: done
[2025-01-11 20:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 20:59:03] Production.INFO: ==24629== Lock acquired, processing the job...
[2025-01-11 20:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 20:59:03] Production.INFO: ==24635== Lock acquired, processing the job...
[2025-01-11 20:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 20:59:03] Production.ERROR: done
[2025-01-11 20:59:03] Production.INFO: ==24639== Lock acquired, processing the job...
[2025-01-11 20:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 20:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 20:59:03] Production.INFO: Account Balance Start.
[2025-01-11 20:59:03] Production.INFO: CreateAllLog Start
[2025-01-11 20:59:03] Production.INFO: 117
[2025-01-11 20:59:03] Production.INFO: Date 2025-01-08
[2025-01-11 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 20:59:03] Production.INFO: Date 2025-01-09
[2025-01-11 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:59:03] Production.INFO: count ==21
[2025-01-11 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-01-11 20:59:03] Production.INFO: count ==21
[2025-01-11 20:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226859') start
[2025-01-11 20:59:03] Production.INFO: Date 2025-01-10
[2025-01-11 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:59:03] Production.INFO: Date 2025-01-11
[2025-01-11 20:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 20:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226859') end
[2025-01-11 20:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 20:59:04] Production.INFO: 1
[2025-01-11 20:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 20:59:04] Production.INFO: Total Charge 0
[2025-01-11 20:59:04] Production.INFO: CreateAllLog End
[2025-01-11 20:59:04] Production.INFO: ==24639== Releasing lock...
[2025-01-11 20:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 20:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 20:59:04] Production.INFO: Account Balance End.
[2025-01-11 20:59:04] Production.ERROR: CronJobId end 12
[2025-01-11 20:59:04] Production.INFO: ==24635== Releasing lock...
[2025-01-11 20:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 20:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 20:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 17:59:04
[end_date_ymd] => 2025-01-11 20:59:04
[RateCDR] => 1
)
[2025-01-11 20:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 17:59:04' and `end` < '2025-01-11 20:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 20:59:11] Production.ERROR: CronJobId end10
[2025-01-11 20:59:11] Production.INFO: ==24633== Releasing lock...
[2025-01-11 20:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 20:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 20:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 20:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 20:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 20:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 20:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 20:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 20:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 20:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 20:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 20:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 20:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 20:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 20:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 20:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 20:59:13] Production.INFO: call_cost start
[2025-01-11 20:59:13] Production.INFO: call_cost end
[2025-01-11 20:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 20:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 20:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 20:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 20:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 20:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 20:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 20:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 20:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 20:59:14] Production.INFO: ==24629== Releasing lock...
[2025-01-11 20:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 20:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 20:59:18] Production.INFO: count ==1867
[2025-01-11 20:59:18] Production.ERROR: pbx CDR StartTime 2025-01-11 17:59:04 - End Time 2025-01-11 20:59:04
[2025-01-11 20:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226858', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226858', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226858', 'tblTempVendorCDR_20' ) start
[2025-01-11 20:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226858', 'tblTempVendorCDR_20' ) end
[2025-01-11 20:59:18] Production.INFO: ProcessCDR(1,14226858,1,1,2)
[2025-01-11 20:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226858,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 20:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226858,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226858', 'tblTempUsageDetail_20' ) start
[2025-01-11 20:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226858', 'tblTempUsageDetail_20' ) end
[2025-01-11 20:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 20:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 20:59:21] Production.INFO: ==24637== Releasing lock...
[2025-01-11 20:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 20:59:21] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:00:02] Production.INFO: ==24739== Lock acquired, processing the job...
[2025-01-12 02:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:00:02] Production.INFO: neon service started
[2025-01-12 02:00:02] Production.INFO: neon service started
[2025-01-12 02:00:02] Production.INFO: ==24739== Releasing lock...
[2025-01-12 02:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:00:02] Production.INFO: ==24741== Lock acquired, processing the job...
[2025-01-11 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:00:02] Production.INFO: ==24741== Releasing lock...
[2025-01-11 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:00:02] Production.INFO: ==24743== Lock acquired, processing the job...
[2025-01-12 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:00:03] Production.INFO: ==24743== Releasing lock...
[2025-01-12 02:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:00:04] Production.INFO: ==24749== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:00:04] Production.INFO: ==24745== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 21:00:04] Production.INFO: ==24757== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:00:04] Production.INFO: ==24759== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:00:04] Production.ERROR: CronJob PID - 24749
[2025-01-11 21:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-11 21:00:04] Production.ERROR: CronJob ID - 7
[2025-01-11 21:00:04] Production.ERROR: CronJob Last Run Time 2025-01-11 21:00:00
[2025-01-11 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:00:04] Production.ERROR: CronJob PID - 24757
[2025-01-11 21:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-11 21:00:04] Production.ERROR: CronJob ID - 17
[2025-01-11 21:00:04] Production.ERROR: CronJob Last Run Time 2025-01-11 21:00:00
[2025-01-11 21:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:00:04] Production.INFO: ==24747== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 21:00:04] Production.INFO: ==24745== Releasing lock...
[2025-01-11 21:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 21:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 21:00:04] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:00:04] Production.INFO: ==24753== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:00:04] Production.INFO: ==24755== Lock acquired, processing the job...
[2025-01-11 21:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:00:04] Production.INFO: count ==21
[2025-01-11 21:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:00:04] Production.INFO: count ==21
[2025-01-11 21:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:00:04] Production.INFO: Account Balance Start.
[2025-01-11 21:00:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:00:04] Production.INFO: 117
[2025-01-11 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226861') start
[2025-01-11 21:00:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:00:04] Production.INFO: ==24749== Releasing lock...
[2025-01-11 21:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:00:04] Production.ERROR: done
[2025-01-11 21:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226861') end
[2025-01-11 21:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:00:04] Production.INFO: 1
[2025-01-11 21:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:00:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:00:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 21:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226864', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 21:00:04] Production.INFO: ==24759== Releasing lock...
[2025-01-11 21:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:00:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:00:04] Production.INFO: Total Charge 0
[2025-01-11 21:00:04] Production.INFO: CreateAllLog End
[2025-01-11 21:00:04] Production.ERROR: done
[2025-01-11 21:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:00:05] Production.INFO: Account Balance End.
[2025-01-11 21:00:05] Production.ERROR: done
[2025-01-11 21:00:05] Production.ERROR: CronJobId end 12
[2025-01-11 21:00:05] Production.INFO: ==24753== Releasing lock...
[2025-01-11 21:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:00:06
[end_date_ymd] => 2025-01-11 21:00:06
[RateCDR] => 1
)
[2025-01-11 21:00:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:00:06' and `end` < '2025-01-11 21:00:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226864', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 21:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 21:00:08] Production.INFO: ProcessCDR(1,14226864,1,1,2)
[2025-01-11 21:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:00:08] Production.INFO: ==24757== Releasing lock...
[2025-01-11 21:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 21:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 21:00:13] Production.ERROR: CronJobId end10
[2025-01-11 21:00:13] Production.INFO: ==24751== Releasing lock...
[2025-01-11 21:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:00:16] Production.INFO: call_cost start
[2025-01-11 21:00:16] Production.INFO: call_cost end
[2025-01-11 21:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:00:16] Production.INFO: ==24747== Releasing lock...
[2025-01-11 21:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:00:19] Production.INFO: count ==1864
[2025-01-11 21:00:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:00:06 - End Time 2025-01-11 21:00:06
[2025-01-11 21:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226865', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226865', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226865', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226865', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:00:19] Production.INFO: ProcessCDR(1,14226865,1,1,2)
[2025-01-11 21:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226865', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226865', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:00:23] Production.INFO: ==24755== Releasing lock...
[2025-01-11 21:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:00:23] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:01:01] Production.INFO: ==24861== Lock acquired, processing the job...
[2025-01-12 02:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:01:01] Production.INFO: neon service started
[2025-01-12 02:01:01] Production.INFO: neon service started
[2025-01-12 02:01:01] Production.INFO: ==24861== Releasing lock...
[2025-01-12 02:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:01:02] Production.INFO: ==24873== Lock acquired, processing the job...
[2025-01-11 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:01:02] Production.INFO: ==24873== Releasing lock...
[2025-01-11 21:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:01:02] Production.INFO: ==24875== Lock acquired, processing the job...
[2025-01-12 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:01:02] Production.INFO: ==24875== Releasing lock...
[2025-01-12 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:01:03] Production.INFO: ==24885== Lock acquired, processing the job...
[2025-01-11 21:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:01:03] Production.INFO: ==24888== Lock acquired, processing the job...
[2025-01-11 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:01:03] Production.INFO: ==24879== Lock acquired, processing the job...
[2025-01-11 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:01:03] Production.INFO: ==24877== Lock acquired, processing the job...
[2025-01-11 21:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:01:03] Production.INFO: ==24881== Lock acquired, processing the job...
[2025-01-11 21:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:01:03] Production.INFO: ==24883== Lock acquired, processing the job...
[2025-01-11 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 21:01:03] Production.INFO: count ==21
[2025-01-11 21:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:01:03] Production.INFO: count ==21
[2025-01-11 21:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226866') start
[2025-01-11 21:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:01:03] Production.INFO: Account Balance Start.
[2025-01-11 21:01:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:01:03] Production.INFO: 117
[2025-01-11 21:01:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:01:03] Production.ERROR: done
[2025-01-11 21:01:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226866') end
[2025-01-11 21:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:01:03] Production.INFO: 1
[2025-01-11 21:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:01:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:01:03] Production.INFO: ==24888== Releasing lock...
[2025-01-11 21:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:01:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:01:03] Production.INFO: ==24879== Releasing lock...
[2025-01-11 21:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:01:03] Production.INFO: Total Charge 0
[2025-01-11 21:01:03] Production.INFO: CreateAllLog End
[2025-01-11 21:01:03] Production.ERROR: done
[2025-01-11 21:01:03] Production.INFO: Account Balance End.
[2025-01-11 21:01:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:01:03] Production.INFO: ==24883== Releasing lock...
[2025-01-11 21:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:01:04
[end_date_ymd] => 2025-01-11 21:01:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:01:04' and `end` < '2025-01-11 21: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-01-11 21:01:11] Production.ERROR: CronJobId end10
[2025-01-11 21:01:11] Production.INFO: ==24881== Releasing lock...
[2025-01-11 21:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:01:13] Production.INFO: call_cost start
[2025-01-11 21:01:13] Production.INFO: call_cost end
[2025-01-11 21:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:01:14] Production.INFO: ==24877== Releasing lock...
[2025-01-11 21:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:01:19] Production.INFO: count ==1866
[2025-01-11 21:01:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:01:04 - End Time 2025-01-11 21:01:04
[2025-01-11 21:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226870', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226870', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226870', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226870', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:01:19] Production.INFO: ProcessCDR(1,14226870,1,1,2)
[2025-01-11 21:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226870', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226870', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:01:22] Production.INFO: ==24885== Releasing lock...
[2025-01-11 21:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:01:22] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:02:02] Production.INFO: ==24991== Lock acquired, processing the job...
[2025-01-12 02:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:02:02] Production.INFO: neon service started
[2025-01-12 02:02:02] Production.INFO: neon service started
[2025-01-12 02:02:02] Production.INFO: ==24991== Releasing lock...
[2025-01-12 02:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:02:02] Production.INFO: ==24995== Lock acquired, processing the job...
[2025-01-12 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:02:02] Production.INFO: ==24995== Releasing lock...
[2025-01-12 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:02:02] Production.INFO: ==24993== Lock acquired, processing the job...
[2025-01-11 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:02:02] Production.INFO: ==24993== Releasing lock...
[2025-01-11 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:02:03] Production.INFO: ==24998== Lock acquired, processing the job...
[2025-01-11 21:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:02:03] Production.INFO: ==25004== Lock acquired, processing the job...
[2025-01-11 21:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:02:03] Production.INFO: ==25006== Lock acquired, processing the job...
[2025-01-11 21:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:02:03] Production.INFO: Account Balance Start.
[2025-01-11 21:02:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:02:03] Production.INFO: 117
[2025-01-11 21:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:02:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:02:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:02:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:02:04] Production.INFO: ==25000== Lock acquired, processing the job...
[2025-01-11 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:02:04] Production.INFO: ==25002== Lock acquired, processing the job...
[2025-01-11 21:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:02:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:02:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:02:04] Production.INFO: ==25008== Lock acquired, processing the job...
[2025-01-11 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:02:04] Production.INFO: Total Charge 0
[2025-01-11 21:02:04] Production.INFO: CreateAllLog End
[2025-01-11 21:02:04] Production.ERROR: done
[2025-01-11 21:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 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-01-11 21:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:02:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:02:04] Production.INFO: count ==21
[2025-01-11 21:02:04] Production.INFO: Account Balance End.
[2025-01-11 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226874') start
[2025-01-11 21:02:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:02:04] Production.INFO: ==25004== Releasing lock...
[2025-01-11 21:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:02:04] Production.INFO: ==25000== Releasing lock...
[2025-01-11 21:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:02:04] Production.ERROR: done
[2025-01-11 21:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226874') end
[2025-01-11 21:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:02:04] Production.INFO: 1
[2025-01-11 21:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:02:04] Production.INFO: ==25008== Releasing lock...
[2025-01-11 21:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:02:05
[end_date_ymd] => 2025-01-11 21:02:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:02:05' and `end` < '2025-01-11 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-01-11 21:02:13] Production.ERROR: CronJobId end10
[2025-01-11 21:02:13] Production.INFO: ==25002== Releasing lock...
[2025-01-11 21:02:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:02:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:02:14] Production.INFO: call_cost start
[2025-01-11 21:02:14] Production.INFO: call_cost end
[2025-01-11 21:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:02:15] Production.INFO: ==24998== Releasing lock...
[2025-01-11 21:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:02:19] Production.INFO: count ==1866
[2025-01-11 21:02:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:02:05 - End Time 2025-01-11 21:02:05
[2025-01-11 21:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226875', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226875', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226875', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226875', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:02:19] Production.INFO: ProcessCDR(1,14226875,1,1,2)
[2025-01-11 21:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226875', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226875', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:02:24] Production.INFO: ==25006== Releasing lock...
[2025-01-11 21:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:02:24] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:03:01] Production.INFO: ==25112== Lock acquired, processing the job...
[2025-01-12 02:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:03:01] Production.INFO: neon service started
[2025-01-12 02:03:01] Production.INFO: neon service started
[2025-01-12 02:03:01] Production.INFO: ==25112== Releasing lock...
[2025-01-12 02:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:03:01] Production.INFO: ==25116== Lock acquired, processing the job...
[2025-01-12 02:03:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:03:02] Production.INFO: ==25116== Releasing lock...
[2025-01-12 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:03:02] Production.INFO: ==25114== Lock acquired, processing the job...
[2025-01-11 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:03:02] Production.INFO: ==25114== Releasing lock...
[2025-01-11 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:03:03] Production.INFO: ==25124== Lock acquired, processing the job...
[2025-01-11 21:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:03:03] Production.INFO: ==25131== Lock acquired, processing the job...
[2025-01-11 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:03:03] Production.INFO: ==25119== Lock acquired, processing the job...
[2025-01-11 21:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 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-01-11 21:03:03] Production.INFO: ==25121== Lock acquired, processing the job...
[2025-01-11 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:03:03] Production.INFO: count ==21
[2025-01-11 21:03:03] Production.INFO: ==25127== Lock acquired, processing the job...
[2025-01-11 21:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 21:03:03] Production.INFO: count ==21
[2025-01-11 21:03:03] Production.INFO: ==25129== Lock acquired, processing the job...
[2025-01-11 21:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226876') start
[2025-01-11 21:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226876') end
[2025-01-11 21:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:03:03] Production.INFO: 1
[2025-01-11 21:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:03:03] Production.INFO: Account Balance Start.
[2025-01-11 21:03:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:03:03] Production.INFO: 117
[2025-01-11 21:03:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:03:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:03:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:03:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:03:03] Production.INFO: Total Charge 0
[2025-01-11 21:03:03] Production.INFO: ==25121== Releasing lock...
[2025-01-11 21:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:03:03] Production.INFO: ==25131== Releasing lock...
[2025-01-11 21:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:03:03] Production.INFO: CreateAllLog End
[2025-01-11 21:03:04] Production.INFO: Account Balance End.
[2025-01-11 21:03:04] Production.ERROR: done
[2025-01-11 21:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:03:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:03:04] Production.INFO: ==25127== Releasing lock...
[2025-01-11 21:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:03:04] Production.ERROR: done
[2025-01-11 21:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:03:05
[end_date_ymd] => 2025-01-11 21:03:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:03:05' and `end` < '2025-01-11 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-01-11 21:03:11] Production.ERROR: CronJobId end10
[2025-01-11 21:03:11] Production.INFO: ==25124== Releasing lock...
[2025-01-11 21:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:03:12] Production.INFO: call_cost start
[2025-01-11 21:03:12] Production.INFO: call_cost end
[2025-01-11 21:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:03:13] Production.INFO: ==25119== Releasing lock...
[2025-01-11 21:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:03:18] Production.INFO: count ==1872
[2025-01-11 21:03:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:03:05 - End Time 2025-01-11 21:03:05
[2025-01-11 21:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226880', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226880', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226880', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226880', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:03:18] Production.INFO: ProcessCDR(1,14226880,1,1,2)
[2025-01-11 21:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226880', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226880', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:03:23] Production.INFO: ==25129== Releasing lock...
[2025-01-11 21:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:03:23] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:04:02] Production.INFO: ==25224== Lock acquired, processing the job...
[2025-01-12 02:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:04:02] Production.INFO: neon service started
[2025-01-12 02:04:02] Production.INFO: neon service started
[2025-01-12 02:04:02] Production.INFO: ==25224== Releasing lock...
[2025-01-12 02:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:04:02] Production.INFO: ==25226== Lock acquired, processing the job...
[2025-01-11 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:04:02] Production.INFO: ==25228== Lock acquired, processing the job...
[2025-01-12 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:04:02] Production.INFO: ==25228== Releasing lock...
[2025-01-12 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:04:03] Production.INFO: ==25226== Releasing lock...
[2025-01-11 21:04:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:04:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:04:03] Production.INFO: ==25235== Lock acquired, processing the job...
[2025-01-11 21:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:04:04] Production.INFO: ==25231== Lock acquired, processing the job...
[2025-01-11 21:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:04:04] Production.INFO: ==25241== Lock acquired, processing the job...
[2025-01-11 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:04:04] Production.INFO: ==25233== Lock acquired, processing the job...
[2025-01-11 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 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-01-11 21:04:04] Production.INFO: ==25239== Lock acquired, processing the job...
[2025-01-11 21:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:04:04] Production.INFO: ==25237== Lock acquired, processing the job...
[2025-01-11 21:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:04:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:04:04] Production.INFO: count ==21
[2025-01-11 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226882') start
[2025-01-11 21:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:04:04] Production.INFO: Account Balance Start.
[2025-01-11 21:04:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:04:04] Production.INFO: 117
[2025-01-11 21:04:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:04:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:04:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226882') end
[2025-01-11 21:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:04:04] Production.INFO: 1
[2025-01-11 21:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:04:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:04:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:04:04] Production.INFO: Total Charge 0
[2025-01-11 21:04:04] Production.INFO: CreateAllLog End
[2025-01-11 21:04:04] Production.INFO: ==25241== Releasing lock...
[2025-01-11 21:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:04:04] Production.INFO: ==25233== Releasing lock...
[2025-01-11 21:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:04:04] Production.ERROR: done
[2025-01-11 21:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:04:04] Production.ERROR: done
[2025-01-11 21:04:05] Production.INFO: Account Balance End.
[2025-01-11 21:04:05] Production.ERROR: CronJobId end 12
[2025-01-11 21:04:05] Production.INFO: ==25237== Releasing lock...
[2025-01-11 21:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:04:05
[end_date_ymd] => 2025-01-11 21:04:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:04:05' and `end` < '2025-01-11 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-01-11 21:04:11] Production.ERROR: CronJobId end10
[2025-01-11 21:04:11] Production.INFO: ==25235== Releasing lock...
[2025-01-11 21:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:04:14] Production.INFO: call_cost start
[2025-01-11 21:04:14] Production.INFO: call_cost end
[2025-01-11 21:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:04:15] Production.INFO: ==25231== Releasing lock...
[2025-01-11 21:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:04:19] Production.INFO: count ==1864
[2025-01-11 21:04:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:04:05 - End Time 2025-01-11 21:04:05
[2025-01-11 21:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226885', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226885', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226885', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226885', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:04:20] Production.INFO: ProcessCDR(1,14226885,1,1,2)
[2025-01-11 21:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:04:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:04:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226885', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226885', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:04:24] Production.INFO: ==25239== Releasing lock...
[2025-01-11 21:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:04:24] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:05:01] Production.INFO: ==25295== Lock acquired, processing the job...
[2025-01-12 02:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:05:01] Production.INFO: neon service started
[2025-01-12 02:05:01] Production.INFO: neon service started
[2025-01-12 02:05:01] Production.INFO: ==25295== Releasing lock...
[2025-01-12 02:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:05:01] Production.INFO: ==25299== Lock acquired, processing the job...
[2025-01-12 02:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:05:01] Production.INFO: ==25299== Releasing lock...
[2025-01-12 02:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:05:02] Production.INFO: ==25297== Lock acquired, processing the job...
[2025-01-11 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:05:02] Production.INFO: ==25297== Releasing lock...
[2025-01-11 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:05:03] Production.INFO: ==25306== Lock acquired, processing the job...
[2025-01-11 21:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:05:03] Production.INFO: ==25310== Lock acquired, processing the job...
[2025-01-11 21:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:05:03] Production.INFO: ==25302== Lock acquired, processing the job...
[2025-01-11 21:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:05:03] Production.INFO: ==25308== Lock acquired, processing the job...
[2025-01-11 21:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:05:03] Production.INFO: ==25304== Lock acquired, processing the job...
[2025-01-11 21:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:05:03] Production.INFO: ==25312== Lock acquired, processing the job...
[2025-01-11 21:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:05:03] Production.ERROR: done
[2025-01-11 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-01-11 21:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:05:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:05:03] Production.INFO: count ==21
[2025-01-11 21:05:03] Production.INFO: Account Balance Start.
[2025-01-11 21:05:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226887') start
[2025-01-11 21:05:03] Production.INFO: 117
[2025-01-11 21:05:04] Production.ERROR: done
[2025-01-11 21:05:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226887') end
[2025-01-11 21:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:05:04] Production.INFO: 1
[2025-01-11 21:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:05:04] Production.INFO: ==25312== Releasing lock...
[2025-01-11 21:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:05:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:05:04] Production.INFO: ==25304== Releasing lock...
[2025-01-11 21:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:05:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:05:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:05:04] Production.INFO: Total Charge 0
[2025-01-11 21:05:04] Production.INFO: CreateAllLog End
[2025-01-11 21:05:04] Production.INFO: Account Balance End.
[2025-01-11 21:05:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:05:04] Production.INFO: ==25308== Releasing lock...
[2025-01-11 21:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:05:04
[end_date_ymd] => 2025-01-11 21:05:04
[RateCDR] => 1
)
[2025-01-11 21:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:05:04' and `end` < '2025-01-11 21:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:05:10] Production.ERROR: CronJobId end10
[2025-01-11 21:05:10] Production.INFO: ==25306== Releasing lock...
[2025-01-11 21:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:05:13] Production.INFO: call_cost start
[2025-01-11 21:05:13] Production.INFO: call_cost end
[2025-01-11 21:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:05:14] Production.INFO: ==25302== Releasing lock...
[2025-01-11 21:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:05:18] Production.INFO: count ==1864
[2025-01-11 21:05:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:05:04 - End Time 2025-01-11 21:05:04
[2025-01-11 21:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226890', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226890', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226890', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226890', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:05:18] Production.INFO: ProcessCDR(1,14226890,1,1,2)
[2025-01-11 21:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226890', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226890', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:05:21] Production.INFO: ==25310== Releasing lock...
[2025-01-11 21:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:05:21] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:06:02] Production.INFO: ==25368== Lock acquired, processing the job...
[2025-01-12 02:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:06:02] Production.INFO: neon service started
[2025-01-12 02:06:02] Production.INFO: neon service started
[2025-01-12 02:06:02] Production.INFO: ==25368== Releasing lock...
[2025-01-12 02:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:06:02] Production.INFO: ==25370== Lock acquired, processing the job...
[2025-01-11 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:06:02] Production.INFO: ==25370== Releasing lock...
[2025-01-11 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:06:02] Production.INFO: ==25372== Lock acquired, processing the job...
[2025-01-12 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:06:03] Production.INFO: ==25372== Releasing lock...
[2025-01-12 02:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:06:03] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-01-11 21:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:06:03] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-01-11 21:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:06:03] Production.INFO: ==25375== Lock acquired, processing the job...
[2025-01-11 21:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:06:03] Production.INFO: ==25377== Lock acquired, processing the job...
[2025-01-11 21:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21: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-01-11 21:06:03] Production.INFO: ==25379== Lock acquired, processing the job...
[2025-01-11 21:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:06:03] Production.INFO: ==25381== Lock acquired, processing the job...
[2025-01-11 21:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:06:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:06:04] Production.INFO: count ==21
[2025-01-11 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226891') start
[2025-01-11 21:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226891') end
[2025-01-11 21:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:06:04] Production.INFO: 1
[2025-01-11 21:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:06:04] Production.ERROR: done
[2025-01-11 21:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:06:04] Production.INFO: Account Balance Start.
[2025-01-11 21:06:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:06:04] Production.INFO: 117
[2025-01-11 21:06:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:06:04] Production.INFO: ==25385== Releasing lock...
[2025-01-11 21:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:06:04] Production.INFO: ==25377== Releasing lock...
[2025-01-11 21:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:06:04] Production.ERROR: done
[2025-01-11 21:06:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:06:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:06:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:06:04] Production.INFO: Total Charge 0
[2025-01-11 21:06:04] Production.INFO: CreateAllLog End
[2025-01-11 21:06:04] Production.INFO: Account Balance End.
[2025-01-11 21:06:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:06:04] Production.INFO: ==25381== Releasing lock...
[2025-01-11 21:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:06:05
[end_date_ymd] => 2025-01-11 21:06:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:06:05' and `end` < '2025-01-11 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-01-11 21:06:11] Production.ERROR: CronJobId end10
[2025-01-11 21:06:11] Production.INFO: ==25379== Releasing lock...
[2025-01-11 21:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:06:14] Production.INFO: call_cost start
[2025-01-11 21:06:14] Production.INFO: call_cost end
[2025-01-11 21:06:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:06:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:06:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:06:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:06:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:06:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:06:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:06:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:06:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:06:15] Production.INFO: ==25375== Releasing lock...
[2025-01-11 21:06:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:06:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:06:19] Production.INFO: count ==1860
[2025-01-11 21:06:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:06:05 - End Time 2025-01-11 21:06:05
[2025-01-11 21:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226895', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226895', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226895', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226895', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:06:19] Production.INFO: ProcessCDR(1,14226895,1,1,2)
[2025-01-11 21:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226895', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226895', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:06:23] Production.INFO: ==25383== Releasing lock...
[2025-01-11 21:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:06:23] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:07:01] Production.INFO: ==25439== Lock acquired, processing the job...
[2025-01-12 02:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:07:01] Production.INFO: neon service started
[2025-01-12 02:07:01] Production.INFO: neon service started
[2025-01-12 02:07:01] Production.INFO: ==25439== Releasing lock...
[2025-01-12 02:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:07:01] Production.INFO: ==25441== Lock acquired, processing the job...
[2025-01-11 21:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:07:02] Production.INFO: ==25443== Lock acquired, processing the job...
[2025-01-12 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:07:02] Production.INFO: ==25443== Releasing lock...
[2025-01-12 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:07:02] Production.INFO: ==25441== Releasing lock...
[2025-01-11 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:07:03] Production.INFO: ==25450== Lock acquired, processing the job...
[2025-01-11 21:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:07:03] Production.INFO: ==25452== Lock acquired, processing the job...
[2025-01-11 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:07:03] Production.INFO: ==25454== Lock acquired, processing the job...
[2025-01-11 21:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:07:03] Production.INFO: Account Balance Start.
[2025-01-11 21:07:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:07:03] Production.INFO: 117
[2025-01-11 21:07:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:07:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:07:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:07:03] Production.INFO: ==25446== Lock acquired, processing the job...
[2025-01-11 21:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:07:03] Production.INFO: ==25448== Lock acquired, processing the job...
[2025-01-11 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:07:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:07:03] Production.INFO: ==25456== Lock acquired, processing the job...
[2025-01-11 21:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:07:03] Production.INFO: Total Charge 0
[2025-01-11 21:07:03] Production.INFO: CreateAllLog End
[2025-01-11 21:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:07:03] Production.ERROR: done
[2025-01-11 21:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 21:07:03] Production.INFO: Account Balance End.
[2025-01-11 21:07:03] Production.INFO: count ==21
[2025-01-11 21:07:03] Production.ERROR: done
[2025-01-11 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-01-11 21:07:03] Production.INFO: count ==21
[2025-01-11 21:07:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:07:03] Production.INFO: ==25452== Releasing lock...
[2025-01-11 21:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226899') start
[2025-01-11 21:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226899') end
[2025-01-11 21:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:07:03] Production.INFO: 1
[2025-01-11 21:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:07:03] Production.INFO: ==25448== Releasing lock...
[2025-01-11 21:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:07:04] Production.INFO: ==25456== Releasing lock...
[2025-01-11 21:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:07:04
[end_date_ymd] => 2025-01-11 21:07:04
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:07:04' and `end` < '2025-01-11 21: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-01-11 21:07:11] Production.ERROR: CronJobId end10
[2025-01-11 21:07:11] Production.INFO: ==25450== Releasing lock...
[2025-01-11 21:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:07:13] Production.INFO: call_cost start
[2025-01-11 21:07:13] Production.INFO: call_cost end
[2025-01-11 21:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:07:14] Production.INFO: ==25446== Releasing lock...
[2025-01-11 21:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:07:18] Production.INFO: count ==1842
[2025-01-11 21:07:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:07:04 - End Time 2025-01-11 21:07:04
[2025-01-11 21:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226900', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226900', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226900', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226900', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:07:18] Production.INFO: ProcessCDR(1,14226900,1,1,2)
[2025-01-11 21:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226900', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226900', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:07:23] Production.INFO: ==25454== Releasing lock...
[2025-01-11 21:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:07:23] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:08:01] Production.INFO: ==25512== Lock acquired, processing the job...
[2025-01-12 02:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:08:02] Production.INFO: neon service started
[2025-01-12 02:08:02] Production.INFO: neon service started
[2025-01-12 02:08:02] Production.INFO: ==25512== Releasing lock...
[2025-01-12 02:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:08:02] Production.INFO: ==25514== Lock acquired, processing the job...
[2025-01-11 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:08:02] Production.INFO: ==25514== Releasing lock...
[2025-01-11 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:08:02] Production.INFO: ==25516== Lock acquired, processing the job...
[2025-01-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:08:02] Production.INFO: ==25516== Releasing lock...
[2025-01-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:08:03] Production.INFO: ==25519== Lock acquired, processing the job...
[2025-01-11 21:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:08:03] Production.INFO: ==25521== Lock acquired, processing the job...
[2025-01-11 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:08:03] Production.INFO: ==25527== Lock acquired, processing the job...
[2025-01-11 21:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:08:03] Production.INFO: ==25525== Lock acquired, processing the job...
[2025-01-11 21:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:08:03] Production.INFO: ==25523== Lock acquired, processing the job...
[2025-01-11 21:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:08:03] Production.INFO: ==25529== Lock acquired, processing the job...
[2025-01-11 21:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:08:03] Production.INFO: ==25521== Releasing lock...
[2025-01-11 21:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:08:03] Production.INFO: Account Balance Start.
[2025-01-11 21:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:08:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:08:03] Production.INFO: 117
[2025-01-11 21:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:08:03] Production.INFO: Date 2025-01-08
[2025-01-11 21: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-01-11 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:08:03] Production.ERROR: done
[2025-01-11 21:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:08:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:08:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:08:04] Production.INFO: count ==21
[2025-01-11 21:08:04] Production.ERROR: done
[2025-01-11 21:08:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226904') start
[2025-01-11 21:08:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:08:04] Production.INFO: Total Charge 0
[2025-01-11 21:08:04] Production.INFO: CreateAllLog End
[2025-01-11 21:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226904') end
[2025-01-11 21:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:08:04] Production.INFO: 1
[2025-01-11 21:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:08:04] Production.INFO: ==25529== Releasing lock...
[2025-01-11 21:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:08:04] Production.INFO: Account Balance End.
[2025-01-11 21:08:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:08:04] Production.INFO: ==25525== Releasing lock...
[2025-01-11 21:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:08:05
[end_date_ymd] => 2025-01-11 21:08:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:08:05' and `end` < '2025-01-11 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-01-11 21:08:12] Production.ERROR: CronJobId end10
[2025-01-11 21:08:12] Production.INFO: ==25523== Releasing lock...
[2025-01-11 21:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:08:13] Production.INFO: call_cost start
[2025-01-11 21:08:13] Production.INFO: call_cost end
[2025-01-11 21:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:08:14] Production.INFO: ==25519== Releasing lock...
[2025-01-11 21:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:08:18] Production.INFO: count ==1839
[2025-01-11 21:08:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:08:05 - End Time 2025-01-11 21:08:05
[2025-01-11 21:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226905', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226905', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226905', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226905', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:08:18] Production.INFO: ProcessCDR(1,14226905,1,1,2)
[2025-01-11 21:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226905', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226905', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:08:21] Production.INFO: ==25527== Releasing lock...
[2025-01-11 21:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:08:21] Production.INFO: 41.25 MB #Memory Used#
[2025-01-12 02:09:01] Production.INFO: ==25582== Lock acquired, processing the job...
[2025-01-12 02:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:09:01] Production.INFO: neon service started
[2025-01-12 02:09:01] Production.INFO: neon service started
[2025-01-12 02:09:01] Production.INFO: ==25582== Releasing lock...
[2025-01-12 02:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:09:01] Production.INFO: ==25584== Lock acquired, processing the job...
[2025-01-11 21:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:09:01] Production.INFO: ==25586== Lock acquired, processing the job...
[2025-01-12 02:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:09:02] Production.INFO: ==25586== Releasing lock...
[2025-01-12 02:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:09:02] Production.INFO: ==25584== Releasing lock...
[2025-01-11 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:09:02] Production.INFO: ==25589== Lock acquired, processing the job...
[2025-01-11 21:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:09:03] Production.INFO: ==25591== Lock acquired, processing the job...
[2025-01-11 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:09:03] Production.INFO: ==25595== Lock acquired, processing the job...
[2025-01-11 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:09:03] Production.INFO: Account Balance Start.
[2025-01-11 21:09:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:09:03] Production.INFO: 117
[2025-01-11 21:09:03] Production.INFO: ==25591== Releasing lock...
[2025-01-11 21:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:09:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:09:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:09:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:09:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:09:03] Production.INFO: Total Charge 0
[2025-01-11 21:09:03] Production.INFO: ==25593== Lock acquired, processing the job...
[2025-01-11 21:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:09:03] Production.INFO: CreateAllLog End
[2025-01-11 21:09:03] Production.INFO: Account Balance End.
[2025-01-11 21:09:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:09:03] Production.INFO: ==25595== Releasing lock...
[2025-01-11 21:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:09:03] Production.INFO: ==25597== Lock acquired, processing the job...
[2025-01-11 21:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:09:03] Production.INFO: ==25599== Lock acquired, processing the job...
[2025-01-11 21:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 21:09:03] Production.INFO: count ==21
[2025-01-11 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-01-11 21:09:03] Production.INFO: count ==21
[2025-01-11 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226909') start
[2025-01-11 21:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226909') end
[2025-01-11 21:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:09:03] Production.INFO: 1
[2025-01-11 21:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:09:04] Production.INFO: ==25599== Releasing lock...
[2025-01-11 21:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:09:04] Production.ERROR: done
[2025-01-11 21:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:09:04] Production.ERROR: done
[2025-01-11 21:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:09:05
[end_date_ymd] => 2025-01-11 21:09:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:09:05' and `end` < '2025-01-11 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-01-11 21:09:10] Production.ERROR: CronJobId end10
[2025-01-11 21:09:10] Production.INFO: ==25593== Releasing lock...
[2025-01-11 21:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:09:13] Production.INFO: call_cost start
[2025-01-11 21:09:13] Production.INFO: call_cost end
[2025-01-11 21:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:09:13] Production.INFO: ==25589== Releasing lock...
[2025-01-11 21:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:09:19] Production.INFO: count ==1842
[2025-01-11 21:09:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:09:05 - End Time 2025-01-11 21:09:05
[2025-01-11 21:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226910', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226910', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226910', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226910', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:09:20] Production.INFO: ProcessCDR(1,14226910,1,1,2)
[2025-01-11 21:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226910', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226910', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:09:23] Production.INFO: ==25597== Releasing lock...
[2025-01-11 21:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:09:23] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:10:01] Production.INFO: ==25654== Lock acquired, processing the job...
[2025-01-12 02:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:10:01] Production.INFO: neon service started
[2025-01-12 02:10:01] Production.INFO: neon service started
[2025-01-12 02:10:01] Production.INFO: ==25654== Releasing lock...
[2025-01-12 02:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:10:02] Production.INFO: ==25656== Lock acquired, processing the job...
[2025-01-11 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:10:02] Production.INFO: ==25656== Releasing lock...
[2025-01-11 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:10:02] Production.INFO: ==25658== Lock acquired, processing the job...
[2025-01-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:10:02] Production.INFO: ==25658== Releasing lock...
[2025-01-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:10:03] Production.INFO: ==25662== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:10:03] Production.INFO: ==25666== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:10:03] Production.INFO: ==25672== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 21:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:10:03] Production.INFO: ==25660== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 21:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:10:03] Production.INFO: ==25664== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:10:03] Production.ERROR: CronJob PID - 25662
[2025-01-11 21:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 21:10:03] Production.ERROR: CronJob ID - 5
[2025-01-11 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 21:10:00
[2025-01-11 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:10:03] Production.ERROR: CronJob PID - 25666
[2025-01-11 21:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-11 21:10:03] Production.ERROR: CronJob ID - 10
[2025-01-11 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 21:10:00
[2025-01-11 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:10:03] Production.ERROR: CronJob PID - 25672
[2025-01-11 21:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-11 21:10:03] Production.ERROR: CronJob ID - 17
[2025-01-11 21:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 21:10:00
[2025-01-11 21:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:10:03] Production.INFO: ==25668== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:10:03] Production.INFO: ==25670== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 21:10:03] Production.INFO: ==25660== Releasing lock...
[2025-01-11 21:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 21:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 21:10:03] Production.INFO: Account Balance Start.
[2025-01-11 21:10:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:10:03] Production.INFO: 117
[2025-01-11 21:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:10:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:10:03] Production.INFO: ==25674== Lock acquired, processing the job...
[2025-01-11 21:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:10:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:10:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:10:04] Production.ERROR: done
[2025-01-11 21:10:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 21:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 21:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226915', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 21:10:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:10:04] Production.INFO: count ==21
[2025-01-11 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226914') start
[2025-01-11 21:10:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:10:04] Production.ERROR: done
[2025-01-11 21:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:10:04] Production.INFO: ==25664== Releasing lock...
[2025-01-11 21:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226914') end
[2025-01-11 21:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:10:04] Production.INFO: 1
[2025-01-11 21:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:10:04] Production.INFO: Total Charge 0
[2025-01-11 21:10:04] Production.INFO: CreateAllLog End
[2025-01-11 21:10:04] Production.INFO: ==25674== Releasing lock...
[2025-01-11 21:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:10:04] Production.ERROR: done
[2025-01-11 21:10:04] Production.INFO: Account Balance End.
[2025-01-11 21:10:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:10:04] Production.INFO: ==25668== Releasing lock...
[2025-01-11 21:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:10:05
[end_date_ymd] => 2025-01-11 21:10:05
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:10:05' and `end` < '2025-01-11 21: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-01-11 21:10:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226915', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 21:10:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 21:10:07] Production.INFO: ProcessCDR(1,14226915,1,1,2)
[2025-01-11 21:10:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:10:08] Production.INFO: ==25672== Releasing lock...
[2025-01-11 21:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 21:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 21:10:13] Production.ERROR: CronJobId end10
[2025-01-11 21:10:13] Production.INFO: ==25666== Releasing lock...
[2025-01-11 21:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:10:15] Production.INFO: call_cost start
[2025-01-11 21:10:15] Production.INFO: call_cost end
[2025-01-11 21:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:10:15] Production.INFO: ==25662== Releasing lock...
[2025-01-11 21:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:10:18] Production.INFO: count ==1842
[2025-01-11 21:10:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:10:05 - End Time 2025-01-11 21:10:05
[2025-01-11 21:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226916', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226916', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226916', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226916', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:10:18] Production.INFO: ProcessCDR(1,14226916,1,1,2)
[2025-01-11 21:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226916', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226916', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:10:23] Production.INFO: ==25670== Releasing lock...
[2025-01-11 21:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:10:23] Production.INFO: 41.5 MB #Memory Used#
[2025-01-12 02:11:02] Production.INFO: ==25728== Lock acquired, processing the job...
[2025-01-12 02:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:11:02] Production.INFO: neon service started
[2025-01-12 02:11:02] Production.INFO: neon service started
[2025-01-12 02:11:02] Production.INFO: ==25728== Releasing lock...
[2025-01-12 02:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:11:02] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-01-11 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:11:02] Production.INFO: ==25730== Releasing lock...
[2025-01-11 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:11:02] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-01-12 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:11:02] Production.INFO: ==25732== Releasing lock...
[2025-01-12 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:11:03] Production.INFO: ==25743== Lock acquired, processing the job...
[2025-01-11 21:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:11:03] Production.INFO: ==25741== Lock acquired, processing the job...
[2025-01-11 21:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:11:03] Production.INFO: ==25735== Lock acquired, processing the job...
[2025-01-11 21:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:11:03] Production.ERROR: done
[2025-01-11 21:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:11:03] Production.INFO: ==25737== Lock acquired, processing the job...
[2025-01-11 21:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:11:03] Production.INFO: Account Balance Start.
[2025-01-11 21:11:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:11:03] Production.INFO: 117
[2025-01-11 21:11:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:11:03] Production.INFO: ==25739== Lock acquired, processing the job...
[2025-01-11 21:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:11:04] Production.ERROR: done
[2025-01-11 21:11:04] Production.INFO: ==25745== Lock acquired, processing the job...
[2025-01-11 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:11:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:11:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:11:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 21: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-01-11 21:11:04] Production.INFO: Total Charge 0
[2025-01-11 21:11:04] Production.INFO: CreateAllLog End
[2025-01-11 21:11:04] Production.INFO: count ==21
[2025-01-11 21:11:04] Production.INFO: ==25737== Releasing lock...
[2025-01-11 21:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21: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-01-11 21:11:04] Production.INFO: count ==21
[2025-01-11 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226921') start
[2025-01-11 21:11:04] Production.INFO: Account Balance End.
[2025-01-11 21:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226921') end
[2025-01-11 21:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:11:04] Production.INFO: 1
[2025-01-11 21:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:11:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:11:04] Production.INFO: ==25741== Releasing lock...
[2025-01-11 21:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:11:04] Production.INFO: ==25745== Releasing lock...
[2025-01-11 21:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:11:05
[end_date_ymd] => 2025-01-11 21:11:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:11:05' and `end` < '2025-01-11 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-01-11 21:11:12] Production.ERROR: CronJobId end10
[2025-01-11 21:11:12] Production.INFO: ==25739== Releasing lock...
[2025-01-11 21:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:11:13] Production.INFO: call_cost start
[2025-01-11 21:11:13] Production.INFO: call_cost end
[2025-01-11 21:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:11:14] Production.INFO: ==25735== Releasing lock...
[2025-01-11 21:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:11:19] Production.INFO: count ==1809
[2025-01-11 21:11:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:11:05 - End Time 2025-01-11 21:11:05
[2025-01-11 21:11:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226919', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226919', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226919', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:11:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226919', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:11:20] Production.INFO: ProcessCDR(1,14226919,1,1,2)
[2025-01-11 21:11:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226919,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226919,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226919', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226919', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:11:23] Production.INFO: ==25743== Releasing lock...
[2025-01-11 21:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:11:23] Production.INFO: 41.25 MB #Memory Used#
[2025-01-12 02:12:01] Production.INFO: ==25798== Lock acquired, processing the job...
[2025-01-12 02:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:12:01] Production.INFO: neon service started
[2025-01-12 02:12:01] Production.INFO: neon service started
[2025-01-12 02:12:01] Production.INFO: ==25798== Releasing lock...
[2025-01-12 02:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:12:02] Production.INFO: ==25800== Lock acquired, processing the job...
[2025-01-11 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:12:02] Production.INFO: ==25800== Releasing lock...
[2025-01-11 21:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:12:02] Production.INFO: ==25802== Lock acquired, processing the job...
[2025-01-12 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:12:02] Production.INFO: ==25802== Releasing lock...
[2025-01-12 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:12:03] Production.INFO: ==25808== Lock acquired, processing the job...
[2025-01-11 21:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:12:03] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-01-11 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:12:03] Production.INFO: ==25806== Lock acquired, processing the job...
[2025-01-11 21:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:12:03] Production.INFO: ==25804== Lock acquired, processing the job...
[2025-01-11 21:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21: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-01-11 21:12:03] Production.INFO: ==25812== Lock acquired, processing the job...
[2025-01-11 21:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:12:03] Production.INFO: count ==21
[2025-01-11 21:12:03] Production.INFO: ==25810== Lock acquired, processing the job...
[2025-01-11 21:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21: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-01-11 21:12:03] Production.INFO: count ==21
[2025-01-11 21:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226922') start
[2025-01-11 21:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:12:03] Production.INFO: Account Balance Start.
[2025-01-11 21:12:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:12:03] Production.INFO: 117
[2025-01-11 21:12:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226922') end
[2025-01-11 21:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:12:03] Production.INFO: 1
[2025-01-11 21:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:12:03] Production.INFO: ==25814== Releasing lock...
[2025-01-11 21:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:12:03] Production.ERROR: done
[2025-01-11 21:12:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:12:04] Production.INFO: ==25806== Releasing lock...
[2025-01-11 21:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:12:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:12:04] Production.ERROR: done
[2025-01-11 21:12:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:12:04] Production.INFO: Total Charge 0
[2025-01-11 21:12:04] Production.INFO: CreateAllLog End
[2025-01-11 21:12:04] Production.INFO: Account Balance End.
[2025-01-11 21:12:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:12:04] Production.INFO: ==25810== Releasing lock...
[2025-01-11 21:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:12:04
[end_date_ymd] => 2025-01-11 21:12:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:12:04' and `end` < '2025-01-11 21: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-01-11 21:12:11] Production.ERROR: CronJobId end10
[2025-01-11 21:12:11] Production.INFO: ==25808== Releasing lock...
[2025-01-11 21:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:12:13] Production.INFO: call_cost start
[2025-01-11 21:12:13] Production.INFO: call_cost end
[2025-01-11 21:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:12:14] Production.INFO: ==25804== Releasing lock...
[2025-01-11 21:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:12:18] Production.INFO: count ==1807
[2025-01-11 21:12:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:12:04 - End Time 2025-01-11 21:12:04
[2025-01-11 21:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226926', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226926', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226926', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226926', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:12:18] Production.INFO: ProcessCDR(1,14226926,1,1,2)
[2025-01-11 21:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226926', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226926', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:12:21] Production.INFO: ==25812== Releasing lock...
[2025-01-11 21:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:12:21] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:13:02] Production.INFO: ==25872== Lock acquired, processing the job...
[2025-01-12 02:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:13:02] Production.INFO: neon service started
[2025-01-12 02:13:02] Production.INFO: neon service started
[2025-01-12 02:13:02] Production.INFO: ==25872== Releasing lock...
[2025-01-12 02:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:13:02] Production.INFO: ==25875== Lock acquired, processing the job...
[2025-01-11 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:13:02] Production.INFO: ==25877== Lock acquired, processing the job...
[2025-01-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:13:02] Production.INFO: ==25877== Releasing lock...
[2025-01-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:13:02] Production.INFO: ==25875== Releasing lock...
[2025-01-11 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:13:03] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-01-11 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:13:03] Production.INFO: ==25885== Lock acquired, processing the job...
[2025-01-11 21:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:13:03] Production.INFO: ==25879== Lock acquired, processing the job...
[2025-01-11 21:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:13:03] Production.INFO: ==25889== Lock acquired, processing the job...
[2025-01-11 21:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:13:03] Production.INFO: Account Balance Start.
[2025-01-11 21:13:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:13:03] Production.INFO: 117
[2025-01-11 21:13:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:13:03] Production.INFO: ==25883== Lock acquired, processing the job...
[2025-01-11 21:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:13:03] Production.INFO: ==25881== Releasing lock...
[2025-01-11 21:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 21:13:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:13:03] Production.INFO: count ==21
[2025-01-11 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:13:03] Production.INFO: ==25887== Lock acquired, processing the job...
[2025-01-11 21:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 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-01-11 21:13:03] Production.INFO: count ==21
[2025-01-11 21:13:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226930') start
[2025-01-11 21:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:13:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:13:03] Production.INFO: Total Charge 0
[2025-01-11 21:13:03] Production.INFO: CreateAllLog End
[2025-01-11 21:13:04] Production.ERROR: done
[2025-01-11 21:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226930') end
[2025-01-11 21:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:13:04] Production.INFO: 1
[2025-01-11 21:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:13:04] Production.INFO: ==25889== Releasing lock...
[2025-01-11 21:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:13:04] Production.ERROR: done
[2025-01-11 21:13:04] Production.INFO: Account Balance End.
[2025-01-11 21:13:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:13:04] Production.INFO: ==25885== Releasing lock...
[2025-01-11 21:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:13:05
[end_date_ymd] => 2025-01-11 21:13:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:13:05' and `end` < '2025-01-11 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-01-11 21:13:11] Production.ERROR: CronJobId end10
[2025-01-11 21:13:11] Production.INFO: ==25883== Releasing lock...
[2025-01-11 21:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:13:13] Production.INFO: call_cost start
[2025-01-11 21:13:13] Production.INFO: call_cost end
[2025-01-11 21:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:13:14] Production.INFO: ==25879== Releasing lock...
[2025-01-11 21:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:13:19] Production.INFO: count ==1806
[2025-01-11 21:13:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:13:05 - End Time 2025-01-11 21:13:05
[2025-01-11 21:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226931', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226931', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226931', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226931', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:13:19] Production.INFO: ProcessCDR(1,14226931,1,1,2)
[2025-01-11 21:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226931', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226931', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:13:23] Production.INFO: ==25887== Releasing lock...
[2025-01-11 21:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:13:23] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:14:01] Production.INFO: ==25946== Lock acquired, processing the job...
[2025-01-12 02:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:14:01] Production.INFO: neon service started
[2025-01-12 02:14:01] Production.INFO: neon service started
[2025-01-12 02:14:01] Production.INFO: ==25946== Releasing lock...
[2025-01-12 02:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:14:01] Production.INFO: ==25950== Lock acquired, processing the job...
[2025-01-12 02:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:14:01] Production.INFO: ==25950== Releasing lock...
[2025-01-12 02:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:14:01] Production.INFO: ==25948== Lock acquired, processing the job...
[2025-01-11 21:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:14:02] Production.INFO: ==25948== Releasing lock...
[2025-01-11 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:14:03] Production.INFO: ==25958== Lock acquired, processing the job...
[2025-01-11 21:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:14:03] Production.INFO: ==25960== Lock acquired, processing the job...
[2025-01-11 21:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:14:03] Production.INFO: Account Balance Start.
[2025-01-11 21:14:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:14:03] Production.INFO: 117
[2025-01-11 21:14:03] Production.INFO: ==25952== Lock acquired, processing the job...
[2025-01-11 21:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:14:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:14:03] Production.INFO: ==25954== Lock acquired, processing the job...
[2025-01-11 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:14:03] Production.INFO: ==25956== Lock acquired, processing the job...
[2025-01-11 21:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:14:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:14:03] Production.ERROR: done
[2025-01-11 21:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:14:03] Production.INFO: ==25963== Lock acquired, processing the job...
[2025-01-11 21:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:14:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:14:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:14:03] Production.ERROR: done
[2025-01-11 21:14:03] Production.INFO: Total Charge 0
[2025-01-11 21:14:03] Production.INFO: CreateAllLog End
[2025-01-11 21: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-01-11 21:14:03] Production.INFO: Account Balance End.
[2025-01-11 21:14:03] Production.INFO: count ==21
[2025-01-11 21:14:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:14:03] Production.INFO: ==25958== Releasing lock...
[2025-01-11 21:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:14:03] Production.INFO: ==25954== Releasing lock...
[2025-01-11 21:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21: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-01-11 21:14:03] Production.INFO: count ==21
[2025-01-11 21:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226935') start
[2025-01-11 21:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226935') end
[2025-01-11 21:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:14:04] Production.INFO: 1
[2025-01-11 21:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:14:04] Production.INFO: ==25963== Releasing lock...
[2025-01-11 21:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:14:04
[end_date_ymd] => 2025-01-11 21:14:04
[RateCDR] => 1
)
[2025-01-11 21:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:14:04' and `end` < '2025-01-11 21:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:14:11] Production.ERROR: CronJobId end10
[2025-01-11 21:14:11] Production.INFO: ==25956== Releasing lock...
[2025-01-11 21:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:14:13] Production.INFO: call_cost start
[2025-01-11 21:14:13] Production.INFO: call_cost end
[2025-01-11 21:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:14:14] Production.INFO: ==25952== Releasing lock...
[2025-01-11 21:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:14:17] Production.INFO: count ==1804
[2025-01-11 21:14:17] Production.ERROR: pbx CDR StartTime 2025-01-11 18:14:04 - End Time 2025-01-11 21:14:04
[2025-01-11 21:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226936', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226936', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226936', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226936', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:14:18] Production.INFO: ProcessCDR(1,14226936,1,1,2)
[2025-01-11 21:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226936', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226936', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:14:21] Production.INFO: ==25960== Releasing lock...
[2025-01-11 21:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:14:21] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:15:01] Production.INFO: ==26020== Lock acquired, processing the job...
[2025-01-12 02:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:15:01] Production.INFO: neon service started
[2025-01-12 02:15:01] Production.INFO: neon service started
[2025-01-12 02:15:01] Production.INFO: ==26020== Releasing lock...
[2025-01-12 02:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:15:02] Production.INFO: ==26024== Lock acquired, processing the job...
[2025-01-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:15:02] Production.INFO: ==26024== Releasing lock...
[2025-01-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:15:02] Production.INFO: ==26022== Lock acquired, processing the job...
[2025-01-11 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:15:02] Production.INFO: ==26022== Releasing lock...
[2025-01-11 21:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:15:03] Production.INFO: ==26031== Lock acquired, processing the job...
[2025-01-11 21:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:15:03] Production.INFO: ==26033== Lock acquired, processing the job...
[2025-01-11 21:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:15:03] Production.INFO: ==26027== Lock acquired, processing the job...
[2025-01-11 21:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:15:03] Production.INFO: Account Balance Start.
[2025-01-11 21:15:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:15:03] Production.INFO: 117
[2025-01-11 21:15:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:15:03] Production.INFO: ==26029== Lock acquired, processing the job...
[2025-01-11 21:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:15:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:15:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:15:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:15:03] Production.INFO: Total Charge 0
[2025-01-11 21:15:03] Production.INFO: CreateAllLog End
[2025-01-11 21:15:03] Production.INFO: ==26035== Lock acquired, processing the job...
[2025-01-11 21:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:15:04] Production.INFO: ==26037== Lock acquired, processing the job...
[2025-01-11 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:15:04] Production.INFO: ==26029== Releasing lock...
[2025-01-11 21:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:15:04] Production.INFO: Account Balance End.
[2025-01-11 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-01-11 21:15:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:15:04] Production.INFO: ==26033== Releasing lock...
[2025-01-11 21:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:15:04] Production.ERROR: done
[2025-01-11 21:15:04] Production.INFO: count ==21
[2025-01-11 21:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 21:15:04] Production.INFO: count ==21
[2025-01-11 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226940') start
[2025-01-11 21:15:04] Production.ERROR: done
[2025-01-11 21:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226940') end
[2025-01-11 21:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:15:04] Production.INFO: 1
[2025-01-11 21:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:15:04] Production.INFO: ==26037== Releasing lock...
[2025-01-11 21:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:15:05
[end_date_ymd] => 2025-01-11 21:15:05
[RateCDR] => 1
)
[2025-01-11 21:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:15:05' and `end` < '2025-01-11 21:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:15:11] Production.ERROR: CronJobId end10
[2025-01-11 21:15:11] Production.INFO: ==26031== Releasing lock...
[2025-01-11 21:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:15:13] Production.INFO: call_cost start
[2025-01-11 21:15:13] Production.INFO: call_cost end
[2025-01-11 21:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:15:14] Production.INFO: ==26027== Releasing lock...
[2025-01-11 21:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:15:18] Production.INFO: count ==1802
[2025-01-11 21:15:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:15:05 - End Time 2025-01-11 21:15:05
[2025-01-11 21:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226941', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226941', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226941', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226941', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:15:19] Production.INFO: ProcessCDR(1,14226941,1,1,2)
[2025-01-11 21:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226941', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226941', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:15:22] Production.INFO: ==26035== Releasing lock...
[2025-01-11 21:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:15:22] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:16:01] Production.INFO: ==26108== Lock acquired, processing the job...
[2025-01-12 02:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:16:01] Production.INFO: neon service started
[2025-01-12 02:16:01] Production.INFO: neon service started
[2025-01-12 02:16:01] Production.INFO: ==26108== Releasing lock...
[2025-01-12 02:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:16:01] Production.INFO: ==26110== Lock acquired, processing the job...
[2025-01-11 21:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:16:02] Production.INFO: ==26110== Releasing lock...
[2025-01-11 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:16:02] Production.INFO: ==26112== Lock acquired, processing the job...
[2025-01-12 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:16:02] Production.INFO: ==26112== Releasing lock...
[2025-01-12 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:16:02] Production.INFO: ==26118== Lock acquired, processing the job...
[2025-01-11 21:16:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:16:03] Production.INFO: ==26114== Lock acquired, processing the job...
[2025-01-11 21:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:16:03] Production.INFO: ==26120== Lock acquired, processing the job...
[2025-01-11 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:16:03] Production.INFO: ==26116== Lock acquired, processing the job...
[2025-01-11 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:16:03] Production.INFO: Account Balance Start.
[2025-01-11 21:16:03] Production.INFO: ==26122== Lock acquired, processing the job...
[2025-01-11 21:16:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:16:03] Production.INFO: 117
[2025-01-11 21:16:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:16:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:16:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:16:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:16:03] Production.INFO: ==26124== Lock acquired, processing the job...
[2025-01-11 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:16:03] Production.INFO: Total Charge 0
[2025-01-11 21:16:03] Production.INFO: CreateAllLog End
[2025-01-11 21:16:03] Production.INFO: ==26116== Releasing lock...
[2025-01-11 21:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21: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-01-11 21:16:03] Production.INFO: count ==21
[2025-01-11 21:16:03] Production.ERROR: done
[2025-01-11 21:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21: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-01-11 21:16:03] Production.INFO: count ==21
[2025-01-11 21:16:03] Production.INFO: Account Balance End.
[2025-01-11 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226945') start
[2025-01-11 21:16:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:16:03] Production.INFO: ==26120== Releasing lock...
[2025-01-11 21:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:16:03] Production.ERROR: done
[2025-01-11 21:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226945') end
[2025-01-11 21:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:16:03] Production.INFO: 1
[2025-01-11 21:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:16:03] Production.INFO: ==26124== Releasing lock...
[2025-01-11 21:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:16:04
[end_date_ymd] => 2025-01-11 21:16:04
[RateCDR] => 1
)
[2025-01-11 21:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:16:04' and `end` < '2025-01-11 21:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:16:11] Production.ERROR: CronJobId end10
[2025-01-11 21:16:11] Production.INFO: ==26118== Releasing lock...
[2025-01-11 21:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:16:13] Production.INFO: call_cost start
[2025-01-11 21:16:13] Production.INFO: call_cost end
[2025-01-11 21:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:16:14] Production.INFO: ==26114== Releasing lock...
[2025-01-11 21:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:16:18] Production.INFO: count ==1801
[2025-01-11 21:16:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:16:04 - End Time 2025-01-11 21:16:04
[2025-01-11 21:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226946', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226946', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226946', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226946', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:16:19] Production.INFO: ProcessCDR(1,14226946,1,1,2)
[2025-01-11 21:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226946', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226946', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:16:22] Production.INFO: ==26122== Releasing lock...
[2025-01-11 21:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:16:22] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:17:01] Production.INFO: ==26188== Lock acquired, processing the job...
[2025-01-12 02:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:17:01] Production.INFO: neon service started
[2025-01-12 02:17:01] Production.INFO: neon service started
[2025-01-12 02:17:01] Production.INFO: ==26188== Releasing lock...
[2025-01-12 02:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:17:02] Production.INFO: ==26190== Lock acquired, processing the job...
[2025-01-11 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:17:02] Production.INFO: ==26190== Releasing lock...
[2025-01-11 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:17:02] Production.INFO: ==26192== Lock acquired, processing the job...
[2025-01-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:17:02] Production.INFO: ==26192== Releasing lock...
[2025-01-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:17:03] Production.INFO: ==26200== Lock acquired, processing the job...
[2025-01-11 21:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:17:03] Production.INFO: ==26194== Lock acquired, processing the job...
[2025-01-11 21:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:17:03] Production.INFO: ==26196== Lock acquired, processing the job...
[2025-01-11 21:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:17:03] Production.INFO: ==26204== Lock acquired, processing the job...
[2025-01-11 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:17:03] Production.INFO: Account Balance Start.
[2025-01-11 21:17:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:17:03] Production.INFO: 117
[2025-01-11 21:17:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:17:03] Production.INFO: ==26198== Lock acquired, processing the job...
[2025-01-11 21:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:17:03] Production.INFO: ==26202== Lock acquired, processing the job...
[2025-01-11 21:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:17:03] Production.INFO: count ==21
[2025-01-11 21:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:17:03] Production.INFO: count ==21
[2025-01-11 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226948') start
[2025-01-11 21:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:17:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226948') end
[2025-01-11 21:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:17:03] Production.INFO: 1
[2025-01-11 21:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:17:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:17:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:17:03] Production.INFO: ==26204== Releasing lock...
[2025-01-11 21:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:17:03] Production.ERROR: done
[2025-01-11 21:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:17:03] Production.INFO: Total Charge 0
[2025-01-11 21:17:03] Production.INFO: CreateAllLog End
[2025-01-11 21:17:03] Production.ERROR: done
[2025-01-11 21:17:04] Production.INFO: Account Balance End.
[2025-01-11 21:17:04] Production.INFO: ==26196== Releasing lock...
[2025-01-11 21:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:17:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:17:04] Production.INFO: ==26200== Releasing lock...
[2025-01-11 21:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:17:04
[end_date_ymd] => 2025-01-11 21:17:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:17:04' and `end` < '2025-01-11 21: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-01-11 21:17:12] Production.ERROR: CronJobId end10
[2025-01-11 21:17:12] Production.INFO: ==26198== Releasing lock...
[2025-01-11 21:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:17:13] Production.INFO: call_cost start
[2025-01-11 21:17:13] Production.INFO: call_cost end
[2025-01-11 21:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:17:14] Production.INFO: ==26194== Releasing lock...
[2025-01-11 21:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:17:18] Production.INFO: count ==1799
[2025-01-11 21:17:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:17:04 - End Time 2025-01-11 21:17:04
[2025-01-11 21:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226951', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226951', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226951', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226951', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:17:18] Production.INFO: ProcessCDR(1,14226951,1,1,2)
[2025-01-11 21:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226951', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226951', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:17:21] Production.INFO: ==26202== Releasing lock...
[2025-01-11 21:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:17:21] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:18:02] Production.INFO: ==26261== Lock acquired, processing the job...
[2025-01-12 02:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:18:02] Production.INFO: neon service started
[2025-01-12 02:18:02] Production.INFO: neon service started
[2025-01-12 02:18:02] Production.INFO: ==26261== Releasing lock...
[2025-01-12 02:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:18:02] Production.INFO: ==26265== Lock acquired, processing the job...
[2025-01-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:18:02] Production.INFO: ==26265== Releasing lock...
[2025-01-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:18:02] Production.INFO: ==26263== Lock acquired, processing the job...
[2025-01-11 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:18:02] Production.INFO: ==26263== Releasing lock...
[2025-01-11 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:18:03] Production.INFO: ==26267== Lock acquired, processing the job...
[2025-01-11 21:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:18:03] Production.INFO: ==26269== Lock acquired, processing the job...
[2025-01-11 21:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:18:03] Production.INFO: ==26271== Lock acquired, processing the job...
[2025-01-11 21:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:18:03] Production.INFO: ==26273== Lock acquired, processing the job...
[2025-01-11 21:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:18:04] Production.INFO: ==26275== Lock acquired, processing the job...
[2025-01-11 21:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:18:04] Production.INFO: ==26277== Lock acquired, processing the job...
[2025-01-11 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:18:04] Production.INFO: Account Balance Start.
[2025-01-11 21:18:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:18:04] Production.INFO: 117
[2025-01-11 21:18:04] Production.INFO: ==26269== Releasing lock...
[2025-01-11 21:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:18:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:18:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:18:04] Production.INFO: count ==21
[2025-01-11 21:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:18:04] Production.INFO: count ==21
[2025-01-11 21:18:04] Production.ERROR: done
[2025-01-11 21:18:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226955') start
[2025-01-11 21:18:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226955') end
[2025-01-11 21:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:18:04] Production.INFO: 1
[2025-01-11 21:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:18:04] Production.ERROR: done
[2025-01-11 21:18:04] Production.INFO: ==26277== Releasing lock...
[2025-01-11 21:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:18:04] Production.INFO: Total Charge 0
[2025-01-11 21:18:04] Production.INFO: CreateAllLog End
[2025-01-11 21:18:04] Production.INFO: Account Balance End.
[2025-01-11 21:18:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:18:04] Production.INFO: ==26273== Releasing lock...
[2025-01-11 21:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:18:05
[end_date_ymd] => 2025-01-11 21:18:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:18:05' and `end` < '2025-01-11 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-01-11 21:18:12] Production.ERROR: CronJobId end10
[2025-01-11 21:18:12] Production.INFO: ==26271== Releasing lock...
[2025-01-11 21:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:18:13] Production.INFO: call_cost start
[2025-01-11 21:18:13] Production.INFO: call_cost end
[2025-01-11 21:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:18:14] Production.INFO: ==26267== Releasing lock...
[2025-01-11 21:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:18:20] Production.INFO: count ==1795
[2025-01-11 21:18:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:18:05 - End Time 2025-01-11 21:18:05
[2025-01-11 21:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226956', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226956', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226956', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226956', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:18:20] Production.INFO: ProcessCDR(1,14226956,1,1,2)
[2025-01-11 21:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226956', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226956', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:18:23] Production.INFO: ==26275== Releasing lock...
[2025-01-11 21:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:18:23] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:19:01] Production.INFO: ==26332== Lock acquired, processing the job...
[2025-01-12 02:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:19:01] Production.INFO: neon service started
[2025-01-12 02:19:01] Production.INFO: neon service started
[2025-01-12 02:19:01] Production.INFO: ==26332== Releasing lock...
[2025-01-12 02:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:19:02] Production.INFO: ==26336== Lock acquired, processing the job...
[2025-01-12 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:19:02] Production.INFO: ==26336== Releasing lock...
[2025-01-12 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:19:02] Production.INFO: ==26334== Lock acquired, processing the job...
[2025-01-11 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:19:02] Production.INFO: ==26334== Releasing lock...
[2025-01-11 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:19:03] Production.INFO: ==26339== Lock acquired, processing the job...
[2025-01-11 21:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:19:03] Production.INFO: ==26349== Lock acquired, processing the job...
[2025-01-11 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:19:03] Production.INFO: ==26343== Lock acquired, processing the job...
[2025-01-11 21:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:19:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:19:03] Production.INFO: ==26341== Lock acquired, processing the job...
[2025-01-11 21:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:19:03] Production.INFO: count ==21
[2025-01-11 21:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:19:03] Production.INFO: count ==21
[2025-01-11 21:19:03] Production.INFO: ==26345== Lock acquired, processing the job...
[2025-01-11 21:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226958') start
[2025-01-11 21:19:03] Production.INFO: ==26347== Lock acquired, processing the job...
[2025-01-11 21:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:19:03] Production.INFO: Account Balance Start.
[2025-01-11 21:19:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:19:03] Production.INFO: 117
[2025-01-11 21:19:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226958') end
[2025-01-11 21:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:19:03] Production.INFO: 1
[2025-01-11 21:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:19:03] Production.INFO: ==26349== Releasing lock...
[2025-01-11 21:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:19:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:19:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:19:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:19:04] Production.INFO: Total Charge 0
[2025-01-11 21:19:04] Production.INFO: ==26341== Releasing lock...
[2025-01-11 21:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:19:04] Production.INFO: CreateAllLog End
[2025-01-11 21:19:04] Production.ERROR: done
[2025-01-11 21:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:19:04] Production.ERROR: done
[2025-01-11 21:19:04] Production.INFO: Account Balance End.
[2025-01-11 21:19:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:19:04] Production.INFO: ==26345== Releasing lock...
[2025-01-11 21:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:19:05
[end_date_ymd] => 2025-01-11 21:19:05
[RateCDR] => 1
)
[2025-01-11 21:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:19:05' and `end` < '2025-01-11 21:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:19:11] Production.ERROR: CronJobId end10
[2025-01-11 21:19:11] Production.INFO: ==26343== Releasing lock...
[2025-01-11 21:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:19:13] Production.INFO: call_cost start
[2025-01-11 21:19:13] Production.INFO: call_cost end
[2025-01-11 21:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:19:14] Production.INFO: ==26339== Releasing lock...
[2025-01-11 21:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:19:19] Production.INFO: count ==1793
[2025-01-11 21:19:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:19:05 - End Time 2025-01-11 21:19:05
[2025-01-11 21:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226961', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226961', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226961', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226961', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:19:19] Production.INFO: ProcessCDR(1,14226961,1,1,2)
[2025-01-11 21:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226961', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226961', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:19:22] Production.INFO: ==26347== Releasing lock...
[2025-01-11 21:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:19:22] Production.INFO: 41.25 MB #Memory Used#
[2025-01-12 02:20:02] Production.INFO: ==26443== Lock acquired, processing the job...
[2025-01-12 02:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:20:02] Production.INFO: neon service started
[2025-01-12 02:20:02] Production.INFO: neon service started
[2025-01-12 02:20:02] Production.INFO: ==26443== Releasing lock...
[2025-01-12 02:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:20:02] Production.INFO: ==26448== Lock acquired, processing the job...
[2025-01-11 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:20:02] Production.INFO: ==26450== Lock acquired, processing the job...
[2025-01-12 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 21:20:02] Production.INFO: ==26448== Releasing lock...
[2025-01-11 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:20:02] Production.INFO: ==26450== Releasing lock...
[2025-01-12 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:20:03] Production.INFO: ==26460== Lock acquired, processing the job...
[2025-01-11 21:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:20:03] Production.INFO: ==26454== Lock acquired, processing the job...
[2025-01-11 21:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:20:03] Production.INFO: Account Balance Start.
[2025-01-11 21:20:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:20:03] Production.INFO: 117
[2025-01-11 21:20:03] Production.INFO: ==26452== Lock acquired, processing the job...
[2025-01-11 21:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 21:20:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:20:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:20:04] Production.INFO: ==26456== Lock acquired, processing the job...
[2025-01-11 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:20:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:20:04] Production.INFO: ==26464== Lock acquired, processing the job...
[2025-01-11 21:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 21:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:20:04] Production.INFO: ==26458== Lock acquired, processing the job...
[2025-01-11 21:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:20:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:20:04] Production.INFO: ==26466== Lock acquired, processing the job...
[2025-01-11 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:20:04] Production.ERROR: CronJob PID - 26454
[2025-01-11 21:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 21:20:04] Production.ERROR: CronJob ID - 5
[2025-01-11 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-11 21:20:00
[2025-01-11 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:20:04] Production.ERROR: CronJob PID - 26456
[2025-01-11 21:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-11 21:20:04] Production.ERROR: CronJob ID - 7
[2025-01-11 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-11 21:20:00
[2025-01-11 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 21:20:04] Production.ERROR: CronJob PID - 26460
[2025-01-11 21:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-11 21:20:04] Production.ERROR: CronJob ID - 12
[2025-01-11 21:20:04] Production.ERROR: CronJob Last Run Time 2025-01-11 21:20:00
[2025-01-11 21:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 21:20:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 21:20:04] Production.INFO: ==26452== Releasing lock...
[2025-01-11 21:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 21:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 21:20:04] Production.INFO: Total Charge 0
[2025-01-11 21:20:04] Production.INFO: CreateAllLog End
[2025-01-11 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 21:20:04] Production.INFO: ==26462== Lock acquired, processing the job...
[2025-01-11 21:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:20:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:20:04] Production.INFO: count ==21
[2025-01-11 21:20:04] Production.INFO: Account Balance End.
[2025-01-11 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226965') start
[2025-01-11 21:20:04] Production.INFO: ==26456== Releasing lock...
[2025-01-11 21:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:20:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:20:04] Production.INFO: ==26460== Releasing lock...
[2025-01-11 21:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:20:04] Production.ERROR: done
[2025-01-11 21:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226965') end
[2025-01-11 21:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:20:04] Production.INFO: 1
[2025-01-11 21:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 21:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226966', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 21:20:04] Production.INFO: ==26466== Releasing lock...
[2025-01-11 21:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:20:04] Production.ERROR: done
[2025-01-11 21:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:20:04] Production.ERROR: done
[2025-01-11 21:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:20:06
[end_date_ymd] => 2025-01-11 21:20:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:20:06' and `end` < '2025-01-11 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-01-11 21:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14226966', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 21:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 21:20:08] Production.INFO: ProcessCDR(1,14226966,1,1,2)
[2025-01-11 21:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14226966,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14226966,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:20:08] Production.INFO: ==26464== Releasing lock...
[2025-01-11 21:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 21:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 21:20:13] Production.ERROR: CronJobId end10
[2025-01-11 21:20:13] Production.INFO: ==26458== Releasing lock...
[2025-01-11 21:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:20:15] Production.INFO: call_cost start
[2025-01-11 21:20:15] Production.INFO: call_cost end
[2025-01-11 21:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:20:16] Production.INFO: ==26454== Releasing lock...
[2025-01-11 21:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:20:19] Production.INFO: count ==1788
[2025-01-11 21:20:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:20:06 - End Time 2025-01-11 21:20:06
[2025-01-11 21:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226967', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226967', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226967', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226967', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:20:19] Production.INFO: ProcessCDR(1,14226967,1,1,2)
[2025-01-11 21:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226967', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226967', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:20:22] Production.INFO: ==26462== Releasing lock...
[2025-01-11 21:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:20:22] Production.INFO: 41 MB #Memory Used#
[2025-01-12 02:21:01] Production.INFO: ==26525== Lock acquired, processing the job...
[2025-01-12 02:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:21:01] Production.INFO: neon service started
[2025-01-12 02:21:01] Production.INFO: neon service started
[2025-01-12 02:21:01] Production.INFO: ==26525== Releasing lock...
[2025-01-12 02:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:21:02] Production.INFO: ==26527== Lock acquired, processing the job...
[2025-01-11 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:21:02] Production.INFO: ==26529== Lock acquired, processing the job...
[2025-01-12 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:21:02] Production.INFO: ==26529== Releasing lock...
[2025-01-12 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:21:02] Production.INFO: ==26527== Releasing lock...
[2025-01-11 21:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:21:03] Production.INFO: ==26532== Lock acquired, processing the job...
[2025-01-11 21:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:21:03] Production.INFO: ==26536== Lock acquired, processing the job...
[2025-01-11 21:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:21:03] Production.INFO: ==26542== Lock acquired, processing the job...
[2025-01-11 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:21:03] Production.INFO: ==26534== Lock acquired, processing the job...
[2025-01-11 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:21:03] Production.INFO: count ==21
[2025-01-11 21:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:21:03] Production.INFO: count ==21
[2025-01-11 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226969') start
[2025-01-11 21:21:03] Production.INFO: ==26538== Lock acquired, processing the job...
[2025-01-11 21:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:21:03] Production.INFO: ==26540== Lock acquired, processing the job...
[2025-01-11 21:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226969') end
[2025-01-11 21:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:21:03] Production.INFO: 1
[2025-01-11 21:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:21:03] Production.INFO: ==26542== Releasing lock...
[2025-01-11 21:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:21:03] Production.INFO: Account Balance Start.
[2025-01-11 21:21:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:21:03] Production.INFO: 117
[2025-01-11 21:21:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:21:03] Production.INFO: ==26534== Releasing lock...
[2025-01-11 21:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:21:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:21:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:21:04] Production.ERROR: done
[2025-01-11 21:21:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:21:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:21:04] Production.ERROR: done
[2025-01-11 21:21:04] Production.INFO: Total Charge 0
[2025-01-11 21:21:04] Production.INFO: CreateAllLog End
[2025-01-11 21:21:04] Production.INFO: Account Balance End.
[2025-01-11 21:21:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:21:04] Production.INFO: ==26538== Releasing lock...
[2025-01-11 21:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:21:05
[end_date_ymd] => 2025-01-11 21:21:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:21:05' and `end` < '2025-01-11 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-01-11 21:21:10] Production.ERROR: CronJobId end10
[2025-01-11 21:21:10] Production.INFO: ==26536== Releasing lock...
[2025-01-11 21:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:21:12] Production.INFO: call_cost start
[2025-01-11 21:21:12] Production.INFO: call_cost end
[2025-01-11 21:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:21:13] Production.INFO: ==26532== Releasing lock...
[2025-01-11 21:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:21:18] Production.INFO: count ==1727
[2025-01-11 21:21:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:21:05 - End Time 2025-01-11 21:21:05
[2025-01-11 21:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226972', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226972', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226972', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226972', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:21:18] Production.INFO: ProcessCDR(1,14226972,1,1,2)
[2025-01-11 21:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226972', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226972', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:21:21] Production.INFO: ==26540== Releasing lock...
[2025-01-11 21:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:21:21] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:22:01] Production.INFO: ==26598== Lock acquired, processing the job...
[2025-01-12 02:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:22:01] Production.INFO: neon service started
[2025-01-12 02:22:01] Production.INFO: neon service started
[2025-01-12 02:22:01] Production.INFO: ==26598== Releasing lock...
[2025-01-12 02:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:22:02] Production.INFO: ==26602== Lock acquired, processing the job...
[2025-01-11 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:22:02] Production.INFO: ==26602== Releasing lock...
[2025-01-11 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:22:02] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-01-12 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:22:02] Production.INFO: ==26604== Releasing lock...
[2025-01-12 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:22:03] Production.INFO: ==26607== Lock acquired, processing the job...
[2025-01-11 21:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:22:03] Production.INFO: ==26611== Lock acquired, processing the job...
[2025-01-11 21:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:22:03] Production.INFO: ==26613== Lock acquired, processing the job...
[2025-01-11 21:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:22:03] Production.INFO: Account Balance Start.
[2025-01-11 21:22:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:22:03] Production.INFO: 117
[2025-01-11 21:22:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:22:03] Production.INFO: ==26609== Lock acquired, processing the job...
[2025-01-11 21:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:22:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:22:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:22:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:22:03] Production.INFO: Total Charge 0
[2025-01-11 21:22:03] Production.INFO: ==26615== Lock acquired, processing the job...
[2025-01-11 21:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:22:03] Production.INFO: CreateAllLog End
[2025-01-11 21:22:03] Production.INFO: ==26617== Lock acquired, processing the job...
[2025-01-11 21:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:22:04] Production.INFO: ==26609== Releasing lock...
[2025-01-11 21:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 21:22:04] Production.INFO: count ==21
[2025-01-11 21:22:04] Production.INFO: Account Balance End.
[2025-01-11 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-01-11 21:22:04] Production.INFO: count ==21
[2025-01-11 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226976') start
[2025-01-11 21:22:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:22:04] Production.INFO: ==26613== Releasing lock...
[2025-01-11 21:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:22:04] Production.ERROR: done
[2025-01-11 21:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:22:04] Production.ERROR: done
[2025-01-11 21:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226976') end
[2025-01-11 21:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:22:04] Production.INFO: 1
[2025-01-11 21:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:22:04] Production.INFO: ==26617== Releasing lock...
[2025-01-11 21:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:22:05
[end_date_ymd] => 2025-01-11 21:22:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:22:05' and `end` < '2025-01-11 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-01-11 21:22:12] Production.ERROR: CronJobId end10
[2025-01-11 21:22:12] Production.INFO: ==26611== Releasing lock...
[2025-01-11 21:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:22:13] Production.INFO: call_cost start
[2025-01-11 21:22:13] Production.INFO: call_cost end
[2025-01-11 21:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:22:14] Production.INFO: ==26607== Releasing lock...
[2025-01-11 21:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:22:19] Production.INFO: count ==1723
[2025-01-11 21:22:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:22:05 - End Time 2025-01-11 21:22:05
[2025-01-11 21:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226977', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226977', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226977', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226977', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:22:19] Production.INFO: ProcessCDR(1,14226977,1,1,2)
[2025-01-11 21:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226977', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226977', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:22:23] Production.INFO: ==26615== Releasing lock...
[2025-01-11 21:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:22:23] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:23:01] Production.INFO: ==26675== Lock acquired, processing the job...
[2025-01-12 02:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:23:01] Production.INFO: neon service started
[2025-01-12 02:23:01] Production.INFO: neon service started
[2025-01-12 02:23:01] Production.INFO: ==26675== Releasing lock...
[2025-01-12 02:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:23:02] Production.INFO: ==26677== Lock acquired, processing the job...
[2025-01-11 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:23:02] Production.INFO: ==26679== Lock acquired, processing the job...
[2025-01-12 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:23:02] Production.INFO: ==26679== Releasing lock...
[2025-01-12 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:23:02] Production.INFO: ==26677== Releasing lock...
[2025-01-11 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:23:03] Production.INFO: ==26686== Lock acquired, processing the job...
[2025-01-11 21:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:23:03] Production.INFO: ==26692== Lock acquired, processing the job...
[2025-01-11 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 21:23:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:23:03] Production.INFO: count ==21
[2025-01-11 21:23:03] Production.INFO: ==26684== Lock acquired, processing the job...
[2025-01-11 21:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226978') start
[2025-01-11 21:23:03] Production.INFO: ==26682== Lock acquired, processing the job...
[2025-01-11 21:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:23:03] Production.INFO: ==26688== Lock acquired, processing the job...
[2025-01-11 21:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:23:03] Production.INFO: ==26690== Lock acquired, processing the job...
[2025-01-11 21:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226978') end
[2025-01-11 21:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:23:03] Production.INFO: 1
[2025-01-11 21:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:23:03] Production.INFO: ==26692== Releasing lock...
[2025-01-11 21:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:23:03] Production.INFO: Account Balance Start.
[2025-01-11 21:23:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:23:03] Production.INFO: 117
[2025-01-11 21:23:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:23:04] Production.INFO: ==26684== Releasing lock...
[2025-01-11 21:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:23:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:23:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:23:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:23:04] Production.ERROR: done
[2025-01-11 21:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:23:04] Production.INFO: Total Charge 0
[2025-01-11 21:23:04] Production.INFO: CreateAllLog End
[2025-01-11 21:23:04] Production.INFO: Account Balance End.
[2025-01-11 21:23:04] Production.ERROR: done
[2025-01-11 21:23:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:23:04] Production.INFO: ==26688== Releasing lock...
[2025-01-11 21:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:23:05
[end_date_ymd] => 2025-01-11 21:23:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:23:05' and `end` < '2025-01-11 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-01-11 21:23:10] Production.ERROR: CronJobId end10
[2025-01-11 21:23:10] Production.INFO: ==26686== Releasing lock...
[2025-01-11 21:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:23:12] Production.INFO: call_cost start
[2025-01-11 21:23:12] Production.INFO: call_cost end
[2025-01-11 21:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:23:13] Production.INFO: ==26682== Releasing lock...
[2025-01-11 21:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:23:18] Production.INFO: count ==1715
[2025-01-11 21:23:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:23:05 - End Time 2025-01-11 21:23:05
[2025-01-11 21:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226982', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226982', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226982', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226982', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:23:18] Production.INFO: ProcessCDR(1,14226982,1,1,2)
[2025-01-11 21:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226982', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226982', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:23:22] Production.INFO: ==26690== Releasing lock...
[2025-01-11 21:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:23:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:24:01] Production.INFO: ==26748== Lock acquired, processing the job...
[2025-01-12 02:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:24:01] Production.INFO: neon service started
[2025-01-12 02:24:01] Production.INFO: neon service started
[2025-01-12 02:24:01] Production.INFO: ==26748== Releasing lock...
[2025-01-12 02:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:24:02] Production.INFO: ==26752== Lock acquired, processing the job...
[2025-01-12 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:24:02] Production.INFO: ==26752== Releasing lock...
[2025-01-12 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:24:02] Production.INFO: ==26750== Lock acquired, processing the job...
[2025-01-11 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:24:02] Production.INFO: ==26750== Releasing lock...
[2025-01-11 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:24:03] Production.INFO: ==26755== Lock acquired, processing the job...
[2025-01-11 21:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:24:03] Production.INFO: ==26759== Lock acquired, processing the job...
[2025-01-11 21:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:24:03] Production.INFO: ==26761== Lock acquired, processing the job...
[2025-01-11 21:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:24:03] Production.INFO: Account Balance Start.
[2025-01-11 21:24:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:24:03] Production.INFO: 117
[2025-01-11 21:24:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:24:03] Production.INFO: ==26757== Lock acquired, processing the job...
[2025-01-11 21:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:24:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:24:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:24:03] Production.INFO: ==26763== Lock acquired, processing the job...
[2025-01-11 21:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:24:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:24:03] Production.INFO: Total Charge 0
[2025-01-11 21:24:03] Production.INFO: ==26766== Lock acquired, processing the job...
[2025-01-11 21:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:24:03] Production.INFO: CreateAllLog End
[2025-01-11 21:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:24:04] Production.INFO: ==26757== Releasing lock...
[2025-01-11 21:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:24:04] Production.INFO: Account Balance End.
[2025-01-11 21:24:04] Production.INFO: count ==21
[2025-01-11 21:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:24:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:24:04] Production.INFO: ==26761== Releasing lock...
[2025-01-11 21:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:24:04] Production.INFO: count ==21
[2025-01-11 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226986') start
[2025-01-11 21:24:04] Production.ERROR: done
[2025-01-11 21:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14226986') end
[2025-01-11 21:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:24:04] Production.INFO: 1
[2025-01-11 21:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:24:04] Production.ERROR: done
[2025-01-11 21:24:04] Production.INFO: ==26766== Releasing lock...
[2025-01-11 21:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:24:05
[end_date_ymd] => 2025-01-11 21:24:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:24:05' and `end` < '2025-01-11 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-01-11 21:24:11] Production.ERROR: CronJobId end10
[2025-01-11 21:24:11] Production.INFO: ==26759== Releasing lock...
[2025-01-11 21:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:24:12] Production.INFO: call_cost start
[2025-01-11 21:24:12] Production.INFO: call_cost end
[2025-01-11 21:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:24:13] Production.INFO: ==26755== Releasing lock...
[2025-01-11 21:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:24:18] Production.INFO: count ==1709
[2025-01-11 21:24:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:24:05 - End Time 2025-01-11 21:24:05
[2025-01-11 21:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226987', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226987', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226987', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226987', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:24:19] Production.INFO: ProcessCDR(1,14226987,1,1,2)
[2025-01-11 21:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226987', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226987', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:24:22] Production.INFO: ==26763== Releasing lock...
[2025-01-11 21:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:24:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:25:01] Production.INFO: ==26828== Lock acquired, processing the job...
[2025-01-12 02:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:25:01] Production.INFO: neon service started
[2025-01-12 02:25:01] Production.INFO: neon service started
[2025-01-12 02:25:01] Production.INFO: ==26828== Releasing lock...
[2025-01-12 02:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:25:01] Production.INFO: ==26830== Lock acquired, processing the job...
[2025-01-11 21:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:25:01] Production.INFO: ==26830== Releasing lock...
[2025-01-11 21:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:25:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:25:02] Production.INFO: ==26832== Lock acquired, processing the job...
[2025-01-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:25:02] Production.INFO: ==26832== Releasing lock...
[2025-01-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:25:02] Production.INFO: ==26836== Lock acquired, processing the job...
[2025-01-11 21:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:25:02] Production.INFO: ==26842== Lock acquired, processing the job...
[2025-01-11 21:25:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:25:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:25:02] Production.INFO: ==26834== Lock acquired, processing the job...
[2025-01-11 21:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:25:03] Production.INFO: ==26838== Lock acquired, processing the job...
[2025-01-11 21:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:25:03] Production.INFO: ==26836== Releasing lock...
[2025-01-11 21:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:25:03] Production.INFO: ==26840== Lock acquired, processing the job...
[2025-01-11 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:25:03] Production.INFO: ==26844== Lock acquired, processing the job...
[2025-01-11 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:25:03] Production.ERROR: done
[2025-01-11 21:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:25:03] Production.INFO: Account Balance Start.
[2025-01-11 21:25:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:25:03] Production.INFO: 117
[2025-01-11 21:25:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:25:03] Production.INFO: count ==21
[2025-01-11 21:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226991') start
[2025-01-11 21:25:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:25:03] Production.ERROR: done
[2025-01-11 21:25:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:25:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:25:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226991') end
[2025-01-11 21:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:25:03] Production.INFO: 1
[2025-01-11 21:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:25:03] Production.INFO: ==26844== Releasing lock...
[2025-01-11 21:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:25:03] Production.INFO: Total Charge 0
[2025-01-11 21:25:03] Production.INFO: CreateAllLog End
[2025-01-11 21:25:03] Production.INFO: Account Balance End.
[2025-01-11 21:25:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:25:03] Production.INFO: ==26840== Releasing lock...
[2025-01-11 21:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:25:04
[end_date_ymd] => 2025-01-11 21:25:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:25:04' and `end` < '2025-01-11 21: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-01-11 21:25:11] Production.ERROR: CronJobId end10
[2025-01-11 21:25:11] Production.INFO: ==26838== Releasing lock...
[2025-01-11 21:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:25:13] Production.INFO: call_cost start
[2025-01-11 21:25:13] Production.INFO: call_cost end
[2025-01-11 21:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:25:13] Production.INFO: ==26834== Releasing lock...
[2025-01-11 21:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:25:17] Production.INFO: count ==1709
[2025-01-11 21:25:17] Production.ERROR: pbx CDR StartTime 2025-01-11 18:25:04 - End Time 2025-01-11 21:25:04
[2025-01-11 21:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226992', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226992', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226992', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226992', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:25:17] Production.INFO: ProcessCDR(1,14226992,1,1,2)
[2025-01-11 21:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226992', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226992', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:25:20] Production.INFO: ==26842== Releasing lock...
[2025-01-11 21:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:25:20] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:26:01] Production.INFO: ==26933== Lock acquired, processing the job...
[2025-01-12 02:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:26:01] Production.INFO: neon service started
[2025-01-12 02:26:01] Production.INFO: neon service started
[2025-01-12 02:26:01] Production.INFO: ==26933== Releasing lock...
[2025-01-12 02:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:26:02] Production.INFO: ==26935== Lock acquired, processing the job...
[2025-01-11 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:26:02] Production.INFO: ==26935== Releasing lock...
[2025-01-11 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:26:02] Production.INFO: ==26937== Lock acquired, processing the job...
[2025-01-12 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:26:02] Production.INFO: ==26937== Releasing lock...
[2025-01-12 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:26:03] Production.INFO: ==26952== Lock acquired, processing the job...
[2025-01-11 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:26:03] Production.INFO: ==26948== Lock acquired, processing the job...
[2025-01-11 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:26:03] Production.INFO: Account Balance Start.
[2025-01-11 21:26:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:26:03] Production.INFO: 117
[2025-01-11 21:26:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:26:03] Production.INFO: ==26944== Lock acquired, processing the job...
[2025-01-11 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:26:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 21: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-01-11 21:26:03] Production.INFO: ==26942== Lock acquired, processing the job...
[2025-01-11 21:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:26:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:26:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:26:03] Production.INFO: ==26946== Lock acquired, processing the job...
[2025-01-11 21:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:26:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:26:03] Production.INFO: count ==21
[2025-01-11 21:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226993') start
[2025-01-11 21:26:03] Production.INFO: ==26950== Lock acquired, processing the job...
[2025-01-11 21:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:26:03] Production.INFO: Total Charge 0
[2025-01-11 21:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:26:03] Production.INFO: CreateAllLog End
[2025-01-11 21:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14226993') end
[2025-01-11 21:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:26:03] Production.INFO: 1
[2025-01-11 21:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:26:03] Production.INFO: ==26952== Releasing lock...
[2025-01-11 21:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:26:03] Production.INFO: ==26944== Releasing lock...
[2025-01-11 21:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:26:03] Production.INFO: Account Balance End.
[2025-01-11 21:26:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:26:03] Production.INFO: ==26948== Releasing lock...
[2025-01-11 21:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:26:04] Production.ERROR: done
[2025-01-11 21:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:26:04] Production.ERROR: done
[2025-01-11 21:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:26:05
[end_date_ymd] => 2025-01-11 21:26:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:26:05' and `end` < '2025-01-11 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-01-11 21:26:11] Production.ERROR: CronJobId end10
[2025-01-11 21:26:11] Production.INFO: ==26946== Releasing lock...
[2025-01-11 21:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:26:13] Production.INFO: call_cost start
[2025-01-11 21:26:13] Production.INFO: call_cost end
[2025-01-11 21:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:26:14] Production.INFO: ==26942== Releasing lock...
[2025-01-11 21:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:26:18] Production.INFO: count ==1711
[2025-01-11 21:26:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:26:05 - End Time 2025-01-11 21:26:05
[2025-01-11 21:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226997', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14226997', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226997', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14226997', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:26:18] Production.INFO: ProcessCDR(1,14226997,1,1,2)
[2025-01-11 21:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14226997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14226997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14226997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14226997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226997', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14226997', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:26:23] Production.INFO: ==26950== Releasing lock...
[2025-01-11 21:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:26:23] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:27:02] Production.INFO: ==27042== Lock acquired, processing the job...
[2025-01-12 02:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:27:02] Production.INFO: neon service started
[2025-01-12 02:27:02] Production.INFO: neon service started
[2025-01-12 02:27:02] Production.INFO: ==27042== Releasing lock...
[2025-01-12 02:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:27:02] Production.INFO: ==27046== Lock acquired, processing the job...
[2025-01-12 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:27:02] Production.INFO: ==27046== Releasing lock...
[2025-01-12 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:27:02] Production.INFO: ==27044== Lock acquired, processing the job...
[2025-01-11 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:27:02] Production.INFO: ==27044== Releasing lock...
[2025-01-11 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:27:03] Production.INFO: ==27048== Lock acquired, processing the job...
[2025-01-11 21:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:27:03] Production.INFO: ==27050== Lock acquired, processing the job...
[2025-01-11 21:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:27:03] Production.INFO: ==27052== Lock acquired, processing the job...
[2025-01-11 21:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:27:03] Production.INFO: ==27054== Lock acquired, processing the job...
[2025-01-11 21:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:27:04] Production.INFO: ==27050== Releasing lock...
[2025-01-11 21:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:27:04] Production.INFO: ==27056== Lock acquired, processing the job...
[2025-01-11 21:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:27:04] Production.INFO: ==27058== Lock acquired, processing the job...
[2025-01-11 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:27:04] Production.INFO: Account Balance Start.
[2025-01-11 21:27:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:27:04] Production.INFO: 117
[2025-01-11 21:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:27:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:27:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 21:27:04] Production.INFO: count ==21
[2025-01-11 21:27:04] Production.INFO: Date 2025-01-10
[2025-01-11 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-01-11 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:27:04] Production.INFO: count ==21
[2025-01-11 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227001') start
[2025-01-11 21:27:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:27:04] Production.INFO: Total Charge 0
[2025-01-11 21:27:04] Production.INFO: CreateAllLog End
[2025-01-11 21:27:04] Production.ERROR: done
[2025-01-11 21:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227001') end
[2025-01-11 21:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:27:04] Production.INFO: 1
[2025-01-11 21:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:27:04] Production.INFO: ==27058== Releasing lock...
[2025-01-11 21:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:27:04] Production.ERROR: done
[2025-01-11 21:27:04] Production.INFO: Account Balance End.
[2025-01-11 21:27:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:27:04] Production.INFO: ==27054== Releasing lock...
[2025-01-11 21:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:27:05
[end_date_ymd] => 2025-01-11 21:27:05
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:27:05' and `end` < '2025-01-11 21: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-01-11 21:27:11] Production.ERROR: CronJobId end10
[2025-01-11 21:27:11] Production.INFO: ==27052== Releasing lock...
[2025-01-11 21:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:27:13] Production.INFO: call_cost start
[2025-01-11 21:27:13] Production.INFO: call_cost end
[2025-01-11 21:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:27:14] Production.INFO: ==27048== Releasing lock...
[2025-01-11 21:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:27:18] Production.INFO: count ==1714
[2025-01-11 21:27:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:27:05 - End Time 2025-01-11 21:27:05
[2025-01-11 21:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227002', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227002', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227002', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227002', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:27:19] Production.INFO: ProcessCDR(1,14227002,1,1,2)
[2025-01-11 21:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227002', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227002', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:27:23] Production.INFO: ==27056== Releasing lock...
[2025-01-11 21:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:27:23] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:28:01] Production.INFO: ==27149== Lock acquired, processing the job...
[2025-01-12 02:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:28:01] Production.INFO: neon service started
[2025-01-12 02:28:01] Production.INFO: neon service started
[2025-01-12 02:28:01] Production.INFO: ==27149== Releasing lock...
[2025-01-12 02:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:28:02] Production.INFO: ==27151== Lock acquired, processing the job...
[2025-01-11 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:28:02] Production.INFO: ==27151== Releasing lock...
[2025-01-11 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:28:02] Production.INFO: ==27153== Lock acquired, processing the job...
[2025-01-12 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:28:02] Production.INFO: ==27153== Releasing lock...
[2025-01-12 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:28:03] Production.INFO: ==27155== Lock acquired, processing the job...
[2025-01-11 21:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:28:03] Production.INFO: ==27161== Lock acquired, processing the job...
[2025-01-11 21:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:28:03] Production.INFO: ==27159== Lock acquired, processing the job...
[2025-01-11 21:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:28:03] Production.INFO: ==27157== Lock acquired, processing the job...
[2025-01-11 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:28:03] Production.INFO: ==27164== Lock acquired, processing the job...
[2025-01-11 21:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:28:03] Production.INFO: ==27166== Lock acquired, processing the job...
[2025-01-11 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:28:03] Production.INFO: Account Balance Start.
[2025-01-11 21:28:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:28:03] Production.INFO: 117
[2025-01-11 21:28:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:28:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:28:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 21:28:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:28:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:28:03] Production.INFO: count ==21
[2025-01-11 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227006') start
[2025-01-11 21:28:03] Production.INFO: Total Charge 0
[2025-01-11 21:28:03] Production.INFO: CreateAllLog End
[2025-01-11 21:28:03] Production.INFO: ==27157== Releasing lock...
[2025-01-11 21:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227006') end
[2025-01-11 21:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:28:03] Production.INFO: 1
[2025-01-11 21:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:28:03] Production.INFO: Account Balance End.
[2025-01-11 21:28:03] Production.INFO: ==27166== Releasing lock...
[2025-01-11 21:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:28:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:28:04] Production.INFO: ==27161== Releasing lock...
[2025-01-11 21:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:28:04] Production.ERROR: done
[2025-01-11 21:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:28:04] Production.ERROR: done
[2025-01-11 21:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:28:05
[end_date_ymd] => 2025-01-11 21:28:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:28:05' and `end` < '2025-01-11 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-01-11 21:28:11] Production.ERROR: CronJobId end10
[2025-01-11 21:28:11] Production.INFO: ==27159== Releasing lock...
[2025-01-11 21:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:28:14] Production.INFO: call_cost start
[2025-01-11 21:28:14] Production.INFO: call_cost end
[2025-01-11 21:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:28:14] Production.INFO: ==27155== Releasing lock...
[2025-01-11 21:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:28:19] Production.INFO: count ==1718
[2025-01-11 21:28:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:28:05 - End Time 2025-01-11 21:28:05
[2025-01-11 21:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227007', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227007', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227007', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227007', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:28:19] Production.INFO: ProcessCDR(1,14227007,1,1,2)
[2025-01-11 21:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227007', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227007', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:28:24] Production.INFO: ==27164== Releasing lock...
[2025-01-11 21:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:28:24] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:29:02] Production.INFO: ==27256== Lock acquired, processing the job...
[2025-01-12 02:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:29:02] Production.INFO: neon service started
[2025-01-12 02:29:02] Production.INFO: neon service started
[2025-01-12 02:29:02] Production.INFO: ==27256== Releasing lock...
[2025-01-12 02:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:29:02] Production.INFO: ==27261== Lock acquired, processing the job...
[2025-01-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:29:02] Production.INFO: ==27261== Releasing lock...
[2025-01-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:29:02] Production.INFO: ==27259== Lock acquired, processing the job...
[2025-01-11 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:29:02] Production.INFO: ==27259== Releasing lock...
[2025-01-11 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:29:03] Production.INFO: ==27267== Lock acquired, processing the job...
[2025-01-11 21:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:29:03] Production.INFO: ==27265== Lock acquired, processing the job...
[2025-01-11 21:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:29:03] Production.INFO: ==27273== Lock acquired, processing the job...
[2025-01-11 21:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:29:03] Production.INFO: ==27269== Lock acquired, processing the job...
[2025-01-11 21:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:29:03] Production.INFO: ==27271== Lock acquired, processing the job...
[2025-01-11 21:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:29:04] Production.INFO: ==27267== Releasing lock...
[2025-01-11 21:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:29:04] Production.INFO: ==27275== Lock acquired, processing the job...
[2025-01-11 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:29:04] Production.INFO: Account Balance Start.
[2025-01-11 21:29:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:29:04] Production.INFO: 117
[2025-01-11 21:29:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:29:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:29:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:29:04] Production.ERROR: done
[2025-01-11 21:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 21:29:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:29:04] Production.INFO: Total Charge 0
[2025-01-11 21:29:04] Production.INFO: count ==21
[2025-01-11 21:29:04] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 21:29:04] Production.INFO: count ==21
[2025-01-11 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227011') start
[2025-01-11 21:29:04] Production.ERROR: done
[2025-01-11 21:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227011') end
[2025-01-11 21:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:29:04] Production.INFO: 1
[2025-01-11 21:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:29:04] Production.INFO: Account Balance End.
[2025-01-11 21:29:04] Production.INFO: ==27275== Releasing lock...
[2025-01-11 21:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:29:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:29:04] Production.INFO: ==27271== Releasing lock...
[2025-01-11 21:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:29:05
[end_date_ymd] => 2025-01-11 21:29:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:29:05' and `end` < '2025-01-11 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-01-11 21:29:11] Production.ERROR: CronJobId end10
[2025-01-11 21:29:11] Production.INFO: ==27269== Releasing lock...
[2025-01-11 21:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:29:13] Production.INFO: call_cost start
[2025-01-11 21:29:13] Production.INFO: call_cost end
[2025-01-11 21:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:29:14] Production.INFO: ==27265== Releasing lock...
[2025-01-11 21:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:29:18] Production.INFO: count ==1721
[2025-01-11 21:29:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:29:05 - End Time 2025-01-11 21:29:05
[2025-01-11 21:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227012', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227012', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227012', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227012', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:29:19] Production.INFO: ProcessCDR(1,14227012,1,1,2)
[2025-01-11 21:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227012', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227012', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:29:22] Production.INFO: ==27273== Releasing lock...
[2025-01-11 21:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:29:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:30:01] Production.INFO: ==27364== Lock acquired, processing the job...
[2025-01-12 02:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:30:01] Production.INFO: neon service started
[2025-01-12 02:30:01] Production.INFO: neon service started
[2025-01-12 02:30:01] Production.INFO: ==27364== Releasing lock...
[2025-01-12 02:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:30:01] Production.INFO: ==27368== Lock acquired, processing the job...
[2025-01-12 02:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:30:01] Production.INFO: ==27368== Releasing lock...
[2025-01-12 02:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:30:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:30:02] Production.INFO: ==27366== Lock acquired, processing the job...
[2025-01-11 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:30:02] Production.INFO: ==27366== Releasing lock...
[2025-01-11 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:30:03] Production.INFO: ==27372== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 21:30:03] Production.INFO: ==27374== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 21:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 21:30:03] Production.INFO: ==27372== Releasing lock...
[2025-01-11 21:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 21:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 21:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:30:03] Production.INFO: ==27376== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:30:03] Production.INFO: ==27385== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 21:30:03] Production.INFO: ==27383== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:30:03] Production.INFO: ==27381== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:30:03] Production.INFO: ==27379== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:30:03] Production.INFO: ==27387== Lock acquired, processing the job...
[2025-01-11 21:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:30:03] Production.INFO: Account Balance Start.
[2025-01-11 21:30:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:30:03] Production.INFO: 117
[2025-01-11 21:30:04] Production.INFO: count ==21
[2025-01-11 21:30:04] Production.INFO: Date 2025-01-08
[2025-01-11 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-01-11 21:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:30:04] Production.INFO: count ==21
[2025-01-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:30:04] Production.ERROR: done
[2025-01-11 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227015') start
[2025-01-11 21:30:04] Production.ERROR: done
[2025-01-11 21:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:30:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 21:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227017', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:30:04] Production.INFO: ==27376== Releasing lock...
[2025-01-11 21:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:30:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:30:04] Production.ERROR: done
[2025-01-11 21:30:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227015') end
[2025-01-11 21:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:30:04] Production.INFO: 1
[2025-01-11 21:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:30:04] Production.INFO: Total Charge 0
[2025-01-11 21:30:04] Production.INFO: CreateAllLog End
[2025-01-11 21:30:04] Production.INFO: ==27387== Releasing lock...
[2025-01-11 21:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:30:04] Production.INFO: Account Balance End.
[2025-01-11 21:30:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:30:04] Production.INFO: ==27381== Releasing lock...
[2025-01-11 21:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:30:05
[end_date_ymd] => 2025-01-11 21:30:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:30:05' and `end` < '2025-01-11 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-01-11 21:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227017', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 21:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 21:30:09] Production.INFO: ProcessCDR(1,14227017,1,1,2)
[2025-01-11 21:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227017,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227017,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:30:09] Production.INFO: ==27385== Releasing lock...
[2025-01-11 21:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 21:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 21:30:14] Production.ERROR: CronJobId end10
[2025-01-11 21:30:14] Production.INFO: ==27379== Releasing lock...
[2025-01-11 21:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:30:15] Production.INFO: call_cost start
[2025-01-11 21:30:15] Production.INFO: call_cost end
[2025-01-11 21:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:30:16] Production.INFO: ==27374== Releasing lock...
[2025-01-11 21:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:30:18] Production.INFO: count ==1718
[2025-01-11 21:30:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:30:05 - End Time 2025-01-11 21:30:05
[2025-01-11 21:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227018', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227018', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227018', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227018', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:30:18] Production.INFO: ProcessCDR(1,14227018,1,1,2)
[2025-01-11 21:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227018', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227018', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:30:22] Production.INFO: ==27383== Releasing lock...
[2025-01-11 21:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:30:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:31:01] Production.INFO: ==27478== Lock acquired, processing the job...
[2025-01-12 02:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:31:01] Production.INFO: neon service started
[2025-01-12 02:31:01] Production.INFO: neon service started
[2025-01-12 02:31:01] Production.INFO: ==27478== Releasing lock...
[2025-01-12 02:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:31:02] Production.INFO: ==27480== Lock acquired, processing the job...
[2025-01-11 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:31:02] Production.INFO: ==27480== Releasing lock...
[2025-01-11 21:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:31:02] Production.INFO: ==27482== Lock acquired, processing the job...
[2025-01-12 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:31:02] Production.INFO: ==27482== Releasing lock...
[2025-01-12 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:31:03] Production.INFO: ==27485== Lock acquired, processing the job...
[2025-01-11 21:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:31:03] Production.INFO: ==27489== Lock acquired, processing the job...
[2025-01-11 21:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:31:03] Production.INFO: ==27493== Lock acquired, processing the job...
[2025-01-11 21:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:31:03] Production.INFO: ==27487== Lock acquired, processing the job...
[2025-01-11 21:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:31:03] Production.INFO: ==27495== Lock acquired, processing the job...
[2025-01-11 21:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:31:03] Production.INFO: ==27491== Lock acquired, processing the job...
[2025-01-11 21:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21: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-01-11 21:31:03] Production.ERROR: done
[2025-01-11 21:31:03] Production.INFO: count ==21
[2025-01-11 21:31:03] Production.INFO: Account Balance Start.
[2025-01-11 21:31:03] Production.INFO: CreateAllLog Start
[2025-01-11 21: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-01-11 21:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:31:03] Production.INFO: 117
[2025-01-11 21:31:04] Production.INFO: count ==21
[2025-01-11 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227020') start
[2025-01-11 21:31:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227020') end
[2025-01-11 21:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:31:04] Production.INFO: 1
[2025-01-11 21:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:31:04] Production.INFO: ==27487== Releasing lock...
[2025-01-11 21:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:31:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:31:04] Production.INFO: ==27495== Releasing lock...
[2025-01-11 21:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:31:04] Production.ERROR: done
[2025-01-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:31:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:31:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:31:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:31:04] Production.INFO: Total Charge 0
[2025-01-11 21:31:04] Production.INFO: CreateAllLog End
[2025-01-11 21:31:04] Production.INFO: Account Balance End.
[2025-01-11 21:31:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:31:04] Production.INFO: ==27491== Releasing lock...
[2025-01-11 21:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:31:05
[end_date_ymd] => 2025-01-11 21:31:05
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:31:05' and `end` < '2025-01-11 21: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-01-11 21:31:12] Production.ERROR: CronJobId end10
[2025-01-11 21:31:12] Production.INFO: ==27489== Releasing lock...
[2025-01-11 21:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:31:13] Production.INFO: call_cost start
[2025-01-11 21:31:13] Production.INFO: call_cost end
[2025-01-11 21:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:31:14] Production.INFO: ==27485== Releasing lock...
[2025-01-11 21:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:31:18] Production.INFO: count ==1686
[2025-01-11 21:31:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:31:05 - End Time 2025-01-11 21:31:05
[2025-01-11 21:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227023', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227023', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227023', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227023', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:31:18] Production.INFO: ProcessCDR(1,14227023,1,1,2)
[2025-01-11 21:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227023', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227023', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:31:21] Production.INFO: ==27493== Releasing lock...
[2025-01-11 21:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:31:21] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:32:02] Production.INFO: ==27585== Lock acquired, processing the job...
[2025-01-12 02:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:32:02] Production.INFO: neon service started
[2025-01-12 02:32:02] Production.INFO: neon service started
[2025-01-12 02:32:02] Production.INFO: ==27585== Releasing lock...
[2025-01-12 02:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:32:02] Production.INFO: ==27587== Lock acquired, processing the job...
[2025-01-11 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:32:02] Production.INFO: ==27587== Releasing lock...
[2025-01-11 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:32:02] Production.INFO: ==27589== Lock acquired, processing the job...
[2025-01-12 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:32:03] Production.INFO: ==27589== Releasing lock...
[2025-01-12 02:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:32:03] Production.INFO: ==27599== Lock acquired, processing the job...
[2025-01-11 21:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:32:03] Production.INFO: ==27601== Lock acquired, processing the job...
[2025-01-11 21:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:32:04] Production.INFO: ==27591== Lock acquired, processing the job...
[2025-01-11 21:32:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:32:04] Production.INFO: ==27593== Lock acquired, processing the job...
[2025-01-11 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 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-01-11 21:32:04] Production.INFO: ==27597== Lock acquired, processing the job...
[2025-01-11 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:32:04] Production.INFO: count ==21
[2025-01-11 21:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:32:04] Production.INFO: ==27595== Lock acquired, processing the job...
[2025-01-11 21:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 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-01-11 21:32:04] Production.INFO: count ==21
[2025-01-11 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227024') start
[2025-01-11 21:32:04] Production.ERROR: done
[2025-01-11 21:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:32:04] Production.INFO: Account Balance Start.
[2025-01-11 21:32:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:32:04] Production.INFO: 117
[2025-01-11 21:32:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:32:04] Production.ERROR: done
[2025-01-11 21:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227024') end
[2025-01-11 21:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:32:04] Production.INFO: 1
[2025-01-11 21:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:32:04] Production.INFO: ==27601== Releasing lock...
[2025-01-11 21:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:32:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:32:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:32:04] Production.INFO: ==27593== Releasing lock...
[2025-01-11 21:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:32:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:32:04] Production.INFO: Total Charge 0
[2025-01-11 21:32:04] Production.INFO: CreateAllLog End
[2025-01-11 21:32:04] Production.INFO: Account Balance End.
[2025-01-11 21:32:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:32:04] Production.INFO: ==27597== Releasing lock...
[2025-01-11 21:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:32:05
[end_date_ymd] => 2025-01-11 21:32:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:32:05' and `end` < '2025-01-11 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-01-11 21:32:12] Production.ERROR: CronJobId end10
[2025-01-11 21:32:12] Production.INFO: ==27595== Releasing lock...
[2025-01-11 21:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:32:13] Production.INFO: call_cost start
[2025-01-11 21:32:13] Production.INFO: call_cost end
[2025-01-11 21:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:32:14] Production.INFO: ==27591== Releasing lock...
[2025-01-11 21:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:32:18] Production.INFO: count ==1683
[2025-01-11 21:32:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:32:05 - End Time 2025-01-11 21:32:05
[2025-01-11 21:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227028', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227028', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227028', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227028', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:32:18] Production.INFO: ProcessCDR(1,14227028,1,1,2)
[2025-01-11 21:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227028', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227028', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:32:22] Production.INFO: ==27599== Releasing lock...
[2025-01-11 21:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:32:22] Production.INFO: 40.5 MB #Memory Used#
[2025-01-12 02:33:01] Production.INFO: ==27690== Lock acquired, processing the job...
[2025-01-12 02:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:33:01] Production.INFO: neon service started
[2025-01-12 02:33:01] Production.INFO: neon service started
[2025-01-12 02:33:01] Production.INFO: ==27690== Releasing lock...
[2025-01-12 02:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:33:02] Production.INFO: ==27692== Lock acquired, processing the job...
[2025-01-11 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:33:02] Production.INFO: ==27694== Lock acquired, processing the job...
[2025-01-12 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:33:02] Production.INFO: ==27694== Releasing lock...
[2025-01-12 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:33:02] Production.INFO: ==27692== Releasing lock...
[2025-01-11 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:33:03] Production.INFO: ==27703== Lock acquired, processing the job...
[2025-01-11 21:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:33:03] Production.INFO: ==27699== Lock acquired, processing the job...
[2025-01-11 21:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:33:03] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-01-11 21:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:33:03] Production.INFO: ==27701== Lock acquired, processing the job...
[2025-01-11 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21: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-01-11 21:33:03] Production.INFO: ==27707== Lock acquired, processing the job...
[2025-01-11 21:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:33:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:33:03] Production.INFO: ==27705== Lock acquired, processing the job...
[2025-01-11 21:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:33:03] Production.INFO: count ==21
[2025-01-11 21:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227030') start
[2025-01-11 21:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227030') end
[2025-01-11 21:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:33:03] Production.INFO: 1
[2025-01-11 21:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:33:03] Production.INFO: ==27701== Releasing lock...
[2025-01-11 21:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:33:03] Production.INFO: ==27709== Releasing lock...
[2025-01-11 21:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:33:03] Production.INFO: Account Balance Start.
[2025-01-11 21:33:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:33:03] Production.INFO: 117
[2025-01-11 21:33:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:33:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:33:04] Production.ERROR: done
[2025-01-11 21:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:33:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:33:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:33:04] Production.INFO: Total Charge 0
[2025-01-11 21:33:04] Production.ERROR: done
[2025-01-11 21:33:04] Production.INFO: CreateAllLog End
[2025-01-11 21:33:04] Production.INFO: Account Balance End.
[2025-01-11 21:33:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:33:04] Production.INFO: ==27705== Releasing lock...
[2025-01-11 21:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:33:05
[end_date_ymd] => 2025-01-11 21:33:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:33:05' and `end` < '2025-01-11 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-01-11 21:33:12] Production.ERROR: CronJobId end10
[2025-01-11 21:33:12] Production.INFO: ==27703== Releasing lock...
[2025-01-11 21:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:33:14] Production.INFO: call_cost start
[2025-01-11 21:33:14] Production.INFO: call_cost end
[2025-01-11 21:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:33:15] Production.INFO: ==27699== Releasing lock...
[2025-01-11 21:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:33:18] Production.INFO: count ==1682
[2025-01-11 21:33:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:33:05 - End Time 2025-01-11 21:33:05
[2025-01-11 21:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227033', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227033', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227033', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227033', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:33:18] Production.INFO: ProcessCDR(1,14227033,1,1,2)
[2025-01-11 21:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227033', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227033', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:33:21] Production.INFO: ==27707== Releasing lock...
[2025-01-11 21:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:33:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-12 02:34:02] Production.INFO: ==27797== Lock acquired, processing the job...
[2025-01-12 02:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:34:02] Production.INFO: neon service started
[2025-01-12 02:34:02] Production.INFO: neon service started
[2025-01-12 02:34:02] Production.INFO: ==27797== Releasing lock...
[2025-01-12 02:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:34:02] Production.INFO: ==27801== Lock acquired, processing the job...
[2025-01-12 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:34:02] Production.INFO: ==27801== Releasing lock...
[2025-01-12 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:34:02] Production.INFO: ==27799== Lock acquired, processing the job...
[2025-01-11 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:34:03] Production.INFO: ==27799== Releasing lock...
[2025-01-11 21:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:34:03] Production.INFO: ==27804== Lock acquired, processing the job...
[2025-01-11 21:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:34:03] Production.INFO: ==27806== Lock acquired, processing the job...
[2025-01-11 21:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:34:03] Production.INFO: ==27812== Lock acquired, processing the job...
[2025-01-11 21:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:34:04] Production.INFO: ==27815== Lock acquired, processing the job...
[2025-01-11 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:34:04] Production.INFO: ==27810== Lock acquired, processing the job...
[2025-01-11 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:34:04] Production.INFO: ==27808== Lock acquired, processing the job...
[2025-01-11 21:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:34:04] Production.INFO: ==27806== Releasing lock...
[2025-01-11 21:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:34:04] Production.INFO: Account Balance Start.
[2025-01-11 21:34:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:34:04] Production.INFO: 117
[2025-01-11 21:34:04] Production.ERROR: done
[2025-01-11 21:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21: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-01-11 21:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:34:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:34:04] Production.INFO: count ==21
[2025-01-11 21:34:04] Production.INFO: Date 2025-01-09
[2025-01-11 21: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-01-11 21:34:04] Production.INFO: count ==21
[2025-01-11 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227036') start
[2025-01-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:34:04] Production.ERROR: done
[2025-01-11 21:34:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:34:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:34:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:34:04] Production.INFO: Total Charge 0
[2025-01-11 21:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227036') end
[2025-01-11 21:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:34:04] Production.INFO: 1
[2025-01-11 21:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:34:04] Production.INFO: CreateAllLog End
[2025-01-11 21:34:04] Production.INFO: ==27815== Releasing lock...
[2025-01-11 21:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:34:04] Production.INFO: Account Balance End.
[2025-01-11 21:34:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:34:04] Production.INFO: ==27810== Releasing lock...
[2025-01-11 21:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:34:05
[end_date_ymd] => 2025-01-11 21:34:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:34:05' and `end` < '2025-01-11 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-01-11 21:34:12] Production.ERROR: CronJobId end10
[2025-01-11 21:34:12] Production.INFO: ==27808== Releasing lock...
[2025-01-11 21:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:34:13] Production.INFO: call_cost start
[2025-01-11 21:34:13] Production.INFO: call_cost end
[2025-01-11 21:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:34:14] Production.INFO: ==27804== Releasing lock...
[2025-01-11 21:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:34:18] Production.INFO: count ==1668
[2025-01-11 21:34:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:34:05 - End Time 2025-01-11 21:34:05
[2025-01-11 21:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227038', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227038', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227038', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227038', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:34:19] Production.INFO: ProcessCDR(1,14227038,1,1,2)
[2025-01-11 21:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227038', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227038', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:34:22] Production.INFO: ==27812== Releasing lock...
[2025-01-11 21:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:34:22] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:35:01] Production.INFO: ==27903== Lock acquired, processing the job...
[2025-01-12 02:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:35:01] Production.INFO: neon service started
[2025-01-12 02:35:01] Production.INFO: neon service started
[2025-01-12 02:35:01] Production.INFO: ==27903== Releasing lock...
[2025-01-12 02:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:35:01] Production.INFO: ==27908== Lock acquired, processing the job...
[2025-01-11 21:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:35:01] Production.INFO: ==27910== Lock acquired, processing the job...
[2025-01-12 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:35:02] Production.INFO: ==27910== Releasing lock...
[2025-01-12 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:35:02] Production.INFO: ==27908== Releasing lock...
[2025-01-11 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:35:03] Production.INFO: ==27920== Lock acquired, processing the job...
[2025-01-11 21:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:35:03] Production.INFO: ==27918== Lock acquired, processing the job...
[2025-01-11 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:35:03] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-01-11 21:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:35:03] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-01-11 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:35:03] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-01-11 21:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:35:03] Production.INFO: Account Balance Start.
[2025-01-11 21:35:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:35:03] Production.INFO: 117
[2025-01-11 21:35:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:35:03] Production.INFO: ==27922== Lock acquired, processing the job...
[2025-01-11 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:35:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:35:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:35:03] Production.ERROR: done
[2025-01-11 21:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:35:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:35:03] Production.INFO: Total Charge 0
[2025-01-11 21:35:03] Production.INFO: CreateAllLog End
[2025-01-11 21: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-01-11 21:35:03] Production.ERROR: done
[2025-01-11 21:35:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:35:03] Production.INFO: count ==21
[2025-01-11 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227042') start
[2025-01-11 21:35:03] Production.INFO: Account Balance End.
[2025-01-11 21:35:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:35:03] Production.INFO: ==27918== Releasing lock...
[2025-01-11 21:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:35:03] Production.INFO: ==27914== Releasing lock...
[2025-01-11 21:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227042') end
[2025-01-11 21:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:35:03] Production.INFO: 1
[2025-01-11 21:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:35:03] Production.INFO: ==27922== Releasing lock...
[2025-01-11 21:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:35:04
[end_date_ymd] => 2025-01-11 21:35:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:35:04' and `end` < '2025-01-11 21: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-01-11 21:35:10] Production.ERROR: CronJobId end10
[2025-01-11 21:35:10] Production.INFO: ==27916== Releasing lock...
[2025-01-11 21:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:35:12] Production.INFO: call_cost start
[2025-01-11 21:35:12] Production.INFO: call_cost end
[2025-01-11 21:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:35:13] Production.INFO: ==27912== Releasing lock...
[2025-01-11 21:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:35:17] Production.INFO: count ==1669
[2025-01-11 21:35:17] Production.ERROR: pbx CDR StartTime 2025-01-11 18:35:04 - End Time 2025-01-11 21:35:04
[2025-01-11 21:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227043', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227043', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227043', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227043', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:35:17] Production.INFO: ProcessCDR(1,14227043,1,1,2)
[2025-01-11 21:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227043', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227043', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:35:22] Production.INFO: ==27920== Releasing lock...
[2025-01-11 21:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:35:22] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:36:01] Production.INFO: ==28048== Lock acquired, processing the job...
[2025-01-12 02:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:36:01] Production.INFO: neon service started
[2025-01-12 02:36:01] Production.INFO: neon service started
[2025-01-12 02:36:01] Production.INFO: ==28048== Releasing lock...
[2025-01-12 02:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:36:02] Production.INFO: ==28052== Lock acquired, processing the job...
[2025-01-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:36:02] Production.INFO: ==28052== Releasing lock...
[2025-01-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:36:02] Production.INFO: 26 MB #Memory Used#
[2025-01-11 21:36:02] Production.INFO: ==28050== Lock acquired, processing the job...
[2025-01-11 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:36:02] Production.INFO: ==28050== Releasing lock...
[2025-01-11 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:36:03] Production.INFO: ==28060== Lock acquired, processing the job...
[2025-01-11 21:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:36:03] Production.INFO: ==28054== Lock acquired, processing the job...
[2025-01-11 21:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:36:03] Production.INFO: ==28058== Lock acquired, processing the job...
[2025-01-11 21:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:36:03] Production.INFO: ==28056== Lock acquired, processing the job...
[2025-01-11 21:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:36:03] Production.INFO: Account Balance Start.
[2025-01-11 21:36:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:36:03] Production.INFO: 117
[2025-01-11 21:36:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:36:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:36:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:36:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:36:03] Production.INFO: Total Charge 0
[2025-01-11 21:36:03] Production.INFO: CreateAllLog End
[2025-01-11 21:36:03] Production.INFO: ==28064== Lock acquired, processing the job...
[2025-01-11 21:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:36:03] Production.INFO: ==28062== Lock acquired, processing the job...
[2025-01-11 21:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21: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-01-11 21:36:04] Production.INFO: Account Balance End.
[2025-01-11 21:36:04] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:36:04] Production.INFO: count ==21
[2025-01-11 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227047') start
[2025-01-11 21:36:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:36:04] Production.INFO: ==28060== Releasing lock...
[2025-01-11 21:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:36:04] Production.INFO: ==28056== Releasing lock...
[2025-01-11 21:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227047') end
[2025-01-11 21:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:36:04] Production.INFO: 1
[2025-01-11 21:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:36:04] Production.ERROR: done
[2025-01-11 21:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:36:04] Production.INFO: ==28064== Releasing lock...
[2025-01-11 21:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:36:04] Production.ERROR: done
[2025-01-11 21:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:36:05
[end_date_ymd] => 2025-01-11 21:36:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:36:05' and `end` < '2025-01-11 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-01-11 21:36:10] Production.ERROR: CronJobId end10
[2025-01-11 21:36:10] Production.INFO: ==28058== Releasing lock...
[2025-01-11 21:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:36:13] Production.INFO: call_cost start
[2025-01-11 21:36:13] Production.INFO: call_cost end
[2025-01-11 21:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:36:13] Production.INFO: ==28054== Releasing lock...
[2025-01-11 21:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:36:18] Production.INFO: count ==1675
[2025-01-11 21:36:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:36:05 - End Time 2025-01-11 21:36:05
[2025-01-11 21:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227048', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227048', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227048', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227048', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:36:19] Production.INFO: ProcessCDR(1,14227048,1,1,2)
[2025-01-11 21:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227048', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227048', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:36:23] Production.INFO: ==28062== Releasing lock...
[2025-01-11 21:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:36:23] Production.INFO: 40.25 MB #Memory Used#
[2025-01-12 02:37:01] Production.INFO: ==28156== Lock acquired, processing the job...
[2025-01-12 02:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:37:01] Production.INFO: neon service started
[2025-01-12 02:37:01] Production.INFO: neon service started
[2025-01-12 02:37:01] Production.INFO: ==28156== Releasing lock...
[2025-01-12 02:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:37:01] Production.INFO: ==28160== Lock acquired, processing the job...
[2025-01-12 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:37:01] Production.INFO: ==28160== Releasing lock...
[2025-01-12 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:37:01] Production.INFO: ==28158== Lock acquired, processing the job...
[2025-01-11 21:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:37:02] Production.INFO: ==28158== Releasing lock...
[2025-01-11 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:37:02] Production.INFO: ==28162== Lock acquired, processing the job...
[2025-01-11 21:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:37:03] Production.INFO: ==28167== Lock acquired, processing the job...
[2025-01-11 21:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:37:03] Production.INFO: ==28164== Lock acquired, processing the job...
[2025-01-11 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:37:03] Production.INFO: ==28171== Lock acquired, processing the job...
[2025-01-11 21:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:37:03] Production.INFO: ==28169== Lock acquired, processing the job...
[2025-01-11 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:37:03] Production.INFO: ==28173== Lock acquired, processing the job...
[2025-01-11 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:37:03] Production.INFO: Account Balance Start.
[2025-01-11 21:37:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:37:03] Production.INFO: 117
[2025-01-11 21:37:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:37:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:37:03] Production.ERROR: done
[2025-01-11 21: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-01-11 21:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:37:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:37:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:37:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:37:03] Production.INFO: count ==21
[2025-01-11 21:37:03] Production.INFO: Total Charge 0
[2025-01-11 21:37:03] Production.INFO: CreateAllLog End
[2025-01-11 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227052') start
[2025-01-11 21:37:03] Production.ERROR: done
[2025-01-11 21:37:03] Production.INFO: Account Balance End.
[2025-01-11 21:37:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:37:03] Production.INFO: ==28169== Releasing lock...
[2025-01-11 21:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:37:03] Production.INFO: ==28164== Releasing lock...
[2025-01-11 21:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227052') end
[2025-01-11 21:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:37:03] Production.INFO: 1
[2025-01-11 21:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:37:03] Production.INFO: ==28173== Releasing lock...
[2025-01-11 21:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:37:04
[end_date_ymd] => 2025-01-11 21:37:04
[RateCDR] => 1
)
[2025-01-11 21:37: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-01-11 18:37:04' and `end` < '2025-01-11 21:37: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-01-11 21:37:10] Production.ERROR: CronJobId end10
[2025-01-11 21:37:10] Production.INFO: ==28167== Releasing lock...
[2025-01-11 21:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:37:13] Production.INFO: call_cost start
[2025-01-11 21:37:13] Production.INFO: call_cost end
[2025-01-11 21:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:37:14] Production.INFO: ==28162== Releasing lock...
[2025-01-11 21:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:37:17] Production.INFO: count ==1674
[2025-01-11 21:37:17] Production.ERROR: pbx CDR StartTime 2025-01-11 18:37:04 - End Time 2025-01-11 21:37:04
[2025-01-11 21:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227053', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227053', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227053', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227053', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:37:17] Production.INFO: ProcessCDR(1,14227053,1,1,2)
[2025-01-11 21:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227053', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227053', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:37:21] Production.INFO: ==28171== Releasing lock...
[2025-01-11 21:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:37:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-12 02:38:01] Production.INFO: ==28260== Lock acquired, processing the job...
[2025-01-12 02:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:38:01] Production.INFO: neon service started
[2025-01-12 02:38:01] Production.INFO: neon service started
[2025-01-12 02:38:01] Production.INFO: ==28260== Releasing lock...
[2025-01-12 02:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:38:02] Production.INFO: ==28262== Lock acquired, processing the job...
[2025-01-11 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:38:02] Production.INFO: ==28262== Releasing lock...
[2025-01-11 21:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:38:02] Production.INFO: ==28264== Lock acquired, processing the job...
[2025-01-12 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:38:02] Production.INFO: ==28264== Releasing lock...
[2025-01-12 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:38:03] Production.INFO: ==28271== Lock acquired, processing the job...
[2025-01-11 21:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:38:03] Production.INFO: ==28266== Lock acquired, processing the job...
[2025-01-11 21:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:38:03] Production.INFO: ==28275== Lock acquired, processing the job...
[2025-01-11 21:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:38:03] Production.INFO: ==28268== Lock acquired, processing the job...
[2025-01-11 21:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:38:03] Production.INFO: ==28273== Lock acquired, processing the job...
[2025-01-11 21:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:38:03] Production.INFO: ==28277== Lock acquired, processing the job...
[2025-01-11 21:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:38:03] Production.ERROR: done
[2025-01-11 21:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:38:03] Production.INFO: Account Balance Start.
[2025-01-11 21:38:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:38:03] Production.INFO: 117
[2025-01-11 21:38:03] Production.INFO: Date 2025-01-08
[2025-01-11 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-01-11 21:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:38:03] Production.INFO: count ==21
[2025-01-11 21:38:03] Production.ERROR: done
[2025-01-11 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-01-11 21:38:03] Production.INFO: count ==21
[2025-01-11 21:38:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227057') start
[2025-01-11 21:38:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:38:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:38:04] Production.INFO: Total Charge 0
[2025-01-11 21:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227057') end
[2025-01-11 21:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:38:04] Production.INFO: 1
[2025-01-11 21:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:38:04] Production.INFO: CreateAllLog End
[2025-01-11 21:38:04] Production.INFO: ==28268== Releasing lock...
[2025-01-11 21:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:38:04] Production.INFO: ==28277== Releasing lock...
[2025-01-11 21:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:38:04] Production.INFO: Account Balance End.
[2025-01-11 21:38:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:38:04] Production.INFO: ==28273== Releasing lock...
[2025-01-11 21:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:38:04
[end_date_ymd] => 2025-01-11 21:38:04
[RateCDR] => 1
)
[2025-01-11 21:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:38:04' and `end` < '2025-01-11 21:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:38:11] Production.ERROR: CronJobId end10
[2025-01-11 21:38:11] Production.INFO: ==28271== Releasing lock...
[2025-01-11 21:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:38:13] Production.INFO: call_cost start
[2025-01-11 21:38:13] Production.INFO: call_cost end
[2025-01-11 21:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:38:14] Production.INFO: ==28266== Releasing lock...
[2025-01-11 21:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:38:18] Production.INFO: count ==1674
[2025-01-11 21:38:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:38:04 - End Time 2025-01-11 21:38:04
[2025-01-11 21:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227058', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227058', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227058', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227058', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:38:18] Production.INFO: ProcessCDR(1,14227058,1,1,2)
[2025-01-11 21:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227058', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227058', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:38:21] Production.INFO: ==28275== Releasing lock...
[2025-01-11 21:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:38:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-12 02:39:02] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-01-12 02:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:39:02] Production.INFO: neon service started
[2025-01-12 02:39:02] Production.INFO: neon service started
[2025-01-12 02:39:02] Production.INFO: ==28365== Releasing lock...
[2025-01-12 02:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:39:02] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-01-11 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:39:02] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-01-12 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:39:02] Production.INFO: ==28369== Releasing lock...
[2025-01-12 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:39:03] Production.INFO: ==28367== Releasing lock...
[2025-01-11 21:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:39:03] Production.INFO: ==28384== Lock acquired, processing the job...
[2025-01-11 21:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:39:03] Production.INFO: ==28380== Lock acquired, processing the job...
[2025-01-11 21:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 21:39:04] Production.INFO: ==28374== Lock acquired, processing the job...
[2025-01-11 21:39:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:39:04] Production.INFO: count ==21
[2025-01-11 21:39:04] Production.INFO: Account Balance Start.
[2025-01-11 21:39:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:39:04] Production.INFO: 117
[2025-01-11 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-01-11 21:39:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:39:04] Production.INFO: ==28376== Lock acquired, processing the job...
[2025-01-11 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:39:04] Production.INFO: count ==21
[2025-01-11 21:39:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227059') start
[2025-01-11 21:39:04] Production.INFO: ==28378== Lock acquired, processing the job...
[2025-01-11 21:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:39:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:39:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:39:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:39:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227059') end
[2025-01-11 21:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:39:04] Production.INFO: 1
[2025-01-11 21:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:39:04] Production.INFO: ==28382== Lock acquired, processing the job...
[2025-01-11 21:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:39:04] Production.INFO: ==28384== Releasing lock...
[2025-01-11 21:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:39:04] Production.INFO: Total Charge 0
[2025-01-11 21:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:39:04] Production.INFO: CreateAllLog End
[2025-01-11 21:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:39:04] Production.INFO: ==28376== Releasing lock...
[2025-01-11 21:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:39:04] Production.INFO: Account Balance End.
[2025-01-11 21:39:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:39:04] Production.INFO: ==28380== Releasing lock...
[2025-01-11 21:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:39:04] Production.ERROR: done
[2025-01-11 21:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:39:04] Production.ERROR: done
[2025-01-11 21:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:39:05
[end_date_ymd] => 2025-01-11 21:39:05
[RateCDR] => 1
)
[2025-01-11 21:39:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:39:05' and `end` < '2025-01-11 21:39:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:39:11] Production.ERROR: CronJobId end10
[2025-01-11 21:39:11] Production.INFO: ==28378== Releasing lock...
[2025-01-11 21:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:39:13] Production.INFO: call_cost start
[2025-01-11 21:39:13] Production.INFO: call_cost end
[2025-01-11 21:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:39:14] Production.INFO: ==28374== Releasing lock...
[2025-01-11 21:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:39:20] Production.INFO: count ==1675
[2025-01-11 21:39:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:39:05 - End Time 2025-01-11 21:39:05
[2025-01-11 21:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227063', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227063', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227063', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227063', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:39:20] Production.INFO: ProcessCDR(1,14227063,1,1,2)
[2025-01-11 21:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227063', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227063', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:39:23] Production.INFO: ==28382== Releasing lock...
[2025-01-11 21:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:39:23] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:40:01] Production.INFO: ==28468== Lock acquired, processing the job...
[2025-01-12 02:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:40:01] Production.INFO: neon service started
[2025-01-12 02:40:01] Production.INFO: neon service started
[2025-01-12 02:40:01] Production.INFO: ==28468== Releasing lock...
[2025-01-12 02:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:40:01] Production.INFO: ==28470== Lock acquired, processing the job...
[2025-01-11 21:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:40:02] Production.INFO: ==28472== Lock acquired, processing the job...
[2025-01-12 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:40:02] Production.INFO: ==28472== Releasing lock...
[2025-01-12 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:40:02] Production.INFO: ==28470== Releasing lock...
[2025-01-11 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:40:03] Production.INFO: ==28474== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 21:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 21:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 21:40:03] Production.INFO: ==28474== Releasing lock...
[2025-01-11 21:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 21:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 21:40:03] Production.INFO: ==28476== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:40:03] Production.INFO: ==28480== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:40:03] Production.INFO: ==28478== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:40:03] Production.INFO: ==28482== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:40:03] Production.INFO: ==28487== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 21:40:03] Production.INFO: ==28485== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:40:03] Production.INFO: Account Balance Start.
[2025-01-11 21:40:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:40:03] Production.INFO: 117
[2025-01-11 21:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:40:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:40:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:40:03] Production.INFO: ==28489== Lock acquired, processing the job...
[2025-01-11 21:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:40:04] Production.INFO: ==28478== Releasing lock...
[2025-01-11 21:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:40:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:40:04] Production.ERROR: done
[2025-01-11 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-01-11 21:40:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 21:40:04] Production.INFO: count ==21
[2025-01-11 21:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227068', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 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-01-11 21:40:04] Production.INFO: count ==21
[2025-01-11 21:40:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:40:04] Production.ERROR: done
[2025-01-11 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227067') start
[2025-01-11 21:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:40:04] Production.INFO: Total Charge 0
[2025-01-11 21:40:04] Production.INFO: CreateAllLog End
[2025-01-11 21:40:04] Production.ERROR: done
[2025-01-11 21:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227067') end
[2025-01-11 21:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:40:04] Production.INFO: 1
[2025-01-11 21:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:40:04] Production.INFO: ==28489== Releasing lock...
[2025-01-11 21:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:40:04] Production.INFO: Account Balance End.
[2025-01-11 21:40:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:40:04] Production.INFO: ==28482== Releasing lock...
[2025-01-11 21:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:40:05
[end_date_ymd] => 2025-01-11 21:40:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:40:05' and `end` < '2025-01-11 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-01-11 21:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227068', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 21:40:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 21:40:07] Production.INFO: ProcessCDR(1,14227068,1,1,2)
[2025-01-11 21:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227068,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:40:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227068,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:40:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:40:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:40:07] Production.INFO: ==28487== Releasing lock...
[2025-01-11 21:40:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 21:40:07] Production.INFO: 26 MB #Memory Used#
[2025-01-11 21:40:12] Production.ERROR: CronJobId end10
[2025-01-11 21:40:12] Production.INFO: ==28480== Releasing lock...
[2025-01-11 21:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:40:15] Production.INFO: call_cost start
[2025-01-11 21:40:15] Production.INFO: call_cost end
[2025-01-11 21:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:40:15] Production.INFO: ==28476== Releasing lock...
[2025-01-11 21:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:40:19] Production.INFO: count ==1676
[2025-01-11 21:40:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:40:05 - End Time 2025-01-11 21:40:05
[2025-01-11 21:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227069', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227069', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227069', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227069', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:40:19] Production.INFO: ProcessCDR(1,14227069,1,1,2)
[2025-01-11 21:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227069', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227069', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:40:24] Production.INFO: ==28485== Releasing lock...
[2025-01-11 21:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:40:24] Production.INFO: 40.25 MB #Memory Used#
[2025-01-12 02:41:01] Production.INFO: ==28561== Lock acquired, processing the job...
[2025-01-12 02:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:41:01] Production.INFO: neon service started
[2025-01-12 02:41:02] Production.INFO: neon service started
[2025-01-12 02:41:02] Production.INFO: ==28561== Releasing lock...
[2025-01-12 02:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:41:02] Production.INFO: ==28563== Lock acquired, processing the job...
[2025-01-11 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:41:02] Production.INFO: ==28563== Releasing lock...
[2025-01-11 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:41:02] Production.INFO: ==28565== Lock acquired, processing the job...
[2025-01-12 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:41:02] Production.INFO: ==28565== Releasing lock...
[2025-01-12 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:41:03] Production.INFO: ==28576== Lock acquired, processing the job...
[2025-01-11 21:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:41:03] Production.INFO: ==28578== Lock acquired, processing the job...
[2025-01-11 21:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:41:03] Production.INFO: ==28568== Lock acquired, processing the job...
[2025-01-11 21:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:41:03] Production.INFO: ==28570== Lock acquired, processing the job...
[2025-01-11 21:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:41:03] Production.INFO: ==28572== Lock acquired, processing the job...
[2025-01-11 21:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:41:03] Production.INFO: ==28574== Lock acquired, processing the job...
[2025-01-11 21:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21: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-01-11 21:41:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:41:03] Production.INFO: count ==21
[2025-01-11 21:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:41:03] Production.INFO: Account Balance Start.
[2025-01-11 21:41:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:41:03] Production.INFO: 117
[2025-01-11 21:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227070') start
[2025-01-11 21:41:03] Production.ERROR: done
[2025-01-11 21:41:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:41:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:41:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227070') end
[2025-01-11 21:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:41:03] Production.INFO: 1
[2025-01-11 21:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:41:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:41:03] Production.INFO: Total Charge 0
[2025-01-11 21:41:03] Production.INFO: CreateAllLog End
[2025-01-11 21:41:04] Production.INFO: ==28578== Releasing lock...
[2025-01-11 21:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:41:04] Production.INFO: ==28570== Releasing lock...
[2025-01-11 21:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:41:04] Production.ERROR: done
[2025-01-11 21:41:04] Production.INFO: Account Balance End.
[2025-01-11 21:41:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:41:04] Production.INFO: ==28574== Releasing lock...
[2025-01-11 21:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:41:05
[end_date_ymd] => 2025-01-11 21:41:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:41:05' and `end` < '2025-01-11 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-01-11 21:41:10] Production.ERROR: CronJobId end10
[2025-01-11 21:41:10] Production.INFO: ==28572== Releasing lock...
[2025-01-11 21:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:41:13] Production.INFO: call_cost start
[2025-01-11 21:41:13] Production.INFO: call_cost end
[2025-01-11 21:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:41:14] Production.INFO: ==28568== Releasing lock...
[2025-01-11 21:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:41:18] Production.INFO: count ==1650
[2025-01-11 21:41:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:41:05 - End Time 2025-01-11 21:41:05
[2025-01-11 21:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227074', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227074', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227074', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227074', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:41:18] Production.INFO: ProcessCDR(1,14227074,1,1,2)
[2025-01-11 21:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227074', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227074', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:41:21] Production.INFO: ==28576== Releasing lock...
[2025-01-11 21:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:41:21] Production.INFO: 40.25 MB #Memory Used#
[2025-01-12 02:42:01] Production.INFO: ==28630== Lock acquired, processing the job...
[2025-01-12 02:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:42:01] Production.INFO: neon service started
[2025-01-12 02:42:01] Production.INFO: neon service started
[2025-01-12 02:42:01] Production.INFO: ==28630== Releasing lock...
[2025-01-12 02:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:42:02] Production.INFO: ==28632== Lock acquired, processing the job...
[2025-01-11 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:42:02] Production.INFO: ==28634== Lock acquired, processing the job...
[2025-01-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:42:02] Production.INFO: ==28634== Releasing lock...
[2025-01-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:42:02] Production.INFO: ==28632== Releasing lock...
[2025-01-11 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:42:03] Production.INFO: ==28637== Lock acquired, processing the job...
[2025-01-11 21:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:42:03] Production.INFO: ==28645== Lock acquired, processing the job...
[2025-01-11 21:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:42:03] Production.INFO: ==28639== Lock acquired, processing the job...
[2025-01-11 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:42:03] Production.INFO: ==28641== Lock acquired, processing the job...
[2025-01-11 21:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:42:03] Production.INFO: ==28643== Lock acquired, processing the job...
[2025-01-11 21:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:42:03] Production.INFO: ==28647== Lock acquired, processing the job...
[2025-01-11 21:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:42:03] Production.INFO: Account Balance Start.
[2025-01-11 21:42:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:42:03] Production.INFO: 117
[2025-01-11 21:42:03] Production.ERROR: done
[2025-01-11 21:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:42:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 21:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:42:03] Production.INFO: count ==21
[2025-01-11 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-01-11 21:42:03] Production.INFO: count ==21
[2025-01-11 21:42:03] Production.ERROR: done
[2025-01-11 21:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227078') start
[2025-01-11 21:42:03] Production.INFO: ==28639== Releasing lock...
[2025-01-11 21:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:42:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:42:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:42:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:42:03] Production.INFO: Total Charge 0
[2025-01-11 21:42:03] Production.INFO: CreateAllLog End
[2025-01-11 21:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227078') end
[2025-01-11 21:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:42:04] Production.INFO: 1
[2025-01-11 21:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:42:04] Production.INFO: Account Balance End.
[2025-01-11 21:42:04] Production.INFO: ==28647== Releasing lock...
[2025-01-11 21:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:42:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:42:04] Production.INFO: ==28643== Releasing lock...
[2025-01-11 21:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:42:04
[end_date_ymd] => 2025-01-11 21:42:04
[RateCDR] => 1
)
[2025-01-11 21:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:42:04' and `end` < '2025-01-11 21:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:42:11] Production.ERROR: CronJobId end10
[2025-01-11 21:42:11] Production.INFO: ==28641== Releasing lock...
[2025-01-11 21:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:42:12] Production.INFO: call_cost start
[2025-01-11 21:42:12] Production.INFO: call_cost end
[2025-01-11 21:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:42:13] Production.INFO: ==28637== Releasing lock...
[2025-01-11 21:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:42:18] Production.INFO: count ==1648
[2025-01-11 21:42:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:42:04 - End Time 2025-01-11 21:42:04
[2025-01-11 21:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227079', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227079', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227079', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227079', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:42:18] Production.INFO: ProcessCDR(1,14227079,1,1,2)
[2025-01-11 21:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227079', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227079', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:42:23] Production.INFO: ==28645== Releasing lock...
[2025-01-11 21:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:42:23] Production.INFO: 40.25 MB #Memory Used#
[2025-01-12 02:43:01] Production.INFO: ==28702== Lock acquired, processing the job...
[2025-01-12 02:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:43:01] Production.INFO: neon service started
[2025-01-12 02:43:02] Production.INFO: neon service started
[2025-01-12 02:43:02] Production.INFO: ==28702== Releasing lock...
[2025-01-12 02:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:43:02] Production.INFO: ==28704== Lock acquired, processing the job...
[2025-01-11 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:43:02] Production.INFO: ==28706== Lock acquired, processing the job...
[2025-01-12 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:43:02] Production.INFO: ==28706== Releasing lock...
[2025-01-12 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:43:03] Production.INFO: ==28704== Releasing lock...
[2025-01-11 21:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:43:03] Production.INFO: ==28709== Lock acquired, processing the job...
[2025-01-11 21:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:43:03] Production.INFO: ==28711== Lock acquired, processing the job...
[2025-01-11 21:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:43:03] Production.INFO: ==28713== Lock acquired, processing the job...
[2025-01-11 21:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:43:03] Production.INFO: ==28715== Lock acquired, processing the job...
[2025-01-11 21:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:43:04] Production.INFO: Account Balance Start.
[2025-01-11 21:43:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:43:04] Production.INFO: 117
[2025-01-11 21:43:04] Production.INFO: ==28711== Releasing lock...
[2025-01-11 21:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:43:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:43:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:43:04] Production.INFO: ==28719== Lock acquired, processing the job...
[2025-01-11 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:43:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:43:04] Production.INFO: ==28717== Lock acquired, processing the job...
[2025-01-11 21:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:43:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:43:04] Production.INFO: Total Charge 0
[2025-01-11 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-01-11 21:43:04] Production.INFO: CreateAllLog End
[2025-01-11 21:43:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:43:04] Production.INFO: count ==21
[2025-01-11 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227083') start
[2025-01-11 21:43:04] Production.INFO: Account Balance End.
[2025-01-11 21:43:04] Production.ERROR: done
[2025-01-11 21:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:43:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:43:04] Production.INFO: ==28715== Releasing lock...
[2025-01-11 21:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227083') end
[2025-01-11 21:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:43:04] Production.INFO: 1
[2025-01-11 21:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:43:04] Production.ERROR: done
[2025-01-11 21:43:04] Production.INFO: ==28719== Releasing lock...
[2025-01-11 21:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:43:05
[end_date_ymd] => 2025-01-11 21:43:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:43:05' and `end` < '2025-01-11 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-01-11 21:43:11] Production.ERROR: CronJobId end10
[2025-01-11 21:43:11] Production.INFO: ==28713== Releasing lock...
[2025-01-11 21:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:43:12] Production.INFO: call_cost start
[2025-01-11 21:43:12] Production.INFO: call_cost end
[2025-01-11 21:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:43:13] Production.INFO: ==28709== Releasing lock...
[2025-01-11 21:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:43:20] Production.INFO: count ==1644
[2025-01-11 21:43:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:43:05 - End Time 2025-01-11 21:43:05
[2025-01-11 21:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227084', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227084', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227084', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227084', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:43:20] Production.INFO: ProcessCDR(1,14227084,1,1,2)
[2025-01-11 21:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227084', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227084', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:43:23] Production.INFO: ==28717== Releasing lock...
[2025-01-11 21:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:43:23] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:44:01] Production.INFO: ==28775== Lock acquired, processing the job...
[2025-01-12 02:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:44:01] Production.INFO: neon service started
[2025-01-12 02:44:01] Production.INFO: neon service started
[2025-01-12 02:44:01] Production.INFO: ==28775== Releasing lock...
[2025-01-12 02:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:44:01] Production.INFO: ==28777== Lock acquired, processing the job...
[2025-01-11 21:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:44:02] Production.INFO: ==28777== Releasing lock...
[2025-01-11 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:44:02] Production.INFO: ==28779== Lock acquired, processing the job...
[2025-01-12 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:44:02] Production.INFO: ==28779== Releasing lock...
[2025-01-12 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:44:03] Production.INFO: ==28784== Lock acquired, processing the job...
[2025-01-11 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:44:03] Production.INFO: ==28782== Lock acquired, processing the job...
[2025-01-11 21:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:44:03] Production.INFO: ==28792== Lock acquired, processing the job...
[2025-01-11 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 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-01-11 21:44:03] Production.INFO: ==28786== Lock acquired, processing the job...
[2025-01-11 21:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:44:03] Production.INFO: count ==21
[2025-01-11 21:44:03] Production.INFO: ==28788== Lock acquired, processing the job...
[2025-01-11 21:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 21:44:03] Production.INFO: count ==21
[2025-01-11 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227086') start
[2025-01-11 21:44:03] Production.INFO: ==28790== Lock acquired, processing the job...
[2025-01-11 21:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:44:03] Production.INFO: ==28784== Releasing lock...
[2025-01-11 21:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227086') end
[2025-01-11 21:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:44:03] Production.INFO: 1
[2025-01-11 21:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:44:03] Production.INFO: Account Balance Start.
[2025-01-11 21:44:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:44:03] Production.INFO: 117
[2025-01-11 21:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:44:03] Production.INFO: ==28792== Releasing lock...
[2025-01-11 21:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:44:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:44:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:44:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:44:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:44:03] Production.INFO: Total Charge 0
[2025-01-11 21:44:03] Production.INFO: CreateAllLog End
[2025-01-11 21:44:04] Production.ERROR: done
[2025-01-11 21:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:44:04] Production.INFO: Account Balance End.
[2025-01-11 21:44:04] Production.ERROR: done
[2025-01-11 21:44:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:44:04] Production.INFO: ==28788== Releasing lock...
[2025-01-11 21:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:44:05
[end_date_ymd] => 2025-01-11 21:44:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:44:05' and `end` < '2025-01-11 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-01-11 21:44:10] Production.ERROR: CronJobId end10
[2025-01-11 21:44:10] Production.INFO: ==28786== Releasing lock...
[2025-01-11 21:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:44:12] Production.INFO: call_cost start
[2025-01-11 21:44:12] Production.INFO: call_cost end
[2025-01-11 21:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:44:13] Production.INFO: ==28782== Releasing lock...
[2025-01-11 21:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:44:18] Production.INFO: count ==1644
[2025-01-11 21:44:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:44:05 - End Time 2025-01-11 21:44:05
[2025-01-11 21:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227089', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227089', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227089', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227089', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:44:18] Production.INFO: ProcessCDR(1,14227089,1,1,2)
[2025-01-11 21:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227089', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227089', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:44:21] Production.INFO: ==28790== Releasing lock...
[2025-01-11 21:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:44:21] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:45:01] Production.INFO: ==28853== Lock acquired, processing the job...
[2025-01-12 02:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:45:01] Production.INFO: neon service started
[2025-01-12 02:45:01] Production.INFO: neon service started
[2025-01-12 02:45:01] Production.INFO: ==28853== Releasing lock...
[2025-01-12 02:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:45:02] Production.INFO: ==28857== Lock acquired, processing the job...
[2025-01-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:45:02] Production.INFO: ==28857== Releasing lock...
[2025-01-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:45:02] Production.INFO: ==28855== Lock acquired, processing the job...
[2025-01-11 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:45:02] Production.INFO: ==28855== Releasing lock...
[2025-01-11 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:45:03] Production.INFO: ==28864== Lock acquired, processing the job...
[2025-01-11 21:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:45:03] Production.INFO: ==28860== Lock acquired, processing the job...
[2025-01-11 21:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:45:03] Production.INFO: ==28862== Lock acquired, processing the job...
[2025-01-11 21:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:45:03] Production.INFO: ==28870== Lock acquired, processing the job...
[2025-01-11 21:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:45:03] Production.INFO: ==28866== Lock acquired, processing the job...
[2025-01-11 21:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 21:45:03] Production.INFO: ==28868== Lock acquired, processing the job...
[2025-01-11 21:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:45:03] Production.INFO: Account Balance Start.
[2025-01-11 21:45:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:45:03] Production.INFO: 117
[2025-01-11 21:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:45:03] Production.INFO: count ==21
[2025-01-11 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-01-11 21:45:03] Production.INFO: count ==21
[2025-01-11 21:45:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227092') start
[2025-01-11 21:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:45:04] Production.INFO: ==28862== Releasing lock...
[2025-01-11 21:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:45:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227092') end
[2025-01-11 21:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:45:04] Production.INFO: 1
[2025-01-11 21:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:45:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:45:04] Production.INFO: ==28870== Releasing lock...
[2025-01-11 21:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:45:04] Production.ERROR: done
[2025-01-11 21:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:45:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:45:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:45:04] Production.INFO: Total Charge 0
[2025-01-11 21:45:04] Production.ERROR: done
[2025-01-11 21:45:04] Production.INFO: CreateAllLog End
[2025-01-11 21:45:04] Production.INFO: Account Balance End.
[2025-01-11 21:45:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:45:04] Production.INFO: ==28866== Releasing lock...
[2025-01-11 21:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:45:05
[end_date_ymd] => 2025-01-11 21:45:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:45:05' and `end` < '2025-01-11 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-01-11 21:45:11] Production.ERROR: CronJobId end10
[2025-01-11 21:45:11] Production.INFO: ==28864== Releasing lock...
[2025-01-11 21:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:45:13] Production.INFO: call_cost start
[2025-01-11 21:45:13] Production.INFO: call_cost end
[2025-01-11 21:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:45:14] Production.INFO: ==28860== Releasing lock...
[2025-01-11 21:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:45:18] Production.INFO: count ==1644
[2025-01-11 21:45:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:45:05 - End Time 2025-01-11 21:45:05
[2025-01-11 21:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227094', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227094', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227094', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227094', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:45:19] Production.INFO: ProcessCDR(1,14227094,1,1,2)
[2025-01-11 21:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227094', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227094', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:45:23] Production.INFO: ==28868== Releasing lock...
[2025-01-11 21:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:45:23] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:46:02] Production.INFO: ==28931== Lock acquired, processing the job...
[2025-01-12 02:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:46:02] Production.INFO: neon service started
[2025-01-12 02:46:02] Production.INFO: neon service started
[2025-01-12 02:46:02] Production.INFO: ==28931== Releasing lock...
[2025-01-12 02:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:46:02] Production.INFO: ==28933== Lock acquired, processing the job...
[2025-01-11 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:46:02] Production.INFO: ==28933== Releasing lock...
[2025-01-11 21:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:46:03] Production.INFO: ==28935== Lock acquired, processing the job...
[2025-01-12 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:46:03] Production.INFO: ==28935== Releasing lock...
[2025-01-12 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:46:03] Production.INFO: ==28940== Lock acquired, processing the job...
[2025-01-11 21:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:46:04] Production.INFO: ==28938== Lock acquired, processing the job...
[2025-01-11 21:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:46:04] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-01-11 21:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:46:04] Production.INFO: ==28940== Releasing lock...
[2025-01-11 21:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:46:04] Production.INFO: ==28944== Lock acquired, processing the job...
[2025-01-11 21:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:46:04] Production.INFO: ==28946== Lock acquired, processing the job...
[2025-01-11 21:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:46:04] Production.INFO: ==28948== Lock acquired, processing the job...
[2025-01-11 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 21:46:04] Production.INFO: Account Balance Start.
[2025-01-11 21:46:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:46:04] Production.INFO: 117
[2025-01-11 21:46:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:46:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:46:04] Production.INFO: count ==21
[2025-01-11 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227097') start
[2025-01-11 21:46:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:46:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:46:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227097') end
[2025-01-11 21:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:46:04] Production.INFO: 1
[2025-01-11 21:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:46:04] Production.INFO: Total Charge 0
[2025-01-11 21:46:04] Production.INFO: CreateAllLog End
[2025-01-11 21:46:04] Production.INFO: ==28948== Releasing lock...
[2025-01-11 21:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:46:04] Production.ERROR: done
[2025-01-11 21:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:46:05] Production.ERROR: done
[2025-01-11 21:46:05] Production.INFO: Account Balance End.
[2025-01-11 21:46:05] Production.ERROR: CronJobId end 12
[2025-01-11 21:46:05] Production.INFO: ==28944== Releasing lock...
[2025-01-11 21:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:46:06
[end_date_ymd] => 2025-01-11 21:46:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:46:06' and `end` < '2025-01-11 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-01-11 21:46:12] Production.ERROR: CronJobId end10
[2025-01-11 21:46:12] Production.INFO: ==28942== Releasing lock...
[2025-01-11 21:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:46:15] Production.INFO: call_cost start
[2025-01-11 21:46:15] Production.INFO: call_cost end
[2025-01-11 21:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:46:15] Production.INFO: ==28938== Releasing lock...
[2025-01-11 21:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:46:19] Production.INFO: count ==1641
[2025-01-11 21:46:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:46:06 - End Time 2025-01-11 21:46:06
[2025-01-11 21:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227099', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227099', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227099', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227099', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:46:20] Production.INFO: ProcessCDR(1,14227099,1,1,2)
[2025-01-11 21:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227099', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227099', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:46:23] Production.INFO: ==28946== Releasing lock...
[2025-01-11 21:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:46:23] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:47:01] Production.INFO: ==29005== Lock acquired, processing the job...
[2025-01-12 02:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:47:01] Production.INFO: neon service started
[2025-01-12 02:47:01] Production.INFO: neon service started
[2025-01-12 02:47:01] Production.INFO: ==29005== Releasing lock...
[2025-01-12 02:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:47:02] Production.INFO: ==29007== Lock acquired, processing the job...
[2025-01-11 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:47:02] Production.INFO: ==29009== Lock acquired, processing the job...
[2025-01-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:47:02] Production.INFO: ==29009== Releasing lock...
[2025-01-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:47:02] Production.INFO: ==29007== Releasing lock...
[2025-01-11 21:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:47:03] Production.INFO: ==29014== Lock acquired, processing the job...
[2025-01-11 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:47:03] Production.INFO: ==29016== Lock acquired, processing the job...
[2025-01-11 21:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:47:03] Production.INFO: ==29012== Lock acquired, processing the job...
[2025-01-11 21:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:47:03] Production.INFO: ==29022== Lock acquired, processing the job...
[2025-01-11 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:47:03] Production.INFO: ==29018== Lock acquired, processing the job...
[2025-01-11 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:47:03] Production.INFO: count ==21
[2025-01-11 21:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:47:03] Production.INFO: count ==21
[2025-01-11 21:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227101') start
[2025-01-11 21:47:03] Production.INFO: Account Balance Start.
[2025-01-11 21:47:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:47:03] Production.INFO: 117
[2025-01-11 21:47:03] Production.INFO: ==29014== Releasing lock...
[2025-01-11 21:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:47:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:47:03] Production.INFO: ==29020== Lock acquired, processing the job...
[2025-01-11 21:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227101') end
[2025-01-11 21:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:47:03] Production.INFO: 1
[2025-01-11 21:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:47:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:47:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:47:03] Production.INFO: ==29022== Releasing lock...
[2025-01-11 21:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:47:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:47:03] Production.INFO: Total Charge 0
[2025-01-11 21:47:03] Production.INFO: CreateAllLog End
[2025-01-11 21:47:03] Production.INFO: Account Balance End.
[2025-01-11 21:47:03] Production.ERROR: done
[2025-01-11 21:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:47:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:47:03] Production.INFO: ==29018== Releasing lock...
[2025-01-11 21:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:47:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:47:04] Production.ERROR: done
[2025-01-11 21:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:47:04
[end_date_ymd] => 2025-01-11 21:47:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:47:04' and `end` < '2025-01-11 21: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-01-11 21:47:11] Production.ERROR: CronJobId end10
[2025-01-11 21:47:11] Production.INFO: ==29016== Releasing lock...
[2025-01-11 21:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:47:12] Production.INFO: call_cost start
[2025-01-11 21:47:12] Production.INFO: call_cost end
[2025-01-11 21:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:47:13] Production.INFO: ==29012== Releasing lock...
[2025-01-11 21:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:47:18] Production.INFO: count ==1642
[2025-01-11 21:47:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:47:04 - End Time 2025-01-11 21:47:04
[2025-01-11 21:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227104', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227104', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227104', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227104', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:47:19] Production.INFO: ProcessCDR(1,14227104,1,1,2)
[2025-01-11 21:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227104', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227104', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:47:23] Production.INFO: ==29020== Releasing lock...
[2025-01-11 21:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:47:23] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:48:02] Production.INFO: ==29078== Lock acquired, processing the job...
[2025-01-12 02:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:48:02] Production.INFO: neon service started
[2025-01-12 02:48:02] Production.INFO: neon service started
[2025-01-12 02:48:02] Production.INFO: ==29078== Releasing lock...
[2025-01-12 02:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:48:02] Production.INFO: ==29080== Lock acquired, processing the job...
[2025-01-11 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:48:02] Production.INFO: ==29080== Releasing lock...
[2025-01-11 21:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:48:02] Production.INFO: ==29082== Lock acquired, processing the job...
[2025-01-12 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:48:02] Production.INFO: ==29082== Releasing lock...
[2025-01-12 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:48:03] Production.INFO: ==29095== Lock acquired, processing the job...
[2025-01-11 21:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21: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-01-11 21:48:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:48:03] Production.INFO: count ==21
[2025-01-11 21:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227105') start
[2025-01-11 21:48:03] Production.INFO: ==29085== Lock acquired, processing the job...
[2025-01-11 21:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227105') end
[2025-01-11 21:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:48:03] Production.INFO: 1
[2025-01-11 21:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:48:03] Production.INFO: ==29087== Lock acquired, processing the job...
[2025-01-11 21:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:48:04] Production.INFO: ==29093== Lock acquired, processing the job...
[2025-01-11 21:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:48:04] Production.INFO: ==29095== Releasing lock...
[2025-01-11 21:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:48:04] Production.INFO: ==29089== Lock acquired, processing the job...
[2025-01-11 21:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:48:04] Production.INFO: ==29091== Lock acquired, processing the job...
[2025-01-11 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:48:04] Production.INFO: Account Balance Start.
[2025-01-11 21:48:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:48:04] Production.INFO: 117
[2025-01-11 21:48:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:48:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:48:04] Production.ERROR: done
[2025-01-11 21:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:48:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:48:04] Production.ERROR: done
[2025-01-11 21:48:04] Production.INFO: ==29087== Releasing lock...
[2025-01-11 21:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:48:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:48:04] Production.INFO: Total Charge 0
[2025-01-11 21:48:04] Production.INFO: CreateAllLog End
[2025-01-11 21:48:04] Production.INFO: Account Balance End.
[2025-01-11 21:48:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:48:04] Production.INFO: ==29091== Releasing lock...
[2025-01-11 21:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:48:05
[end_date_ymd] => 2025-01-11 21:48:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:48:05' and `end` < '2025-01-11 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-01-11 21:48:11] Production.ERROR: CronJobId end10
[2025-01-11 21:48:11] Production.INFO: ==29089== Releasing lock...
[2025-01-11 21:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:48:13] Production.INFO: call_cost start
[2025-01-11 21:48:13] Production.INFO: call_cost end
[2025-01-11 21:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:48:14] Production.INFO: ==29085== Releasing lock...
[2025-01-11 21:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:48:18] Production.INFO: count ==1638
[2025-01-11 21:48:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:48:05 - End Time 2025-01-11 21:48:05
[2025-01-11 21:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227109', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227109', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227109', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227109', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:48:18] Production.INFO: ProcessCDR(1,14227109,1,1,2)
[2025-01-11 21:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:48:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:48:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227109', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227109', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:48:22] Production.INFO: ==29093== Releasing lock...
[2025-01-11 21:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:48:22] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:49:01] Production.INFO: ==29148== Lock acquired, processing the job...
[2025-01-12 02:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:49:01] Production.INFO: neon service started
[2025-01-12 02:49:01] Production.INFO: neon service started
[2025-01-12 02:49:01] Production.INFO: ==29148== Releasing lock...
[2025-01-12 02:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:49:01] Production.INFO: ==29152== Lock acquired, processing the job...
[2025-01-12 02:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:49:01] Production.INFO: ==29152== Releasing lock...
[2025-01-12 02:49:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:49:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:49:02] Production.INFO: ==29150== Lock acquired, processing the job...
[2025-01-11 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:49:02] Production.INFO: ==29150== Releasing lock...
[2025-01-11 21:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:49:03] Production.INFO: ==29159== Lock acquired, processing the job...
[2025-01-11 21:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:49:03] Production.INFO: ==29155== Lock acquired, processing the job...
[2025-01-11 21:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:49:03] Production.INFO: ==29165== Lock acquired, processing the job...
[2025-01-11 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:49:03] Production.INFO: ==29157== Lock acquired, processing the job...
[2025-01-11 21:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:49:03] Production.INFO: ==29161== Lock acquired, processing the job...
[2025-01-11 21:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21: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-01-11 21:49:03] Production.INFO: ==29163== Lock acquired, processing the job...
[2025-01-11 21:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:49:03] Production.INFO: Account Balance Start.
[2025-01-11 21:49:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:49:03] Production.INFO: 117
[2025-01-11 21:49:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:49:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:49:03] Production.INFO: count ==21
[2025-01-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227111') start
[2025-01-11 21:49:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:49:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227111') end
[2025-01-11 21:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:49:03] Production.INFO: 1
[2025-01-11 21:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:49:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:49:03] Production.INFO: ==29165== Releasing lock...
[2025-01-11 21:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:49:03] Production.INFO: Total Charge 0
[2025-01-11 21:49:03] Production.INFO: CreateAllLog End
[2025-01-11 21:49:04] Production.INFO: ==29157== Releasing lock...
[2025-01-11 21:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:49:04] Production.ERROR: done
[2025-01-11 21:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:49:04] Production.INFO: Account Balance End.
[2025-01-11 21:49:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:49:04] Production.INFO: ==29161== Releasing lock...
[2025-01-11 21:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:49:04] Production.ERROR: done
[2025-01-11 21:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:49:05
[end_date_ymd] => 2025-01-11 21:49:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:49:05' and `end` < '2025-01-11 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-01-11 21:49:11] Production.ERROR: CronJobId end10
[2025-01-11 21:49:11] Production.INFO: ==29159== Releasing lock...
[2025-01-11 21:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:49:12] Production.INFO: call_cost start
[2025-01-11 21:49:12] Production.INFO: call_cost end
[2025-01-11 21:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:49:13] Production.INFO: ==29155== Releasing lock...
[2025-01-11 21:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:49:18] Production.INFO: count ==1637
[2025-01-11 21:49:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:49:05 - End Time 2025-01-11 21:49:05
[2025-01-11 21:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227114', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227114', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227114', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227114', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:49:19] Production.INFO: ProcessCDR(1,14227114,1,1,2)
[2025-01-11 21:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227114', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227114', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:49:24] Production.INFO: ==29163== Releasing lock...
[2025-01-11 21:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:49:24] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:50:02] Production.INFO: ==29223== Lock acquired, processing the job...
[2025-01-12 02:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:50:02] Production.INFO: neon service started
[2025-01-12 02:50:02] Production.INFO: neon service started
[2025-01-12 02:50:02] Production.INFO: ==29223== Releasing lock...
[2025-01-12 02:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:50:02] Production.INFO: ==29228== Lock acquired, processing the job...
[2025-01-12 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:50:02] Production.INFO: ==29228== Releasing lock...
[2025-01-12 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:50:02] Production.INFO: ==29226== Lock acquired, processing the job...
[2025-01-11 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:50:02] Production.INFO: ==29226== Releasing lock...
[2025-01-11 21:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:50:04] Production.INFO: ==29230== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 21:50:04] Production.INFO: ==29234== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 21:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 21:50:04] Production.INFO: ==29230== Releasing lock...
[2025-01-11 21:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 21:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 21:50:04] Production.INFO: ==29238== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:50:04] Production.INFO: ==29232== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:50:04] Production.INFO: ==29240== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:50:04] Production.INFO: Account Balance Start.
[2025-01-11 21:50:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:50:04] Production.INFO: 117
[2025-01-11 21:50:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:50:04] Production.INFO: ==29236== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:50:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:50:04] Production.INFO: ==29242== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 21:50:04] Production.INFO: ==29244== Lock acquired, processing the job...
[2025-01-11 21:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:50:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:50:04] Production.INFO: ==29234== Releasing lock...
[2025-01-11 21:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 21:50:04] Production.ERROR: done
[2025-01-11 21:50:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:50:04] Production.INFO: count ==21
[2025-01-11 21:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 21:50:04] Production.INFO: count ==21
[2025-01-11 21:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227118') start
[2025-01-11 21:50:04] Production.INFO: Total Charge 0
[2025-01-11 21:50:04] Production.INFO: CreateAllLog End
[2025-01-11 21:50:04] Production.ERROR: done
[2025-01-11 21:50:05] Production.ERROR: done
[2025-01-11 21:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227118') end
[2025-01-11 21:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:50:05] Production.INFO: 1
[2025-01-11 21:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 21:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227119', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 21:50:05] Production.INFO: ==29244== Releasing lock...
[2025-01-11 21:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:50:05] Production.INFO: Account Balance End.
[2025-01-11 21:50:05] Production.ERROR: CronJobId end 12
[2025-01-11 21:50:05] Production.INFO: ==29238== Releasing lock...
[2025-01-11 21:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:50:05
[end_date_ymd] => 2025-01-11 21:50:05
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:50:05' and `end` < '2025-01-11 21: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-01-11 21:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227119', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 21:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 21:50:08] Production.INFO: ProcessCDR(1,14227119,1,1,2)
[2025-01-11 21:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:50:08] Production.INFO: ==29242== Releasing lock...
[2025-01-11 21:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 21:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 21:50:13] Production.ERROR: CronJobId end10
[2025-01-11 21:50:13] Production.INFO: ==29236== Releasing lock...
[2025-01-11 21:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:50:15] Production.INFO: call_cost start
[2025-01-11 21:50:15] Production.INFO: call_cost end
[2025-01-11 21:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:50:16] Production.INFO: ==29232== Releasing lock...
[2025-01-11 21:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:50:19] Production.INFO: count ==1635
[2025-01-11 21:50:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:50:05 - End Time 2025-01-11 21:50:05
[2025-01-11 21:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227120', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227120', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227120', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227120', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:50:19] Production.INFO: ProcessCDR(1,14227120,1,1,2)
[2025-01-11 21:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227120', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227120', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:50:22] Production.INFO: ==29240== Releasing lock...
[2025-01-11 21:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:50:22] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:51:01] Production.INFO: ==29339== Lock acquired, processing the job...
[2025-01-12 02:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:51:01] Production.INFO: neon service started
[2025-01-12 02:51:01] Production.INFO: neon service started
[2025-01-12 02:51:01] Production.INFO: ==29339== Releasing lock...
[2025-01-12 02:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:51:01] Production.INFO: ==29341== Lock acquired, processing the job...
[2025-01-11 21:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:51:02] Production.INFO: ==29341== Releasing lock...
[2025-01-11 21:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:51:02] Production.INFO: ==29343== Lock acquired, processing the job...
[2025-01-12 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:51:02] Production.INFO: ==29343== Releasing lock...
[2025-01-12 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:51:03] Production.INFO: ==29347== Lock acquired, processing the job...
[2025-01-11 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:51:03] Production.INFO: ==29353== Lock acquired, processing the job...
[2025-01-11 21:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:51:03] Production.INFO: ==29345== Lock acquired, processing the job...
[2025-01-11 21:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:51:03] Production.INFO: ==29349== Lock acquired, processing the job...
[2025-01-11 21:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:51:03] Production.INFO: ==29351== Lock acquired, processing the job...
[2025-01-11 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:51:03] Production.INFO: ==29355== Lock acquired, processing the job...
[2025-01-11 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:51:03] Production.INFO: Account Balance Start.
[2025-01-11 21:51:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:51:03] Production.INFO: 117
[2025-01-11 21:51:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 21:51:03] Production.INFO: count ==21
[2025-01-11 21:51:03] Production.INFO: ==29347== Releasing lock...
[2025-01-11 21:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 21:51:03] Production.INFO: count ==21
[2025-01-11 21:51:03] Production.ERROR: done
[2025-01-11 21:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227124') start
[2025-01-11 21:51:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:51:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227124') end
[2025-01-11 21:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:51:03] Production.INFO: 1
[2025-01-11 21:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:51:03] Production.ERROR: done
[2025-01-11 21:51:03] Production.INFO: ==29355== Releasing lock...
[2025-01-11 21:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:51:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:51:03] Production.INFO: Total Charge 0
[2025-01-11 21:51:03] Production.INFO: CreateAllLog End
[2025-01-11 21:51:03] Production.INFO: Account Balance End.
[2025-01-11 21:51:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:51:03] Production.INFO: ==29351== Releasing lock...
[2025-01-11 21:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:51:04
[end_date_ymd] => 2025-01-11 21:51:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:51:04' and `end` < '2025-01-11 21: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-01-11 21:51:11] Production.ERROR: CronJobId end10
[2025-01-11 21:51:11] Production.INFO: ==29349== Releasing lock...
[2025-01-11 21:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:51:12] Production.INFO: call_cost start
[2025-01-11 21:51:12] Production.INFO: call_cost end
[2025-01-11 21:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:51:13] Production.INFO: ==29345== Releasing lock...
[2025-01-11 21:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:51:18] Production.INFO: count ==1627
[2025-01-11 21:51:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:51:04 - End Time 2025-01-11 21:51:04
[2025-01-11 21:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227125', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227125', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227125', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227125', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:51:18] Production.INFO: ProcessCDR(1,14227125,1,1,2)
[2025-01-11 21:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227125', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227125', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:51:21] Production.INFO: ==29353== Releasing lock...
[2025-01-11 21:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:51:21] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:52:01] Production.INFO: ==29411== Lock acquired, processing the job...
[2025-01-12 02:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:52:01] Production.INFO: neon service started
[2025-01-12 02:52:01] Production.INFO: neon service started
[2025-01-12 02:52:01] Production.INFO: ==29411== Releasing lock...
[2025-01-12 02:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:52:02] Production.INFO: ==29415== Lock acquired, processing the job...
[2025-01-12 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:52:02] Production.INFO: ==29415== Releasing lock...
[2025-01-12 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:52:02] Production.INFO: ==29413== Lock acquired, processing the job...
[2025-01-11 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:52:02] Production.INFO: ==29413== Releasing lock...
[2025-01-11 21:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:52:03] Production.INFO: ==29424== Lock acquired, processing the job...
[2025-01-11 21:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:52:03] Production.INFO: ==29418== Lock acquired, processing the job...
[2025-01-11 21:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:52:03] Production.INFO: Account Balance Start.
[2025-01-11 21:52:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:52:03] Production.INFO: 117
[2025-01-11 21:52:03] Production.INFO: ==29428== Lock acquired, processing the job...
[2025-01-11 21:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:52:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:52:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:52:03] Production.INFO: Date 2025-01-10
[2025-01-11 21: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-01-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:52:03] Production.INFO: ==29420== Lock acquired, processing the job...
[2025-01-11 21:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:52:03] Production.INFO: count ==21
[2025-01-11 21:52:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:52:03] Production.INFO: Reseller ==> 0
[2025-01-11 21: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-01-11 21:52:03] Production.INFO: count ==21
[2025-01-11 21:52:03] Production.INFO: ==29422== Lock acquired, processing the job...
[2025-01-11 21:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227127') start
[2025-01-11 21:52:03] Production.INFO: Total Charge 0
[2025-01-11 21:52:03] Production.INFO: CreateAllLog End
[2025-01-11 21:52:03] Production.INFO: ==29426== Lock acquired, processing the job...
[2025-01-11 21:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227127') end
[2025-01-11 21:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:52:04] Production.INFO: 1
[2025-01-11 21:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:52:04] Production.INFO: Account Balance End.
[2025-01-11 21:52:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:52:04] Production.INFO: ==29424== Releasing lock...
[2025-01-11 21:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:52:04] Production.INFO: ==29428== Releasing lock...
[2025-01-11 21:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:52:04] Production.INFO: ==29420== Releasing lock...
[2025-01-11 21:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:52:04] Production.ERROR: done
[2025-01-11 21:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:52:04] Production.ERROR: done
[2025-01-11 21:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:52:05
[end_date_ymd] => 2025-01-11 21:52:05
[RateCDR] => 1
)
[2025-01-11 21:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 18:52:05' and `end` < '2025-01-11 21:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 21:52:11] Production.ERROR: CronJobId end10
[2025-01-11 21:52:11] Production.INFO: ==29422== Releasing lock...
[2025-01-11 21:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:52:13] Production.INFO: call_cost start
[2025-01-11 21:52:13] Production.INFO: call_cost end
[2025-01-11 21:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:52:14] Production.INFO: ==29418== Releasing lock...
[2025-01-11 21:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:52:19] Production.INFO: count ==1627
[2025-01-11 21:52:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:52:05 - End Time 2025-01-11 21:52:05
[2025-01-11 21:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227130', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227130', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227130', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227130', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:52:19] Production.INFO: ProcessCDR(1,14227130,1,1,2)
[2025-01-11 21:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227130', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227130', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:52:22] Production.INFO: ==29426== Releasing lock...
[2025-01-11 21:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:52:22] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:53:02] Production.INFO: ==29484== Lock acquired, processing the job...
[2025-01-12 02:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:53:02] Production.INFO: neon service started
[2025-01-12 02:53:02] Production.INFO: neon service started
[2025-01-12 02:53:02] Production.INFO: ==29484== Releasing lock...
[2025-01-12 02:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:53:02] Production.INFO: ==29488== Lock acquired, processing the job...
[2025-01-12 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:53:02] Production.INFO: ==29488== Releasing lock...
[2025-01-12 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:53:02] Production.INFO: ==29486== Lock acquired, processing the job...
[2025-01-11 21:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:53:03] Production.INFO: ==29486== Releasing lock...
[2025-01-11 21:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:53:03] Production.INFO: ==29494== Lock acquired, processing the job...
[2025-01-11 21:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:53:03] Production.INFO: ==29497== Lock acquired, processing the job...
[2025-01-11 21:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:53:04] Production.INFO: ==29490== Lock acquired, processing the job...
[2025-01-11 21:53:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:53:04] Production.INFO: ==29492== Lock acquired, processing the job...
[2025-01-11 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:53:04] Production.INFO: Account Balance Start.
[2025-01-11 21:53:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:53:04] Production.INFO: 117
[2025-01-11 21:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:53:04] Production.INFO: ==29499== Lock acquired, processing the job...
[2025-01-11 21:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:53:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:53:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:53:04] Production.INFO: ==29501== Lock acquired, processing the job...
[2025-01-11 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:53:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:53:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:53:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 21:53:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:53:04] Production.INFO: Total Charge 0
[2025-01-11 21:53:04] Production.INFO: count ==21
[2025-01-11 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227134') start
[2025-01-11 21:53:04] Production.INFO: CreateAllLog End
[2025-01-11 21:53:04] Production.INFO: ==29492== Releasing lock...
[2025-01-11 21:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227134') end
[2025-01-11 21:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:53:04] Production.INFO: 1
[2025-01-11 21:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:53:04] Production.INFO: ==29501== Releasing lock...
[2025-01-11 21:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:53:04] Production.ERROR: done
[2025-01-11 21:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:53:04] Production.ERROR: done
[2025-01-11 21:53:04] Production.INFO: Account Balance End.
[2025-01-11 21:53:05] Production.ERROR: CronJobId end 12
[2025-01-11 21:53:05] Production.INFO: ==29497== Releasing lock...
[2025-01-11 21:53:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:53:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:53:05
[end_date_ymd] => 2025-01-11 21:53:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:53:05' and `end` < '2025-01-11 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-01-11 21:53:11] Production.ERROR: CronJobId end10
[2025-01-11 21:53:11] Production.INFO: ==29494== Releasing lock...
[2025-01-11 21:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:53:13] Production.INFO: call_cost start
[2025-01-11 21:53:13] Production.INFO: call_cost end
[2025-01-11 21:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:53:14] Production.INFO: ==29490== Releasing lock...
[2025-01-11 21:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:53:19] Production.INFO: count ==1626
[2025-01-11 21:53:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:53:05 - End Time 2025-01-11 21:53:05
[2025-01-11 21:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227135', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227135', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227135', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227135', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:53:20] Production.INFO: ProcessCDR(1,14227135,1,1,2)
[2025-01-11 21:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227135', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227135', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:53:23] Production.INFO: ==29499== Releasing lock...
[2025-01-11 21:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:53:23] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:54:01] Production.INFO: ==29556== Lock acquired, processing the job...
[2025-01-12 02:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:54:01] Production.INFO: neon service started
[2025-01-12 02:54:01] Production.INFO: neon service started
[2025-01-12 02:54:01] Production.INFO: ==29556== Releasing lock...
[2025-01-12 02:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:54:02] Production.INFO: ==29558== Lock acquired, processing the job...
[2025-01-11 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:54:02] Production.INFO: ==29561== Lock acquired, processing the job...
[2025-01-12 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:54:02] Production.INFO: ==29561== Releasing lock...
[2025-01-12 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:54:02] Production.INFO: ==29558== Releasing lock...
[2025-01-11 21:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:54:03] Production.INFO: ==29567== Lock acquired, processing the job...
[2025-01-11 21:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:54:03] Production.INFO: ==29569== Lock acquired, processing the job...
[2025-01-11 21:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:54:03] Production.INFO: ==29571== Lock acquired, processing the job...
[2025-01-11 21:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:54:03] Production.INFO: Account Balance Start.
[2025-01-11 21:54:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:54:03] Production.INFO: 117
[2025-01-11 21:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:54:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:54:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:54:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:54:03] Production.INFO: ==29563== Lock acquired, processing the job...
[2025-01-11 21:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:54:03] Production.INFO: ==29565== Lock acquired, processing the job...
[2025-01-11 21:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:54:03] Production.INFO: ==29573== Lock acquired, processing the job...
[2025-01-11 21:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:54:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:54:03] Production.INFO: Total Charge 0
[2025-01-11 21:54:03] Production.INFO: CreateAllLog End
[2025-01-11 21:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:54:03] Production.ERROR: done
[2025-01-11 21:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:54:04] Production.INFO: Account Balance End.
[2025-01-11 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-01-11 21:54:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:54:04] Production.INFO: ==29569== Releasing lock...
[2025-01-11 21:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:54:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:54:04] Production.INFO: count ==21
[2025-01-11 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227139') start
[2025-01-11 21:54:04] Production.INFO: ==29565== Releasing lock...
[2025-01-11 21:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:54:04] Production.ERROR: done
[2025-01-11 21:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227139') end
[2025-01-11 21:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:54:04] Production.INFO: 1
[2025-01-11 21:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:54:04] Production.INFO: ==29573== Releasing lock...
[2025-01-11 21:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:54:04
[end_date_ymd] => 2025-01-11 21:54:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:54:04' and `end` < '2025-01-11 21: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-01-11 21:54:12] Production.ERROR: CronJobId end10
[2025-01-11 21:54:12] Production.INFO: ==29567== Releasing lock...
[2025-01-11 21:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:54:13] Production.INFO: call_cost start
[2025-01-11 21:54:13] Production.INFO: call_cost end
[2025-01-11 21:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:54:14] Production.INFO: ==29563== Releasing lock...
[2025-01-11 21:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:54:18] Production.INFO: count ==1629
[2025-01-11 21:54:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:54:04 - End Time 2025-01-11 21:54:04
[2025-01-11 21:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227140', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227140', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227140', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227140', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:54:18] Production.INFO: ProcessCDR(1,14227140,1,1,2)
[2025-01-11 21:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227140', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227140', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:54:21] Production.INFO: ==29571== Releasing lock...
[2025-01-11 21:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:54:21] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:55:02] Production.INFO: ==29633== Lock acquired, processing the job...
[2025-01-12 02:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:55:02] Production.INFO: neon service started
[2025-01-12 02:55:02] Production.INFO: neon service started
[2025-01-12 02:55:02] Production.INFO: ==29633== Releasing lock...
[2025-01-12 02:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:55:02] Production.INFO: ==29635== Lock acquired, processing the job...
[2025-01-11 21:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:55:02] Production.INFO: ==29637== Lock acquired, processing the job...
[2025-01-12 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:55:02] Production.INFO: ==29637== Releasing lock...
[2025-01-12 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:55:03] Production.INFO: ==29635== Releasing lock...
[2025-01-11 21:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 21:55:03] Production.INFO: ==29646== Lock acquired, processing the job...
[2025-01-11 21:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:55:04] Production.INFO: ==29650== Lock acquired, processing the job...
[2025-01-11 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:55:04] Production.INFO: ==29640== Lock acquired, processing the job...
[2025-01-11 21:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:55:04] Production.INFO: Account Balance Start.
[2025-01-11 21:55:04] Production.INFO: CreateAllLog Start
[2025-01-11 21:55:04] Production.INFO: ==29642== Lock acquired, processing the job...
[2025-01-11 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:55:04] Production.INFO: 117
[2025-01-11 21:55:04] Production.INFO: Date 2025-01-08
[2025-01-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:55:04] Production.INFO: ==29644== Lock acquired, processing the job...
[2025-01-11 21:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:55:04] Production.INFO: Date 2025-01-09
[2025-01-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:55:04] Production.INFO: Date 2025-01-10
[2025-01-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 21: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-01-11 21:55:04] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:55:04] Production.INFO: Date 2025-01-11
[2025-01-11 21:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 21:55:04] Production.INFO: count ==21
[2025-01-11 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227142') start
[2025-01-11 21:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:55:04] Production.INFO: ==29648== Lock acquired, processing the job...
[2025-01-11 21:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:55:04] Production.INFO: Total Charge 0
[2025-01-11 21:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227142') end
[2025-01-11 21:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:55:04] Production.INFO: 1
[2025-01-11 21:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:55:04] Production.INFO: CreateAllLog End
[2025-01-11 21:55:04] Production.INFO: ==29650== Releasing lock...
[2025-01-11 21:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:55:04] Production.INFO: ==29642== Releasing lock...
[2025-01-11 21:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:55:04] Production.ERROR: done
[2025-01-11 21:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:55:04] Production.INFO: Account Balance End.
[2025-01-11 21:55:04] Production.ERROR: done
[2025-01-11 21:55:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:55:04] Production.INFO: ==29646== Releasing lock...
[2025-01-11 21:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:55:05
[end_date_ymd] => 2025-01-11 21:55:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:55:05' and `end` < '2025-01-11 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-01-11 21:55:12] Production.ERROR: CronJobId end10
[2025-01-11 21:55:12] Production.INFO: ==29644== Releasing lock...
[2025-01-11 21:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:55:14] Production.INFO: call_cost start
[2025-01-11 21:55:14] Production.INFO: call_cost end
[2025-01-11 21:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:55:15] Production.INFO: ==29640== Releasing lock...
[2025-01-11 21:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:55:19] Production.INFO: count ==1631
[2025-01-11 21:55:19] Production.ERROR: pbx CDR StartTime 2025-01-11 18:55:05 - End Time 2025-01-11 21:55:05
[2025-01-11 21:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227145', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227145', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227145', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227145', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:55:19] Production.INFO: ProcessCDR(1,14227145,1,1,2)
[2025-01-11 21:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227145', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227145', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:55:22] Production.INFO: ==29648== Releasing lock...
[2025-01-11 21:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:55:22] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:56:01] Production.INFO: ==29703== Lock acquired, processing the job...
[2025-01-12 02:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:56:01] Production.INFO: neon service started
[2025-01-12 02:56:01] Production.INFO: neon service started
[2025-01-12 02:56:01] Production.INFO: ==29703== Releasing lock...
[2025-01-12 02:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:56:01] Production.INFO: ==29705== Lock acquired, processing the job...
[2025-01-11 21:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:56:02] Production.INFO: ==29705== Releasing lock...
[2025-01-11 21:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:56:02] Production.INFO: ==29707== Lock acquired, processing the job...
[2025-01-12 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:56:02] Production.INFO: ==29707== Releasing lock...
[2025-01-12 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:56:03] Production.INFO: ==29709== Lock acquired, processing the job...
[2025-01-11 21:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:56:03] Production.INFO: ==29711== Lock acquired, processing the job...
[2025-01-11 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:56:03] Production.INFO: ==29717== Lock acquired, processing the job...
[2025-01-11 21:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:56:03] Production.INFO: ==29713== Lock acquired, processing the job...
[2025-01-11 21:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:56:03] Production.INFO: ==29715== Lock acquired, processing the job...
[2025-01-11 21:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:56:03] Production.INFO: Account Balance Start.
[2025-01-11 21:56:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:56:03] Production.INFO: 117
[2025-01-11 21:56:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:56:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:56:03] Production.INFO: ==29719== Lock acquired, processing the job...
[2025-01-11 21:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:56:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:56:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:56:03] Production.INFO: ==29711== Releasing lock...
[2025-01-11 21:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:56:03] Production.INFO: Total Charge 0
[2025-01-11 21:56:03] Production.INFO: CreateAllLog End
[2025-01-11 21:56:03] Production.ERROR: done
[2025-01-11 21:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21: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-01-11 21:56:03] Production.ERROR: done
[2025-01-11 21:56:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:56:03] Production.INFO: count ==21
[2025-01-11 21:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227149') start
[2025-01-11 21:56:04] Production.INFO: Account Balance End.
[2025-01-11 21:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227149') end
[2025-01-11 21:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:56:04] Production.INFO: 1
[2025-01-11 21:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:56:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:56:04] Production.INFO: ==29715== Releasing lock...
[2025-01-11 21:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:56:04] Production.INFO: ==29719== Releasing lock...
[2025-01-11 21:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:56:04
[end_date_ymd] => 2025-01-11 21:56:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:56:04' and `end` < '2025-01-11 21: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-01-11 21:56:11] Production.ERROR: CronJobId end10
[2025-01-11 21:56:11] Production.INFO: ==29713== Releasing lock...
[2025-01-11 21:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:56:12] Production.INFO: call_cost start
[2025-01-11 21:56:12] Production.INFO: call_cost end
[2025-01-11 21:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:56:13] Production.INFO: ==29709== Releasing lock...
[2025-01-11 21:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:56:18] Production.INFO: count ==1630
[2025-01-11 21:56:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:56:04 - End Time 2025-01-11 21:56:04
[2025-01-11 21:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227150', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227150', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227150', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227150', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:56:18] Production.INFO: ProcessCDR(1,14227150,1,1,2)
[2025-01-11 21:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227150', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227150', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:56:21] Production.INFO: ==29717== Releasing lock...
[2025-01-11 21:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:56:21] Production.INFO: 40 MB #Memory Used#
[2025-01-12 02:57:02] Production.INFO: ==29774== Lock acquired, processing the job...
[2025-01-12 02:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:57:02] Production.INFO: neon service started
[2025-01-12 02:57:02] Production.INFO: neon service started
[2025-01-12 02:57:02] Production.INFO: ==29774== Releasing lock...
[2025-01-12 02:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:57:02] Production.INFO: ==29776== Lock acquired, processing the job...
[2025-01-11 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:57:02] Production.INFO: ==29776== Releasing lock...
[2025-01-11 21:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:57:02] Production.INFO: ==29778== Lock acquired, processing the job...
[2025-01-12 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:57:02] Production.INFO: ==29778== Releasing lock...
[2025-01-12 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:57:03] Production.INFO: ==29783== Lock acquired, processing the job...
[2025-01-11 21:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:57:03] Production.INFO: ==29787== Lock acquired, processing the job...
[2025-01-11 21:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:57:03] Production.INFO: ==29781== Lock acquired, processing the job...
[2025-01-11 21:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:57:03] Production.INFO: ==29785== Lock acquired, processing the job...
[2025-01-11 21:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:57:03] Production.INFO: Account Balance Start.
[2025-01-11 21:57:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:57:03] Production.INFO: 117
[2025-01-11 21:57:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:57:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:57:03] Production.INFO: ==29789== Lock acquired, processing the job...
[2025-01-11 21:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:57:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:57:03] Production.INFO: ==29791== Lock acquired, processing the job...
[2025-01-11 21:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:57:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:57:04] Production.INFO: Total Charge 0
[2025-01-11 21:57:04] Production.INFO: ==29783== Releasing lock...
[2025-01-11 21:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:57:04] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 21:57:04] Production.INFO: count ==21
[2025-01-11 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-01-11 21:57:04] Production.INFO: count ==21
[2025-01-11 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227154') start
[2025-01-11 21:57:04] Production.ERROR: done
[2025-01-11 21:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:57:04] Production.INFO: Account Balance End.
[2025-01-11 21:57:04] Production.ERROR: CronJobId end 12
[2025-01-11 21:57:04] Production.INFO: ==29787== Releasing lock...
[2025-01-11 21:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:57:04] Production.ERROR: done
[2025-01-11 21:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227154') end
[2025-01-11 21:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:57:04] Production.INFO: 1
[2025-01-11 21:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:57:04] Production.INFO: ==29791== Releasing lock...
[2025-01-11 21:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:57:05
[end_date_ymd] => 2025-01-11 21:57:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:57:05' and `end` < '2025-01-11 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-01-11 21:57:13] Production.ERROR: CronJobId end10
[2025-01-11 21:57:13] Production.INFO: ==29785== Releasing lock...
[2025-01-11 21:57:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:57:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:57:13] Production.INFO: call_cost start
[2025-01-11 21:57:13] Production.INFO: call_cost end
[2025-01-11 21:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:57:14] Production.INFO: ==29781== Releasing lock...
[2025-01-11 21:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:57:19] Production.INFO: count ==1631
[2025-01-11 21:57:20] Production.ERROR: pbx CDR StartTime 2025-01-11 18:57:05 - End Time 2025-01-11 21:57:05
[2025-01-11 21:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227155', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227155', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227155', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227155', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:57:20] Production.INFO: ProcessCDR(1,14227155,1,1,2)
[2025-01-11 21:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227155', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227155', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:57:23] Production.INFO: ==29789== Releasing lock...
[2025-01-11 21:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:57:23] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:58:01] Production.INFO: ==29844== Lock acquired, processing the job...
[2025-01-12 02:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:58:01] Production.INFO: neon service started
[2025-01-12 02:58:01] Production.INFO: neon service started
[2025-01-12 02:58:01] Production.INFO: ==29844== Releasing lock...
[2025-01-12 02:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:58:01] Production.INFO: ==29846== Lock acquired, processing the job...
[2025-01-11 21:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:58:02] Production.INFO: ==29846== Releasing lock...
[2025-01-11 21:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:58:02] Production.INFO: ==29848== Lock acquired, processing the job...
[2025-01-12 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:58:02] Production.INFO: ==29848== Releasing lock...
[2025-01-12 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:58:02] Production.INFO: ==29853== Lock acquired, processing the job...
[2025-01-11 21:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:58:03] Production.INFO: ==29861== Lock acquired, processing the job...
[2025-01-11 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21: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-01-11 21:58:03] Production.INFO: ==29853== Releasing lock...
[2025-01-11 21:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:58:03] Production.INFO: count ==21
[2025-01-11 21: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-01-11 21:58:03] Production.INFO: ==29851== Lock acquired, processing the job...
[2025-01-11 21:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:58:03] Production.INFO: count ==21
[2025-01-11 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227157') start
[2025-01-11 21:58:03] Production.INFO: ==29855== Lock acquired, processing the job...
[2025-01-11 21:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:58:03] Production.INFO: ==29857== Lock acquired, processing the job...
[2025-01-11 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227157') end
[2025-01-11 21:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:58:03] Production.INFO: 1
[2025-01-11 21:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:58:03] Production.INFO: ==29859== Lock acquired, processing the job...
[2025-01-11 21:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:58:03] Production.INFO: ==29861== Releasing lock...
[2025-01-11 21:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:58:03] Production.INFO: Account Balance Start.
[2025-01-11 21:58:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:58:03] Production.INFO: 117
[2025-01-11 21:58:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:58:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:58:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:58:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:58:03] Production.INFO: Total Charge 0
[2025-01-11 21:58:03] Production.INFO: CreateAllLog End
[2025-01-11 21:58:03] Production.ERROR: done
[2025-01-11 21:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:58:03] Production.ERROR: done
[2025-01-11 21:58:03] Production.INFO: Account Balance End.
[2025-01-11 21:58:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:58:03] Production.INFO: ==29857== Releasing lock...
[2025-01-11 21:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:58:04
[end_date_ymd] => 2025-01-11 21:58:04
[RateCDR] => 1
)
[2025-01-11 21: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-01-11 18:58:04' and `end` < '2025-01-11 21: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-01-11 21:58:10] Production.ERROR: CronJobId end10
[2025-01-11 21:58:10] Production.INFO: ==29855== Releasing lock...
[2025-01-11 21:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:58:12] Production.INFO: call_cost start
[2025-01-11 21:58:12] Production.INFO: call_cost end
[2025-01-11 21:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:58:13] Production.INFO: ==29851== Releasing lock...
[2025-01-11 21:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:58:18] Production.INFO: count ==1629
[2025-01-11 21:58:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:58:04 - End Time 2025-01-11 21:58:04
[2025-01-11 21:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227160', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227160', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227160', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227160', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:58:18] Production.INFO: ProcessCDR(1,14227160,1,1,2)
[2025-01-11 21:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227160', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227160', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:58:21] Production.INFO: ==29859== Releasing lock...
[2025-01-11 21:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:58:21] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 02:59:01] Production.INFO: ==29923== Lock acquired, processing the job...
[2025-01-12 02:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 02:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 02:59:01] Production.INFO: neon service started
[2025-01-12 02:59:01] Production.INFO: neon service started
[2025-01-12 02:59:01] Production.INFO: ==29923== Releasing lock...
[2025-01-12 02:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 02:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 21:59:02] Production.INFO: ==29925== Lock acquired, processing the job...
[2025-01-11 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 21:59:02] Production.INFO: ==29925== Releasing lock...
[2025-01-11 21:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 21:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:59:02] Production.INFO: ==29927== Lock acquired, processing the job...
[2025-01-12 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:59:02] Production.INFO: ==29927== Releasing lock...
[2025-01-12 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 02:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 21:59:03] Production.INFO: ==29931== Lock acquired, processing the job...
[2025-01-11 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 21:59:03] Production.INFO: ==29929== Lock acquired, processing the job...
[2025-01-11 21:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 21:59:03] Production.INFO: ==29935== Lock acquired, processing the job...
[2025-01-11 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 21:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 21:59:03] Production.INFO: Account Balance Start.
[2025-01-11 21:59:03] Production.INFO: CreateAllLog Start
[2025-01-11 21:59:03] Production.INFO: 117
[2025-01-11 21:59:03] Production.INFO: Date 2025-01-08
[2025-01-11 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:59:03] Production.INFO: ==29933== Lock acquired, processing the job...
[2025-01-11 21:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 21:59:03] Production.INFO: ==29931== Releasing lock...
[2025-01-11 21:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 21:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 21:59:03] Production.INFO: Date 2025-01-09
[2025-01-11 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:59:03] Production.INFO: Date 2025-01-10
[2025-01-11 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 21:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 21:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 21:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 21:59:03] Production.INFO: ==29939== Lock acquired, processing the job...
[2025-01-11 21:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 21:59:03] Production.INFO: Date 2025-01-11
[2025-01-11 21:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 21:59:03] Production.INFO: Total Charge 0
[2025-01-11 21:59:03] Production.INFO: CreateAllLog End
[2025-01-11 21:59:03] Production.INFO: ==29937== Lock acquired, processing the job...
[2025-01-11 21:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 21:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 21:59:03] Production.INFO: Account Balance End.
[2025-01-11 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-01-11 21:59:03] Production.ERROR: CronJobId end 12
[2025-01-11 21:59:03] Production.INFO: ==29935== Releasing lock...
[2025-01-11 21:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 21:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 21:59:03] Production.INFO: count ==21
[2025-01-11 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-01-11 21:59:03] Production.INFO: count ==21
[2025-01-11 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227164') start
[2025-01-11 21:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227164') end
[2025-01-11 21:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 21:59:04] Production.INFO: 1
[2025-01-11 21:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 21:59:04] Production.ERROR: done
[2025-01-11 21:59:04] Production.INFO: ==29939== Releasing lock...
[2025-01-11 21:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 21:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 21:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 21:59:04] Production.ERROR: done
[2025-01-11 21:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 18:59:05
[end_date_ymd] => 2025-01-11 21:59:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 18:59:05' and `end` < '2025-01-11 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-01-11 21: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-01-11 21:59:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 21:59:10] Production.INFO: ============== Balance Warning START===========
[2025-01-11 21:59:10] Production.INFO: ============== Balance Warning END===========
[2025-01-11 21:59:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 21:59:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 21:59:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 21:59:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 21:59:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 21:59:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 21:59:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 21:59:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 21:59:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 21:59:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 21:59:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 21:59:11] Production.INFO: call_cost start
[2025-01-11 21:59:11] Production.INFO: call_cost end
[2025-01-11 21:59:11] Production.ERROR: CronJobId end10
[2025-01-11 21:59:11] Production.INFO: ==29933== Releasing lock...
[2025-01-11 21:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 21:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 21:59:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 21:59:11] Production.INFO: ============== Report Schedule START===========
[2025-01-11 21:59:11] Production.INFO: ============== Report Schedule END===========
[2025-01-11 21:59:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 21:59:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 21:59:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 21:59:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 21:59:11] Production.INFO: ============== Deal alert START===========
[2025-01-11 21:59:11] Production.INFO: ============== Deal alert END===========
[2025-01-11 21:59:11] Production.INFO: ==29929== Releasing lock...
[2025-01-11 21:59:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 21:59:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 21:59:18] Production.INFO: count ==1628
[2025-01-11 21:59:18] Production.ERROR: pbx CDR StartTime 2025-01-11 18:59:05 - End Time 2025-01-11 21:59:05
[2025-01-11 21:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227165', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227165', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227165', 'tblTempVendorCDR_20' ) start
[2025-01-11 21:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227165', 'tblTempVendorCDR_20' ) end
[2025-01-11 21:59:18] Production.INFO: ProcessCDR(1,14227165,1,1,2)
[2025-01-11 21:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 21:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 21:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227165', 'tblTempUsageDetail_20' ) start
[2025-01-11 21:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227165', 'tblTempUsageDetail_20' ) end
[2025-01-11 21:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 21:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 21:59:21] Production.INFO: ==29937== Releasing lock...
[2025-01-11 21:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 21:59:21] Production.INFO: 40 MB #Memory Used#
[2025-01-12 03:00:02] Production.INFO: ==29998== Lock acquired, processing the job...
[2025-01-12 03:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:00:02] Production.INFO: neon service started
[2025-01-12 03:00:02] Production.INFO: neon service started
[2025-01-12 03:00:02] Production.INFO: ==29998== Releasing lock...
[2025-01-12 03:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:00:02] Production.INFO: ==30000== Lock acquired, processing the job...
[2025-01-11 22:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:00:02] Production.INFO: ==30002== Lock acquired, processing the job...
[2025-01-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:00:02] Production.INFO: ==30002== Releasing lock...
[2025-01-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:00:03] Production.INFO: ==30000== Releasing lock...
[2025-01-11 22:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:00:04] Production.INFO: ==30004== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 22:00:04] Production.INFO: ==30006== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 22:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:00:04] Production.ERROR: CronJob PID - 30006
[2025-01-11 22:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 22:00:04] Production.ERROR: CronJob ID - 5
[2025-01-11 22:00:04] Production.ERROR: CronJob Last Run Time 2025-01-11 22:00:00
[2025-01-11 22:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:00:04] Production.INFO: ==30008== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 22:00:04] Production.INFO: ==30004== Releasing lock...
[2025-01-11 22:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 22:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 22:00:04] Production.INFO: ==30015== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:00:04] Production.INFO: ==30019== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:00:04] Production.INFO: ==30010== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:00:04] Production.INFO: Account Balance Start.
[2025-01-11 22:00:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:00:04] Production.INFO: 117
[2025-01-11 22:00:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:00:04] Production.INFO: ==30013== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:00:04] Production.INFO: ==30017== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:00:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:00:04] Production.INFO: ==30021== Lock acquired, processing the job...
[2025-01-11 22:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:00:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-11 22:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-11 22:00:04] Production.ERROR: done
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: ==30008== Releasing lock...
[2025-01-11 22:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: Total Charge 0
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-11 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-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-11 22:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 22:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227170', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: count ==21
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 22:00:04] Production.INFO: count ==21
[2025-01-11 22:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227169') start
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-11 22:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:04] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 0
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: Account Balance End.
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-11 22:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227169') end
[2025-01-11 22:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:00:05] Production.INFO: 1
[2025-01-11 22:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: ==30021== Releasing lock...
[2025-01-11 22:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:00:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:00:05] Production.INFO: ==30015== Releasing lock...
[2025-01-11 22:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-11 22:00:05] Production.ERROR: done
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-11 22:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 0
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.INFO: PaymentMethod - 1
[2025-01-11 22:00:05] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-11 22:00:05] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-11 22:00:05] Production.ERROR: done
[2025-01-11 22:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:00:06
[end_date_ymd] => 2025-01-11 22:00:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:00:06' and `end` < '2025-01-11 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-01-11 22:00:06] Production.ERROR: CronJobId end11
[2025-01-11 22:00:06] Production.INFO: ==30013== Releasing lock...
[2025-01-11 22:00:06] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-11 22:00:06] Production.INFO: 30.5 MB #Memory Used#
[2025-01-11 22:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227170', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 22:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 22:00:09] Production.INFO: ProcessCDR(1,14227170,1,1,2)
[2025-01-11 22:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227170,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227170,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:00:09] Production.INFO: ==30019== Releasing lock...
[2025-01-11 22:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 22:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 22:00:14] Production.ERROR: CronJobId end10
[2025-01-11 22:00:14] Production.INFO: ==30010== Releasing lock...
[2025-01-11 22:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:00:15] Production.INFO: call_cost start
[2025-01-11 22:00:15] Production.INFO: call_cost end
[2025-01-11 22:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:00:16] Production.INFO: ==30006== Releasing lock...
[2025-01-11 22:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:00:19] Production.INFO: count ==1628
[2025-01-11 22:00:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:00:06 - End Time 2025-01-11 22:00:06
[2025-01-11 22:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227171', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227171', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227171', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227171', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:00:20] Production.INFO: ProcessCDR(1,14227171,1,1,2)
[2025-01-11 22:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227171', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227171', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:00:23] Production.INFO: ==30017== Releasing lock...
[2025-01-11 22:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:00:23] Production.INFO: 39.75 MB #Memory Used#
[2025-01-12 03:01:01] Production.INFO: ==30081== Lock acquired, processing the job...
[2025-01-12 03:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:01:01] Production.INFO: neon service started
[2025-01-12 03:01:01] Production.INFO: neon service started
[2025-01-12 03:01:01] Production.INFO: ==30081== Releasing lock...
[2025-01-12 03:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:01:02] Production.INFO: ==30091== Lock acquired, processing the job...
[2025-01-12 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:01:02] Production.INFO: ==30091== Releasing lock...
[2025-01-12 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:01:02] Production.INFO: ==30089== Lock acquired, processing the job...
[2025-01-11 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:01:02] Production.INFO: ==30089== Releasing lock...
[2025-01-11 22:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:01:03] Production.INFO: ==30094== Lock acquired, processing the job...
[2025-01-11 22:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:01:03] Production.INFO: ==30096== Lock acquired, processing the job...
[2025-01-11 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:01:03] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-01-11 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22: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-01-11 22:01:03] Production.INFO: count ==21
[2025-01-11 22:01:03] Production.INFO: ==30096== Releasing lock...
[2025-01-11 22:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22: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-01-11 22:01:03] Production.INFO: count ==21
[2025-01-11 22:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227174') start
[2025-01-11 22:01:03] Production.INFO: ==30098== Lock acquired, processing the job...
[2025-01-11 22:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:01:03] Production.INFO: ==30100== Lock acquired, processing the job...
[2025-01-11 22:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227174') end
[2025-01-11 22:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:01:03] Production.INFO: 1
[2025-01-11 22:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:01:03] Production.INFO: ==30104== Releasing lock...
[2025-01-11 22:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:01:03] Production.INFO: Account Balance Start.
[2025-01-11 22:01:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:01:03] Production.INFO: 117
[2025-01-11 22:01:03] Production.INFO: ==30102== Lock acquired, processing the job...
[2025-01-11 22:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:01:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:01:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:01:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:01:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:01:03] Production.INFO: Total Charge 0
[2025-01-11 22:01:03] Production.INFO: CreateAllLog End
[2025-01-11 22:01:04] Production.ERROR: done
[2025-01-11 22:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:01:04] Production.INFO: Account Balance End.
[2025-01-11 22:01:04] Production.ERROR: done
[2025-01-11 22:01:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:01:04] Production.INFO: ==30100== Releasing lock...
[2025-01-11 22:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:01:05
[end_date_ymd] => 2025-01-11 22:01:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:01:05' and `end` < '2025-01-11 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-01-11 22:01:10] Production.ERROR: CronJobId end10
[2025-01-11 22:01:10] Production.INFO: ==30098== Releasing lock...
[2025-01-11 22:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:01:13] Production.INFO: call_cost start
[2025-01-11 22:01:13] Production.INFO: call_cost end
[2025-01-11 22:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:01:14] Production.INFO: ==30094== Releasing lock...
[2025-01-11 22:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:01:18] Production.INFO: count ==1597
[2025-01-11 22:01:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:01:05 - End Time 2025-01-11 22:01:05
[2025-01-11 22:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227176', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227176', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227176', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227176', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:01:18] Production.INFO: ProcessCDR(1,14227176,1,1,2)
[2025-01-11 22:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227176', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227176', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:01:21] Production.INFO: ==30102== Releasing lock...
[2025-01-11 22:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:01:21] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:02:02] Production.INFO: ==30161== Lock acquired, processing the job...
[2025-01-12 03:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:02:02] Production.INFO: neon service started
[2025-01-12 03:02:02] Production.INFO: neon service started
[2025-01-12 03:02:02] Production.INFO: ==30161== Releasing lock...
[2025-01-12 03:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:02:02] Production.INFO: ==30163== Lock acquired, processing the job...
[2025-01-11 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:02:02] Production.INFO: ==30163== Releasing lock...
[2025-01-11 22:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:02:03] Production.INFO: ==30165== Lock acquired, processing the job...
[2025-01-12 03:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:02:03] Production.INFO: ==30165== Releasing lock...
[2025-01-12 03:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:02:03] Production.INFO: ==30176== Lock acquired, processing the job...
[2025-01-11 22:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:02:03] Production.INFO: ==30178== Lock acquired, processing the job...
[2025-01-11 22:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 22:02:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:02:04] Production.INFO: ==30168== Lock acquired, processing the job...
[2025-01-11 22:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:02:04] Production.INFO: ==30170== Lock acquired, processing the job...
[2025-01-11 22:02:04] Production.INFO: count ==21
[2025-01-11 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227177') start
[2025-01-11 22:02:04] Production.INFO: ==30172== Lock acquired, processing the job...
[2025-01-11 22:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:02:04] Production.INFO: ==30174== Lock acquired, processing the job...
[2025-01-11 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:02:04] Production.ERROR: done
[2025-01-11 22:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227177') end
[2025-01-11 22:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:02:04] Production.INFO: 1
[2025-01-11 22:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:02:04] Production.ERROR: done
[2025-01-11 22:02:04] Production.INFO: Account Balance Start.
[2025-01-11 22:02:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:02:04] Production.INFO: 117
[2025-01-11 22:02:04] Production.INFO: ==30178== Releasing lock...
[2025-01-11 22:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:02:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:02:04] Production.INFO: ==30170== Releasing lock...
[2025-01-11 22:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:02:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:02:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:02:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:02:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:02:04] Production.INFO: Total Charge 0
[2025-01-11 22:02:04] Production.INFO: CreateAllLog End
[2025-01-11 22:02:04] Production.INFO: Account Balance End.
[2025-01-11 22:02:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:02:04] Production.INFO: ==30174== Releasing lock...
[2025-01-11 22:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:02:05
[end_date_ymd] => 2025-01-11 22:02:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:02:05' and `end` < '2025-01-11 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-01-11 22:02:11] Production.ERROR: CronJobId end10
[2025-01-11 22:02:11] Production.INFO: ==30172== Releasing lock...
[2025-01-11 22:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:02:13] Production.INFO: call_cost start
[2025-01-11 22:02:13] Production.INFO: call_cost end
[2025-01-11 22:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:02:14] Production.INFO: ==30168== Releasing lock...
[2025-01-11 22:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:02:18] Production.INFO: count ==1597
[2025-01-11 22:02:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:02:05 - End Time 2025-01-11 22:02:05
[2025-01-11 22:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227181', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227181', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227181', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227181', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:02:18] Production.INFO: ProcessCDR(1,14227181,1,1,2)
[2025-01-11 22:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227181', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227181', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:02:21] Production.INFO: ==30176== Releasing lock...
[2025-01-11 22:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:02:21] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:03:01] Production.INFO: ==30233== Lock acquired, processing the job...
[2025-01-12 03:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:03:01] Production.INFO: neon service started
[2025-01-12 03:03:01] Production.INFO: neon service started
[2025-01-12 03:03:01] Production.INFO: ==30233== Releasing lock...
[2025-01-12 03:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:03:02] Production.INFO: ==30235== Lock acquired, processing the job...
[2025-01-11 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:03:02] Production.INFO: ==30235== Releasing lock...
[2025-01-11 22:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:03:02] Production.INFO: ==30237== Lock acquired, processing the job...
[2025-01-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:03:02] Production.INFO: ==30237== Releasing lock...
[2025-01-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:03:03] Production.INFO: ==30245== Lock acquired, processing the job...
[2025-01-11 22:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:03:03] Production.INFO: ==30250== Lock acquired, processing the job...
[2025-01-11 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:03:03] Production.INFO: ==30239== Lock acquired, processing the job...
[2025-01-11 22:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:03:03] Production.INFO: Account Balance Start.
[2025-01-11 22:03:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:03:03] Production.INFO: 117
[2025-01-11 22: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-01-11 22:03:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:03:03] Production.INFO: ==30241== Lock acquired, processing the job...
[2025-01-11 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:03:03] Production.INFO: ==30243== Lock acquired, processing the job...
[2025-01-11 22:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:03:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:03:03] Production.INFO: count ==21
[2025-01-11 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227183') start
[2025-01-11 22:03:03] Production.INFO: ==30248== Lock acquired, processing the job...
[2025-01-11 22:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:03:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:03:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:03:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227183') end
[2025-01-11 22:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:03:03] Production.INFO: 1
[2025-01-11 22:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:03:03] Production.INFO: Total Charge 0
[2025-01-11 22:03:03] Production.INFO: CreateAllLog End
[2025-01-11 22:03:03] Production.INFO: ==30250== Releasing lock...
[2025-01-11 22:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:03:03] Production.INFO: ==30241== Releasing lock...
[2025-01-11 22:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:03:03] Production.ERROR: done
[2025-01-11 22:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:03:03] Production.INFO: Account Balance End.
[2025-01-11 22:03:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:03:04] Production.INFO: ==30245== Releasing lock...
[2025-01-11 22:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:03:04] Production.ERROR: done
[2025-01-11 22:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:03:05
[end_date_ymd] => 2025-01-11 22:03:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:03:05' and `end` < '2025-01-11 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-01-11 22:03:10] Production.ERROR: CronJobId end10
[2025-01-11 22:03:10] Production.INFO: ==30243== Releasing lock...
[2025-01-11 22:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:03:12] Production.INFO: call_cost start
[2025-01-11 22:03:12] Production.INFO: call_cost end
[2025-01-11 22:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:03:13] Production.INFO: ==30239== Releasing lock...
[2025-01-11 22:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:03:18] Production.INFO: count ==1593
[2025-01-11 22:03:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:03:05 - End Time 2025-01-11 22:03:05
[2025-01-11 22:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227186', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227186', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227186', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227186', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:03:18] Production.INFO: ProcessCDR(1,14227186,1,1,2)
[2025-01-11 22:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227186', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227186', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:03:22] Production.INFO: ==30248== Releasing lock...
[2025-01-11 22:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:03:22] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:04:02] Production.INFO: ==30307== Lock acquired, processing the job...
[2025-01-12 03:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:04:02] Production.INFO: neon service started
[2025-01-12 03:04:02] Production.INFO: neon service started
[2025-01-12 03:04:02] Production.INFO: ==30307== Releasing lock...
[2025-01-12 03:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:04:02] Production.INFO: ==30309== Lock acquired, processing the job...
[2025-01-11 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:04:02] Production.INFO: ==30309== Releasing lock...
[2025-01-11 22:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:04:02] Production.INFO: ==30311== Lock acquired, processing the job...
[2025-01-12 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:04:02] Production.INFO: ==30311== Releasing lock...
[2025-01-12 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:04:03] Production.INFO: ==30313== Lock acquired, processing the job...
[2025-01-11 22:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:04:03] Production.INFO: ==30315== Lock acquired, processing the job...
[2025-01-11 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:04:03] Production.INFO: ==30319== Lock acquired, processing the job...
[2025-01-11 22:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:04:03] Production.INFO: Account Balance Start.
[2025-01-11 22:04:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:04:03] Production.INFO: 117
[2025-01-11 22:04:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:04:03] Production.INFO: ==30315== Releasing lock...
[2025-01-11 22:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:04:03] Production.INFO: ==30317== Lock acquired, processing the job...
[2025-01-11 22:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:04:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:04:03] Production.INFO: ==30321== Lock acquired, processing the job...
[2025-01-11 22:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:04:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:04:03] Production.INFO: ==30323== Lock acquired, processing the job...
[2025-01-11 22:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:04:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:04:04] Production.INFO: Total Charge 0
[2025-01-11 22:04:04] Production.INFO: CreateAllLog End
[2025-01-11 22:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:04:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:04:04] Production.INFO: count ==21
[2025-01-11 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227190') start
[2025-01-11 22:04:04] Production.ERROR: done
[2025-01-11 22:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:04:04] Production.INFO: Account Balance End.
[2025-01-11 22:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227190') end
[2025-01-11 22:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:04:04] Production.INFO: 1
[2025-01-11 22:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:04:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:04:04] Production.INFO: ==30319== Releasing lock...
[2025-01-11 22:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:04:04] Production.INFO: ==30323== Releasing lock...
[2025-01-11 22:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:04:04] Production.ERROR: done
[2025-01-11 22:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:04:05
[end_date_ymd] => 2025-01-11 22:04:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:04:05' and `end` < '2025-01-11 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-01-11 22:04:11] Production.ERROR: CronJobId end10
[2025-01-11 22:04:11] Production.INFO: ==30317== Releasing lock...
[2025-01-11 22:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:04:13] Production.INFO: call_cost start
[2025-01-11 22:04:13] Production.INFO: call_cost end
[2025-01-11 22:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:04:14] Production.INFO: ==30313== Releasing lock...
[2025-01-11 22:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:04:20] Production.INFO: count ==1592
[2025-01-11 22:04:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:04:05 - End Time 2025-01-11 22:04:05
[2025-01-11 22:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227191', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227191', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227191', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227191', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:04:20] Production.INFO: ProcessCDR(1,14227191,1,1,2)
[2025-01-11 22:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227191', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227191', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:04:23] Production.INFO: ==30321== Releasing lock...
[2025-01-11 22:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:04:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:05:01] Production.INFO: ==30378== Lock acquired, processing the job...
[2025-01-12 03:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:05:01] Production.INFO: neon service started
[2025-01-12 03:05:01] Production.INFO: neon service started
[2025-01-12 03:05:01] Production.INFO: ==30378== Releasing lock...
[2025-01-12 03:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:05:02] Production.INFO: ==30380== Lock acquired, processing the job...
[2025-01-11 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:05:02] Production.INFO: ==30382== Lock acquired, processing the job...
[2025-01-12 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:05:02] Production.INFO: ==30382== Releasing lock...
[2025-01-12 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:05:02] Production.INFO: ==30380== Releasing lock...
[2025-01-11 22:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:05:03] Production.INFO: ==30389== Lock acquired, processing the job...
[2025-01-11 22:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:05:03] Production.INFO: ==30393== Lock acquired, processing the job...
[2025-01-11 22:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:05:03] Production.INFO: ==30385== Lock acquired, processing the job...
[2025-01-11 22:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:05:03] Production.INFO: ==30387== Lock acquired, processing the job...
[2025-01-11 22:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:05:03] Production.INFO: ==30395== Lock acquired, processing the job...
[2025-01-11 22:05:03] Production.INFO: ==30391== Lock acquired, processing the job...
[2025-01-11 22:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:05:03] Production.ERROR: done
[2025-01-11 22:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22: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-01-11 22:05:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:05:03] Production.ERROR: done
[2025-01-11 22:05:03] Production.INFO: count ==21
[2025-01-11 22:05:03] Production.INFO: Account Balance Start.
[2025-01-11 22:05:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:05:03] Production.INFO: 117
[2025-01-11 22:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227194') start
[2025-01-11 22:05:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:05:04] Production.INFO: ==30387== Releasing lock...
[2025-01-11 22:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:05:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227194') end
[2025-01-11 22:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:05:04] Production.INFO: 1
[2025-01-11 22:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:05:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:05:04] Production.INFO: ==30395== Releasing lock...
[2025-01-11 22:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:05:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:05:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:05:04] Production.INFO: Total Charge 0
[2025-01-11 22:05:04] Production.INFO: CreateAllLog End
[2025-01-11 22:05:04] Production.INFO: Account Balance End.
[2025-01-11 22:05:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:05:04] Production.INFO: ==30391== Releasing lock...
[2025-01-11 22:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:05:05
[end_date_ymd] => 2025-01-11 22:05:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:05:05' and `end` < '2025-01-11 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-01-11 22:05:11] Production.ERROR: CronJobId end10
[2025-01-11 22:05:11] Production.INFO: ==30389== Releasing lock...
[2025-01-11 22:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:05:13] Production.INFO: call_cost start
[2025-01-11 22:05:13] Production.INFO: call_cost end
[2025-01-11 22:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:05:14] Production.INFO: ==30385== Releasing lock...
[2025-01-11 22:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:05:19] Production.INFO: count ==1593
[2025-01-11 22:05:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:05:05 - End Time 2025-01-11 22:05:05
[2025-01-11 22:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227196', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227196', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227196', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227196', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:05:19] Production.INFO: ProcessCDR(1,14227196,1,1,2)
[2025-01-11 22:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227196', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227196', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:05:23] Production.INFO: ==30393== Releasing lock...
[2025-01-11 22:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:05:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:06:01] Production.INFO: ==30448== Lock acquired, processing the job...
[2025-01-12 03:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:06:01] Production.INFO: neon service started
[2025-01-12 03:06:01] Production.INFO: neon service started
[2025-01-12 03:06:01] Production.INFO: ==30448== Releasing lock...
[2025-01-12 03:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:06:02] Production.INFO: ==30450== Lock acquired, processing the job...
[2025-01-11 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:06:02] Production.INFO: ==30452== Lock acquired, processing the job...
[2025-01-12 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:06:02] Production.INFO: ==30452== Releasing lock...
[2025-01-12 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:06:02] Production.INFO: ==30450== Releasing lock...
[2025-01-11 22:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:06:03] Production.INFO: ==30455== Lock acquired, processing the job...
[2025-01-11 22:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:06:03] Production.INFO: ==30457== Lock acquired, processing the job...
[2025-01-11 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:06:03] Production.INFO: ==30463== Lock acquired, processing the job...
[2025-01-11 22:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:06:03] Production.INFO: ==30459== Lock acquired, processing the job...
[2025-01-11 22:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:06:03] Production.INFO: ==30461== Lock acquired, processing the job...
[2025-01-11 22:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:06:03] Production.INFO: ==30457== Releasing lock...
[2025-01-11 22:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:06:03] Production.INFO: ==30465== Lock acquired, processing the job...
[2025-01-11 22:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:06:04] Production.ERROR: done
[2025-01-11 22:06:04] Production.INFO: Account Balance Start.
[2025-01-11 22:06:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:06:04] Production.INFO: 117
[2025-01-11 22:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:06:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:06:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:06:04] Production.INFO: count ==21
[2025-01-11 22:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:06:04] Production.ERROR: done
[2025-01-11 22:06:04] Production.INFO: count ==21
[2025-01-11 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227200') start
[2025-01-11 22:06:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:06:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227200') end
[2025-01-11 22:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:06:04] Production.INFO: 1
[2025-01-11 22:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:06:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:06:04] Production.INFO: ==30465== Releasing lock...
[2025-01-11 22:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:06:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:06:04] Production.INFO: Total Charge 0
[2025-01-11 22:06:04] Production.INFO: CreateAllLog End
[2025-01-11 22:06:04] Production.INFO: Account Balance End.
[2025-01-11 22:06:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:06:04] Production.INFO: ==30461== Releasing lock...
[2025-01-11 22:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:06:05
[end_date_ymd] => 2025-01-11 22:06:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:06:05' and `end` < '2025-01-11 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-01-11 22:06:11] Production.ERROR: CronJobId end10
[2025-01-11 22:06:11] Production.INFO: ==30459== Releasing lock...
[2025-01-11 22:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:06:13] Production.INFO: call_cost start
[2025-01-11 22:06:13] Production.INFO: call_cost end
[2025-01-11 22:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:06:14] Production.INFO: ==30455== Releasing lock...
[2025-01-11 22:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:06:18] Production.INFO: count ==1592
[2025-01-11 22:06:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:06:05 - End Time 2025-01-11 22:06:05
[2025-01-11 22:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227201', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227201', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227201', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227201', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:06:18] Production.INFO: ProcessCDR(1,14227201,1,1,2)
[2025-01-11 22:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227201', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227201', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:06:23] Production.INFO: ==30463== Releasing lock...
[2025-01-11 22:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:06:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:07:01] Production.INFO: ==30560== Lock acquired, processing the job...
[2025-01-12 03:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:07:01] Production.INFO: neon service started
[2025-01-12 03:07:01] Production.INFO: neon service started
[2025-01-12 03:07:01] Production.INFO: ==30560== Releasing lock...
[2025-01-12 03:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:07:01] Production.INFO: ==30562== Lock acquired, processing the job...
[2025-01-11 22:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:07:01] Production.INFO: ==30562== Releasing lock...
[2025-01-11 22:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:07:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:07:02] Production.INFO: ==30564== Lock acquired, processing the job...
[2025-01-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:07:02] Production.INFO: ==30564== Releasing lock...
[2025-01-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:07:02] Production.INFO: ==30567== Lock acquired, processing the job...
[2025-01-11 22:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:07:02] Production.INFO: ==30569== Lock acquired, processing the job...
[2025-01-11 22:07:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:07:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:07:02] Production.INFO: ==30571== Lock acquired, processing the job...
[2025-01-11 22:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:07:02] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:07:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:07:02] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:07:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:07:03] Production.INFO: ==30573== Lock acquired, processing the job...
[2025-01-11 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:07:03] Production.INFO: ==30575== Lock acquired, processing the job...
[2025-01-11 22:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:07:03] Production.INFO: ==30569== Releasing lock...
[2025-01-11 22:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:07:03] Production.INFO: Account Balance Start.
[2025-01-11 22:07:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:07:03] Production.INFO: 117
[2025-01-11 22:07:03] Production.INFO: ==30577== Lock acquired, processing the job...
[2025-01-11 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:07:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:07:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:07:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:07:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:07:03] Production.INFO: Total Charge 0
[2025-01-11 22: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-01-11 22:07:03] Production.INFO: CreateAllLog End
[2025-01-11 22:07:03] Production.INFO: count ==21
[2025-01-11 22:07:03] Production.ERROR: done
[2025-01-11 22: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-01-11 22:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:07:03] Production.INFO: count ==21
[2025-01-11 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227205') start
[2025-01-11 22:07:03] Production.INFO: Account Balance End.
[2025-01-11 22:07:03] Production.ERROR: done
[2025-01-11 22:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227205') end
[2025-01-11 22:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:07:03] Production.INFO: 1
[2025-01-11 22:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:07:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:07:03] Production.INFO: ==30573== Releasing lock...
[2025-01-11 22:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:07:03] Production.INFO: ==30577== Releasing lock...
[2025-01-11 22:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:07:04
[end_date_ymd] => 2025-01-11 22:07:04
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:07:04' and `end` < '2025-01-11 22: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-01-11 22:07:11] Production.ERROR: CronJobId end10
[2025-01-11 22:07:11] Production.INFO: ==30571== Releasing lock...
[2025-01-11 22:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:07:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:07:11] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:07:11] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:07:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:07:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:07:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:07:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:07:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:07:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:07:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:07:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:07:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:07:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:07:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:07:12] Production.INFO: call_cost start
[2025-01-11 22:07:12] Production.INFO: call_cost end
[2025-01-11 22:07:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:07:12] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:07:12] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:07:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:07:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:07:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:07:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:07:12] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:07:12] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:07:12] Production.INFO: ==30567== Releasing lock...
[2025-01-11 22:07:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:07:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:07:19] Production.INFO: count ==1591
[2025-01-11 22:07:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:07:04 - End Time 2025-01-11 22:07:04
[2025-01-11 22:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227206', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227206', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227206', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227206', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:07:19] Production.INFO: ProcessCDR(1,14227206,1,1,2)
[2025-01-11 22:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227206', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227206', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:07:23] Production.INFO: ==30575== Releasing lock...
[2025-01-11 22:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:07:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:08:01] Production.INFO: ==30631== Lock acquired, processing the job...
[2025-01-12 03:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:08:01] Production.INFO: neon service started
[2025-01-12 03:08:01] Production.INFO: neon service started
[2025-01-12 03:08:01] Production.INFO: ==30631== Releasing lock...
[2025-01-12 03:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:08:02] Production.INFO: ==30633== Lock acquired, processing the job...
[2025-01-11 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:08:02] Production.INFO: ==30635== Lock acquired, processing the job...
[2025-01-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 22:08:02] Production.INFO: ==30633== Releasing lock...
[2025-01-11 22:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:08:02] Production.INFO: ==30635== Releasing lock...
[2025-01-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:08:03] Production.INFO: ==30641== Lock acquired, processing the job...
[2025-01-11 22:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:08:03] Production.INFO: ==30645== Lock acquired, processing the job...
[2025-01-11 22:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:08:03] Production.INFO: ==30637== Lock acquired, processing the job...
[2025-01-11 22:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:08:03] Production.INFO: ==30639== Lock acquired, processing the job...
[2025-01-11 22:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:08:03] Production.INFO: ==30643== Lock acquired, processing the job...
[2025-01-11 22:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:08:03] Production.INFO: ==30647== Lock acquired, processing the job...
[2025-01-11 22:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:08:03] Production.ERROR: done
[2025-01-11 22:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:08:03] Production.INFO: Account Balance Start.
[2025-01-11 22:08:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:08:03] Production.INFO: 117
[2025-01-11 22:08:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:08:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:08:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:08:04] Production.ERROR: done
[2025-01-11 22:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:08:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:08:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:08:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:08:04] Production.INFO: count ==21
[2025-01-11 22:08:04] Production.INFO: Total Charge 0
[2025-01-11 22:08:04] Production.INFO: CreateAllLog End
[2025-01-11 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227210') start
[2025-01-11 22:08:04] Production.INFO: ==30639== Releasing lock...
[2025-01-11 22:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227210') end
[2025-01-11 22:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:08:04] Production.INFO: 1
[2025-01-11 22:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:08:04] Production.INFO: Account Balance End.
[2025-01-11 22:08:04] Production.INFO: ==30647== Releasing lock...
[2025-01-11 22:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:08:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:08:04] Production.INFO: ==30643== Releasing lock...
[2025-01-11 22:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:08:05
[end_date_ymd] => 2025-01-11 22:08:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:08:05' and `end` < '2025-01-11 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-01-11 22:08:11] Production.ERROR: CronJobId end10
[2025-01-11 22:08:11] Production.INFO: ==30641== Releasing lock...
[2025-01-11 22:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:08:13] Production.INFO: call_cost start
[2025-01-11 22:08:13] Production.INFO: call_cost end
[2025-01-11 22:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:08:13] Production.INFO: ==30637== Releasing lock...
[2025-01-11 22:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:08:18] Production.INFO: count ==1589
[2025-01-11 22:08:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:08:05 - End Time 2025-01-11 22:08:05
[2025-01-11 22:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227211', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227211', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227211', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227211', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:08:18] Production.INFO: ProcessCDR(1,14227211,1,1,2)
[2025-01-11 22:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227211', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227211', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:08:22] Production.INFO: ==30645== Releasing lock...
[2025-01-11 22:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:08:22] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:09:02] Production.INFO: ==30703== Lock acquired, processing the job...
[2025-01-12 03:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:09:02] Production.INFO: neon service started
[2025-01-12 03:09:02] Production.INFO: neon service started
[2025-01-12 03:09:02] Production.INFO: ==30703== Releasing lock...
[2025-01-12 03:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:09:02] Production.INFO: ==30705== Lock acquired, processing the job...
[2025-01-11 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:09:02] Production.INFO: ==30705== Releasing lock...
[2025-01-11 22:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:09:02] Production.INFO: ==30707== Lock acquired, processing the job...
[2025-01-12 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:09:03] Production.INFO: ==30707== Releasing lock...
[2025-01-12 03:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:09:03] Production.INFO: ==30712== Lock acquired, processing the job...
[2025-01-11 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:09:03] Production.INFO: ==30710== Lock acquired, processing the job...
[2025-01-11 22:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:09:03] Production.INFO: ==30720== Lock acquired, processing the job...
[2025-01-11 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:09:03] Production.INFO: ==30714== Lock acquired, processing the job...
[2025-01-11 22:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:09:03] Production.INFO: count ==21
[2025-01-11 22:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:09:03] Production.INFO: count ==21
[2025-01-11 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227214') start
[2025-01-11 22:09:03] Production.INFO: ==30712== Releasing lock...
[2025-01-11 22:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:09:03] Production.INFO: ==30716== Lock acquired, processing the job...
[2025-01-11 22:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:09:03] Production.INFO: ==30718== Lock acquired, processing the job...
[2025-01-11 22:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227214') end
[2025-01-11 22:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:09:03] Production.INFO: 1
[2025-01-11 22:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:09:03] Production.INFO: ==30720== Releasing lock...
[2025-01-11 22:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:09:03] Production.INFO: Account Balance Start.
[2025-01-11 22:09:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:09:03] Production.INFO: 117
[2025-01-11 22:09:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:09:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:09:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:09:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:09:04] Production.INFO: Total Charge 0
[2025-01-11 22:09:04] Production.INFO: CreateAllLog End
[2025-01-11 22:09:04] Production.ERROR: done
[2025-01-11 22:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:09:04] Production.ERROR: done
[2025-01-11 22:09:04] Production.INFO: Account Balance End.
[2025-01-11 22:09:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:09:04] Production.INFO: ==30716== Releasing lock...
[2025-01-11 22:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:09:05
[end_date_ymd] => 2025-01-11 22:09:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:09:05' and `end` < '2025-01-11 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-01-11 22:09:10] Production.ERROR: CronJobId end10
[2025-01-11 22:09:10] Production.INFO: ==30714== Releasing lock...
[2025-01-11 22:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:09:12] Production.INFO: call_cost start
[2025-01-11 22:09:12] Production.INFO: call_cost end
[2025-01-11 22:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:09:13] Production.INFO: ==30710== Releasing lock...
[2025-01-11 22:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:09:19] Production.INFO: count ==1585
[2025-01-11 22:09:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:09:05 - End Time 2025-01-11 22:09:05
[2025-01-11 22:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227216', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227216', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227216', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227216', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:09:20] Production.INFO: ProcessCDR(1,14227216,1,1,2)
[2025-01-11 22:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227216', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227216', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:09:23] Production.INFO: ==30718== Releasing lock...
[2025-01-11 22:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:09:23] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:10:01] Production.INFO: ==30774== Lock acquired, processing the job...
[2025-01-12 03:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:10:01] Production.INFO: neon service started
[2025-01-12 03:10:01] Production.INFO: neon service started
[2025-01-12 03:10:01] Production.INFO: ==30774== Releasing lock...
[2025-01-12 03:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:10:01] Production.INFO: ==30776== Lock acquired, processing the job...
[2025-01-11 22:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:10:02] Production.INFO: ==30776== Releasing lock...
[2025-01-11 22:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:10:02] Production.INFO: ==30778== Lock acquired, processing the job...
[2025-01-12 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:10:02] Production.INFO: ==30778== Releasing lock...
[2025-01-12 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:10:03] Production.INFO: ==30784== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:10:03] Production.INFO: ==30788== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:10:03] Production.INFO: ==30780== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 22:10:03] Production.INFO: Account Balance Start.
[2025-01-11 22:10:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:10:03] Production.INFO: 117
[2025-01-11 22:10:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:10:03] Production.INFO: ==30794== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:10:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:10:03] Production.INFO: ==30782== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:10:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:10:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:10:03] Production.INFO: ==30786== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:10:03] Production.INFO: ==30784== Releasing lock...
[2025-01-11 22:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:10:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:10:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:10:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 22:10:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:10:03] Production.ERROR: CronJob PID - 30782
[2025-01-11 22:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 22:10:03] Production.ERROR: CronJob ID - 5
[2025-01-11 22:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 22:10:00
[2025-01-11 22:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:10:03] Production.ERROR: CronJob PID - 30788
[2025-01-11 22:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-11 22:10:03] Production.ERROR: CronJob ID - 12
[2025-01-11 22:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 22:10:00
[2025-01-11 22:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:10:03] Production.ERROR: CronJob PID - 30794
[2025-01-11 22:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-11 22:10:03] Production.ERROR: CronJob ID - 19
[2025-01-11 22:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 22:10:00
[2025-01-11 22:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:10:03] Production.INFO: ==30790== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:10:03] Production.INFO: ==30792== Lock acquired, processing the job...
[2025-01-11 22:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 22:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 22:10:03] Production.INFO: ==30780== Releasing lock...
[2025-01-11 22:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 22:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 22:10:03] Production.INFO: Total Charge 0
[2025-01-11 22: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-01-11 22:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:10:03] Production.INFO: CreateAllLog End
[2025-01-11 22:10:03] Production.INFO: count ==21
[2025-01-11 22:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22: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-01-11 22:10:03] Production.INFO: count ==21
[2025-01-11 22:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227220') start
[2025-01-11 22:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227220') end
[2025-01-11 22:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:10:03] Production.INFO: 1
[2025-01-11 22:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:10:04] Production.INFO: ==30794== Releasing lock...
[2025-01-11 22:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:10:04] Production.ERROR: done
[2025-01-11 22:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:10:04] Production.INFO: Account Balance End.
[2025-01-11 22:10:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:10:04] Production.INFO: ==30788== Releasing lock...
[2025-01-11 22:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:10:04] Production.ERROR: done
[2025-01-11 22:10:04] Production.ERROR: done
[2025-01-11 22:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 22:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227222', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 22:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:10:05
[end_date_ymd] => 2025-01-11 22:10:05
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:10:05' and `end` < '2025-01-11 22: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-01-11 22:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227222', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 22:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 22:10:08] Production.INFO: ProcessCDR(1,14227222,1,1,2)
[2025-01-11 22:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227222,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227222,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:10:08] Production.INFO: ==30792== Releasing lock...
[2025-01-11 22:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 22:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 22:10:11] Production.ERROR: CronJobId end10
[2025-01-11 22:10:11] Production.INFO: ==30786== Releasing lock...
[2025-01-11 22:10:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:10:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:10:14] Production.INFO: call_cost start
[2025-01-11 22:10:14] Production.INFO: call_cost end
[2025-01-11 22:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:10:15] Production.INFO: ==30782== Releasing lock...
[2025-01-11 22:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:10:18] Production.INFO: count ==1581
[2025-01-11 22:10:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:10:05 - End Time 2025-01-11 22:10:05
[2025-01-11 22:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227221', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227221', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227221', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227221', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:10:18] Production.INFO: ProcessCDR(1,14227221,1,1,2)
[2025-01-11 22:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227221', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227221', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:10:22] Production.INFO: ==30790== Releasing lock...
[2025-01-11 22:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:10:22] Production.INFO: 39.5 MB #Memory Used#
[2025-01-12 03:11:02] Production.INFO: ==30851== Lock acquired, processing the job...
[2025-01-12 03:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:11:02] Production.INFO: neon service started
[2025-01-12 03:11:02] Production.INFO: neon service started
[2025-01-12 03:11:02] Production.INFO: ==30851== Releasing lock...
[2025-01-12 03:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:11:02] Production.INFO: ==30853== Lock acquired, processing the job...
[2025-01-11 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:11:02] Production.INFO: ==30855== Lock acquired, processing the job...
[2025-01-12 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:11:02] Production.INFO: ==30855== Releasing lock...
[2025-01-12 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:11:02] Production.INFO: ==30853== Releasing lock...
[2025-01-11 22:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:11:03] Production.INFO: ==30858== Lock acquired, processing the job...
[2025-01-11 22:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:11:03] Production.INFO: ==30860== Lock acquired, processing the job...
[2025-01-11 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:11:03] Production.INFO: ==30868== Lock acquired, processing the job...
[2025-01-11 22:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:11:03] Production.INFO: ==30860== Releasing lock...
[2025-01-11 22:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:11:04] Production.INFO: ==30862== Lock acquired, processing the job...
[2025-01-11 22:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:11:04] Production.INFO: ==30866== Lock acquired, processing the job...
[2025-01-11 22:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:11:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:11:04] Production.INFO: count ==21
[2025-01-11 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227225') start
[2025-01-11 22:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:11:04] Production.INFO: ==30864== Lock acquired, processing the job...
[2025-01-11 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227225') end
[2025-01-11 22:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:11:04] Production.INFO: 1
[2025-01-11 22:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:11:04] Production.INFO: ==30868== Releasing lock...
[2025-01-11 22:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:11:04] Production.INFO: Account Balance Start.
[2025-01-11 22:11:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:11:04] Production.INFO: 117
[2025-01-11 22:11:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:11:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:11:04] Production.ERROR: done
[2025-01-11 22:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:11:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:11:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:11:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:11:04] Production.INFO: Total Charge 0
[2025-01-11 22:11:04] Production.INFO: CreateAllLog End
[2025-01-11 22:11:04] Production.ERROR: done
[2025-01-11 22:11:04] Production.INFO: Account Balance End.
[2025-01-11 22:11:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:11:04] Production.INFO: ==30864== Releasing lock...
[2025-01-11 22:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:11:05
[end_date_ymd] => 2025-01-11 22:11:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:11:05' and `end` < '2025-01-11 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-01-11 22:11:11] Production.ERROR: CronJobId end10
[2025-01-11 22:11:11] Production.INFO: ==30862== Releasing lock...
[2025-01-11 22:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:11:13] Production.INFO: call_cost start
[2025-01-11 22:11:13] Production.INFO: call_cost end
[2025-01-11 22:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:11:13] Production.INFO: ==30858== Releasing lock...
[2025-01-11 22:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:11:18] Production.INFO: count ==1531
[2025-01-11 22:11:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:11:05 - End Time 2025-01-11 22:11:05
[2025-01-11 22:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227227', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227227', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227227', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227227', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:11:19] Production.INFO: ProcessCDR(1,14227227,1,1,2)
[2025-01-11 22:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227227', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227227', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:11:22] Production.INFO: ==30866== Releasing lock...
[2025-01-11 22:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:11:22] Production.INFO: 39 MB #Memory Used#
[2025-01-12 03:12:01] Production.INFO: ==30926== Lock acquired, processing the job...
[2025-01-12 03:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:12:01] Production.INFO: neon service started
[2025-01-12 03:12:01] Production.INFO: neon service started
[2025-01-12 03:12:01] Production.INFO: ==30926== Releasing lock...
[2025-01-12 03:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:12:02] Production.INFO: ==30928== Lock acquired, processing the job...
[2025-01-11 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:12:02] Production.INFO: ==30930== Lock acquired, processing the job...
[2025-01-12 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:12:02] Production.INFO: ==30930== Releasing lock...
[2025-01-12 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:12:02] Production.INFO: ==30928== Releasing lock...
[2025-01-11 22:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:12:03] Production.INFO: ==30934== Lock acquired, processing the job...
[2025-01-11 22:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:12:03] Production.INFO: ==30936== Lock acquired, processing the job...
[2025-01-11 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:12:03] Production.INFO: ==30944== Lock acquired, processing the job...
[2025-01-11 22:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22: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-01-11 22:12:03] Production.INFO: ==30940== Lock acquired, processing the job...
[2025-01-11 22:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:12:03] Production.INFO: ==30936== Releasing lock...
[2025-01-11 22:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:12:03] Production.INFO: ==30938== Lock acquired, processing the job...
[2025-01-11 22:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:12:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:12:03] Production.INFO: count ==21
[2025-01-11 22:12:03] Production.INFO: ==30942== Lock acquired, processing the job...
[2025-01-11 22:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227230') start
[2025-01-11 22:12:03] Production.INFO: Account Balance Start.
[2025-01-11 22:12:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:12:03] Production.INFO: 117
[2025-01-11 22:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:12:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227230') end
[2025-01-11 22:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:12:03] Production.INFO: 1
[2025-01-11 22:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:12:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:12:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:12:03] Production.INFO: ==30944== Releasing lock...
[2025-01-11 22:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:12:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:12:03] Production.INFO: Total Charge 0
[2025-01-11 22:12:03] Production.INFO: CreateAllLog End
[2025-01-11 22:12:03] Production.ERROR: done
[2025-01-11 22:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:12:04] Production.ERROR: done
[2025-01-11 22:12:04] Production.INFO: Account Balance End.
[2025-01-11 22:12:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:12:04] Production.INFO: ==30940== Releasing lock...
[2025-01-11 22:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:12:05
[end_date_ymd] => 2025-01-11 22:12:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:12:05' and `end` < '2025-01-11 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-01-11 22:12:11] Production.ERROR: CronJobId end10
[2025-01-11 22:12:11] Production.INFO: ==30938== Releasing lock...
[2025-01-11 22:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:12:13] Production.INFO: call_cost start
[2025-01-11 22:12:13] Production.INFO: call_cost end
[2025-01-11 22:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:12:13] Production.INFO: ==30934== Releasing lock...
[2025-01-11 22:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:12:19] Production.INFO: count ==1530
[2025-01-11 22:12:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:12:05 - End Time 2025-01-11 22:12:05
[2025-01-11 22:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227232', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227232', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227232', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227232', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:12:19] Production.INFO: ProcessCDR(1,14227232,1,1,2)
[2025-01-11 22:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227232', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227232', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:12:22] Production.INFO: ==30942== Releasing lock...
[2025-01-11 22:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:12:22] Production.INFO: 39 MB #Memory Used#
[2025-01-12 03:13:01] Production.INFO: ==31002== Lock acquired, processing the job...
[2025-01-12 03:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:13:01] Production.INFO: neon service started
[2025-01-12 03:13:01] Production.INFO: neon service started
[2025-01-12 03:13:01] Production.INFO: ==31002== Releasing lock...
[2025-01-12 03:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:13:02] Production.INFO: ==31008== Lock acquired, processing the job...
[2025-01-12 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:13:02] Production.INFO: ==31008== Releasing lock...
[2025-01-12 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:13:02] Production.INFO: ==31006== Lock acquired, processing the job...
[2025-01-11 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:13:02] Production.INFO: ==31006== Releasing lock...
[2025-01-11 22:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:13:03] Production.INFO: ==31011== Lock acquired, processing the job...
[2025-01-11 22:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:13:03] Production.INFO: ==31013== Lock acquired, processing the job...
[2025-01-11 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:13:03] Production.INFO: ==31017== Lock acquired, processing the job...
[2025-01-11 22:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:13:03] Production.INFO: ==31015== Lock acquired, processing the job...
[2025-01-11 22:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:13:03] Production.INFO: ==31021== Lock acquired, processing the job...
[2025-01-11 22:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:13:03] Production.INFO: Account Balance Start.
[2025-01-11 22:13:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:13:03] Production.INFO: 117
[2025-01-11 22:13:03] Production.INFO: Date 2025-01-08
[2025-01-11 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-01-11 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:13:03] Production.INFO: ==31019== Lock acquired, processing the job...
[2025-01-11 22:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:13:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:13:03] Production.INFO: count ==21
[2025-01-11 22:13:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227236') start
[2025-01-11 22:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:13:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:13:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:13:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:13:03] Production.INFO: ==31013== Releasing lock...
[2025-01-11 22:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:13:03] Production.INFO: Total Charge 0
[2025-01-11 22:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227236') end
[2025-01-11 22:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:13:03] Production.INFO: 1
[2025-01-11 22:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:13:03] Production.INFO: CreateAllLog End
[2025-01-11 22:13:04] Production.INFO: ==31021== Releasing lock...
[2025-01-11 22:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:13:04] Production.ERROR: done
[2025-01-11 22:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:13:04] Production.ERROR: done
[2025-01-11 22:13:04] Production.INFO: Account Balance End.
[2025-01-11 22:13:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:13:04] Production.INFO: ==31017== Releasing lock...
[2025-01-11 22:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:13:05
[end_date_ymd] => 2025-01-11 22:13:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:13:05' and `end` < '2025-01-11 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-01-11 22:13:12] Production.ERROR: CronJobId end10
[2025-01-11 22:13:12] Production.INFO: ==31015== Releasing lock...
[2025-01-11 22:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:13:14] Production.INFO: call_cost start
[2025-01-11 22:13:14] Production.INFO: call_cost end
[2025-01-11 22:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:13:14] Production.INFO: ==31011== Releasing lock...
[2025-01-11 22:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:13:20] Production.INFO: count ==1532
[2025-01-11 22:13:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:13:05 - End Time 2025-01-11 22:13:05
[2025-01-11 22:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227237', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227237', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227237', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227237', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:13:20] Production.INFO: ProcessCDR(1,14227237,1,1,2)
[2025-01-11 22:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227237', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227237', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:13:23] Production.INFO: ==31019== Releasing lock...
[2025-01-11 22:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:13:23] Production.INFO: 39 MB #Memory Used#
[2025-01-12 03:14:02] Production.INFO: ==31076== Lock acquired, processing the job...
[2025-01-12 03:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:14:02] Production.INFO: neon service started
[2025-01-12 03:14:02] Production.INFO: neon service started
[2025-01-12 03:14:02] Production.INFO: ==31076== Releasing lock...
[2025-01-12 03:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:14:02] Production.INFO: ==31078== Lock acquired, processing the job...
[2025-01-11 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:14:02] Production.INFO: ==31078== Releasing lock...
[2025-01-11 22:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:14:03] Production.INFO: ==31080== Lock acquired, processing the job...
[2025-01-12 03:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:14:03] Production.INFO: ==31080== Releasing lock...
[2025-01-12 03:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:14:03] Production.INFO: ==31085== Lock acquired, processing the job...
[2025-01-11 22:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:14:03] Production.INFO: ==31093== Lock acquired, processing the job...
[2025-01-11 22:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:14:03] Production.INFO: ==31083== Lock acquired, processing the job...
[2025-01-11 22:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22: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-01-11 22:14:03] Production.INFO: ==31087== Lock acquired, processing the job...
[2025-01-11 22:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:14:04] Production.INFO: count ==21
[2025-01-11 22:14:04] Production.INFO: ==31085== Releasing lock...
[2025-01-11 22:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:14:04] Production.INFO: ==31089== Lock acquired, processing the job...
[2025-01-11 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 22:14:04] Production.INFO: count ==21
[2025-01-11 22:14:04] Production.INFO: ==31091== Lock acquired, processing the job...
[2025-01-11 22:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227239') start
[2025-01-11 22:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:14:04] Production.INFO: Account Balance Start.
[2025-01-11 22:14:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:14:04] Production.INFO: 117
[2025-01-11 22:14:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227239') end
[2025-01-11 22:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:14:04] Production.INFO: 1
[2025-01-11 22:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:14:04] Production.INFO: ==31093== Releasing lock...
[2025-01-11 22:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:14:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:14:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:14:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:14:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:14:04] Production.INFO: Total Charge 0
[2025-01-11 22:14:04] Production.INFO: CreateAllLog End
[2025-01-11 22:14:04] Production.ERROR: done
[2025-01-11 22:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:14:04] Production.INFO: Account Balance End.
[2025-01-11 22:14:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:14:04] Production.INFO: ==31089== Releasing lock...
[2025-01-11 22:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:14:04] Production.ERROR: done
[2025-01-11 22:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:14:05
[end_date_ymd] => 2025-01-11 22:14:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:14:05' and `end` < '2025-01-11 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-01-11 22:14:11] Production.ERROR: CronJobId end10
[2025-01-11 22:14:11] Production.INFO: ==31087== Releasing lock...
[2025-01-11 22:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:14:13] Production.INFO: call_cost start
[2025-01-11 22:14:13] Production.INFO: call_cost end
[2025-01-11 22:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:14:14] Production.INFO: ==31083== Releasing lock...
[2025-01-11 22:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:14:19] Production.INFO: count ==1531
[2025-01-11 22:14:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:14:05 - End Time 2025-01-11 22:14:05
[2025-01-11 22:14:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227242', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227242', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227242', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:14:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227242', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:14:20] Production.INFO: ProcessCDR(1,14227242,1,1,2)
[2025-01-11 22:14:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227242', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227242', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:14:23] Production.INFO: ==31091== Releasing lock...
[2025-01-11 22:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:14:23] Production.INFO: 39 MB #Memory Used#
[2025-01-12 03:15:01] Production.INFO: ==31153== Lock acquired, processing the job...
[2025-01-12 03:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:15:01] Production.INFO: neon service started
[2025-01-12 03:15:01] Production.INFO: neon service started
[2025-01-12 03:15:01] Production.INFO: ==31153== Releasing lock...
[2025-01-12 03:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:15:02] Production.INFO: ==31155== Lock acquired, processing the job...
[2025-01-11 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:15:02] Production.INFO: ==31157== Lock acquired, processing the job...
[2025-01-12 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 22:15:02] Production.INFO: ==31155== Releasing lock...
[2025-01-11 22:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:15:02] Production.INFO: ==31157== Releasing lock...
[2025-01-12 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:15:03] Production.INFO: ==31163== Lock acquired, processing the job...
[2025-01-11 22:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:15:03] Production.INFO: ==31165== Lock acquired, processing the job...
[2025-01-11 22:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:15:03] Production.INFO: ==31159== Lock acquired, processing the job...
[2025-01-11 22:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:15:03] Production.INFO: Account Balance Start.
[2025-01-11 22:15:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:15:03] Production.INFO: 117
[2025-01-11 22:15:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:15:03] Production.INFO: ==31161== Lock acquired, processing the job...
[2025-01-11 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:15:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:15:03] Production.INFO: ==31167== Lock acquired, processing the job...
[2025-01-11 22:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:15:03] Production.INFO: ==31169== Lock acquired, processing the job...
[2025-01-11 22:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:15:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:15:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:15:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 22:15:03] Production.INFO: count ==21
[2025-01-11 22:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:15:03] Production.INFO: count ==21
[2025-01-11 22:15:03] Production.INFO: Total Charge 0
[2025-01-11 22:15:03] Production.INFO: CreateAllLog End
[2025-01-11 22:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227246') start
[2025-01-11 22:15:03] Production.INFO: ==31161== Releasing lock...
[2025-01-11 22:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:15:03] Production.ERROR: done
[2025-01-11 22:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:15:04] Production.ERROR: done
[2025-01-11 22:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227246') end
[2025-01-11 22:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:15:04] Production.INFO: 1
[2025-01-11 22:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:15:04] Production.INFO: ==31169== Releasing lock...
[2025-01-11 22:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:15:04] Production.INFO: Account Balance End.
[2025-01-11 22:15:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:15:04] Production.INFO: ==31165== Releasing lock...
[2025-01-11 22:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:15:04
[end_date_ymd] => 2025-01-11 22:15:04
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:15:04' and `end` < '2025-01-11 22: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-01-11 22:15:11] Production.ERROR: CronJobId end10
[2025-01-11 22:15:11] Production.INFO: ==31163== Releasing lock...
[2025-01-11 22:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:15:14] Production.INFO: call_cost start
[2025-01-11 22:15:14] Production.INFO: call_cost end
[2025-01-11 22:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:15:15] Production.INFO: ==31159== Releasing lock...
[2025-01-11 22:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:15:18] Production.INFO: count ==1522
[2025-01-11 22:15:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:15:04 - End Time 2025-01-11 22:15:04
[2025-01-11 22:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227247', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227247', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227247', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227247', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:15:18] Production.INFO: ProcessCDR(1,14227247,1,1,2)
[2025-01-11 22:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227247', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227247', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:15:21] Production.INFO: ==31167== Releasing lock...
[2025-01-11 22:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:15:21] Production.INFO: 39 MB #Memory Used#
[2025-01-12 03:16:02] Production.INFO: ==31249== Lock acquired, processing the job...
[2025-01-12 03:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:16:02] Production.INFO: neon service started
[2025-01-12 03:16:02] Production.INFO: neon service started
[2025-01-12 03:16:02] Production.INFO: ==31249== Releasing lock...
[2025-01-12 03:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:16:02] Production.INFO: ==31251== Lock acquired, processing the job...
[2025-01-11 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:16:02] Production.INFO: ==31251== Releasing lock...
[2025-01-11 22:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:16:02] Production.INFO: ==31253== Lock acquired, processing the job...
[2025-01-12 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:16:02] Production.INFO: ==31253== Releasing lock...
[2025-01-12 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:16:03] Production.INFO: ==31256== Lock acquired, processing the job...
[2025-01-11 22:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:16:03] Production.INFO: ==31258== Lock acquired, processing the job...
[2025-01-11 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:16:03] Production.INFO: ==31260== Lock acquired, processing the job...
[2025-01-11 22:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:16:03] Production.INFO: ==31258== Releasing lock...
[2025-01-11 22:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:16:03] Production.INFO: ==31264== Lock acquired, processing the job...
[2025-01-11 22:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:16:03] Production.INFO: ==31262== Lock acquired, processing the job...
[2025-01-11 22:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:16:03] Production.INFO: ==31266== Lock acquired, processing the job...
[2025-01-11 22:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:16:03] Production.INFO: Account Balance Start.
[2025-01-11 22:16:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:16:03] Production.INFO: 117
[2025-01-11 22:16:04] Production.INFO: Date 2025-01-08
[2025-01-11 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-01-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:16:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:16:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:16:04] Production.INFO: count ==21
[2025-01-11 22:16:04] Production.ERROR: done
[2025-01-11 22:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:16:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227251') start
[2025-01-11 22:16:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:16:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:16:04] Production.ERROR: done
[2025-01-11 22:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227251') end
[2025-01-11 22:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:16:04] Production.INFO: 1
[2025-01-11 22:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:16:04] Production.INFO: Total Charge 0
[2025-01-11 22:16:04] Production.INFO: CreateAllLog End
[2025-01-11 22:16:04] Production.INFO: ==31266== Releasing lock...
[2025-01-11 22:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:16:04] Production.INFO: Account Balance End.
[2025-01-11 22:16:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:16:04] Production.INFO: ==31262== Releasing lock...
[2025-01-11 22:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:16:05
[end_date_ymd] => 2025-01-11 22:16:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:16:05' and `end` < '2025-01-11 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-01-11 22:16:11] Production.ERROR: CronJobId end10
[2025-01-11 22:16:11] Production.INFO: ==31260== Releasing lock...
[2025-01-11 22:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:16:13] Production.INFO: call_cost start
[2025-01-11 22:16:13] Production.INFO: call_cost end
[2025-01-11 22:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:16:14] Production.INFO: ==31256== Releasing lock...
[2025-01-11 22:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:16:21] Production.INFO: count ==1509
[2025-01-11 22:16:21] Production.ERROR: pbx CDR StartTime 2025-01-11 19:16:05 - End Time 2025-01-11 22:16:05
[2025-01-11 22:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227252', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227252', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227252', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227252', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:16:21] Production.INFO: ProcessCDR(1,14227252,1,1,2)
[2025-01-11 22:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227252', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227252', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:16:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:16:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:16:25] Production.INFO: ==31264== Releasing lock...
[2025-01-11 22:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:16:25] Production.INFO: 39 MB #Memory Used#
[2025-01-12 03:17:01] Production.INFO: ==31321== Lock acquired, processing the job...
[2025-01-12 03:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:17:01] Production.INFO: neon service started
[2025-01-12 03:17:01] Production.INFO: neon service started
[2025-01-12 03:17:01] Production.INFO: ==31321== Releasing lock...
[2025-01-12 03:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:17:01] Production.INFO: ==31323== Lock acquired, processing the job...
[2025-01-11 22:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:17:02] Production.INFO: ==31323== Releasing lock...
[2025-01-11 22:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:17:02] Production.INFO: ==31325== Lock acquired, processing the job...
[2025-01-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:17:02] Production.INFO: ==31325== Releasing lock...
[2025-01-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:17:02] Production.INFO: ==31331== Lock acquired, processing the job...
[2025-01-11 22:17:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:17:03] Production.INFO: ==31337== Lock acquired, processing the job...
[2025-01-11 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:17:03] Production.INFO: ==31327== Lock acquired, processing the job...
[2025-01-11 22:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:17:03] Production.INFO: ==31329== Lock acquired, processing the job...
[2025-01-11 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:17:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:17:03] Production.INFO: count ==21
[2025-01-11 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227253') start
[2025-01-11 22:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227253') end
[2025-01-11 22:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:17:03] Production.INFO: 1
[2025-01-11 22:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:17:03] Production.INFO: ==31333== Lock acquired, processing the job...
[2025-01-11 22:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:17:03] Production.INFO: ==31335== Lock acquired, processing the job...
[2025-01-11 22:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:17:03] Production.INFO: ==31337== Releasing lock...
[2025-01-11 22:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:17:03] Production.INFO: ==31329== Releasing lock...
[2025-01-11 22:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:17:03] Production.INFO: Account Balance Start.
[2025-01-11 22:17:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:17:03] Production.INFO: 117
[2025-01-11 22:17:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:17:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:17:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:17:03] Production.ERROR: done
[2025-01-11 22:17:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:17:03] Production.INFO: Total Charge 0
[2025-01-11 22:17:03] Production.INFO: CreateAllLog End
[2025-01-11 22:17:04] Production.ERROR: done
[2025-01-11 22:17:04] Production.INFO: Account Balance End.
[2025-01-11 22:17:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:17:04] Production.INFO: ==31333== Releasing lock...
[2025-01-11 22:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:17:05
[end_date_ymd] => 2025-01-11 22:17:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:17:05' and `end` < '2025-01-11 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-01-11 22:17:11] Production.ERROR: CronJobId end10
[2025-01-11 22:17:11] Production.INFO: ==31331== Releasing lock...
[2025-01-11 22:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:17:13] Production.INFO: call_cost start
[2025-01-11 22:17:13] Production.INFO: call_cost end
[2025-01-11 22:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:17:14] Production.INFO: ==31327== Releasing lock...
[2025-01-11 22:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:17:18] Production.INFO: count ==1472
[2025-01-11 22:17:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:17:05 - End Time 2025-01-11 22:17:05
[2025-01-11 22:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227257', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227257', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227257', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227257', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:17:18] Production.INFO: ProcessCDR(1,14227257,1,1,2)
[2025-01-11 22:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227257', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227257', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:17:21] Production.INFO: ==31335== Releasing lock...
[2025-01-11 22:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:17:21] Production.INFO: 38.5 MB #Memory Used#
[2025-01-12 03:18:01] Production.INFO: ==31396== Lock acquired, processing the job...
[2025-01-12 03:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:18:01] Production.INFO: neon service started
[2025-01-12 03:18:01] Production.INFO: neon service started
[2025-01-12 03:18:01] Production.INFO: ==31396== Releasing lock...
[2025-01-12 03:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:18:02] Production.INFO: ==31398== Lock acquired, processing the job...
[2025-01-11 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:18:02] Production.INFO: ==31398== Releasing lock...
[2025-01-11 22:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:18:02] Production.INFO: ==31400== Lock acquired, processing the job...
[2025-01-12 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:18:02] Production.INFO: ==31400== Releasing lock...
[2025-01-12 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:18:03] Production.INFO: ==31402== Lock acquired, processing the job...
[2025-01-11 22:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:18:03] Production.INFO: ==31408== Lock acquired, processing the job...
[2025-01-11 22:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:18:03] Production.INFO: ==31413== Lock acquired, processing the job...
[2025-01-11 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:18:03] Production.INFO: ==31404== Lock acquired, processing the job...
[2025-01-11 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22: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-01-11 22:18:03] Production.INFO: ==31406== Lock acquired, processing the job...
[2025-01-11 22:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:18:03] Production.INFO: Account Balance Start.
[2025-01-11 22:18:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:18:03] Production.INFO: 117
[2025-01-11 22:18:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:18:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:18:03] Production.INFO: count ==21
[2025-01-11 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227260') start
[2025-01-11 22:18:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:18:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:18:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:18:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:18:03] Production.INFO: ==31410== Lock acquired, processing the job...
[2025-01-11 22:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:18:03] Production.INFO: Total Charge 0
[2025-01-11 22:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:18:03] Production.INFO: CreateAllLog End
[2025-01-11 22:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227260') end
[2025-01-11 22:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:18:03] Production.INFO: 1
[2025-01-11 22:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:18:03] Production.INFO: ==31413== Releasing lock...
[2025-01-11 22:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:18:03] Production.INFO: Account Balance End.
[2025-01-11 22:18:03] Production.INFO: ==31404== Releasing lock...
[2025-01-11 22:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:18:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:18:04] Production.INFO: ==31408== Releasing lock...
[2025-01-11 22:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:18:04] Production.ERROR: done
[2025-01-11 22:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:18:04] Production.ERROR: done
[2025-01-11 22:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:18:05
[end_date_ymd] => 2025-01-11 22:18:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:18:05' and `end` < '2025-01-11 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-01-11 22:18:10] Production.ERROR: CronJobId end10
[2025-01-11 22:18:10] Production.INFO: ==31406== Releasing lock...
[2025-01-11 22:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:18:12] Production.INFO: call_cost start
[2025-01-11 22:18:12] Production.INFO: call_cost end
[2025-01-11 22:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:18:13] Production.INFO: ==31402== Releasing lock...
[2025-01-11 22:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:18:18] Production.INFO: count ==1458
[2025-01-11 22:18:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:18:05 - End Time 2025-01-11 22:18:05
[2025-01-11 22:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227262', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227262', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227262', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227262', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:18:18] Production.INFO: ProcessCDR(1,14227262,1,1,2)
[2025-01-11 22:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227262', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227262', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:18:23] Production.INFO: ==31410== Releasing lock...
[2025-01-11 22:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:18:23] Production.INFO: 38.5 MB #Memory Used#
[2025-01-12 03:19:01] Production.INFO: ==31467== Lock acquired, processing the job...
[2025-01-12 03:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:19:01] Production.INFO: neon service started
[2025-01-12 03:19:01] Production.INFO: neon service started
[2025-01-12 03:19:01] Production.INFO: ==31467== Releasing lock...
[2025-01-12 03:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:19:01] Production.INFO: ==31470== Lock acquired, processing the job...
[2025-01-11 22:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:19:01] Production.INFO: ==31472== Lock acquired, processing the job...
[2025-01-12 03:19:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 22:19:01] Production.INFO: ==31470== Releasing lock...
[2025-01-11 22:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:19:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:19:02] Production.INFO: ==31472== Releasing lock...
[2025-01-12 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:19:02] Production.INFO: ==31474== Lock acquired, processing the job...
[2025-01-11 22:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:19:02] Production.INFO: ==31478== Lock acquired, processing the job...
[2025-01-11 22:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:19:02] Production.INFO: ==31476== Lock acquired, processing the job...
[2025-01-11 22:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:19:02] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:19:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:19:02] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:19:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:19:02] Production.INFO: ==31480== Lock acquired, processing the job...
[2025-01-11 22:19:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:19:03] Production.INFO: ==31482== Lock acquired, processing the job...
[2025-01-11 22:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:19:03] Production.INFO: ==31484== Lock acquired, processing the job...
[2025-01-11 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:19:03] Production.INFO: ==31476== Releasing lock...
[2025-01-11 22:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:19:03] Production.INFO: Account Balance Start.
[2025-01-11 22:19:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:19:03] Production.INFO: 117
[2025-01-11 22:19:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:19:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:19:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 22:19:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:19:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:19:03] Production.INFO: count ==21
[2025-01-11 22:19:03] Production.INFO: Total Charge 0
[2025-01-11 22:19:03] Production.ERROR: done
[2025-01-11 22:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:19:03] Production.INFO: CreateAllLog End
[2025-01-11 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227266') start
[2025-01-11 22:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227266') end
[2025-01-11 22:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:19:03] Production.INFO: 1
[2025-01-11 22:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:19:03] Production.ERROR: done
[2025-01-11 22:19:03] Production.INFO: ==31484== Releasing lock...
[2025-01-11 22:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:19:03] Production.INFO: Account Balance End.
[2025-01-11 22:19:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:19:03] Production.INFO: ==31480== Releasing lock...
[2025-01-11 22:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:19:04
[end_date_ymd] => 2025-01-11 22:19:04
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:19:04' and `end` < '2025-01-11 22: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-01-11 22:19:10] Production.ERROR: CronJobId end10
[2025-01-11 22:19:10] Production.INFO: ==31478== Releasing lock...
[2025-01-11 22:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:19:12] Production.INFO: call_cost start
[2025-01-11 22:19:12] Production.INFO: call_cost end
[2025-01-11 22:19:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:19:12] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:19:12] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:19:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:19:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:19:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:19:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:19:12] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:19:12] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:19:12] Production.INFO: ==31474== Releasing lock...
[2025-01-11 22:19:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:19:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:19:19] Production.INFO: count ==1455
[2025-01-11 22:19:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:19:04 - End Time 2025-01-11 22:19:04
[2025-01-11 22:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227267', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227267', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227267', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227267', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:19:19] Production.INFO: ProcessCDR(1,14227267,1,1,2)
[2025-01-11 22:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227267', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227267', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:19:22] Production.INFO: ==31482== Releasing lock...
[2025-01-11 22:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:19:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-12 03:20:01] Production.INFO: ==31542== Lock acquired, processing the job...
[2025-01-12 03:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:20:01] Production.INFO: neon service started
[2025-01-12 03:20:01] Production.INFO: neon service started
[2025-01-12 03:20:01] Production.INFO: ==31542== Releasing lock...
[2025-01-12 03:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:20:02] Production.INFO: ==31546== Lock acquired, processing the job...
[2025-01-12 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:20:02] Production.INFO: ==31546== Releasing lock...
[2025-01-12 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:20:02] Production.INFO: ==31544== Lock acquired, processing the job...
[2025-01-11 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:20:02] Production.INFO: ==31544== Releasing lock...
[2025-01-11 22:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:20:03] Production.INFO: ==31549== Lock acquired, processing the job...
[2025-01-11 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 22:20:03] Production.INFO: ==31551== Lock acquired, processing the job...
[2025-01-11 22:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 22:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:20:03] Production.ERROR: CronJob PID - 31551
[2025-01-11 22:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 22:20:03] Production.ERROR: CronJob ID - 5
[2025-01-11 22:20:03] Production.ERROR: CronJob Last Run Time 2025-01-11 22:20:00
[2025-01-11 22:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 22:20:03] Production.INFO: ==31549== Releasing lock...
[2025-01-11 22:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 22:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 22:20:03] Production.INFO: ==31555== Lock acquired, processing the job...
[2025-01-11 22:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:20:03] Production.INFO: ==31561== Lock acquired, processing the job...
[2025-01-11 22:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 22:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:20:03] Production.INFO: ==31553== Lock acquired, processing the job...
[2025-01-11 22:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:20:03] Production.INFO: ==31557== Lock acquired, processing the job...
[2025-01-11 22:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:20:03] Production.INFO: ==31559== Lock acquired, processing the job...
[2025-01-11 22:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:20:03] Production.INFO: Account Balance Start.
[2025-01-11 22:20:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:20:03] Production.INFO: 117
[2025-01-11 22:20:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:20:04] Production.INFO: ==31563== Lock acquired, processing the job...
[2025-01-11 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:20:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:20:04] Production.ERROR: done
[2025-01-11 22:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 22:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227272', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 22:20:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:20:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:20:04] Production.INFO: count ==21
[2025-01-11 22:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:20:04] Production.INFO: count ==21
[2025-01-11 22:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227271') start
[2025-01-11 22:20:04] Production.INFO: ==31553== Releasing lock...
[2025-01-11 22:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:20:04] Production.INFO: Total Charge 0
[2025-01-11 22:20:04] Production.INFO: CreateAllLog End
[2025-01-11 22:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227271') end
[2025-01-11 22:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:20:04] Production.INFO: 1
[2025-01-11 22:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:20:04] Production.INFO: ==31563== Releasing lock...
[2025-01-11 22:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:20:04] Production.ERROR: done
[2025-01-11 22:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:20:04] Production.INFO: Account Balance End.
[2025-01-11 22:20:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:20:04] Production.INFO: ==31557== Releasing lock...
[2025-01-11 22:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:20:04] Production.ERROR: done
[2025-01-11 22:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:20:05
[end_date_ymd] => 2025-01-11 22:20:05
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:20:05' and `end` < '2025-01-11 22: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-01-11 22:20:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227272', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 22:20:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 22:20:07] Production.INFO: ProcessCDR(1,14227272,1,1,2)
[2025-01-11 22:20:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227272,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:20:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227272,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:20:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:20:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:20:08] Production.INFO: ==31561== Releasing lock...
[2025-01-11 22:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 22:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 22:20:11] Production.ERROR: CronJobId end10
[2025-01-11 22:20:11] Production.INFO: ==31555== Releasing lock...
[2025-01-11 22:20:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:20:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:20:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:20:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:20:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:20:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:20:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:20:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:20:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:20:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:20:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:20:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:20:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:20:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:20:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:20:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:20:14] Production.INFO: call_cost start
[2025-01-11 22:20:14] Production.INFO: call_cost end
[2025-01-11 22:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:20:15] Production.INFO: ==31551== Releasing lock...
[2025-01-11 22:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:20:19] Production.INFO: count ==1455
[2025-01-11 22:20:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:20:05 - End Time 2025-01-11 22:20:05
[2025-01-11 22:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227273', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227273', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227273', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227273', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:20:19] Production.INFO: ProcessCDR(1,14227273,1,1,2)
[2025-01-11 22:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227273', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227273', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:20:22] Production.INFO: ==31559== Releasing lock...
[2025-01-11 22:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:20:22] Production.INFO: 38.5 MB #Memory Used#
[2025-01-12 03:21:02] Production.INFO: ==31618== Lock acquired, processing the job...
[2025-01-12 03:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:21:02] Production.INFO: neon service started
[2025-01-12 03:21:02] Production.INFO: neon service started
[2025-01-12 03:21:02] Production.INFO: ==31618== Releasing lock...
[2025-01-12 03:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:21:02] Production.INFO: ==31620== Lock acquired, processing the job...
[2025-01-11 22:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:21:02] Production.INFO: ==31622== Lock acquired, processing the job...
[2025-01-12 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:21:02] Production.INFO: ==31622== Releasing lock...
[2025-01-12 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:21:03] Production.INFO: ==31620== Releasing lock...
[2025-01-11 22:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:21:03] Production.INFO: ==31625== Lock acquired, processing the job...
[2025-01-11 22:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:21:03] Production.INFO: ==31629== Lock acquired, processing the job...
[2025-01-11 22:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:21:03] Production.INFO: ==31635== Lock acquired, processing the job...
[2025-01-11 22:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 22:21:04] Production.INFO: ==31627== Lock acquired, processing the job...
[2025-01-11 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:21:04] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:21:04] Production.INFO: count ==21
[2025-01-11 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227275') start
[2025-01-11 22:21:04] Production.INFO: ==31631== Lock acquired, processing the job...
[2025-01-11 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227275') end
[2025-01-11 22:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:21:04] Production.INFO: 1
[2025-01-11 22:21:04] Production.INFO: ==31633== Lock acquired, processing the job...
[2025-01-11 22:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:21:04] Production.INFO: ==31635== Releasing lock...
[2025-01-11 22:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:21:04] Production.INFO: Account Balance Start.
[2025-01-11 22:21:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:21:04] Production.INFO: 117
[2025-01-11 22:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:21:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:21:04] Production.INFO: ==31627== Releasing lock...
[2025-01-11 22:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:21:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:21:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:21:04] Production.ERROR: done
[2025-01-11 22:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:21:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:21:04] Production.INFO: Total Charge 0
[2025-01-11 22:21:04] Production.INFO: CreateAllLog End
[2025-01-11 22:21:04] Production.ERROR: done
[2025-01-11 22:21:04] Production.INFO: Account Balance End.
[2025-01-11 22:21:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:21:04] Production.INFO: ==31631== Releasing lock...
[2025-01-11 22:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:21:05
[end_date_ymd] => 2025-01-11 22:21:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:21:05' and `end` < '2025-01-11 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-01-11 22:21:11] Production.ERROR: CronJobId end10
[2025-01-11 22:21:11] Production.INFO: ==31629== Releasing lock...
[2025-01-11 22:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:21:14] Production.INFO: call_cost start
[2025-01-11 22:21:14] Production.INFO: call_cost end
[2025-01-11 22:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:21:15] Production.INFO: ==31625== Releasing lock...
[2025-01-11 22:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:21:19] Production.INFO: count ==1405
[2025-01-11 22:21:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:21:05 - End Time 2025-01-11 22:21:05
[2025-01-11 22:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227278', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227278', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227278', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227278', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:21:19] Production.INFO: ProcessCDR(1,14227278,1,1,2)
[2025-01-11 22:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227278', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227278', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:21:22] Production.INFO: ==31633== Releasing lock...
[2025-01-11 22:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:21:22] Production.INFO: 38 MB #Memory Used#
[2025-01-12 03:22:01] Production.INFO: ==31730== Lock acquired, processing the job...
[2025-01-12 03:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:22:01] Production.INFO: neon service started
[2025-01-12 03:22:01] Production.INFO: neon service started
[2025-01-12 03:22:01] Production.INFO: ==31730== Releasing lock...
[2025-01-12 03:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:22:01] Production.INFO: ==31734== Lock acquired, processing the job...
[2025-01-12 03:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:22:01] Production.INFO: ==31734== Releasing lock...
[2025-01-12 03:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:22:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:22:02] Production.INFO: ==31732== Lock acquired, processing the job...
[2025-01-11 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:22:02] Production.INFO: ==31732== Releasing lock...
[2025-01-11 22:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:22:03] Production.INFO: ==31737== Lock acquired, processing the job...
[2025-01-11 22:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:22:03] Production.INFO: ==31743== Lock acquired, processing the job...
[2025-01-11 22:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:22:03] Production.INFO: ==31745== Lock acquired, processing the job...
[2025-01-11 22:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:22:03] Production.INFO: Account Balance Start.
[2025-01-11 22:22:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:22:03] Production.INFO: 117
[2025-01-11 22:22:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:22:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:22:03] Production.INFO: ==31739== Lock acquired, processing the job...
[2025-01-11 22:22:03] Production.INFO: ==31747== Lock acquired, processing the job...
[2025-01-11 22:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:22:03] Production.INFO: ==31741== Lock acquired, processing the job...
[2025-01-11 22:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:22:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:22:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:22:03] Production.INFO: Total Charge 0
[2025-01-11 22:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:22:03] Production.INFO: CreateAllLog End
[2025-01-11 22: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-01-11 22:22:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:22:03] Production.INFO: count ==21
[2025-01-11 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227281') start
[2025-01-11 22:22:03] Production.ERROR: done
[2025-01-11 22:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227281') end
[2025-01-11 22:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:22:03] Production.INFO: 1
[2025-01-11 22:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:22:04] Production.INFO: Account Balance End.
[2025-01-11 22:22:04] Production.ERROR: done
[2025-01-11 22:22:04] Production.INFO: ==31747== Releasing lock...
[2025-01-11 22:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:22:04] Production.INFO: ==31739== Releasing lock...
[2025-01-11 22:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:22:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:22:04] Production.INFO: ==31743== Releasing lock...
[2025-01-11 22:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:22:04
[end_date_ymd] => 2025-01-11 22:22:04
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:22:04' and `end` < '2025-01-11 22: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-01-11 22:22:10] Production.ERROR: CronJobId end10
[2025-01-11 22:22:10] Production.INFO: ==31741== Releasing lock...
[2025-01-11 22:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:22:13] Production.INFO: call_cost start
[2025-01-11 22:22:13] Production.INFO: call_cost end
[2025-01-11 22:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:22:13] Production.INFO: ==31737== Releasing lock...
[2025-01-11 22:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:22:18] Production.INFO: count ==1404
[2025-01-11 22:22:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:22:04 - End Time 2025-01-11 22:22:04
[2025-01-11 22:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227283', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227283', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227283', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227283', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:22:19] Production.INFO: ProcessCDR(1,14227283,1,1,2)
[2025-01-11 22:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227283', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227283', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:22:22] Production.INFO: ==31745== Releasing lock...
[2025-01-11 22:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:22:22] Production.INFO: 38 MB #Memory Used#
[2025-01-12 03:23:01] Production.INFO: ==31830== Lock acquired, processing the job...
[2025-01-12 03:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:23:01] Production.INFO: neon service started
[2025-01-12 03:23:01] Production.INFO: neon service started
[2025-01-12 03:23:01] Production.INFO: ==31830== Releasing lock...
[2025-01-12 03:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:23:02] Production.INFO: ==31834== Lock acquired, processing the job...
[2025-01-12 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:23:02] Production.INFO: ==31834== Releasing lock...
[2025-01-12 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:23:02] Production.INFO: ==31832== Lock acquired, processing the job...
[2025-01-11 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:23:02] Production.INFO: ==31832== Releasing lock...
[2025-01-11 22:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:23:03] Production.INFO: ==31844== Lock acquired, processing the job...
[2025-01-11 22:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:23:03] Production.INFO: ==31846== Lock acquired, processing the job...
[2025-01-11 22:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:23:03] Production.INFO: ==31836== Lock acquired, processing the job...
[2025-01-11 22:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:23:03] Production.INFO: ==31838== Lock acquired, processing the job...
[2025-01-11 22:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:23:03] Production.INFO: ==31840== Lock acquired, processing the job...
[2025-01-11 22:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:23:03] Production.INFO: ==31842== Lock acquired, processing the job...
[2025-01-11 22:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:23:03] Production.INFO: count ==21
[2025-01-11 22:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:23:03] Production.INFO: count ==21
[2025-01-11 22:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227284') start
[2025-01-11 22:23:03] Production.ERROR: done
[2025-01-11 22:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:23:03] Production.INFO: Account Balance Start.
[2025-01-11 22:23:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:23:03] Production.INFO: 117
[2025-01-11 22:23:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227284') end
[2025-01-11 22:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:23:04] Production.INFO: 1
[2025-01-11 22:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:23:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:23:04] Production.INFO: ==31846== Releasing lock...
[2025-01-11 22:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:23:04] Production.INFO: ==31838== Releasing lock...
[2025-01-11 22:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:23:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:23:04] Production.ERROR: done
[2025-01-11 22:23:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:23:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:23:04] Production.INFO: Total Charge 0
[2025-01-11 22:23:04] Production.INFO: CreateAllLog End
[2025-01-11 22:23:04] Production.INFO: Account Balance End.
[2025-01-11 22:23:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:23:04] Production.INFO: ==31842== Releasing lock...
[2025-01-11 22:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:23:05
[end_date_ymd] => 2025-01-11 22:23:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:23:05' and `end` < '2025-01-11 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-01-11 22:23:11] Production.ERROR: CronJobId end10
[2025-01-11 22:23:11] Production.INFO: ==31840== Releasing lock...
[2025-01-11 22:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:23:14] Production.INFO: call_cost start
[2025-01-11 22:23:14] Production.INFO: call_cost end
[2025-01-11 22:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:23:14] Production.INFO: ==31836== Releasing lock...
[2025-01-11 22:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:23:19] Production.INFO: count ==1400
[2025-01-11 22:23:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:23:05 - End Time 2025-01-11 22:23:05
[2025-01-11 22:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227288', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227288', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227288', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227288', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:23:19] Production.INFO: ProcessCDR(1,14227288,1,1,2)
[2025-01-11 22:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227288', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227288', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:23:22] Production.INFO: ==31844== Releasing lock...
[2025-01-11 22:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:23:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 03:24:02] Production.INFO: ==31932== Lock acquired, processing the job...
[2025-01-12 03:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:24:02] Production.INFO: neon service started
[2025-01-12 03:24:02] Production.INFO: neon service started
[2025-01-12 03:24:02] Production.INFO: ==31932== Releasing lock...
[2025-01-12 03:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:24:02] Production.INFO: ==31936== Lock acquired, processing the job...
[2025-01-12 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:24:02] Production.INFO: ==31936== Releasing lock...
[2025-01-12 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:24:02] Production.INFO: ==31934== Lock acquired, processing the job...
[2025-01-11 22:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:24:03] Production.INFO: ==31934== Releasing lock...
[2025-01-11 22:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:24:03] Production.INFO: ==31939== Lock acquired, processing the job...
[2025-01-11 22:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:24:03] Production.INFO: ==31941== Lock acquired, processing the job...
[2025-01-11 22:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:24:04] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-01-11 22:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:24:04] Production.INFO: ==31943== Lock acquired, processing the job...
[2025-01-11 22:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:24:04] Production.INFO: ==31949== Lock acquired, processing the job...
[2025-01-11 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:24:04] Production.INFO: ==31945== Lock acquired, processing the job...
[2025-01-11 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:24:04] Production.INFO: ==31941== Releasing lock...
[2025-01-11 22:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:24:04] Production.ERROR: done
[2025-01-11 22:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:24:04] Production.ERROR: done
[2025-01-11 22:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:24:04] Production.INFO: Account Balance Start.
[2025-01-11 22:24:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:24:04] Production.INFO: 117
[2025-01-11 22:24:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:24:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:24:04] Production.INFO: count ==21
[2025-01-11 22:24:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227291') start
[2025-01-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:24:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:24:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:24:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:24:04] Production.INFO: Total Charge 0
[2025-01-11 22:24:04] Production.INFO: CreateAllLog End
[2025-01-11 22:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227291') end
[2025-01-11 22:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:24:04] Production.INFO: 1
[2025-01-11 22:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:24:04] Production.INFO: ==31949== Releasing lock...
[2025-01-11 22:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:24:04] Production.INFO: Account Balance End.
[2025-01-11 22:24:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:24:04] Production.INFO: ==31945== Releasing lock...
[2025-01-11 22:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:24:05
[end_date_ymd] => 2025-01-11 22:24:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:24:05' and `end` < '2025-01-11 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-01-11 22:24:13] Production.ERROR: CronJobId end10
[2025-01-11 22:24:13] Production.INFO: ==31943== Releasing lock...
[2025-01-11 22:24:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:24:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:24:14] Production.INFO: call_cost start
[2025-01-11 22:24:14] Production.INFO: call_cost end
[2025-01-11 22:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:24:15] Production.INFO: ==31939== Releasing lock...
[2025-01-11 22:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:24:19] Production.INFO: count ==1400
[2025-01-11 22:24:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:24:05 - End Time 2025-01-11 22:24:05
[2025-01-11 22:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227293', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227293', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227293', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227293', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:24:19] Production.INFO: ProcessCDR(1,14227293,1,1,2)
[2025-01-11 22:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227293', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227293', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:24:22] Production.INFO: ==31947== Releasing lock...
[2025-01-11 22:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:24:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 03:25:01] Production.INFO: ==32032== Lock acquired, processing the job...
[2025-01-12 03:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:25:01] Production.INFO: neon service started
[2025-01-12 03:25:01] Production.INFO: neon service started
[2025-01-12 03:25:01] Production.INFO: ==32032== Releasing lock...
[2025-01-12 03:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:25:02] Production.INFO: ==32035== Lock acquired, processing the job...
[2025-01-11 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:25:02] Production.INFO: ==32035== Releasing lock...
[2025-01-11 22:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:25:02] Production.INFO: ==32037== Lock acquired, processing the job...
[2025-01-12 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:25:02] Production.INFO: ==32037== Releasing lock...
[2025-01-12 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:25:03] Production.INFO: ==32043== Lock acquired, processing the job...
[2025-01-11 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:25:03] Production.INFO: ==32041== Lock acquired, processing the job...
[2025-01-11 22:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:25:03] Production.INFO: ==32051== Lock acquired, processing the job...
[2025-01-11 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 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-01-11 22:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:25:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:25:03] Production.INFO: count ==21
[2025-01-11 22:25:03] Production.INFO: ==32043== Releasing lock...
[2025-01-11 22:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:25:03] Production.INFO: ==32045== Lock acquired, processing the job...
[2025-01-11 22:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227295') start
[2025-01-11 22:25:03] Production.INFO: ==32049== Lock acquired, processing the job...
[2025-01-11 22:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:25:03] Production.INFO: ==32047== Lock acquired, processing the job...
[2025-01-11 22:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227295') end
[2025-01-11 22:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:25:03] Production.INFO: 1
[2025-01-11 22:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:25:03] Production.INFO: ==32051== Releasing lock...
[2025-01-11 22:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:25:03] Production.INFO: Account Balance Start.
[2025-01-11 22:25:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:25:03] Production.INFO: 117
[2025-01-11 22:25:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:25:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:25:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:25:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:25:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:25:03] Production.INFO: Total Charge 0
[2025-01-11 22:25:03] Production.INFO: CreateAllLog End
[2025-01-11 22:25:04] Production.ERROR: done
[2025-01-11 22:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:25:04] Production.INFO: Account Balance End.
[2025-01-11 22:25:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:25:04] Production.INFO: ==32047== Releasing lock...
[2025-01-11 22:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:25:04] Production.ERROR: done
[2025-01-11 22:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:25:05
[end_date_ymd] => 2025-01-11 22:25:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:25:05' and `end` < '2025-01-11 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-01-11 22:25:10] Production.ERROR: CronJobId end10
[2025-01-11 22:25:10] Production.INFO: ==32045== Releasing lock...
[2025-01-11 22:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:25:12] Production.INFO: call_cost start
[2025-01-11 22:25:12] Production.INFO: call_cost end
[2025-01-11 22:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:25:13] Production.INFO: ==32041== Releasing lock...
[2025-01-11 22:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:25:18] Production.INFO: count ==1400
[2025-01-11 22:25:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:25:05 - End Time 2025-01-11 22:25:05
[2025-01-11 22:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227298', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227298', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227298', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227298', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:25:18] Production.INFO: ProcessCDR(1,14227298,1,1,2)
[2025-01-11 22:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227298', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227298', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:25:21] Production.INFO: ==32049== Releasing lock...
[2025-01-11 22:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:25:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 03:26:02] Production.INFO: ==32131== Lock acquired, processing the job...
[2025-01-12 03:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:26:02] Production.INFO: neon service started
[2025-01-12 03:26:02] Production.INFO: neon service started
[2025-01-12 03:26:02] Production.INFO: ==32131== Releasing lock...
[2025-01-12 03:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:26:02] Production.INFO: ==32133== Lock acquired, processing the job...
[2025-01-11 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:26:02] Production.INFO: ==32133== Releasing lock...
[2025-01-11 22:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:26:03] Production.INFO: ==32135== Lock acquired, processing the job...
[2025-01-12 03:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:26:03] Production.INFO: ==32135== Releasing lock...
[2025-01-12 03:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:26:03] Production.INFO: ==32150== Lock acquired, processing the job...
[2025-01-11 22:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:26:04] Production.INFO: ==32146== Lock acquired, processing the job...
[2025-01-11 22:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:26:04] Production.INFO: ==32140== Lock acquired, processing the job...
[2025-01-11 22:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:26:04] Production.INFO: Account Balance Start.
[2025-01-11 22:26:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:26:04] Production.INFO: 117
[2025-01-11 22:26:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:26:04] Production.INFO: ==32142== Lock acquired, processing the job...
[2025-01-11 22:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:26:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:26:04] Production.INFO: count ==21
[2025-01-11 22:26:04] Production.INFO: ==32144== Lock acquired, processing the job...
[2025-01-11 22:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:26:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:26:04] Production.INFO: count ==21
[2025-01-11 22:26:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:26:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227299') start
[2025-01-11 22:26:04] Production.INFO: ==32148== Lock acquired, processing the job...
[2025-01-11 22:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:26:04] Production.INFO: Total Charge 0
[2025-01-11 22:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:26:04] Production.INFO: CreateAllLog End
[2025-01-11 22:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227299') end
[2025-01-11 22:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:26:04] Production.INFO: 1
[2025-01-11 22:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:26:04] Production.INFO: ==32142== Releasing lock...
[2025-01-11 22:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:26:04] Production.INFO: ==32150== Releasing lock...
[2025-01-11 22:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:26:04] Production.ERROR: done
[2025-01-11 22:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:26:04] Production.ERROR: done
[2025-01-11 22:26:04] Production.INFO: Account Balance End.
[2025-01-11 22:26:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:26:05] Production.INFO: ==32146== Releasing lock...
[2025-01-11 22:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:26:05
[end_date_ymd] => 2025-01-11 22:26:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:26:05' and `end` < '2025-01-11 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-01-11 22:26:13] Production.ERROR: CronJobId end10
[2025-01-11 22:26:13] Production.INFO: ==32144== Releasing lock...
[2025-01-11 22:26:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:26:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:26:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:26:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:26:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:26:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:26:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:26:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:26:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:26:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:26:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:26:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:26:14] Production.INFO: call_cost start
[2025-01-11 22:26:14] Production.INFO: call_cost end
[2025-01-11 22:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:26:15] Production.INFO: ==32140== Releasing lock...
[2025-01-11 22:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:26:19] Production.INFO: count ==1400
[2025-01-11 22:26:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:26:05 - End Time 2025-01-11 22:26:05
[2025-01-11 22:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227303', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227303', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227303', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227303', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:26:19] Production.INFO: ProcessCDR(1,14227303,1,1,2)
[2025-01-11 22:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227303', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227303', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:26:22] Production.INFO: ==32148== Releasing lock...
[2025-01-11 22:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:26:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 03:27:01] Production.INFO: ==32233== Lock acquired, processing the job...
[2025-01-12 03:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:27:01] Production.INFO: neon service started
[2025-01-12 03:27:01] Production.INFO: neon service started
[2025-01-12 03:27:01] Production.INFO: ==32233== Releasing lock...
[2025-01-12 03:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:27:02] Production.INFO: ==32236== Lock acquired, processing the job...
[2025-01-11 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:27:02] Production.INFO: ==32238== Lock acquired, processing the job...
[2025-01-12 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:27:02] Production.INFO: ==32238== Releasing lock...
[2025-01-12 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:27:02] Production.INFO: ==32236== Releasing lock...
[2025-01-11 22:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:27:03] Production.INFO: ==32244== Lock acquired, processing the job...
[2025-01-11 22:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:27:03] Production.INFO: ==32246== Lock acquired, processing the job...
[2025-01-11 22:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:27:03] Production.INFO: ==32248== Lock acquired, processing the job...
[2025-01-11 22:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:27:03] Production.INFO: Account Balance Start.
[2025-01-11 22:27:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:27:03] Production.INFO: 117
[2025-01-11 22:27:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:27:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:27:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:27:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:27:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:27:03] Production.INFO: ==32242== Lock acquired, processing the job...
[2025-01-11 22:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:27:03] Production.INFO: Total Charge 0
[2025-01-11 22:27:03] Production.INFO: ==32240== Lock acquired, processing the job...
[2025-01-11 22:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:27:03] Production.INFO: CreateAllLog End
[2025-01-11 22:27:03] Production.INFO: ==32250== Lock acquired, processing the job...
[2025-01-11 22:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:27:04] Production.ERROR: done
[2025-01-11 22:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22: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-01-11 22:27:04] Production.INFO: count ==21
[2025-01-11 22:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:27:04] Production.ERROR: done
[2025-01-11 22: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-01-11 22:27:04] Production.INFO: count ==21
[2025-01-11 22:27:04] Production.INFO: Account Balance End.
[2025-01-11 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227306') start
[2025-01-11 22:27:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:27:04] Production.INFO: ==32246== Releasing lock...
[2025-01-11 22:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:27:04] Production.INFO: ==32242== Releasing lock...
[2025-01-11 22:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227306') end
[2025-01-11 22:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:27:04] Production.INFO: 1
[2025-01-11 22:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:27:04] Production.INFO: ==32250== Releasing lock...
[2025-01-11 22:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:27:05
[end_date_ymd] => 2025-01-11 22:27:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:27:05' and `end` < '2025-01-11 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-01-11 22:27:11] Production.ERROR: CronJobId end10
[2025-01-11 22:27:11] Production.INFO: ==32244== Releasing lock...
[2025-01-11 22:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:27:14] Production.INFO: call_cost start
[2025-01-11 22:27:14] Production.INFO: call_cost end
[2025-01-11 22:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:27:15] Production.INFO: ==32240== Releasing lock...
[2025-01-11 22:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:27:18] Production.INFO: count ==1400
[2025-01-11 22:27:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:27:05 - End Time 2025-01-11 22:27:05
[2025-01-11 22:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227308', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227308', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227308', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227308', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:27:18] Production.INFO: ProcessCDR(1,14227308,1,1,2)
[2025-01-11 22:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227308', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227308', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:27:21] Production.INFO: ==32248== Releasing lock...
[2025-01-11 22:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:27:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 03:28:01] Production.INFO: ==32338== Lock acquired, processing the job...
[2025-01-12 03:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:28:01] Production.INFO: neon service started
[2025-01-12 03:28:01] Production.INFO: neon service started
[2025-01-12 03:28:01] Production.INFO: ==32338== Releasing lock...
[2025-01-12 03:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:28:01] Production.INFO: ==32340== Lock acquired, processing the job...
[2025-01-11 22:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:28:02] Production.INFO: ==32340== Releasing lock...
[2025-01-11 22:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:28:02] Production.INFO: ==32342== Lock acquired, processing the job...
[2025-01-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:28:02] Production.INFO: ==32342== Releasing lock...
[2025-01-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:28:03] Production.INFO: ==32346== Lock acquired, processing the job...
[2025-01-11 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:28:03] Production.INFO: ==32344== Lock acquired, processing the job...
[2025-01-11 22:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:28:03] Production.INFO: ==32348== Lock acquired, processing the job...
[2025-01-11 22:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:28:03] Production.INFO: ==32350== Lock acquired, processing the job...
[2025-01-11 22:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:28:03] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-01-11 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:28:03] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-01-11 22:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:28:03] Production.INFO: Account Balance Start.
[2025-01-11 22:28:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:28:03] Production.INFO: 117
[2025-01-11 22:28:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22: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-01-11 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:28:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:28:03] Production.INFO: count ==21
[2025-01-11 22:28:03] Production.INFO: Date 2025-01-10
[2025-01-11 22: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-01-11 22:28:03] Production.INFO: count ==21
[2025-01-11 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:28:03] Production.INFO: ==32346== Releasing lock...
[2025-01-11 22:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227312') start
[2025-01-11 22:28:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:28:03] Production.INFO: Total Charge 0
[2025-01-11 22:28:03] Production.INFO: CreateAllLog End
[2025-01-11 22:28:03] Production.ERROR: done
[2025-01-11 22:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227312') end
[2025-01-11 22:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:28:03] Production.INFO: 1
[2025-01-11 22:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:28:03] Production.INFO: ==32354== Releasing lock...
[2025-01-11 22:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:28:04] Production.ERROR: done
[2025-01-11 22:28:04] Production.INFO: Account Balance End.
[2025-01-11 22:28:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:28:04] Production.INFO: ==32350== Releasing lock...
[2025-01-11 22:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:28:04
[end_date_ymd] => 2025-01-11 22:28:04
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:28:04' and `end` < '2025-01-11 22: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-01-11 22:28:10] Production.ERROR: CronJobId end10
[2025-01-11 22:28:10] Production.INFO: ==32348== Releasing lock...
[2025-01-11 22:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:28:13] Production.INFO: call_cost start
[2025-01-11 22:28:13] Production.INFO: call_cost end
[2025-01-11 22:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:28:14] Production.INFO: ==32344== Releasing lock...
[2025-01-11 22:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:28:18] Production.INFO: count ==1397
[2025-01-11 22:28:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:28:04 - End Time 2025-01-11 22:28:04
[2025-01-11 22:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227313', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227313', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227313', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227313', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:28:18] Production.INFO: ProcessCDR(1,14227313,1,1,2)
[2025-01-11 22:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227313', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227313', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:28:21] Production.INFO: ==32352== Releasing lock...
[2025-01-11 22:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:28:21] Production.INFO: 38 MB #Memory Used#
[2025-01-12 03:29:01] Production.INFO: ==32439== Lock acquired, processing the job...
[2025-01-12 03:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:29:01] Production.INFO: neon service started
[2025-01-12 03:29:01] Production.INFO: neon service started
[2025-01-12 03:29:01] Production.INFO: ==32439== Releasing lock...
[2025-01-12 03:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:29:02] Production.INFO: ==32441== Lock acquired, processing the job...
[2025-01-11 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:29:02] Production.INFO: ==32441== Releasing lock...
[2025-01-11 22:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:29:02] Production.INFO: ==32443== Lock acquired, processing the job...
[2025-01-12 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:29:02] Production.INFO: ==32443== Releasing lock...
[2025-01-12 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:29:03] Production.INFO: ==32445== Lock acquired, processing the job...
[2025-01-11 22:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:29:03] Production.INFO: ==32455== Lock acquired, processing the job...
[2025-01-11 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:29:03] Production.INFO: ==32453== Lock acquired, processing the job...
[2025-01-11 22:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:29:03] Production.INFO: ==32447== Lock acquired, processing the job...
[2025-01-11 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:29:03] Production.INFO: ==32449== Lock acquired, processing the job...
[2025-01-11 22:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:29:03] Production.INFO: ==32451== Lock acquired, processing the job...
[2025-01-11 22:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22: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-01-11 22:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:29:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:29:03] Production.INFO: count ==21
[2025-01-11 22:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227314') start
[2025-01-11 22:29:03] Production.INFO: Account Balance Start.
[2025-01-11 22:29:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:29:03] Production.INFO: 117
[2025-01-11 22:29:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:29:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227314') end
[2025-01-11 22:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:29:03] Production.INFO: 1
[2025-01-11 22:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:29:03] Production.INFO: ==32447== Releasing lock...
[2025-01-11 22:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:29:03] Production.INFO: ==32455== Releasing lock...
[2025-01-11 22:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:29:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:29:04] Production.ERROR: done
[2025-01-11 22:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:29:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:29:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:29:04] Production.INFO: Total Charge 0
[2025-01-11 22:29:04] Production.INFO: CreateAllLog End
[2025-01-11 22:29:04] Production.ERROR: done
[2025-01-11 22:29:04] Production.INFO: Account Balance End.
[2025-01-11 22:29:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:29:04] Production.INFO: ==32451== Releasing lock...
[2025-01-11 22:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:29:05
[end_date_ymd] => 2025-01-11 22:29:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:29:05' and `end` < '2025-01-11 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-01-11 22:29:12] Production.ERROR: CronJobId end10
[2025-01-11 22:29:12] Production.INFO: ==32449== Releasing lock...
[2025-01-11 22:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:29:14] Production.INFO: call_cost start
[2025-01-11 22:29:14] Production.INFO: call_cost end
[2025-01-11 22:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:29:14] Production.INFO: ==32445== Releasing lock...
[2025-01-11 22:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:29:19] Production.INFO: count ==1397
[2025-01-11 22:29:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:29:05 - End Time 2025-01-11 22:29:05
[2025-01-11 22:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227318', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227318', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227318', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227318', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:29:19] Production.INFO: ProcessCDR(1,14227318,1,1,2)
[2025-01-11 22:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227318', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227318', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:29:22] Production.INFO: ==32453== Releasing lock...
[2025-01-11 22:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:29:22] Production.INFO: 38 MB #Memory Used#
[2025-01-12 03:30:02] Production.INFO: ==32538== Lock acquired, processing the job...
[2025-01-12 03:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:30:02] Production.INFO: neon service started
[2025-01-12 03:30:02] Production.INFO: neon service started
[2025-01-12 03:30:02] Production.INFO: ==32538== Releasing lock...
[2025-01-12 03:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:30:02] Production.INFO: ==32542== Lock acquired, processing the job...
[2025-01-11 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:30:02] Production.INFO: ==32542== Releasing lock...
[2025-01-11 22:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:30:03] Production.INFO: ==32544== Lock acquired, processing the job...
[2025-01-12 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:30:03] Production.INFO: ==32544== Releasing lock...
[2025-01-12 03:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:30:04] Production.INFO: ==32546== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 22:30:04] Production.INFO: ==32556== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:30:04] Production.INFO: ==32548== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 22:30:04] Production.INFO: ==32550== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 22:30:04] Production.INFO: ==32546== Releasing lock...
[2025-01-11 22:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 22:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:30:04] Production.INFO: ==32552== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:30:04] Production.INFO: ==32560== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:30:04] Production.INFO: ==32554== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:30:04] Production.INFO: ==32558== Lock acquired, processing the job...
[2025-01-11 22:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 22:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 22:30:04] Production.INFO: count ==21
[2025-01-11 22:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 22:30:04] Production.INFO: count ==21
[2025-01-11 22:30:04] Production.INFO: Account Balance Start.
[2025-01-11 22:30:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:30:04] Production.INFO: 117
[2025-01-11 22:30:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227321') start
[2025-01-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:30:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227321') end
[2025-01-11 22:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:30:04] Production.INFO: 1
[2025-01-11 22:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:30:04] Production.ERROR: done
[2025-01-11 22:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:30:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:30:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:30:04] Production.INFO: ==32560== Releasing lock...
[2025-01-11 22:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:30:04] Production.INFO: ==32550== Releasing lock...
[2025-01-11 22:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:30:04] Production.INFO: Total Charge 0
[2025-01-11 22:30:04] Production.ERROR: done
[2025-01-11 22:30:04] Production.ERROR: done
[2025-01-11 22:30:04] Production.INFO: CreateAllLog End
[2025-01-11 22:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 22:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227323', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 22:30:05] Production.INFO: Account Balance End.
[2025-01-11 22:30:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:30:05] Production.INFO: ==32554== Releasing lock...
[2025-01-11 22:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:30:06
[end_date_ymd] => 2025-01-11 22:30:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:30:06' and `end` < '2025-01-11 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-01-11 22:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227323', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 22:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 22:30:08] Production.INFO: ProcessCDR(1,14227323,1,1,2)
[2025-01-11 22:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:30:09] Production.INFO: ==32558== Releasing lock...
[2025-01-11 22:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 22:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 22:30:14] Production.ERROR: CronJobId end10
[2025-01-11 22:30:14] Production.INFO: ==32552== Releasing lock...
[2025-01-11 22:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:30:15] Production.INFO: call_cost start
[2025-01-11 22:30:15] Production.INFO: call_cost end
[2025-01-11 22:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:30:16] Production.INFO: ==32548== Releasing lock...
[2025-01-11 22:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:30:19] Production.INFO: count ==1393
[2025-01-11 22:30:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:30:06 - End Time 2025-01-11 22:30:06
[2025-01-11 22:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227324', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227324', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227324', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227324', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:30:19] Production.INFO: ProcessCDR(1,14227324,1,1,2)
[2025-01-11 22:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227324', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227324', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:30:23] Production.INFO: ==32556== Releasing lock...
[2025-01-11 22:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:30:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 03:31:01] Production.INFO: ==32643== Lock acquired, processing the job...
[2025-01-12 03:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:31:01] Production.INFO: neon service started
[2025-01-12 03:31:01] Production.INFO: neon service started
[2025-01-12 03:31:01] Production.INFO: ==32643== Releasing lock...
[2025-01-12 03:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:31:02] Production.INFO: ==32648== Lock acquired, processing the job...
[2025-01-12 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:31:02] Production.INFO: ==32648== Releasing lock...
[2025-01-12 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:31:02] Production.INFO: ==32646== Lock acquired, processing the job...
[2025-01-11 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:31:02] Production.INFO: ==32646== Releasing lock...
[2025-01-11 22:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:31:03] Production.INFO: ==32656== Lock acquired, processing the job...
[2025-01-11 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:31:03] Production.INFO: Account Balance Start.
[2025-01-11 22:31:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:31:03] Production.INFO: 117
[2025-01-11 22:31:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:31:03] Production.INFO: ==32660== Lock acquired, processing the job...
[2025-01-11 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:31:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:31:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:31:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 22:31:03] Production.INFO: Total Charge 0
[2025-01-11 22:31:03] Production.INFO: count ==21
[2025-01-11 22:31:03] Production.INFO: CreateAllLog End
[2025-01-11 22: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-01-11 22:31:03] Production.INFO: count ==21
[2025-01-11 22:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227326') start
[2025-01-11 22:31:03] Production.INFO: ==32652== Lock acquired, processing the job...
[2025-01-11 22:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:31:03] Production.INFO: ==32650== Lock acquired, processing the job...
[2025-01-11 22:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227326') end
[2025-01-11 22:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:31:03] Production.INFO: 1
[2025-01-11 22:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:31:03] Production.INFO: ==32654== Lock acquired, processing the job...
[2025-01-11 22:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:31:03] Production.INFO: Account Balance End.
[2025-01-11 22:31:03] Production.INFO: ==32660== Releasing lock...
[2025-01-11 22:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:31:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:31:03] Production.INFO: ==32656== Releasing lock...
[2025-01-11 22:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:31:03] Production.INFO: ==32658== Lock acquired, processing the job...
[2025-01-11 22:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:31:04] Production.INFO: ==32652== Releasing lock...
[2025-01-11 22:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:31:04] Production.ERROR: done
[2025-01-11 22:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:31:04] Production.ERROR: done
[2025-01-11 22:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:31:04
[end_date_ymd] => 2025-01-11 22:31:04
[RateCDR] => 1
)
[2025-01-11 22:31: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-01-11 19:31:04' and `end` < '2025-01-11 22:31: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-01-11 22:31:12] Production.ERROR: CronJobId end10
[2025-01-11 22:31:12] Production.INFO: ==32654== Releasing lock...
[2025-01-11 22:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:31:13] Production.INFO: call_cost start
[2025-01-11 22:31:13] Production.INFO: call_cost end
[2025-01-11 22:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:31:14] Production.INFO: ==32650== Releasing lock...
[2025-01-11 22:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:31:18] Production.INFO: count ==1351
[2025-01-11 22:31:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:31:04 - End Time 2025-01-11 22:31:04
[2025-01-11 22:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227329', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227329', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227329', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227329', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:31:19] Production.INFO: ProcessCDR(1,14227329,1,1,2)
[2025-01-11 22:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227329', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227329', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:31:22] Production.INFO: ==32658== Releasing lock...
[2025-01-11 22:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:31:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 03:32:02] Production.INFO: ==32744== Lock acquired, processing the job...
[2025-01-12 03:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:32:02] Production.INFO: neon service started
[2025-01-12 03:32:02] Production.INFO: neon service started
[2025-01-12 03:32:02] Production.INFO: ==32744== Releasing lock...
[2025-01-12 03:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:32:02] Production.INFO: ==32746== Lock acquired, processing the job...
[2025-01-11 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:32:02] Production.INFO: ==32746== Releasing lock...
[2025-01-11 22:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:32:03] Production.INFO: ==32748== Lock acquired, processing the job...
[2025-01-12 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:32:03] Production.INFO: ==32748== Releasing lock...
[2025-01-12 03:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:32:03] Production.INFO: ==32750== Lock acquired, processing the job...
[2025-01-11 22:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:32:03] Production.INFO: ==32756== Lock acquired, processing the job...
[2025-01-11 22:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:32:04] Production.INFO: ==32754== Lock acquired, processing the job...
[2025-01-11 22:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:32:04] Production.INFO: ==32760== Lock acquired, processing the job...
[2025-01-11 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:32:04] Production.INFO: Account Balance Start.
[2025-01-11 22:32:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:32:04] Production.INFO: ==32752== Lock acquired, processing the job...
[2025-01-11 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:32:04] Production.INFO: 117
[2025-01-11 22:32:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:32:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:32:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:32:04] Production.INFO: ==32758== Lock acquired, processing the job...
[2025-01-11 22:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:32:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 22:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:32:04] Production.INFO: Total Charge 0
[2025-01-11 22:32:04] Production.INFO: CreateAllLog End
[2025-01-11 22:32:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:32:04] Production.INFO: count ==21
[2025-01-11 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227333') start
[2025-01-11 22:32:04] Production.INFO: ==32752== Releasing lock...
[2025-01-11 22:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:32:04] Production.INFO: Account Balance End.
[2025-01-11 22:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227333') end
[2025-01-11 22:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:32:04] Production.INFO: 1
[2025-01-11 22:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:32:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:32:04] Production.INFO: ==32756== Releasing lock...
[2025-01-11 22:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:32:04] Production.ERROR: done
[2025-01-11 22:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:32:04] Production.INFO: ==32760== Releasing lock...
[2025-01-11 22:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:32:04] Production.ERROR: done
[2025-01-11 22:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:32:05
[end_date_ymd] => 2025-01-11 22:32:05
[RateCDR] => 1
)
[2025-01-11 22:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 19:32:05' and `end` < '2025-01-11 22:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 22:32:12] Production.ERROR: CronJobId end10
[2025-01-11 22:32:12] Production.INFO: ==32754== Releasing lock...
[2025-01-11 22:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:32:13] Production.INFO: call_cost start
[2025-01-11 22:32:13] Production.INFO: call_cost end
[2025-01-11 22:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:32:14] Production.INFO: ==32750== Releasing lock...
[2025-01-11 22:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:32:19] Production.INFO: count ==1337
[2025-01-11 22:32:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:32:05 - End Time 2025-01-11 22:32:05
[2025-01-11 22:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227334', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227334', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227334', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227334', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:32:19] Production.INFO: ProcessCDR(1,14227334,1,1,2)
[2025-01-11 22:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227334', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227334', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:32:22] Production.INFO: ==32758== Releasing lock...
[2025-01-11 22:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:32:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 03:33:02] Production.INFO: ==395== Lock acquired, processing the job...
[2025-01-12 03:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:33:02] Production.INFO: neon service started
[2025-01-12 03:33:02] Production.INFO: neon service started
[2025-01-12 03:33:02] Production.INFO: ==395== Releasing lock...
[2025-01-12 03:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:33:02] Production.INFO: ==399== Lock acquired, processing the job...
[2025-01-11 22:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:33:02] Production.INFO: ==401== Lock acquired, processing the job...
[2025-01-12 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:33:02] Production.INFO: ==401== Releasing lock...
[2025-01-12 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:33:03] Production.INFO: ==399== Releasing lock...
[2025-01-11 22:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:33:04] Production.INFO: ==412== Lock acquired, processing the job...
[2025-01-11 22:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:33:04] Production.INFO: ==414== Lock acquired, processing the job...
[2025-01-11 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:33:04] Production.INFO: ==404== Lock acquired, processing the job...
[2025-01-11 22:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:33:04] Production.INFO: ==406== Lock acquired, processing the job...
[2025-01-11 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:33:04] Production.INFO: ==408== Lock acquired, processing the job...
[2025-01-11 22:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:33:04] Production.INFO: ==410== Lock acquired, processing the job...
[2025-01-11 22:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:33:04] Production.INFO: count ==21
[2025-01-11 22:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:33:04] Production.INFO: count ==21
[2025-01-11 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227335') start
[2025-01-11 22:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:33:04] Production.INFO: Account Balance Start.
[2025-01-11 22:33:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:33:04] Production.INFO: 117
[2025-01-11 22:33:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227335') end
[2025-01-11 22:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:33:04] Production.INFO: 1
[2025-01-11 22:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:33:04] Production.INFO: ==414== Releasing lock...
[2025-01-11 22:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:33:04] Production.ERROR: done
[2025-01-11 22:33:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:33:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:33:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:33:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:33:04] Production.INFO: ==406== Releasing lock...
[2025-01-11 22:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:33:04] Production.ERROR: done
[2025-01-11 22:33:04] Production.INFO: Total Charge 0
[2025-01-11 22:33:05] Production.INFO: CreateAllLog End
[2025-01-11 22:33:05] Production.INFO: Account Balance End.
[2025-01-11 22:33:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:33:05] Production.INFO: ==410== Releasing lock...
[2025-01-11 22:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:33:06
[end_date_ymd] => 2025-01-11 22:33:06
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:33:06' and `end` < '2025-01-11 22: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-01-11 22:33:12] Production.ERROR: CronJobId end10
[2025-01-11 22:33:12] Production.INFO: ==408== Releasing lock...
[2025-01-11 22:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:33:14] Production.INFO: call_cost start
[2025-01-11 22:33:14] Production.INFO: call_cost end
[2025-01-11 22:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:33:15] Production.INFO: ==404== Releasing lock...
[2025-01-11 22:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:33:19] Production.INFO: count ==1324
[2025-01-11 22:33:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:33:06 - End Time 2025-01-11 22:33:06
[2025-01-11 22:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227339', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227339', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227339', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227339', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:33:19] Production.INFO: ProcessCDR(1,14227339,1,1,2)
[2025-01-11 22:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227339', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227339', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:33:22] Production.INFO: ==412== Releasing lock...
[2025-01-11 22:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:33:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 03:34:01] Production.INFO: ==495== Lock acquired, processing the job...
[2025-01-12 03:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:34:01] Production.INFO: neon service started
[2025-01-12 03:34:01] Production.INFO: neon service started
[2025-01-12 03:34:01] Production.INFO: ==495== Releasing lock...
[2025-01-12 03:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:34:01] Production.INFO: ==497== Lock acquired, processing the job...
[2025-01-11 22:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:34:02] Production.INFO: ==497== Releasing lock...
[2025-01-11 22:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:34:02] Production.INFO: ==499== Lock acquired, processing the job...
[2025-01-12 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:34:02] Production.INFO: ==499== Releasing lock...
[2025-01-12 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:34:03] Production.INFO: ==509== Lock acquired, processing the job...
[2025-01-11 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:34:03] Production.INFO: Account Balance Start.
[2025-01-11 22:34:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:34:03] Production.INFO: 117
[2025-01-11 22:34:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:34:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:34:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:34:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:34:03] Production.INFO: Total Charge 0
[2025-01-11 22:34:03] Production.INFO: CreateAllLog End
[2025-01-11 22:34:03] Production.INFO: Account Balance End.
[2025-01-11 22:34:03] Production.INFO: ==503== Lock acquired, processing the job...
[2025-01-11 22:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:34:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:34:03] Production.INFO: ==509== Releasing lock...
[2025-01-11 22:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:34:03] Production.INFO: ==505== Lock acquired, processing the job...
[2025-01-11 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:34:03] Production.INFO: ==507== Lock acquired, processing the job...
[2025-01-11 22:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:34:03] Production.INFO: ==511== Lock acquired, processing the job...
[2025-01-11 22:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:34:03] Production.INFO: ==513== Lock acquired, processing the job...
[2025-01-11 22:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:34:03] Production.INFO: ==505== Releasing lock...
[2025-01-11 22:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:34:03] Production.INFO: count ==21
[2025-01-11 22:34:03] Production.ERROR: done
[2025-01-11 22:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:34:04] Production.INFO: count ==21
[2025-01-11 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227343') start
[2025-01-11 22:34:04] Production.ERROR: done
[2025-01-11 22:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227343') end
[2025-01-11 22:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:34:04] Production.INFO: 1
[2025-01-11 22:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:34:04] Production.INFO: ==513== Releasing lock...
[2025-01-11 22:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:34:05
[end_date_ymd] => 2025-01-11 22:34:05
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:34:05' and `end` < '2025-01-11 22: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-01-11 22:34:12] Production.ERROR: CronJobId end10
[2025-01-11 22:34:12] Production.INFO: ==507== Releasing lock...
[2025-01-11 22:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:34:13] Production.INFO: call_cost start
[2025-01-11 22:34:13] Production.INFO: call_cost end
[2025-01-11 22:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:34:14] Production.INFO: ==503== Releasing lock...
[2025-01-11 22:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:34:18] Production.INFO: count ==1315
[2025-01-11 22:34:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:34:05 - End Time 2025-01-11 22:34:05
[2025-01-11 22:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227344', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227344', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227344', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227344', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:34:18] Production.INFO: ProcessCDR(1,14227344,1,1,2)
[2025-01-11 22:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227344', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227344', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:34:23] Production.INFO: ==511== Releasing lock...
[2025-01-11 22:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:34:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 03:35:02] Production.INFO: ==601== Lock acquired, processing the job...
[2025-01-12 03:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:35:02] Production.INFO: neon service started
[2025-01-12 03:35:02] Production.INFO: neon service started
[2025-01-12 03:35:02] Production.INFO: ==601== Releasing lock...
[2025-01-12 03:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:35:02] Production.INFO: ==603== Lock acquired, processing the job...
[2025-01-11 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:35:02] Production.INFO: ==603== Releasing lock...
[2025-01-11 22:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:35:02] Production.INFO: ==606== Lock acquired, processing the job...
[2025-01-12 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:35:02] Production.INFO: ==606== Releasing lock...
[2025-01-12 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:35:03] Production.INFO: ==609== Lock acquired, processing the job...
[2025-01-11 22:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:35:03] Production.INFO: ==611== Lock acquired, processing the job...
[2025-01-11 22:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:35:03] Production.INFO: ==620== Lock acquired, processing the job...
[2025-01-11 22:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:35:03] Production.INFO: ==615== Lock acquired, processing the job...
[2025-01-11 22:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:35:03] Production.INFO: ==618== Lock acquired, processing the job...
[2025-01-11 22:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:35:03] Production.INFO: ==622== Lock acquired, processing the job...
[2025-01-11 22:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:35:03] Production.INFO: Account Balance Start.
[2025-01-11 22:35:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:35:03] Production.INFO: 117
[2025-01-11 22:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22: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-01-11 22:35:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:35:03] Production.INFO: count ==21
[2025-01-11 22:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 22: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-01-11 22:35:03] Production.INFO: count ==21
[2025-01-11 22:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227347') start
[2025-01-11 22:35:04] Production.INFO: ==611== Releasing lock...
[2025-01-11 22:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:35:04] Production.ERROR: done
[2025-01-11 22:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227347') end
[2025-01-11 22:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:35:04] Production.INFO: 1
[2025-01-11 22:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:35:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:35:04] Production.ERROR: done
[2025-01-11 22:35:04] Production.INFO: ==622== Releasing lock...
[2025-01-11 22:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:35:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:35:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:35:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:35:04] Production.INFO: Total Charge 0
[2025-01-11 22:35:04] Production.INFO: CreateAllLog End
[2025-01-11 22:35:04] Production.INFO: Account Balance End.
[2025-01-11 22:35:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:35:04] Production.INFO: ==618== Releasing lock...
[2025-01-11 22:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:35:05
[end_date_ymd] => 2025-01-11 22:35:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:35:05' and `end` < '2025-01-11 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-01-11 22:35:12] Production.ERROR: CronJobId end10
[2025-01-11 22:35:12] Production.INFO: ==615== Releasing lock...
[2025-01-11 22:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:35:13] Production.INFO: call_cost start
[2025-01-11 22:35:13] Production.INFO: call_cost end
[2025-01-11 22:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:35:14] Production.INFO: ==609== Releasing lock...
[2025-01-11 22:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:35:18] Production.INFO: count ==1311
[2025-01-11 22:35:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:35:05 - End Time 2025-01-11 22:35:05
[2025-01-11 22:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227349', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227349', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227349', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227349', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:35:18] Production.INFO: ProcessCDR(1,14227349,1,1,2)
[2025-01-11 22:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227349', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227349', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:35:21] Production.INFO: ==620== Releasing lock...
[2025-01-11 22:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:35:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 03:36:01] Production.INFO: ==729== Lock acquired, processing the job...
[2025-01-12 03:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:36:01] Production.INFO: neon service started
[2025-01-12 03:36:01] Production.INFO: neon service started
[2025-01-12 03:36:01] Production.INFO: ==729== Releasing lock...
[2025-01-12 03:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:36:01] Production.INFO: ==733== Lock acquired, processing the job...
[2025-01-12 03:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:36:01] Production.INFO: ==733== Releasing lock...
[2025-01-12 03:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:36:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:36:01] Production.INFO: ==731== Lock acquired, processing the job...
[2025-01-11 22:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:36:02] Production.INFO: ==731== Releasing lock...
[2025-01-11 22:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:36:03] Production.INFO: ==737== Lock acquired, processing the job...
[2025-01-11 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:36:03] Production.INFO: ==739== Lock acquired, processing the job...
[2025-01-11 22:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:36:03] Production.INFO: ==748== Lock acquired, processing the job...
[2025-01-11 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:36:03] Production.INFO: ==735== Lock acquired, processing the job...
[2025-01-11 22:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:36:03] Production.INFO: ==741== Lock acquired, processing the job...
[2025-01-11 22:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:36:03] Production.INFO: ==743== Lock acquired, processing the job...
[2025-01-11 22:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:36:03] Production.INFO: ==737== Releasing lock...
[2025-01-11 22:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:36:03] Production.INFO: count ==21
[2025-01-11 22:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:36:03] Production.INFO: count ==21
[2025-01-11 22:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227352') start
[2025-01-11 22:36:03] Production.INFO: Account Balance Start.
[2025-01-11 22:36:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:36:03] Production.INFO: 117
[2025-01-11 22:36:03] Production.ERROR: done
[2025-01-11 22:36:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227352') end
[2025-01-11 22:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:36:03] Production.INFO: 1
[2025-01-11 22:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:36:03] Production.INFO: ==748== Releasing lock...
[2025-01-11 22:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:36:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:36:03] Production.ERROR: done
[2025-01-11 22:36:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:36:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:36:03] Production.INFO: Total Charge 0
[2025-01-11 22:36:03] Production.INFO: CreateAllLog End
[2025-01-11 22:36:04] Production.INFO: Account Balance End.
[2025-01-11 22:36:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:36:04] Production.INFO: ==741== Releasing lock...
[2025-01-11 22:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:36:04
[end_date_ymd] => 2025-01-11 22:36:04
[RateCDR] => 1
)
[2025-01-11 22:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 19:36:04' and `end` < '2025-01-11 22:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 22:36:11] Production.ERROR: CronJobId end10
[2025-01-11 22:36:11] Production.INFO: ==739== Releasing lock...
[2025-01-11 22:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:36:13] Production.INFO: call_cost start
[2025-01-11 22:36:13] Production.INFO: call_cost end
[2025-01-11 22:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:36:14] Production.INFO: ==735== Releasing lock...
[2025-01-11 22:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:36:18] Production.INFO: count ==1311
[2025-01-11 22:36:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:36:04 - End Time 2025-01-11 22:36:04
[2025-01-11 22:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227354', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227354', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227354', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227354', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:36:18] Production.INFO: ProcessCDR(1,14227354,1,1,2)
[2025-01-11 22:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227354', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227354', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:36:21] Production.INFO: ==743== Releasing lock...
[2025-01-11 22:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:36:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 03:37:01] Production.INFO: ==835== Lock acquired, processing the job...
[2025-01-12 03:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:37:01] Production.INFO: neon service started
[2025-01-12 03:37:01] Production.INFO: neon service started
[2025-01-12 03:37:01] Production.INFO: ==835== Releasing lock...
[2025-01-12 03:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:37:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:37:02] Production.INFO: ==839== Lock acquired, processing the job...
[2025-01-12 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:37:02] Production.INFO: ==839== Releasing lock...
[2025-01-12 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:37:02] Production.INFO: ==837== Lock acquired, processing the job...
[2025-01-11 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:37:02] Production.INFO: ==837== Releasing lock...
[2025-01-11 22:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:37:03] Production.INFO: ==846== Lock acquired, processing the job...
[2025-01-11 22:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:37:03] Production.INFO: ==852== Lock acquired, processing the job...
[2025-01-11 22:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 22:37:03] Production.INFO: ==842== Lock acquired, processing the job...
[2025-01-11 22:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:37:03] Production.INFO: ==844== Lock acquired, processing the job...
[2025-01-11 22:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:37:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:37:03] Production.INFO: count ==21
[2025-01-11 22:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227355') start
[2025-01-11 22:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:37:03] Production.INFO: ==848== Lock acquired, processing the job...
[2025-01-11 22:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:37:04] Production.INFO: ==850== Lock acquired, processing the job...
[2025-01-11 22:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227355') end
[2025-01-11 22:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:37:04] Production.INFO: 1
[2025-01-11 22:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:37:04] Production.INFO: ==852== Releasing lock...
[2025-01-11 22:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:37:04] Production.INFO: Account Balance Start.
[2025-01-11 22:37:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:37:04] Production.INFO: 117
[2025-01-11 22:37:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:37:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:37:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:37:04] Production.INFO: ==844== Releasing lock...
[2025-01-11 22:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:37:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:37:04] Production.INFO: Total Charge 0
[2025-01-11 22:37:04] Production.INFO: CreateAllLog End
[2025-01-11 22:37:04] Production.ERROR: done
[2025-01-11 22:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:37:04] Production.ERROR: done
[2025-01-11 22:37:04] Production.INFO: Account Balance End.
[2025-01-11 22:37:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:37:04] Production.INFO: ==848== Releasing lock...
[2025-01-11 22:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:37:05
[end_date_ymd] => 2025-01-11 22:37:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:37:05' and `end` < '2025-01-11 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-01-11 22:37:12] Production.ERROR: CronJobId end10
[2025-01-11 22:37:12] Production.INFO: ==846== Releasing lock...
[2025-01-11 22:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:37:14] Production.INFO: call_cost start
[2025-01-11 22:37:14] Production.INFO: call_cost end
[2025-01-11 22:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:37:15] Production.INFO: ==842== Releasing lock...
[2025-01-11 22:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:37:19] Production.INFO: count ==1308
[2025-01-11 22:37:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:37:05 - End Time 2025-01-11 22:37:05
[2025-01-11 22:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227359', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227359', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227359', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227359', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:37:19] Production.INFO: ProcessCDR(1,14227359,1,1,2)
[2025-01-11 22:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227359', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227359', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:37:22] Production.INFO: ==850== Releasing lock...
[2025-01-11 22:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:37:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 03:38:02] Production.INFO: ==973== Lock acquired, processing the job...
[2025-01-12 03:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:38:02] Production.INFO: neon service started
[2025-01-12 03:38:02] Production.INFO: neon service started
[2025-01-12 03:38:02] Production.INFO: ==973== Releasing lock...
[2025-01-12 03:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:38:02] Production.INFO: ==978== Lock acquired, processing the job...
[2025-01-12 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:38:02] Production.INFO: ==978== Releasing lock...
[2025-01-12 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:38:02] Production.INFO: ==976== Lock acquired, processing the job...
[2025-01-11 22:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:38:03] Production.INFO: ==976== Releasing lock...
[2025-01-11 22:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:38:03] Production.INFO: ==980== Lock acquired, processing the job...
[2025-01-11 22:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:38:03] Production.INFO: ==982== Lock acquired, processing the job...
[2025-01-11 22:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:38:04] Production.INFO: ==990== Lock acquired, processing the job...
[2025-01-11 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 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-01-11 22:38:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:38:04] Production.INFO: count ==21
[2025-01-11 22:38:04] Production.INFO: ==982== Releasing lock...
[2025-01-11 22:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227362') start
[2025-01-11 22:38:04] Production.INFO: ==984== Lock acquired, processing the job...
[2025-01-11 22:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227362') end
[2025-01-11 22:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:38:04] Production.INFO: 1
[2025-01-11 22:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:38:04] Production.INFO: ==990== Releasing lock...
[2025-01-11 22:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:38:04] Production.INFO: ==986== Lock acquired, processing the job...
[2025-01-11 22:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:38:04] Production.INFO: ==988== Lock acquired, processing the job...
[2025-01-11 22:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:38:04] Production.INFO: Account Balance Start.
[2025-01-11 22:38:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:38:04] Production.INFO: 117
[2025-01-11 22:38:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:38:04] Production.ERROR: done
[2025-01-11 22:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:38:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:38:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:38:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:38:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:38:04] Production.ERROR: done
[2025-01-11 22:38:05] Production.INFO: Total Charge 0
[2025-01-11 22:38:05] Production.INFO: CreateAllLog End
[2025-01-11 22:38:05] Production.INFO: Account Balance End.
[2025-01-11 22:38:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:38:05] Production.INFO: ==986== Releasing lock...
[2025-01-11 22:38:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:38:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:38:05
[end_date_ymd] => 2025-01-11 22:38:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:38:05' and `end` < '2025-01-11 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-01-11 22:38:12] Production.ERROR: CronJobId end10
[2025-01-11 22:38:12] Production.INFO: ==984== Releasing lock...
[2025-01-11 22:38:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:38:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:38:15] Production.INFO: call_cost start
[2025-01-11 22:38:15] Production.INFO: call_cost end
[2025-01-11 22:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:38:15] Production.INFO: ==980== Releasing lock...
[2025-01-11 22:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:38:18] Production.INFO: count ==1311
[2025-01-11 22:38:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:38:05 - End Time 2025-01-11 22:38:05
[2025-01-11 22:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227364', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227364', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227364', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227364', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:38:19] Production.INFO: ProcessCDR(1,14227364,1,1,2)
[2025-01-11 22:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227364', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227364', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:38:23] Production.INFO: ==988== Releasing lock...
[2025-01-11 22:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:38:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 03:39:01] Production.INFO: ==1072== Lock acquired, processing the job...
[2025-01-12 03:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:39:01] Production.INFO: neon service started
[2025-01-12 03:39:01] Production.INFO: neon service started
[2025-01-12 03:39:01] Production.INFO: ==1072== Releasing lock...
[2025-01-12 03:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:39:02] Production.INFO: ==1074== Lock acquired, processing the job...
[2025-01-11 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:39:02] Production.INFO: ==1074== Releasing lock...
[2025-01-11 22:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:39:02] Production.INFO: ==1076== Lock acquired, processing the job...
[2025-01-12 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:39:02] Production.INFO: ==1076== Releasing lock...
[2025-01-12 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:39:03] Production.INFO: ==1081== Lock acquired, processing the job...
[2025-01-11 22:39:03] Production.INFO: ==1079== Lock acquired, processing the job...
[2025-01-11 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:39:03] Production.INFO: ==1089== Lock acquired, processing the job...
[2025-01-11 22:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:39:03] Production.INFO: ==1083== Lock acquired, processing the job...
[2025-01-11 22:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 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-01-11 22:39:03] Production.INFO: ==1085== Lock acquired, processing the job...
[2025-01-11 22:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:39:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:39:03] Production.INFO: ==1087== Lock acquired, processing the job...
[2025-01-11 22:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:39:03] Production.INFO: count ==21
[2025-01-11 22:39:03] Production.INFO: Account Balance Start.
[2025-01-11 22:39:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:39:03] Production.INFO: 117
[2025-01-11 22:39:03] Production.INFO: ==1081== Releasing lock...
[2025-01-11 22:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227367') start
[2025-01-11 22:39:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:39:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:39:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227367') end
[2025-01-11 22:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:39:03] Production.INFO: 1
[2025-01-11 22:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:39:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:39:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:39:04] Production.INFO: Total Charge 0
[2025-01-11 22:39:04] Production.INFO: CreateAllLog End
[2025-01-11 22:39:04] Production.INFO: ==1089== Releasing lock...
[2025-01-11 22:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:39:04] Production.ERROR: done
[2025-01-11 22:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:39:04] Production.ERROR: done
[2025-01-11 22:39:04] Production.INFO: Account Balance End.
[2025-01-11 22:39:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:39:04] Production.INFO: ==1085== Releasing lock...
[2025-01-11 22:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:39:05
[end_date_ymd] => 2025-01-11 22:39:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:39:05' and `end` < '2025-01-11 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-01-11 22:39:12] Production.ERROR: CronJobId end10
[2025-01-11 22:39:12] Production.INFO: ==1083== Releasing lock...
[2025-01-11 22:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:39:13] Production.INFO: call_cost start
[2025-01-11 22:39:13] Production.INFO: call_cost end
[2025-01-11 22:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:39:14] Production.INFO: ==1079== Releasing lock...
[2025-01-11 22:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:39:18] Production.INFO: count ==1305
[2025-01-11 22:39:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:39:05 - End Time 2025-01-11 22:39:05
[2025-01-11 22:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227369', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227369', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227369', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227369', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:39:18] Production.INFO: ProcessCDR(1,14227369,1,1,2)
[2025-01-11 22:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227369', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227369', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:39:23] Production.INFO: ==1087== Releasing lock...
[2025-01-11 22:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:39:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 03:40:02] Production.INFO: ==1154== Lock acquired, processing the job...
[2025-01-12 03:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:40:02] Production.INFO: neon service started
[2025-01-12 03:40:02] Production.INFO: neon service started
[2025-01-12 03:40:02] Production.INFO: ==1154== Releasing lock...
[2025-01-12 03:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:40:02] Production.INFO: ==1156== Lock acquired, processing the job...
[2025-01-11 22:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:40:03] Production.INFO: ==1158== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:40:03] Production.INFO: ==1158== Releasing lock...
[2025-01-12 03:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:40:03] Production.INFO: ==1156== Releasing lock...
[2025-01-11 22:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:40:04] Production.INFO: ==1163== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:40:04] Production.INFO: ==1167== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:40:04] Production.INFO: ==1161== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 22:40:04] Production.INFO: ==1170== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 22:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:40:04] Production.ERROR: CronJob PID - 1163
[2025-01-11 22:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 22:40:04] Production.ERROR: CronJob ID - 5
[2025-01-11 22:40:04] Production.ERROR: CronJob Last Run Time 2025-01-11 22:40:00
[2025-01-11 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:40:04] Production.ERROR: CronJob PID - 1167
[2025-01-11 22:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-11 22:40:04] Production.ERROR: CronJob ID - 7
[2025-01-11 22:40:04] Production.ERROR: CronJob Last Run Time 2025-01-11 22:40:00
[2025-01-11 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:40:04] Production.ERROR: CronJob PID - 1170
[2025-01-11 22:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-11 22:40:04] Production.ERROR: CronJob ID - 10
[2025-01-11 22:40:04] Production.ERROR: CronJob Last Run Time 2025-01-11 22:40:00
[2025-01-11 22:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:40:04] Production.INFO: ==1174== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 22:40:04] Production.INFO: ==1161== Releasing lock...
[2025-01-11 22:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 22:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 22:40:04] Production.INFO: ==1176== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:40:04] Production.INFO: Account Balance Start.
[2025-01-11 22:40:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:40:04] Production.INFO: 117
[2025-01-11 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:40:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:40:04] Production.INFO: ==1178== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 22:40:04] Production.INFO: ==1180== Lock acquired, processing the job...
[2025-01-11 22:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:40:04] Production.INFO: ==1167== Releasing lock...
[2025-01-11 22:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:40:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:40:05] Production.ERROR: done
[2025-01-11 22:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:40:05] Production.INFO: Date 2025-01-10
[2025-01-11 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-11 22:40:05] Production.INFO: Date 2025-01-11
[2025-01-11 22:40:05] Production.INFO: Reseller ==> 0
[2025-01-11 22: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-01-11 22:40:05] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:40:05] Production.INFO: Total Charge 0
[2025-01-11 22:40:05] Production.INFO: count ==21
[2025-01-11 22:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227373') start
[2025-01-11 22:40:05] Production.ERROR: done
[2025-01-11 22:40:05] Production.ERROR: done
[2025-01-11 22:40:05] Production.INFO: CreateAllLog End
[2025-01-11 22:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227373') end
[2025-01-11 22:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:40:05] Production.INFO: 1
[2025-01-11 22:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 22:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227375', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 22:40:05] Production.INFO: Account Balance End.
[2025-01-11 22:40:05] Production.INFO: ==1180== Releasing lock...
[2025-01-11 22:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:40:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:40:05] Production.INFO: ==1174== Releasing lock...
[2025-01-11 22:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:40:06
[end_date_ymd] => 2025-01-11 22:40:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:40:06' and `end` < '2025-01-11 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-01-11 22:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227375', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 22:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 22:40:09] Production.INFO: ProcessCDR(1,14227375,1,1,2)
[2025-01-11 22:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227375,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227375,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:40:10] Production.INFO: ==1178== Releasing lock...
[2025-01-11 22:40:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 22:40:10] Production.INFO: 26 MB #Memory Used#
[2025-01-11 22:40:14] Production.ERROR: CronJobId end10
[2025-01-11 22:40:14] Production.INFO: ==1170== Releasing lock...
[2025-01-11 22:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:40:16] Production.INFO: call_cost start
[2025-01-11 22:40:16] Production.INFO: call_cost end
[2025-01-11 22:40:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:40:17] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:40:17] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:40:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:40:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:40:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:40:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:40:17] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:40:17] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:40:17] Production.INFO: ==1163== Releasing lock...
[2025-01-11 22:40:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:40:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:40:19] Production.INFO: count ==1294
[2025-01-11 22:40:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:40:06 - End Time 2025-01-11 22:40:06
[2025-01-11 22:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227374', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227374', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227374', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227374', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:40:20] Production.INFO: ProcessCDR(1,14227374,1,1,2)
[2025-01-11 22:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227374', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227374', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:40:23] Production.INFO: ==1176== Releasing lock...
[2025-01-11 22:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:40:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 03:41:01] Production.INFO: ==1241== Lock acquired, processing the job...
[2025-01-12 03:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:41:01] Production.INFO: neon service started
[2025-01-12 03:41:01] Production.INFO: neon service started
[2025-01-12 03:41:01] Production.INFO: ==1241== Releasing lock...
[2025-01-12 03:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:41:02] Production.INFO: ==1245== Lock acquired, processing the job...
[2025-01-11 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:41:02] Production.INFO: ==1247== Lock acquired, processing the job...
[2025-01-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:41:02] Production.INFO: ==1247== Releasing lock...
[2025-01-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:41:02] Production.INFO: ==1245== Releasing lock...
[2025-01-11 22:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:41:03] Production.INFO: ==1254== Lock acquired, processing the job...
[2025-01-11 22:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:41:03] Production.INFO: ==1256== Lock acquired, processing the job...
[2025-01-11 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:41:03] Production.INFO: ==1264== Lock acquired, processing the job...
[2025-01-11 22:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:41:03] Production.INFO: ==1260== Lock acquired, processing the job...
[2025-01-11 22:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:41:03] Production.INFO: ==1267== Lock acquired, processing the job...
[2025-01-11 22:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:41:03] Production.INFO: ==1256== Releasing lock...
[2025-01-11 22:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:41:03] Production.INFO: ==1262== Lock acquired, processing the job...
[2025-01-11 22:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:41:03] Production.ERROR: done
[2025-01-11 22:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:41:03] Production.INFO: Account Balance Start.
[2025-01-11 22:41:03] Production.INFO: CreateAllLog Start
[2025-01-11 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-01-11 22:41:03] Production.INFO: 117
[2025-01-11 22:41:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:41:04] Production.INFO: count ==21
[2025-01-11 22:41:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:41:04] Production.INFO: count ==21
[2025-01-11 22:41:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:41:04] Production.ERROR: done
[2025-01-11 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227378') start
[2025-01-11 22:41:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:41:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:41:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:41:04] Production.INFO: Total Charge 0
[2025-01-11 22:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227378') end
[2025-01-11 22:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:41:04] Production.INFO: 1
[2025-01-11 22:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:41:04] Production.INFO: CreateAllLog End
[2025-01-11 22:41:04] Production.INFO: ==1267== Releasing lock...
[2025-01-11 22:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:41:04] Production.INFO: Account Balance End.
[2025-01-11 22:41:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:41:04] Production.INFO: ==1262== Releasing lock...
[2025-01-11 22:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:41:05
[end_date_ymd] => 2025-01-11 22:41:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:41:05' and `end` < '2025-01-11 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-01-11 22:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:41:13] Production.ERROR: CronJobId end10
[2025-01-11 22:41:13] Production.INFO: ==1260== Releasing lock...
[2025-01-11 22:41:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:41:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:41:13] Production.INFO: call_cost start
[2025-01-11 22:41:13] Production.INFO: call_cost end
[2025-01-11 22:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:41:14] Production.INFO: ==1254== Releasing lock...
[2025-01-11 22:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:41:19] Production.INFO: count ==1239
[2025-01-11 22:41:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:41:05 - End Time 2025-01-11 22:41:05
[2025-01-11 22:41:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227380', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227380', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227380', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:41:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227380', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:41:19] Production.INFO: ProcessCDR(1,14227380,1,1,2)
[2025-01-11 22:41:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227380', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227380', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:41:22] Production.INFO: ==1264== Releasing lock...
[2025-01-11 22:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:41:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:42:02] Production.INFO: ==1322== Lock acquired, processing the job...
[2025-01-12 03:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:42:02] Production.INFO: neon service started
[2025-01-12 03:42:02] Production.INFO: neon service started
[2025-01-12 03:42:02] Production.INFO: ==1322== Releasing lock...
[2025-01-12 03:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:42:02] Production.INFO: ==1324== Lock acquired, processing the job...
[2025-01-11 22:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:42:02] Production.INFO: ==1326== Lock acquired, processing the job...
[2025-01-12 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:42:03] Production.INFO: ==1326== Releasing lock...
[2025-01-12 03:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:42:03] Production.INFO: ==1324== Releasing lock...
[2025-01-11 22:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:42:04] Production.INFO: ==1331== Lock acquired, processing the job...
[2025-01-11 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:42:04] Production.INFO: ==1333== Lock acquired, processing the job...
[2025-01-11 22:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:42:04] Production.INFO: ==1329== Lock acquired, processing the job...
[2025-01-11 22:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:42:04] Production.INFO: ==1335== Lock acquired, processing the job...
[2025-01-11 22:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:42:04] Production.INFO: ==1339== Lock acquired, processing the job...
[2025-01-11 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:42:04] Production.INFO: ==1331== Releasing lock...
[2025-01-11 22:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:42:04] Production.INFO: ==1337== Lock acquired, processing the job...
[2025-01-11 22:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:42:04] Production.INFO: count ==21
[2025-01-11 22:42:04] Production.INFO: Account Balance Start.
[2025-01-11 22:42:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:42:04] Production.INFO: 117
[2025-01-11 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-01-11 22:42:04] Production.INFO: count ==21
[2025-01-11 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227383') start
[2025-01-11 22:42:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227383') end
[2025-01-11 22:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:42:04] Production.INFO: 1
[2025-01-11 22:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:42:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:42:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:42:04] Production.INFO: ==1339== Releasing lock...
[2025-01-11 22:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:42:04] Production.ERROR: done
[2025-01-11 22:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:42:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:42:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:42:05] Production.ERROR: done
[2025-01-11 22:42:05] Production.INFO: Total Charge 0
[2025-01-11 22:42:05] Production.INFO: CreateAllLog End
[2025-01-11 22:42:05] Production.INFO: Account Balance End.
[2025-01-11 22:42:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:42:05] Production.INFO: ==1335== Releasing lock...
[2025-01-11 22:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:42:06
[end_date_ymd] => 2025-01-11 22:42:06
[RateCDR] => 1
)
[2025-01-11 22:42:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 19:42:06' and `end` < '2025-01-11 22:42:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 22:42:11] Production.ERROR: CronJobId end10
[2025-01-11 22:42:11] Production.INFO: ==1333== Releasing lock...
[2025-01-11 22:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:42:13] Production.INFO: call_cost start
[2025-01-11 22:42:13] Production.INFO: call_cost end
[2025-01-11 22:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:42:14] Production.INFO: ==1329== Releasing lock...
[2025-01-11 22:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:42:19] Production.INFO: count ==1230
[2025-01-11 22:42:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:42:06 - End Time 2025-01-11 22:42:06
[2025-01-11 22:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227385', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227385', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227385', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227385', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:42:19] Production.INFO: ProcessCDR(1,14227385,1,1,2)
[2025-01-11 22:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227385', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227385', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:42:22] Production.INFO: ==1337== Releasing lock...
[2025-01-11 22:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:42:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:43:01] Production.INFO: ==1392== Lock acquired, processing the job...
[2025-01-12 03:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:43:01] Production.INFO: neon service started
[2025-01-12 03:43:01] Production.INFO: neon service started
[2025-01-12 03:43:01] Production.INFO: ==1392== Releasing lock...
[2025-01-12 03:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:43:02] Production.INFO: ==1395== Lock acquired, processing the job...
[2025-01-11 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:43:02] Production.INFO: ==1397== Lock acquired, processing the job...
[2025-01-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:43:02] Production.INFO: ==1397== Releasing lock...
[2025-01-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:43:02] Production.INFO: ==1395== Releasing lock...
[2025-01-11 22:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:43:03] Production.INFO: ==1399== Lock acquired, processing the job...
[2025-01-11 22:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:43:03] Production.INFO: ==1401== Lock acquired, processing the job...
[2025-01-11 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:43:03] Production.INFO: ==1407== Lock acquired, processing the job...
[2025-01-11 22:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:43:03] Production.INFO: ==1403== Lock acquired, processing the job...
[2025-01-11 22:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:43:03] Production.INFO: ==1401== Releasing lock...
[2025-01-11 22:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:43:03] Production.INFO: ==1405== Lock acquired, processing the job...
[2025-01-11 22:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:43:03] Production.INFO: ==1409== Lock acquired, processing the job...
[2025-01-11 22:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:43:04] Production.ERROR: done
[2025-01-11 22:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:43:04] Production.INFO: Account Balance Start.
[2025-01-11 22:43:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:43:04] Production.INFO: 117
[2025-01-11 22:43:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:43:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:43:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:43:04] Production.INFO: count ==21
[2025-01-11 22:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:43:04] Production.INFO: count ==21
[2025-01-11 22:43:04] Production.ERROR: done
[2025-01-11 22:43:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:43:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227389') start
[2025-01-11 22:43:04] Production.INFO: Total Charge 0
[2025-01-11 22:43:04] Production.INFO: CreateAllLog End
[2025-01-11 22:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227389') end
[2025-01-11 22:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:43:04] Production.INFO: 1
[2025-01-11 22:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:43:04] Production.INFO: ==1409== Releasing lock...
[2025-01-11 22:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:43:04] Production.INFO: Account Balance End.
[2025-01-11 22:43:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:43:04] Production.INFO: ==1405== Releasing lock...
[2025-01-11 22:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:43:05
[end_date_ymd] => 2025-01-11 22:43:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:43:05' and `end` < '2025-01-11 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-01-11 22:43:11] Production.ERROR: CronJobId end10
[2025-01-11 22:43:11] Production.INFO: ==1403== Releasing lock...
[2025-01-11 22:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:43:14] Production.INFO: call_cost start
[2025-01-11 22:43:14] Production.INFO: call_cost end
[2025-01-11 22:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:43:14] Production.INFO: ==1399== Releasing lock...
[2025-01-11 22:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:43:20] Production.INFO: count ==1230
[2025-01-11 22:43:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:43:05 - End Time 2025-01-11 22:43:05
[2025-01-11 22:43:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227390', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227390', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227390', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:43:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227390', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:43:20] Production.INFO: ProcessCDR(1,14227390,1,1,2)
[2025-01-11 22:43:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227390', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227390', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:43:24] Production.INFO: ==1407== Releasing lock...
[2025-01-11 22:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:43:24] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:44:02] Production.INFO: ==1463== Lock acquired, processing the job...
[2025-01-12 03:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:44:02] Production.INFO: neon service started
[2025-01-12 03:44:02] Production.INFO: neon service started
[2025-01-12 03:44:02] Production.INFO: ==1463== Releasing lock...
[2025-01-12 03:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:44:02] Production.INFO: ==1468== Lock acquired, processing the job...
[2025-01-12 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:44:02] Production.INFO: ==1468== Releasing lock...
[2025-01-12 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:44:02] Production.INFO: ==1466== Lock acquired, processing the job...
[2025-01-11 22:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:44:03] Production.INFO: ==1466== Releasing lock...
[2025-01-11 22:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:44:03] Production.INFO: ==1476== Lock acquired, processing the job...
[2025-01-11 22:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:44:03] Production.INFO: ==1478== Lock acquired, processing the job...
[2025-01-11 22:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:44:03] Production.INFO: Account Balance Start.
[2025-01-11 22:44:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:44:03] Production.INFO: 117
[2025-01-11 22:44:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:44:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:44:04] Production.INFO: ==1470== Lock acquired, processing the job...
[2025-01-11 22:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:44:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:44:04] Production.INFO: ==1472== Lock acquired, processing the job...
[2025-01-11 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:44:04] Production.INFO: ==1474== Lock acquired, processing the job...
[2025-01-11 22:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:44:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:44:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:44:04] Production.INFO: Total Charge 0
[2025-01-11 22:44:04] Production.INFO: ==1480== Lock acquired, processing the job...
[2025-01-11 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:44:04] Production.INFO: CreateAllLog End
[2025-01-11 22:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:44:04] Production.ERROR: done
[2025-01-11 22:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 22:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:44:04] Production.INFO: count ==21
[2025-01-11 22:44:04] Production.INFO: Account Balance End.
[2025-01-11 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-01-11 22:44:04] Production.INFO: count ==21
[2025-01-11 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227394') start
[2025-01-11 22:44:04] Production.ERROR: done
[2025-01-11 22:44:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:44:04] Production.INFO: ==1476== Releasing lock...
[2025-01-11 22:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227394') end
[2025-01-11 22:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:44:04] Production.INFO: 1
[2025-01-11 22:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:44:04] Production.INFO: ==1480== Releasing lock...
[2025-01-11 22:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:44:04] Production.INFO: ==1472== Releasing lock...
[2025-01-11 22:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:44:05
[end_date_ymd] => 2025-01-11 22:44:05
[RateCDR] => 1
)
[2025-01-11 22:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 19:44:05' and `end` < '2025-01-11 22:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 22:44:11] Production.ERROR: CronJobId end10
[2025-01-11 22:44:11] Production.INFO: ==1474== Releasing lock...
[2025-01-11 22:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:44:14] Production.INFO: call_cost start
[2025-01-11 22:44:14] Production.INFO: call_cost end
[2025-01-11 22:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:44:14] Production.INFO: ==1470== Releasing lock...
[2025-01-11 22:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:44:18] Production.INFO: count ==1226
[2025-01-11 22:44:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:44:05 - End Time 2025-01-11 22:44:05
[2025-01-11 22:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227395', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227395', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227395', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227395', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:44:18] Production.INFO: ProcessCDR(1,14227395,1,1,2)
[2025-01-11 22:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227395', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227395', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:44:21] Production.INFO: ==1478== Releasing lock...
[2025-01-11 22:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:44:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:45:01] Production.INFO: ==1573== Lock acquired, processing the job...
[2025-01-12 03:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:45:01] Production.INFO: neon service started
[2025-01-12 03:45:01] Production.INFO: neon service started
[2025-01-12 03:45:01] Production.INFO: ==1573== Releasing lock...
[2025-01-12 03:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:45:02] Production.INFO: ==1577== Lock acquired, processing the job...
[2025-01-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 22:45:02] Production.INFO: ==1575== Lock acquired, processing the job...
[2025-01-11 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:45:02] Production.INFO: ==1577== Releasing lock...
[2025-01-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:45:02] Production.INFO: ==1575== Releasing lock...
[2025-01-11 22:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:45:03] Production.INFO: ==1586== Lock acquired, processing the job...
[2025-01-11 22:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:45:03] Production.INFO: ==1584== Lock acquired, processing the job...
[2025-01-11 22:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:45:03] Production.INFO: Account Balance Start.
[2025-01-11 22:45:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:45:03] Production.INFO: 117
[2025-01-11 22:45:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:45:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:45:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:45:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:45:03] Production.INFO: ==1580== Lock acquired, processing the job...
[2025-01-11 22:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:45:03] Production.INFO: ==1582== Lock acquired, processing the job...
[2025-01-11 22:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:45:03] Production.INFO: Total Charge 0
[2025-01-11 22:45:03] Production.INFO: CreateAllLog End
[2025-01-11 22:45:03] Production.INFO: ==1588== Lock acquired, processing the job...
[2025-01-11 22:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:45:03] Production.INFO: ==1590== Lock acquired, processing the job...
[2025-01-11 22:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:45:03] Production.INFO: Account Balance End.
[2025-01-11 22:45:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:45:04] Production.INFO: ==1586== Releasing lock...
[2025-01-11 22:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22: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-01-11 22:45:04] Production.INFO: count ==21
[2025-01-11 22:45:04] Production.ERROR: done
[2025-01-11 22:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22: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-01-11 22:45:04] Production.INFO: count ==21
[2025-01-11 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227399') start
[2025-01-11 22:45:04] Production.INFO: ==1582== Releasing lock...
[2025-01-11 22:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:45:04] Production.ERROR: done
[2025-01-11 22:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227399') end
[2025-01-11 22:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:45:04] Production.INFO: 1
[2025-01-11 22:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:45:04] Production.INFO: ==1590== Releasing lock...
[2025-01-11 22:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:45:05
[end_date_ymd] => 2025-01-11 22:45:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:45:05' and `end` < '2025-01-11 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-01-11 22:45:11] Production.ERROR: CronJobId end10
[2025-01-11 22:45:11] Production.INFO: ==1584== Releasing lock...
[2025-01-11 22:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:45:13] Production.INFO: call_cost start
[2025-01-11 22:45:13] Production.INFO: call_cost end
[2025-01-11 22:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:45:14] Production.INFO: ==1580== Releasing lock...
[2025-01-11 22:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:45:18] Production.INFO: count ==1220
[2025-01-11 22:45:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:45:05 - End Time 2025-01-11 22:45:05
[2025-01-11 22:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227400', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227400', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227400', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227400', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:45:18] Production.INFO: ProcessCDR(1,14227400,1,1,2)
[2025-01-11 22:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227400', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227400', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:45:21] Production.INFO: ==1588== Releasing lock...
[2025-01-11 22:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:45:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:46:02] Production.INFO: ==1649== Lock acquired, processing the job...
[2025-01-12 03:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:46:02] Production.INFO: neon service started
[2025-01-12 03:46:02] Production.INFO: neon service started
[2025-01-12 03:46:02] Production.INFO: ==1649== Releasing lock...
[2025-01-12 03:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:46:02] Production.INFO: ==1651== Lock acquired, processing the job...
[2025-01-11 22:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:46:02] Production.INFO: ==1653== Lock acquired, processing the job...
[2025-01-12 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:46:02] Production.INFO: ==1653== Releasing lock...
[2025-01-12 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:46:03] Production.INFO: ==1651== Releasing lock...
[2025-01-11 22:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:46:03] Production.INFO: ==1656== Lock acquired, processing the job...
[2025-01-11 22:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:46:04] Production.INFO: ==1660== Lock acquired, processing the job...
[2025-01-11 22:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:46:04] Production.INFO: ==1662== Lock acquired, processing the job...
[2025-01-11 22:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:46:04] Production.INFO: ==1658== Lock acquired, processing the job...
[2025-01-11 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:46:04] Production.INFO: Account Balance Start.
[2025-01-11 22:46:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:46:04] Production.INFO: 117
[2025-01-11 22:46:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:46:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:46:04] Production.INFO: ==1666== Lock acquired, processing the job...
[2025-01-11 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:46:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:46:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:46:04] Production.INFO: ==1664== Lock acquired, processing the job...
[2025-01-11 22:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:46:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:46:04] Production.INFO: count ==21
[2025-01-11 22:46:04] Production.INFO: Total Charge 0
[2025-01-11 22:46:04] Production.INFO: ==1658== Releasing lock...
[2025-01-11 22:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 22:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:46:04] Production.INFO: CreateAllLog End
[2025-01-11 22:46:04] Production.INFO: count ==21
[2025-01-11 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227404') start
[2025-01-11 22:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227404') end
[2025-01-11 22:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:46:04] Production.INFO: 1
[2025-01-11 22:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:46:04] Production.INFO: ==1666== Releasing lock...
[2025-01-11 22:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:46:04] Production.ERROR: done
[2025-01-11 22:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:46:04] Production.INFO: Account Balance End.
[2025-01-11 22:46:05] Production.ERROR: done
[2025-01-11 22:46:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:46:05] Production.INFO: ==1662== Releasing lock...
[2025-01-11 22:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:46:05
[end_date_ymd] => 2025-01-11 22:46:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:46:05' and `end` < '2025-01-11 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-01-11 22:46:11] Production.ERROR: CronJobId end10
[2025-01-11 22:46:11] Production.INFO: ==1660== Releasing lock...
[2025-01-11 22:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:46:13] Production.INFO: call_cost start
[2025-01-11 22:46:13] Production.INFO: call_cost end
[2025-01-11 22:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:46:14] Production.INFO: ==1656== Releasing lock...
[2025-01-11 22:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:46:19] Production.INFO: count ==1218
[2025-01-11 22:46:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:46:05 - End Time 2025-01-11 22:46:05
[2025-01-11 22:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227405', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227405', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227405', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227405', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:46:19] Production.INFO: ProcessCDR(1,14227405,1,1,2)
[2025-01-11 22:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227405', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227405', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:46:22] Production.INFO: ==1664== Releasing lock...
[2025-01-11 22:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:46:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:47:01] Production.INFO: ==1724== Lock acquired, processing the job...
[2025-01-12 03:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:47:01] Production.INFO: neon service started
[2025-01-12 03:47:01] Production.INFO: neon service started
[2025-01-12 03:47:01] Production.INFO: ==1724== Releasing lock...
[2025-01-12 03:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:47:02] Production.INFO: ==1728== Lock acquired, processing the job...
[2025-01-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:47:02] Production.INFO: ==1728== Releasing lock...
[2025-01-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:47:02] Production.INFO: ==1726== Lock acquired, processing the job...
[2025-01-11 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:47:02] Production.INFO: ==1726== Releasing lock...
[2025-01-11 22:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:47:03] Production.INFO: ==1733== Lock acquired, processing the job...
[2025-01-11 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:47:03] Production.INFO: ==1739== Lock acquired, processing the job...
[2025-01-11 22:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:47:03] Production.INFO: ==1731== Lock acquired, processing the job...
[2025-01-11 22:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:47:03] Production.INFO: ==1735== Lock acquired, processing the job...
[2025-01-11 22:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:47:03] Production.INFO: ==1737== Lock acquired, processing the job...
[2025-01-11 22:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:47:03] Production.INFO: ==1741== Lock acquired, processing the job...
[2025-01-11 22:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:47:03] Production.INFO: ==1733== Releasing lock...
[2025-01-11 22:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:47:03] Production.INFO: Account Balance Start.
[2025-01-11 22:47:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:47:03] Production.ERROR: done
[2025-01-11 22:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:47:03] Production.INFO: 117
[2025-01-11 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-01-11 22:47:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:47:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:47:03] Production.INFO: count ==21
[2025-01-11 22:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227409') start
[2025-01-11 22:47:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:47:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:47:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:47:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227409') end
[2025-01-11 22:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:47:04] Production.INFO: 1
[2025-01-11 22:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:47:04] Production.ERROR: done
[2025-01-11 22:47:04] Production.INFO: ==1741== Releasing lock...
[2025-01-11 22:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:47:04] Production.INFO: Total Charge 0
[2025-01-11 22:47:04] Production.INFO: CreateAllLog End
[2025-01-11 22:47:04] Production.INFO: Account Balance End.
[2025-01-11 22:47:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:47:04] Production.INFO: ==1737== Releasing lock...
[2025-01-11 22:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:47:05
[end_date_ymd] => 2025-01-11 22:47:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:47:05' and `end` < '2025-01-11 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-01-11 22:47:11] Production.ERROR: CronJobId end10
[2025-01-11 22:47:11] Production.INFO: ==1735== Releasing lock...
[2025-01-11 22:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:47:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:47:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:47:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:47:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:47:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:47:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:47:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:47:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:47:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:47:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:47:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:47:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:47:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:47:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:47:14] Production.INFO: call_cost start
[2025-01-11 22:47:14] Production.INFO: call_cost end
[2025-01-11 22:47:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:47:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:47:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:47:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:47:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:47:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:47:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:47:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:47:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:47:15] Production.INFO: ==1731== Releasing lock...
[2025-01-11 22:47:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:47:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:47:20] Production.INFO: count ==1216
[2025-01-11 22:47:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:47:05 - End Time 2025-01-11 22:47:05
[2025-01-11 22:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227410', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227410', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227410', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227410', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:47:20] Production.INFO: ProcessCDR(1,14227410,1,1,2)
[2025-01-11 22:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227410', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227410', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:47:24] Production.INFO: ==1739== Releasing lock...
[2025-01-11 22:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:47:24] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:48:02] Production.INFO: ==1808== Lock acquired, processing the job...
[2025-01-12 03:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:48:02] Production.INFO: neon service started
[2025-01-12 03:48:02] Production.INFO: neon service started
[2025-01-12 03:48:02] Production.INFO: ==1808== Releasing lock...
[2025-01-12 03:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:48:02] Production.INFO: ==1810== Lock acquired, processing the job...
[2025-01-11 22:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:48:02] Production.INFO: ==1812== Lock acquired, processing the job...
[2025-01-12 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:48:02] Production.INFO: ==1812== Releasing lock...
[2025-01-12 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:48:03] Production.INFO: ==1810== Releasing lock...
[2025-01-11 22:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:48:03] Production.INFO: ==1817== Lock acquired, processing the job...
[2025-01-11 22:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:48:04] Production.INFO: ==1821== Lock acquired, processing the job...
[2025-01-11 22:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:48:04] Production.INFO: ==1823== Lock acquired, processing the job...
[2025-01-11 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:48:04] Production.INFO: ==1819== Lock acquired, processing the job...
[2025-01-11 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:48:04] Production.INFO: Account Balance Start.
[2025-01-11 22:48:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:48:04] Production.INFO: 117
[2025-01-11 22:48:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:48:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:48:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:48:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:48:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:48:04] Production.INFO: ==1830== Lock acquired, processing the job...
[2025-01-11 22:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:48:04] Production.INFO: Total Charge 0
[2025-01-11 22:48:04] Production.INFO: ==1828== Lock acquired, processing the job...
[2025-01-11 22:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:48:04] Production.INFO: CreateAllLog End
[2025-01-11 22:48:04] Production.INFO: ==1819== Releasing lock...
[2025-01-11 22:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 22:48:04] Production.INFO: Account Balance End.
[2025-01-11 22:48:04] Production.INFO: count ==21
[2025-01-11 22:48:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:48:04] Production.INFO: ==1823== Releasing lock...
[2025-01-11 22:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 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-01-11 22:48:04] Production.INFO: count ==21
[2025-01-11 22:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227414') start
[2025-01-11 22:48:05] Production.ERROR: done
[2025-01-11 22:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227414') end
[2025-01-11 22:48:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:48:05] Production.INFO: 1
[2025-01-11 22:48:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:48:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:48:05] Production.INFO: ==1830== Releasing lock...
[2025-01-11 22:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:48:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:48:05] Production.ERROR: done
[2025-01-11 22:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:48:06
[end_date_ymd] => 2025-01-11 22:48:06
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:48:06' and `end` < '2025-01-11 22: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-01-11 22:48:11] Production.ERROR: CronJobId end10
[2025-01-11 22:48:11] Production.INFO: ==1821== Releasing lock...
[2025-01-11 22:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:48:14] Production.INFO: call_cost start
[2025-01-11 22:48:14] Production.INFO: call_cost end
[2025-01-11 22:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:48:15] Production.INFO: ==1817== Releasing lock...
[2025-01-11 22:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:48:19] Production.INFO: count ==1216
[2025-01-11 22:48:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:48:06 - End Time 2025-01-11 22:48:06
[2025-01-11 22:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227415', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227415', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227415', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227415', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:48:19] Production.INFO: ProcessCDR(1,14227415,1,1,2)
[2025-01-11 22:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227415', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227415', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:48:22] Production.INFO: ==1828== Releasing lock...
[2025-01-11 22:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:48:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:49:01] Production.INFO: ==1894== Lock acquired, processing the job...
[2025-01-12 03:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:49:01] Production.INFO: neon service started
[2025-01-12 03:49:01] Production.INFO: neon service started
[2025-01-12 03:49:01] Production.INFO: ==1894== Releasing lock...
[2025-01-12 03:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:49:02] Production.INFO: ==1896== Lock acquired, processing the job...
[2025-01-11 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:49:02] Production.INFO: ==1898== Lock acquired, processing the job...
[2025-01-12 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:49:02] Production.INFO: ==1898== Releasing lock...
[2025-01-12 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:49:02] Production.INFO: ==1896== Releasing lock...
[2025-01-11 22:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:49:03] Production.INFO: ==1903== Lock acquired, processing the job...
[2025-01-11 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:49:03] Production.INFO: ==1905== Lock acquired, processing the job...
[2025-01-11 22:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:49:03] Production.INFO: ==1901== Lock acquired, processing the job...
[2025-01-11 22:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:49:03] Production.INFO: ==1909== Lock acquired, processing the job...
[2025-01-11 22:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:49:03] Production.INFO: ==1903== Releasing lock...
[2025-01-11 22:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:49:03] Production.INFO: ==1907== Lock acquired, processing the job...
[2025-01-11 22:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:49:03] Production.INFO: ==1911== Lock acquired, processing the job...
[2025-01-11 22:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:49:03] Production.INFO: Account Balance Start.
[2025-01-11 22:49:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:49:03] Production.INFO: 117
[2025-01-11 22:49:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 22:49:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:49:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:49:03] Production.INFO: count ==21
[2025-01-11 22:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227419') start
[2025-01-11 22:49:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:49:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:49:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:49:04] Production.INFO: Total Charge 0
[2025-01-11 22:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227419') end
[2025-01-11 22:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:49:04] Production.INFO: 1
[2025-01-11 22:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:49:04] Production.INFO: CreateAllLog End
[2025-01-11 22:49:04] Production.INFO: ==1911== Releasing lock...
[2025-01-11 22:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:49:04] Production.ERROR: done
[2025-01-11 22:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:49:04] Production.ERROR: done
[2025-01-11 22:49:04] Production.INFO: Account Balance End.
[2025-01-11 22:49:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:49:04] Production.INFO: ==1907== Releasing lock...
[2025-01-11 22:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:49:05
[end_date_ymd] => 2025-01-11 22:49:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:49:05' and `end` < '2025-01-11 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-01-11 22:49:12] Production.ERROR: CronJobId end10
[2025-01-11 22:49:12] Production.INFO: ==1905== Releasing lock...
[2025-01-11 22:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:49:13] Production.INFO: call_cost start
[2025-01-11 22:49:13] Production.INFO: call_cost end
[2025-01-11 22:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:49:14] Production.INFO: ==1901== Releasing lock...
[2025-01-11 22:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:49:21] Production.INFO: count ==1214
[2025-01-11 22:49:21] Production.ERROR: pbx CDR StartTime 2025-01-11 19:49:05 - End Time 2025-01-11 22:49:05
[2025-01-11 22:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227420', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227420', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227420', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227420', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:49:21] Production.INFO: ProcessCDR(1,14227420,1,1,2)
[2025-01-11 22:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227420', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227420', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:49:24] Production.INFO: ==1909== Releasing lock...
[2025-01-11 22:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:49:24] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:50:02] Production.INFO: ==1978== Lock acquired, processing the job...
[2025-01-12 03:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:50:02] Production.INFO: neon service started
[2025-01-12 03:50:02] Production.INFO: neon service started
[2025-01-12 03:50:02] Production.INFO: ==1978== Releasing lock...
[2025-01-12 03:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:50:02] Production.INFO: ==1980== Lock acquired, processing the job...
[2025-01-11 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:50:02] Production.INFO: ==1982== Lock acquired, processing the job...
[2025-01-12 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 22:50:02] Production.INFO: ==1980== Releasing lock...
[2025-01-11 22:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:50:02] Production.INFO: ==1982== Releasing lock...
[2025-01-12 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:50:03] Production.INFO: ==1984== Lock acquired, processing the job...
[2025-01-11 22:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 22:50:03] Production.INFO: ==1990== Lock acquired, processing the job...
[2025-01-11 22:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:50:04] Production.INFO: ==1996== Lock acquired, processing the job...
[2025-01-11 22:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 22:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 22:50:04] Production.ERROR: CronJob PID - 1990
[2025-01-11 22:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-11 22:50:04] Production.ERROR: CronJob ID - 10
[2025-01-11 22:50:04] Production.ERROR: CronJob Last Run Time 2025-01-11 22:50:00
[2025-01-11 22:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 22:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 22:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 22:50:04] Production.INFO: ==1984== Releasing lock...
[2025-01-11 22:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 22:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 22:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:50:04] Production.INFO: ==1986== Lock acquired, processing the job...
[2025-01-11 22:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:50:04] Production.INFO: ==2000== Lock acquired, processing the job...
[2025-01-11 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:50:04] Production.INFO: ==1988== Lock acquired, processing the job...
[2025-01-11 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 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-01-11 22:50:04] Production.INFO: ==1993== Lock acquired, processing the job...
[2025-01-11 22:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:50:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:50:04] Production.INFO: ==1998== Lock acquired, processing the job...
[2025-01-11 22:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 22:50:04] Production.INFO: count ==21
[2025-01-11 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227421') start
[2025-01-11 22:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:50:04] Production.INFO: Account Balance Start.
[2025-01-11 22:50:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:50:04] Production.INFO: 117
[2025-01-11 22:50:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:50:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:50:04] Production.ERROR: done
[2025-01-11 22:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227421') end
[2025-01-11 22:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:50:04] Production.INFO: 1
[2025-01-11 22:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:50:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:50:04] Production.INFO: ==2000== Releasing lock...
[2025-01-11 22:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:50:04] Production.INFO: ==1988== Releasing lock...
[2025-01-11 22:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:50:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:50:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:50:04] Production.ERROR: done
[2025-01-11 22:50:04] Production.INFO: Total Charge 0
[2025-01-11 22:50:04] Production.INFO: CreateAllLog End
[2025-01-11 22:50:04] Production.ERROR: done
[2025-01-11 22:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 22:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227426', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 22:50:05] Production.INFO: Account Balance End.
[2025-01-11 22:50:05] Production.ERROR: CronJobId end 12
[2025-01-11 22:50:05] Production.INFO: ==1993== Releasing lock...
[2025-01-11 22:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:50:05
[end_date_ymd] => 2025-01-11 22:50:05
[RateCDR] => 1
)
[2025-01-11 22:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 19:50:05' and `end` < '2025-01-11 22:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 22:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227426', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 22:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 22:50:09] Production.INFO: ProcessCDR(1,14227426,1,1,2)
[2025-01-11 22:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227426,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227426,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:50:09] Production.INFO: ==1998== Releasing lock...
[2025-01-11 22:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 22:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 22:50:14] Production.ERROR: CronJobId end10
[2025-01-11 22:50:14] Production.INFO: ==1990== Releasing lock...
[2025-01-11 22:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:50:15] Production.INFO: call_cost start
[2025-01-11 22:50:15] Production.INFO: call_cost end
[2025-01-11 22:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:50:16] Production.INFO: ==1986== Releasing lock...
[2025-01-11 22:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:50:18] Production.INFO: count ==1218
[2025-01-11 22:50:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:50:05 - End Time 2025-01-11 22:50:05
[2025-01-11 22:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227425', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227425', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227425', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227425', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:50:19] Production.INFO: ProcessCDR(1,14227425,1,1,2)
[2025-01-11 22:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227425', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227425', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:50:22] Production.INFO: ==1996== Releasing lock...
[2025-01-11 22:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:50:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 03:51:01] Production.INFO: ==2064== Lock acquired, processing the job...
[2025-01-12 03:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:51:01] Production.INFO: neon service started
[2025-01-12 03:51:01] Production.INFO: neon service started
[2025-01-12 03:51:01] Production.INFO: ==2064== Releasing lock...
[2025-01-12 03:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:51:01] Production.INFO: ==2069== Lock acquired, processing the job...
[2025-01-12 03:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:51:01] Production.INFO: ==2069== Releasing lock...
[2025-01-12 03:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:51:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:51:02] Production.INFO: ==2067== Lock acquired, processing the job...
[2025-01-11 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:51:02] Production.INFO: ==2067== Releasing lock...
[2025-01-11 22:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:51:03] Production.INFO: ==2077== Lock acquired, processing the job...
[2025-01-11 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:51:03] Production.INFO: ==2081== Lock acquired, processing the job...
[2025-01-11 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:51:03] Production.INFO: Account Balance Start.
[2025-01-11 22:51:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:51:03] Production.INFO: 117
[2025-01-11 22:51:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:51:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 22:51:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:51:03] Production.INFO: count ==21
[2025-01-11 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-01-11 22:51:03] Production.INFO: ==2071== Lock acquired, processing the job...
[2025-01-11 22:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:51:03] Production.INFO: count ==21
[2025-01-11 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227428') start
[2025-01-11 22:51:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:51:03] Production.INFO: ==2073== Lock acquired, processing the job...
[2025-01-11 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:51:03] Production.INFO: Total Charge 0
[2025-01-11 22:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:51:03] Production.INFO: ==2075== Lock acquired, processing the job...
[2025-01-11 22:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:51:03] Production.INFO: CreateAllLog End
[2025-01-11 22:51:03] Production.INFO: ==2079== Lock acquired, processing the job...
[2025-01-11 22:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227428') end
[2025-01-11 22:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:51:03] Production.INFO: 1
[2025-01-11 22:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:51:03] Production.INFO: ==2081== Releasing lock...
[2025-01-11 22:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:51:03] Production.INFO: Account Balance End.
[2025-01-11 22:51:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:51:03] Production.INFO: ==2077== Releasing lock...
[2025-01-11 22:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:51:03] Production.ERROR: done
[2025-01-11 22:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:51:03] Production.INFO: ==2073== Releasing lock...
[2025-01-11 22:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:51:03] Production.ERROR: done
[2025-01-11 22:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:51:04
[end_date_ymd] => 2025-01-11 22:51:04
[RateCDR] => 1
)
[2025-01-11 22: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-01-11 19:51:04' and `end` < '2025-01-11 22: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-01-11 22:51:09] 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-01-11 22:51:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:51:09] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:51:09] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:51:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:51:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:51:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:51:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:51:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:51:09] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:51:09] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:51:09] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:51:09] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:51:09] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:51:09] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:51:10] Production.INFO: call_cost start
[2025-01-11 22:51:10] Production.INFO: call_cost end
[2025-01-11 22:51:10] Production.ERROR: CronJobId end10
[2025-01-11 22:51:10] Production.INFO: ==2075== Releasing lock...
[2025-01-11 22:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:51:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:51:11] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:51:11] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:51:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:51:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:51:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:51:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:51:11] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:51:11] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:51:11] Production.INFO: ==2071== Releasing lock...
[2025-01-11 22:51:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:51:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:51:19] Production.INFO: count ==1163
[2025-01-11 22:51:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:51:04 - End Time 2025-01-11 22:51:04
[2025-01-11 22:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227431', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227431', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227431', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227431', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:51:20] Production.INFO: ProcessCDR(1,14227431,1,1,2)
[2025-01-11 22:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227431', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227431', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:51:23] Production.INFO: ==2079== Releasing lock...
[2025-01-11 22:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:51:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 03:52:01] Production.INFO: ==2155== Lock acquired, processing the job...
[2025-01-12 03:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:52:01] Production.INFO: neon service started
[2025-01-12 03:52:01] Production.INFO: neon service started
[2025-01-12 03:52:01] Production.INFO: ==2155== Releasing lock...
[2025-01-12 03:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:52:02] Production.INFO: ==2157== Lock acquired, processing the job...
[2025-01-11 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:52:02] Production.INFO: ==2159== Lock acquired, processing the job...
[2025-01-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:52:02] Production.INFO: ==2159== Releasing lock...
[2025-01-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:52:02] Production.INFO: ==2157== Releasing lock...
[2025-01-11 22:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:52:03] Production.INFO: ==2164== Lock acquired, processing the job...
[2025-01-11 22:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:52:03] Production.INFO: ==2172== Lock acquired, processing the job...
[2025-01-11 22:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:52:03] Production.INFO: ==2162== Lock acquired, processing the job...
[2025-01-11 22:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:52:03] Production.INFO: ==2166== Lock acquired, processing the job...
[2025-01-11 22:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 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-01-11 22:52:03] Production.INFO: count ==21
[2025-01-11 22:52:03] Production.INFO: ==2168== Lock acquired, processing the job...
[2025-01-11 22:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 22:52:03] Production.INFO: count ==21
[2025-01-11 22:52:04] Production.INFO: ==2170== Lock acquired, processing the job...
[2025-01-11 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227433') start
[2025-01-11 22:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:52:04] Production.INFO: ==2164== Releasing lock...
[2025-01-11 22:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:52:04] Production.INFO: Account Balance Start.
[2025-01-11 22:52:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:52:04] Production.INFO: 117
[2025-01-11 22:52:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227433') end
[2025-01-11 22:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:52:04] Production.INFO: 1
[2025-01-11 22:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:52:04] Production.INFO: ==2172== Releasing lock...
[2025-01-11 22:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:52:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:52:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:52:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:52:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:52:04] Production.ERROR: done
[2025-01-11 22:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:52:04] Production.INFO: Total Charge 0
[2025-01-11 22:52:04] Production.INFO: CreateAllLog End
[2025-01-11 22:52:04] Production.ERROR: done
[2025-01-11 22:52:04] Production.INFO: Account Balance End.
[2025-01-11 22:52:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:52:04] Production.INFO: ==2168== Releasing lock...
[2025-01-11 22:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:52:05
[end_date_ymd] => 2025-01-11 22:52:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:52:05' and `end` < '2025-01-11 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-01-11 22:52:10] Production.ERROR: CronJobId end10
[2025-01-11 22:52:10] Production.INFO: ==2166== Releasing lock...
[2025-01-11 22:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:52:13] Production.INFO: call_cost start
[2025-01-11 22:52:13] Production.INFO: call_cost end
[2025-01-11 22:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:52:14] Production.INFO: ==2162== Releasing lock...
[2025-01-11 22:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:52:20] Production.INFO: count ==1161
[2025-01-11 22:52:20] Production.ERROR: pbx CDR StartTime 2025-01-11 19:52:05 - End Time 2025-01-11 22:52:05
[2025-01-11 22:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227436', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227436', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227436', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227436', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:52:20] Production.INFO: ProcessCDR(1,14227436,1,1,2)
[2025-01-11 22:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227436', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227436', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:52:23] Production.INFO: ==2170== Releasing lock...
[2025-01-11 22:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:52:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 03:53:01] Production.INFO: ==2237== Lock acquired, processing the job...
[2025-01-12 03:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:53:01] Production.INFO: neon service started
[2025-01-12 03:53:01] Production.INFO: neon service started
[2025-01-12 03:53:01] Production.INFO: ==2237== Releasing lock...
[2025-01-12 03:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:53:01] Production.INFO: ==2241== Lock acquired, processing the job...
[2025-01-12 03:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:53:01] Production.INFO: ==2241== Releasing lock...
[2025-01-12 03:53:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:53:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:53:01] Production.INFO: ==2239== Lock acquired, processing the job...
[2025-01-11 22:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:53:02] Production.INFO: ==2239== Releasing lock...
[2025-01-11 22:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:53:02] Production.INFO: ==2244== Lock acquired, processing the job...
[2025-01-11 22:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:53:02] Production.INFO: ==2248== Lock acquired, processing the job...
[2025-01-11 22:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:53:02] Production.INFO: ==2252== Lock acquired, processing the job...
[2025-01-11 22:53:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:53:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:53:02] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:53:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:53:02] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:53:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:53:03] Production.INFO: ==2246== Lock acquired, processing the job...
[2025-01-11 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:53:03] Production.INFO: ==2250== Lock acquired, processing the job...
[2025-01-11 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:53:03] Production.ERROR: done
[2025-01-11 22:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:53:03] Production.INFO: ==2254== Lock acquired, processing the job...
[2025-01-11 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:53:03] Production.ERROR: done
[2025-01-11 22:53:03] Production.INFO: Account Balance Start.
[2025-01-11 22:53:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:53:03] Production.INFO: 117
[2025-01-11 22:53:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:53:03] Production.INFO: ==2246== Releasing lock...
[2025-01-11 22:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22: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-01-11 22:53:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:53:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:53:03] Production.INFO: count ==21
[2025-01-11 22: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-01-11 22:53:03] Production.INFO: count ==21
[2025-01-11 22:53:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227440') start
[2025-01-11 22:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:53:03] Production.INFO: Total Charge 0
[2025-01-11 22:53:03] Production.INFO: CreateAllLog End
[2025-01-11 22:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227440') end
[2025-01-11 22:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:53:03] Production.INFO: 1
[2025-01-11 22:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:53:03] Production.INFO: Account Balance End.
[2025-01-11 22:53:03] Production.INFO: ==2254== Releasing lock...
[2025-01-11 22:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:53:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:53:03] Production.INFO: ==2250== Releasing lock...
[2025-01-11 22:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:53:04
[end_date_ymd] => 2025-01-11 22:53:04
[RateCDR] => 1
)
[2025-01-11 22:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 19:53:04' and `end` < '2025-01-11 22:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 22:53:10] Production.ERROR: CronJobId end10
[2025-01-11 22:53:10] Production.INFO: ==2248== Releasing lock...
[2025-01-11 22:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:53:13] Production.INFO: call_cost start
[2025-01-11 22:53:13] Production.INFO: call_cost end
[2025-01-11 22:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:53:13] Production.INFO: ==2244== Releasing lock...
[2025-01-11 22:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:53:18] Production.INFO: count ==1160
[2025-01-11 22:53:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:53:04 - End Time 2025-01-11 22:53:04
[2025-01-11 22:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227441', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227441', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227441', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227441', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:53:18] Production.INFO: ProcessCDR(1,14227441,1,1,2)
[2025-01-11 22:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227441', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227441', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:53:21] Production.INFO: ==2252== Releasing lock...
[2025-01-11 22:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:53:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 03:54:01] Production.INFO: ==2360== Lock acquired, processing the job...
[2025-01-12 03:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:54:01] Production.INFO: neon service started
[2025-01-12 03:54:01] Production.INFO: neon service started
[2025-01-12 03:54:01] Production.INFO: ==2360== Releasing lock...
[2025-01-12 03:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:54:02] Production.INFO: ==2364== Lock acquired, processing the job...
[2025-01-12 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:54:02] Production.INFO: ==2364== Releasing lock...
[2025-01-12 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:54:02] Production.INFO: ==2362== Lock acquired, processing the job...
[2025-01-11 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:54:02] Production.INFO: ==2362== Releasing lock...
[2025-01-11 22:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:54:03] Production.INFO: ==2369== Lock acquired, processing the job...
[2025-01-11 22:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:54:03] Production.INFO: ==2371== Lock acquired, processing the job...
[2025-01-11 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:54:03] Production.INFO: ==2375== Lock acquired, processing the job...
[2025-01-11 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:54:03] Production.INFO: Account Balance Start.
[2025-01-11 22:54:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:54:03] Production.INFO: 117
[2025-01-11 22:54:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:54:03] Production.INFO: ==2373== Lock acquired, processing the job...
[2025-01-11 22:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:54:03] Production.INFO: ==2371== Releasing lock...
[2025-01-11 22:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:54:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:54:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:54:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:54:03] Production.INFO: Total Charge 0
[2025-01-11 22:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:54:03] Production.INFO: CreateAllLog End
[2025-01-11 22:54:03] Production.INFO: ==2377== Lock acquired, processing the job...
[2025-01-11 22:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:54:03] Production.INFO: Account Balance End.
[2025-01-11 22:54:03] Production.INFO: ==2379== Lock acquired, processing the job...
[2025-01-11 22:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:54:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:54:03] Production.INFO: ==2375== Releasing lock...
[2025-01-11 22:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 22:54:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:54:04] Production.INFO: count ==21
[2025-01-11 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227445') start
[2025-01-11 22:54:04] Production.ERROR: done
[2025-01-11 22:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227445') end
[2025-01-11 22:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:54:04] Production.INFO: 1
[2025-01-11 22:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:54:04] Production.INFO: ==2379== Releasing lock...
[2025-01-11 22:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:54:04] Production.ERROR: done
[2025-01-11 22:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:54:05
[end_date_ymd] => 2025-01-11 22:54:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:54:05' and `end` < '2025-01-11 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-01-11 22:54:12] Production.ERROR: CronJobId end10
[2025-01-11 22:54:12] Production.INFO: ==2373== Releasing lock...
[2025-01-11 22:54:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:54:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:54:14] Production.INFO: call_cost start
[2025-01-11 22:54:14] Production.INFO: call_cost end
[2025-01-11 22:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:54:14] Production.INFO: ==2369== Releasing lock...
[2025-01-11 22:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:54:19] Production.INFO: count ==1152
[2025-01-11 22:54:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:54:05 - End Time 2025-01-11 22:54:05
[2025-01-11 22:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227446', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227446', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227446', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227446', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:54:19] Production.INFO: ProcessCDR(1,14227446,1,1,2)
[2025-01-11 22:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227446', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227446', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:54:22] Production.INFO: ==2377== Releasing lock...
[2025-01-11 22:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:54:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 03:55:02] Production.INFO: ==2445== Lock acquired, processing the job...
[2025-01-12 03:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:55:02] Production.INFO: neon service started
[2025-01-12 03:55:02] Production.INFO: neon service started
[2025-01-12 03:55:02] Production.INFO: ==2445== Releasing lock...
[2025-01-12 03:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:55:02] Production.INFO: ==2448== Lock acquired, processing the job...
[2025-01-11 22:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:55:02] Production.INFO: ==2450== Lock acquired, processing the job...
[2025-01-12 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:55:02] Production.INFO: ==2450== Releasing lock...
[2025-01-12 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:55:03] Production.INFO: ==2448== Releasing lock...
[2025-01-11 22:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:55:04] Production.INFO: ==2458== Lock acquired, processing the job...
[2025-01-11 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:55:04] Production.INFO: ==2460== Lock acquired, processing the job...
[2025-01-11 22:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:55:04] Production.INFO: Account Balance Start.
[2025-01-11 22:55:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:55:04] Production.INFO: 117
[2025-01-11 22:55:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:55:04] Production.INFO: ==2452== Lock acquired, processing the job...
[2025-01-11 22:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:55:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:55:04] Production.INFO: ==2454== Lock acquired, processing the job...
[2025-01-11 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:55:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:55:04] Production.INFO: ==2456== Lock acquired, processing the job...
[2025-01-11 22:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:55:04] Production.INFO: ==2462== Lock acquired, processing the job...
[2025-01-11 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:55:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:55:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:55:04] Production.INFO: Total Charge 0
[2025-01-11 22:55:04] Production.INFO: CreateAllLog End
[2025-01-11 22:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:55:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:55:04] Production.ERROR: done
[2025-01-11 22:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:55:04] Production.INFO: count ==21
[2025-01-11 22:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:55:04] Production.INFO: count ==21
[2025-01-11 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227450') start
[2025-01-11 22:55:04] Production.ERROR: done
[2025-01-11 22:55:04] Production.INFO: ==2454== Releasing lock...
[2025-01-11 22:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:55:04] Production.INFO: Account Balance End.
[2025-01-11 22:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227450') end
[2025-01-11 22:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:55:04] Production.INFO: 1
[2025-01-11 22:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:55:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:55:04] Production.INFO: ==2458== Releasing lock...
[2025-01-11 22:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:55:04] Production.INFO: ==2462== Releasing lock...
[2025-01-11 22:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:55:05
[end_date_ymd] => 2025-01-11 22:55:05
[RateCDR] => 1
)
[2025-01-11 22:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 19:55:05' and `end` < '2025-01-11 22:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 22:55:12] Production.ERROR: CronJobId end10
[2025-01-11 22:55:12] Production.INFO: ==2456== Releasing lock...
[2025-01-11 22:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:55:14] Production.INFO: call_cost start
[2025-01-11 22:55:14] Production.INFO: call_cost end
[2025-01-11 22:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:55:15] Production.INFO: ==2452== Releasing lock...
[2025-01-11 22:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:55:18] Production.INFO: count ==1142
[2025-01-11 22:55:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:55:05 - End Time 2025-01-11 22:55:05
[2025-01-11 22:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227451', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227451', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227451', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227451', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:55:19] Production.INFO: ProcessCDR(1,14227451,1,1,2)
[2025-01-11 22:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227451', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227451', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:55:22] Production.INFO: ==2460== Releasing lock...
[2025-01-11 22:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:55:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 03:56:01] Production.INFO: ==2549== Lock acquired, processing the job...
[2025-01-12 03:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:56:01] Production.INFO: neon service started
[2025-01-12 03:56:01] Production.INFO: neon service started
[2025-01-12 03:56:01] Production.INFO: ==2549== Releasing lock...
[2025-01-12 03:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:56:02] Production.INFO: ==2553== Lock acquired, processing the job...
[2025-01-12 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:56:02] Production.INFO: ==2553== Releasing lock...
[2025-01-12 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:56:02] Production.INFO: ==2551== Lock acquired, processing the job...
[2025-01-11 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:56:02] Production.INFO: ==2551== Releasing lock...
[2025-01-11 22:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:56:03] Production.INFO: ==2555== Lock acquired, processing the job...
[2025-01-11 22:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:56:03] Production.INFO: ==2557== Lock acquired, processing the job...
[2025-01-11 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:56:03] Production.INFO: ==2561== Lock acquired, processing the job...
[2025-01-11 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:56:03] Production.INFO: Account Balance Start.
[2025-01-11 22:56:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:56:03] Production.INFO: 117
[2025-01-11 22:56:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:56:03] Production.INFO: ==2559== Lock acquired, processing the job...
[2025-01-11 22:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:56:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:56:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:56:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:56:03] Production.INFO: Total Charge 0
[2025-01-11 22:56:03] Production.INFO: ==2566== Lock acquired, processing the job...
[2025-01-11 22:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:56:03] Production.INFO: ==2564== Lock acquired, processing the job...
[2025-01-11 22:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:56:03] Production.INFO: CreateAllLog End
[2025-01-11 22:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:56:03] Production.INFO: ==2557== Releasing lock...
[2025-01-11 22:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:56:03] Production.INFO: Account Balance End.
[2025-01-11 22:56:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:56:03] Production.INFO: ==2561== Releasing lock...
[2025-01-11 22:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:56:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:56:04] Production.INFO: count ==21
[2025-01-11 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227455') start
[2025-01-11 22:56:04] Production.ERROR: done
[2025-01-11 22:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227455') end
[2025-01-11 22:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:56:04] Production.INFO: 1
[2025-01-11 22:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:56:04] Production.ERROR: done
[2025-01-11 22:56:04] Production.INFO: ==2566== Releasing lock...
[2025-01-11 22:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:56:05
[end_date_ymd] => 2025-01-11 22:56:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:56:05' and `end` < '2025-01-11 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-01-11 22:56:11] Production.ERROR: CronJobId end10
[2025-01-11 22:56:11] Production.INFO: ==2559== Releasing lock...
[2025-01-11 22:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:56:13] Production.INFO: call_cost start
[2025-01-11 22:56:13] Production.INFO: call_cost end
[2025-01-11 22:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:56:14] Production.INFO: ==2555== Releasing lock...
[2025-01-11 22:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:56:19] Production.INFO: count ==1142
[2025-01-11 22:56:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:56:05 - End Time 2025-01-11 22:56:05
[2025-01-11 22:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227456', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227456', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227456', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227456', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:56:19] Production.INFO: ProcessCDR(1,14227456,1,1,2)
[2025-01-11 22:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227456', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227456', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:56:22] Production.INFO: ==2564== Releasing lock...
[2025-01-11 22:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:56:22] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 03:57:02] Production.INFO: ==2648== Lock acquired, processing the job...
[2025-01-12 03:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:57:02] Production.INFO: neon service started
[2025-01-12 03:57:02] Production.INFO: neon service started
[2025-01-12 03:57:02] Production.INFO: ==2648== Releasing lock...
[2025-01-12 03:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:57:02] Production.INFO: ==2652== Lock acquired, processing the job...
[2025-01-12 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:57:02] Production.INFO: ==2652== Releasing lock...
[2025-01-12 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:57:02] Production.INFO: ==2650== Lock acquired, processing the job...
[2025-01-11 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:57:02] Production.INFO: ==2650== Releasing lock...
[2025-01-11 22:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:57:03] Production.INFO: ==2655== Lock acquired, processing the job...
[2025-01-11 22:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:57:03] Production.INFO: ==2657== Lock acquired, processing the job...
[2025-01-11 22:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:57:03] Production.INFO: ==2663== Lock acquired, processing the job...
[2025-01-11 22:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:57:03] Production.INFO: ==2659== Lock acquired, processing the job...
[2025-01-11 22:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:57:03] Production.INFO: ==2661== Lock acquired, processing the job...
[2025-01-11 22:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:57:04] Production.INFO: ==2665== Lock acquired, processing the job...
[2025-01-11 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:57:04] Production.INFO: Account Balance Start.
[2025-01-11 22:57:04] Production.INFO: CreateAllLog Start
[2025-01-11 22:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:57:04] Production.INFO: 117
[2025-01-11 22:57:04] Production.INFO: Date 2025-01-08
[2025-01-11 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:57:04] Production.ERROR: done
[2025-01-11 22:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 22:57:04] Production.INFO: Date 2025-01-09
[2025-01-11 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:57:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:57:04] Production.INFO: count ==21
[2025-01-11 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227460') start
[2025-01-11 22:57:04] Production.INFO: Date 2025-01-10
[2025-01-11 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:57:04] Production.INFO: Date 2025-01-11
[2025-01-11 22:57:04] Production.INFO: Reseller ==> 0
[2025-01-11 22:57:04] Production.INFO: ==2657== Releasing lock...
[2025-01-11 22:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227460') end
[2025-01-11 22:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:57:04] Production.INFO: 1
[2025-01-11 22:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:57:04] Production.ERROR: done
[2025-01-11 22:57:04] Production.INFO: ==2665== Releasing lock...
[2025-01-11 22:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:57:04] Production.INFO: Total Charge 0
[2025-01-11 22:57:04] Production.INFO: CreateAllLog End
[2025-01-11 22:57:04] Production.INFO: Account Balance End.
[2025-01-11 22:57:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:57:04] Production.INFO: ==2661== Releasing lock...
[2025-01-11 22:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:57:05
[end_date_ymd] => 2025-01-11 22:57:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:57:05' and `end` < '2025-01-11 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-01-11 22:57:11] Production.ERROR: CronJobId end10
[2025-01-11 22:57:11] Production.INFO: ==2659== Releasing lock...
[2025-01-11 22:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:57:13] Production.INFO: call_cost start
[2025-01-11 22:57:13] Production.INFO: call_cost end
[2025-01-11 22:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:57:14] Production.INFO: ==2655== Releasing lock...
[2025-01-11 22:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:57:19] Production.INFO: count ==1137
[2025-01-11 22:57:19] Production.ERROR: pbx CDR StartTime 2025-01-11 19:57:05 - End Time 2025-01-11 22:57:05
[2025-01-11 22:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227461', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227461', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227461', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227461', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:57:19] Production.INFO: ProcessCDR(1,14227461,1,1,2)
[2025-01-11 22:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227461', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227461', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:57:22] Production.INFO: ==2663== Releasing lock...
[2025-01-11 22:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:57:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 03:58:01] Production.INFO: ==2751== Lock acquired, processing the job...
[2025-01-12 03:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:58:01] Production.INFO: neon service started
[2025-01-12 03:58:01] Production.INFO: neon service started
[2025-01-12 03:58:01] Production.INFO: ==2751== Releasing lock...
[2025-01-12 03:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 22:58:01] Production.INFO: ==2753== Lock acquired, processing the job...
[2025-01-11 22:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:58:02] Production.INFO: ==2753== Releasing lock...
[2025-01-11 22:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:58:02] Production.INFO: ==2755== Lock acquired, processing the job...
[2025-01-12 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:58:02] Production.INFO: ==2755== Releasing lock...
[2025-01-12 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:58:03] Production.INFO: ==2757== Lock acquired, processing the job...
[2025-01-11 22:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:58:03] Production.INFO: ==2759== Lock acquired, processing the job...
[2025-01-11 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:58:03] Production.INFO: ==2761== Lock acquired, processing the job...
[2025-01-11 22:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:58:03] Production.INFO: ==2763== Lock acquired, processing the job...
[2025-01-11 22:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:58:03] Production.INFO: ==2765== Lock acquired, processing the job...
[2025-01-11 22:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:58:03] Production.INFO: Account Balance Start.
[2025-01-11 22:58:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:58:03] Production.INFO: 117
[2025-01-11 22:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:58:03] Production.INFO: ==2767== Lock acquired, processing the job...
[2025-01-11 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 22:58:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:58:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:58:03] Production.INFO: ==2759== Releasing lock...
[2025-01-11 22:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:58:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:58:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:58:03] Production.INFO: count ==21
[2025-01-11 22:58:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 22:58:03] Production.ERROR: done
[2025-01-11 22:58:03] Production.INFO: count ==21
[2025-01-11 22:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227465') start
[2025-01-11 22:58:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:58:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227465') end
[2025-01-11 22:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:58:03] Production.INFO: 1
[2025-01-11 22:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:58:03] Production.INFO: ==2767== Releasing lock...
[2025-01-11 22:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:58:03] Production.ERROR: done
[2025-01-11 22:58:03] Production.INFO: Total Charge 0
[2025-01-11 22:58:04] Production.INFO: CreateAllLog End
[2025-01-11 22:58:04] Production.INFO: Account Balance End.
[2025-01-11 22:58:04] Production.ERROR: CronJobId end 12
[2025-01-11 22:58:04] Production.INFO: ==2763== Releasing lock...
[2025-01-11 22:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:58:05
[end_date_ymd] => 2025-01-11 22:58:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:58:05' and `end` < '2025-01-11 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-01-11 22:58:12] Production.ERROR: CronJobId end10
[2025-01-11 22:58:12] Production.INFO: ==2761== Releasing lock...
[2025-01-11 22:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:58:14] Production.INFO: call_cost start
[2025-01-11 22:58:14] Production.INFO: call_cost end
[2025-01-11 22:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:58:14] Production.INFO: ==2757== Releasing lock...
[2025-01-11 22:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:58:18] Production.INFO: count ==1133
[2025-01-11 22:58:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:58:05 - End Time 2025-01-11 22:58:05
[2025-01-11 22:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227466', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227466', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227466', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227466', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:58:18] Production.INFO: ProcessCDR(1,14227466,1,1,2)
[2025-01-11 22:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227466', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227466', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:58:21] Production.INFO: ==2765== Releasing lock...
[2025-01-11 22:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:58:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 03:59:01] Production.INFO: ==2850== Lock acquired, processing the job...
[2025-01-12 03:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 03:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 03:59:01] Production.INFO: neon service started
[2025-01-12 03:59:01] Production.INFO: neon service started
[2025-01-12 03:59:01] Production.INFO: ==2850== Releasing lock...
[2025-01-12 03:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 03:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:59:02] Production.INFO: ==2854== Lock acquired, processing the job...
[2025-01-12 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:59:02] Production.INFO: ==2854== Releasing lock...
[2025-01-12 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 03:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 22:59:02] Production.INFO: ==2852== Lock acquired, processing the job...
[2025-01-11 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 22:59:02] Production.INFO: ==2852== Releasing lock...
[2025-01-11 22:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 22:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 22:59:03] Production.INFO: ==2863== Lock acquired, processing the job...
[2025-01-11 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 22:59:03] Production.INFO: Account Balance Start.
[2025-01-11 22:59:03] Production.INFO: CreateAllLog Start
[2025-01-11 22:59:03] Production.INFO: 117
[2025-01-11 22:59:03] Production.INFO: Date 2025-01-08
[2025-01-11 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:59:03] Production.INFO: Date 2025-01-09
[2025-01-11 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:59:03] Production.INFO: Date 2025-01-10
[2025-01-11 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:59:03] Production.INFO: Date 2025-01-11
[2025-01-11 22:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 22:59:03] Production.INFO: Total Charge 0
[2025-01-11 22:59:03] Production.INFO: ==2857== Lock acquired, processing the job...
[2025-01-11 22:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 22:59:03] Production.INFO: CreateAllLog End
[2025-01-11 22:59:03] Production.INFO: ==2859== Lock acquired, processing the job...
[2025-01-11 22:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 22:59:03] Production.INFO: ==2861== Lock acquired, processing the job...
[2025-01-11 22:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 22:59:03] Production.INFO: Account Balance End.
[2025-01-11 22:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 22:59:03] Production.ERROR: CronJobId end 12
[2025-01-11 22:59:03] Production.INFO: ==2863== Releasing lock...
[2025-01-11 22:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 22:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 22:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 22:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 22:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 22:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 22:59:03] Production.INFO: ==2865== Lock acquired, processing the job...
[2025-01-11 22:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 22:59:04] Production.INFO: ==2859== Releasing lock...
[2025-01-11 22:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 22:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 22:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 22:59:04] Production.INFO: ==2867== Lock acquired, processing the job...
[2025-01-11 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 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-01-11 22:59:04] Production.INFO: count ==21
[2025-01-11 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-01-11 22:59:04] Production.INFO: count ==21
[2025-01-11 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227470') start
[2025-01-11 22:59:04] Production.ERROR: done
[2025-01-11 22:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227470') end
[2025-01-11 22:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 22:59:04] Production.INFO: 1
[2025-01-11 22:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 22:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 22:59:04] Production.INFO: ==2867== Releasing lock...
[2025-01-11 22:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 22:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 22:59:04] Production.ERROR: done
[2025-01-11 22:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 19:59:05
[end_date_ymd] => 2025-01-11 22:59:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 19:59:05' and `end` < '2025-01-11 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-01-11 22:59:10] Production.ERROR: CronJobId end10
[2025-01-11 22:59:10] Production.INFO: ==2861== Releasing lock...
[2025-01-11 22:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 22:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 22:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 22:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 22:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 22:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 22:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 22:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 22:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 22:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 22:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 22:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 22:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 22:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 22:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 22:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 22:59:13] Production.INFO: call_cost start
[2025-01-11 22:59:13] Production.INFO: call_cost end
[2025-01-11 22:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 22:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 22:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 22:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 22:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 22:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 22:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 22:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 22:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 22:59:14] Production.INFO: ==2857== Releasing lock...
[2025-01-11 22:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 22:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 22:59:18] Production.INFO: count ==1130
[2025-01-11 22:59:18] Production.ERROR: pbx CDR StartTime 2025-01-11 19:59:05 - End Time 2025-01-11 22:59:05
[2025-01-11 22:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227471', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227471', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227471', 'tblTempVendorCDR_20' ) start
[2025-01-11 22:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227471', 'tblTempVendorCDR_20' ) end
[2025-01-11 22:59:18] Production.INFO: ProcessCDR(1,14227471,1,1,2)
[2025-01-11 22:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 22:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 22:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227471', 'tblTempUsageDetail_20' ) start
[2025-01-11 22:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227471', 'tblTempUsageDetail_20' ) end
[2025-01-11 22:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 22:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 22:59:21] Production.INFO: ==2865== Releasing lock...
[2025-01-11 22:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 22:59:21] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:00:01] Production.INFO: ==2952== Lock acquired, processing the job...
[2025-01-12 04:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:00:01] Production.INFO: neon service started
[2025-01-12 04:00:01] Production.INFO: neon service started
[2025-01-12 04:00:01] Production.INFO: ==2952== Releasing lock...
[2025-01-12 04:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:00:01] Production.INFO: ==2956== Lock acquired, processing the job...
[2025-01-12 04:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:00:01] Production.INFO: ==2956== Releasing lock...
[2025-01-12 04:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:00:02] Production.INFO: ==2954== Lock acquired, processing the job...
[2025-01-11 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:00:02] Production.INFO: ==2954== Releasing lock...
[2025-01-11 23:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:00:03] Production.INFO: ==2959== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 23:00:03] Production.INFO: ==2963== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:00:03] Production.INFO: ==2965== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 23:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:00:03] Production.ERROR: CronJob PID - 2963
[2025-01-11 23:00:03] Production.ERROR: CronJob Title - Account Block
[2025-01-11 23:00:03] Production.ERROR: CronJob ID - 7
[2025-01-11 23:00:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:00:00
[2025-01-11 23:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:00:03] Production.ERROR: CronJob PID - 2965
[2025-01-11 23:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-11 23:00:03] Production.ERROR: CronJob ID - 10
[2025-01-11 23:00:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:00:00
[2025-01-11 23:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 23:00:03] Production.INFO: ==2959== Releasing lock...
[2025-01-11 23:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 23:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 23:00:03] Production.INFO: ==2961== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:00:03] Production.INFO: ==2969== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:00:03] Production.INFO: ==2967== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:00:03] Production.INFO: Account Balance Start.
[2025-01-11 23:00:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:00:03] Production.INFO: 117
[2025-01-11 23:00:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:00:03] Production.INFO: ==2971== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 23:00:03] Production.INFO: ==2973== Lock acquired, processing the job...
[2025-01-11 23:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:00:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:00:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:00:03] Production.ERROR: done
[2025-01-11 23:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:00:03] Production.INFO: ==2963== Releasing lock...
[2025-01-11 23:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:00:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:00:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:00:04] Production.INFO: count ==21
[2025-01-11 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-01-11 23:00:04] Production.INFO: Total Charge 0
[2025-01-11 23:00:04] Production.INFO: count ==21
[2025-01-11 23:00:04] Production.ERROR: done
[2025-01-11 23:00:04] Production.INFO: CreateAllLog End
[2025-01-11 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227475') start
[2025-01-11 23:00:04] Production.ERROR: done
[2025-01-11 23:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227475') end
[2025-01-11 23:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:00:04] Production.INFO: 1
[2025-01-11 23:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:00:04] Production.INFO: Account Balance End.
[2025-01-11 23:00:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:00:04] Production.INFO: ==2967== Releasing lock...
[2025-01-11 23:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 23:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227477', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 23:00:04] Production.INFO: ==2973== Releasing lock...
[2025-01-11 23:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:00:05
[end_date_ymd] => 2025-01-11 23:00:05
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:00:05' and `end` < '2025-01-11 23: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-01-11 23:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227477', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 23:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 23:00:08] Production.INFO: ProcessCDR(1,14227477,1,1,2)
[2025-01-11 23:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227477,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227477,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:00:08] Production.INFO: ==2971== Releasing lock...
[2025-01-11 23:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 23:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 23:00:12] Production.ERROR: CronJobId end10
[2025-01-11 23:00:12] Production.INFO: ==2965== Releasing lock...
[2025-01-11 23:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:00:15] Production.INFO: call_cost start
[2025-01-11 23:00:15] Production.INFO: call_cost end
[2025-01-11 23:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:00:15] Production.INFO: ==2961== Releasing lock...
[2025-01-11 23:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:00:18] Production.INFO: count ==1126
[2025-01-11 23:00:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:00:05 - End Time 2025-01-11 23:00:05
[2025-01-11 23:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227476', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227476', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227476', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227476', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:00:18] Production.INFO: ProcessCDR(1,14227476,1,1,2)
[2025-01-11 23:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227476', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227476', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:00:21] Production.INFO: ==2969== Releasing lock...
[2025-01-11 23:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:00:21] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:01:02] Production.INFO: ==3136== Lock acquired, processing the job...
[2025-01-12 04:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:01:02] Production.INFO: neon service started
[2025-01-12 04:01:02] Production.INFO: neon service started
[2025-01-12 04:01:02] Production.INFO: ==3136== Releasing lock...
[2025-01-12 04:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:01:02] Production.INFO: ==3149== Lock acquired, processing the job...
[2025-01-11 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:01:02] Production.INFO: ==3151== Lock acquired, processing the job...
[2025-01-12 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:01:02] Production.INFO: ==3151== Releasing lock...
[2025-01-12 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:01:02] Production.INFO: ==3149== Releasing lock...
[2025-01-11 23:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:01:03] Production.INFO: ==3154== Lock acquired, processing the job...
[2025-01-11 23:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:01:03] Production.INFO: ==3156== Lock acquired, processing the job...
[2025-01-11 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:01:03] Production.INFO: ==3162== Lock acquired, processing the job...
[2025-01-11 23:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:01:03] Production.INFO: ==3158== Lock acquired, processing the job...
[2025-01-11 23:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:01:03] Production.INFO: ==3160== Lock acquired, processing the job...
[2025-01-11 23:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:01:03] Production.INFO: ==3164== Lock acquired, processing the job...
[2025-01-11 23:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:01:03] Production.INFO: ==3156== Releasing lock...
[2025-01-11 23:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:01:03] Production.ERROR: done
[2025-01-11 23:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:01:03] Production.INFO: Account Balance Start.
[2025-01-11 23:01:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:01:03] Production.INFO: 117
[2025-01-11 23:01:03] Production.INFO: Date 2025-01-08
[2025-01-11 23: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-01-11 23:01:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:01:04] Production.INFO: count ==21
[2025-01-11 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-01-11 23:01:04] Production.INFO: count ==21
[2025-01-11 23:01:04] Production.ERROR: done
[2025-01-11 23:01:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227481') start
[2025-01-11 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:01:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:01:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:01:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:01:04] Production.INFO: Total Charge 0
[2025-01-11 23:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227481') end
[2025-01-11 23:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:01:04] Production.INFO: 1
[2025-01-11 23:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:01:04] Production.INFO: CreateAllLog End
[2025-01-11 23:01:04] Production.INFO: ==3164== Releasing lock...
[2025-01-11 23:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:01:04] Production.INFO: Account Balance End.
[2025-01-11 23:01:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:01:04] Production.INFO: ==3160== Releasing lock...
[2025-01-11 23:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:01:05
[end_date_ymd] => 2025-01-11 23:01:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:01:05' and `end` < '2025-01-11 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-01-11 23:01:12] Production.ERROR: CronJobId end10
[2025-01-11 23:01:12] Production.INFO: ==3158== Releasing lock...
[2025-01-11 23:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:01:13] Production.INFO: call_cost start
[2025-01-11 23:01:13] Production.INFO: call_cost end
[2025-01-11 23:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:01:14] Production.INFO: ==3154== Releasing lock...
[2025-01-11 23:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:01:19] Production.INFO: count ==1115
[2025-01-11 23:01:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:01:05 - End Time 2025-01-11 23:01:05
[2025-01-11 23:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227482', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227482', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227482', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227482', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:01:19] Production.INFO: ProcessCDR(1,14227482,1,1,2)
[2025-01-11 23:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227482', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227482', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:01:22] Production.INFO: ==3162== Releasing lock...
[2025-01-11 23:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:01:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:02:01] Production.INFO: ==3251== Lock acquired, processing the job...
[2025-01-12 04:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:02:01] Production.INFO: neon service started
[2025-01-12 04:02:01] Production.INFO: neon service started
[2025-01-12 04:02:01] Production.INFO: ==3251== Releasing lock...
[2025-01-12 04:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:02:01] Production.INFO: ==3253== Lock acquired, processing the job...
[2025-01-11 23:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:02:02] Production.INFO: ==3253== Releasing lock...
[2025-01-11 23:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:02:02] Production.INFO: ==3255== Lock acquired, processing the job...
[2025-01-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:02:02] Production.INFO: ==3255== Releasing lock...
[2025-01-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:02:03] Production.INFO: ==3261== Lock acquired, processing the job...
[2025-01-11 23:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:02:03] Production.INFO: ==3257== Lock acquired, processing the job...
[2025-01-11 23:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:02:03] Production.INFO: ==3265== Lock acquired, processing the job...
[2025-01-11 23:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:02:03] Production.INFO: ==3259== Lock acquired, processing the job...
[2025-01-11 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:02:03] Production.INFO: ==3263== Lock acquired, processing the job...
[2025-01-11 23:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:02:03] Production.INFO: ==3267== Lock acquired, processing the job...
[2025-01-11 23:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:02:03] Production.INFO: Account Balance Start.
[2025-01-11 23:02:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:02:03] Production.INFO: 117
[2025-01-11 23:02:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:02:03] Production.ERROR: done
[2025-01-11 23:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:02:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 23: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-01-11 23:02:03] Production.INFO: count ==21
[2025-01-11 23: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-01-11 23:02:03] Production.INFO: count ==21
[2025-01-11 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227486') start
[2025-01-11 23:02:03] Production.ERROR: done
[2025-01-11 23:02:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:02:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:02:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:02:03] Production.INFO: Total Charge 0
[2025-01-11 23:02:03] Production.INFO: CreateAllLog End
[2025-01-11 23:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227486') end
[2025-01-11 23:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:02:03] Production.INFO: 1
[2025-01-11 23:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:02:03] Production.INFO: ==3259== Releasing lock...
[2025-01-11 23:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:02:03] Production.INFO: Account Balance End.
[2025-01-11 23:02:03] Production.INFO: ==3267== Releasing lock...
[2025-01-11 23:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:02:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:02:04] Production.INFO: ==3263== Releasing lock...
[2025-01-11 23:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:02:05
[end_date_ymd] => 2025-01-11 23:02:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:02:05' and `end` < '2025-01-11 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-01-11 23:02:12] Production.ERROR: CronJobId end10
[2025-01-11 23:02:12] Production.INFO: ==3261== Releasing lock...
[2025-01-11 23:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:02:13] Production.INFO: call_cost start
[2025-01-11 23:02:13] Production.INFO: call_cost end
[2025-01-11 23:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:02:13] Production.INFO: ==3257== Releasing lock...
[2025-01-11 23:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:02:19] Production.INFO: count ==1112
[2025-01-11 23:02:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:02:05 - End Time 2025-01-11 23:02:05
[2025-01-11 23:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227487', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227487', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227487', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227487', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:02:19] Production.INFO: ProcessCDR(1,14227487,1,1,2)
[2025-01-11 23:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227487', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227487', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:02:22] Production.INFO: ==3265== Releasing lock...
[2025-01-11 23:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:02:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:03:01] Production.INFO: ==3355== Lock acquired, processing the job...
[2025-01-12 04:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:03:01] Production.INFO: neon service started
[2025-01-12 04:03:01] Production.INFO: neon service started
[2025-01-12 04:03:01] Production.INFO: ==3355== Releasing lock...
[2025-01-12 04:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:03:02] Production.INFO: ==3357== Lock acquired, processing the job...
[2025-01-11 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:03:02] Production.INFO: ==3359== Lock acquired, processing the job...
[2025-01-12 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 23:03:02] Production.INFO: ==3357== Releasing lock...
[2025-01-11 23:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:03:02] Production.INFO: ==3359== Releasing lock...
[2025-01-12 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:03:03] Production.INFO: ==3362== Lock acquired, processing the job...
[2025-01-11 23:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:03:03] Production.INFO: ==3364== Lock acquired, processing the job...
[2025-01-11 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:03:03] Production.INFO: ==3368== Lock acquired, processing the job...
[2025-01-11 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:03:03] Production.INFO: Account Balance Start.
[2025-01-11 23:03:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:03:03] Production.INFO: 117
[2025-01-11 23:03:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:03:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:03:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:03:03] Production.INFO: ==3364== Releasing lock...
[2025-01-11 23:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:03:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:03:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:03:03] Production.INFO: Total Charge 0
[2025-01-11 23:03:03] Production.INFO: ==3366== Lock acquired, processing the job...
[2025-01-11 23:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:03:03] Production.INFO: CreateAllLog End
[2025-01-11 23:03:03] Production.INFO: ==3370== Lock acquired, processing the job...
[2025-01-11 23:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:03:03] Production.INFO: ==3372== Lock acquired, processing the job...
[2025-01-11 23:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:03:03] Production.INFO: Account Balance End.
[2025-01-11 23:03:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:03:03] Production.INFO: ==3368== Releasing lock...
[2025-01-11 23:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:03:03] Production.INFO: count ==21
[2025-01-11 23:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:03:03] Production.INFO: count ==21
[2025-01-11 23:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227491') start
[2025-01-11 23:03:04] Production.ERROR: done
[2025-01-11 23:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227491') end
[2025-01-11 23:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:03:04] Production.INFO: 1
[2025-01-11 23:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:03:04] Production.ERROR: done
[2025-01-11 23:03:04] Production.INFO: ==3372== Releasing lock...
[2025-01-11 23:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:03:04
[end_date_ymd] => 2025-01-11 23:03:04
[RateCDR] => 1
)
[2025-01-11 23:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:03:04' and `end` < '2025-01-11 23:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:03:10] Production.ERROR: CronJobId end10
[2025-01-11 23:03:10] Production.INFO: ==3366== Releasing lock...
[2025-01-11 23:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:03:12] Production.INFO: call_cost start
[2025-01-11 23:03:12] Production.INFO: call_cost end
[2025-01-11 23:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:03:13] Production.INFO: ==3362== Releasing lock...
[2025-01-11 23:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:03:19] Production.INFO: count ==1111
[2025-01-11 23:03:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:03:04 - End Time 2025-01-11 23:03:04
[2025-01-11 23:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227492', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227492', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227492', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227492', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:03:20] Production.INFO: ProcessCDR(1,14227492,1,1,2)
[2025-01-11 23:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227492', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227492', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:03:23] Production.INFO: ==3370== Releasing lock...
[2025-01-11 23:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:03:23] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:04:01] Production.INFO: ==3454== Lock acquired, processing the job...
[2025-01-12 04:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:04:01] Production.INFO: neon service started
[2025-01-12 04:04:01] Production.INFO: neon service started
[2025-01-12 04:04:01] Production.INFO: ==3454== Releasing lock...
[2025-01-12 04:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:04:01] Production.INFO: ==3456== Lock acquired, processing the job...
[2025-01-11 23:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:04:02] Production.INFO: ==3456== Releasing lock...
[2025-01-11 23:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:04:02] Production.INFO: ==3458== Lock acquired, processing the job...
[2025-01-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:04:02] Production.INFO: ==3458== Releasing lock...
[2025-01-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:04:02] Production.INFO: ==3464== Lock acquired, processing the job...
[2025-01-11 23:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:04:02] Production.INFO: ==3470== Lock acquired, processing the job...
[2025-01-11 23:04:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:04:02] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:04:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:04:02] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:04:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:04:03] Production.INFO: ==3460== Lock acquired, processing the job...
[2025-01-11 23:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:04:03] Production.INFO: ==3462== Lock acquired, processing the job...
[2025-01-11 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:04:03] Production.INFO: ==3466== Lock acquired, processing the job...
[2025-01-11 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:04:03] Production.INFO: ==3468== Lock acquired, processing the job...
[2025-01-11 23:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 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-01-11 23:04:03] Production.INFO: Account Balance Start.
[2025-01-11 23:04:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:04:03] Production.INFO: 117
[2025-01-11 23:04:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:04:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:04:03] Production.INFO: count ==21
[2025-01-11 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227493') start
[2025-01-11 23:04:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:04:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227493') end
[2025-01-11 23:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:04:03] Production.INFO: 1
[2025-01-11 23:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:04:03] Production.INFO: ==3462== Releasing lock...
[2025-01-11 23:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:04:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:04:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:04:03] Production.INFO: Total Charge 0
[2025-01-11 23:04:03] Production.INFO: CreateAllLog End
[2025-01-11 23:04:03] Production.INFO: ==3470== Releasing lock...
[2025-01-11 23:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:04:03] Production.ERROR: done
[2025-01-11 23:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:04:03] Production.ERROR: done
[2025-01-11 23:04:03] Production.INFO: Account Balance End.
[2025-01-11 23:04:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:04:03] Production.INFO: ==3466== Releasing lock...
[2025-01-11 23:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:04:04
[end_date_ymd] => 2025-01-11 23:04:04
[RateCDR] => 1
)
[2025-01-11 23:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:04:04' and `end` < '2025-01-11 23:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:04:11] Production.ERROR: CronJobId end10
[2025-01-11 23:04:11] Production.INFO: ==3464== Releasing lock...
[2025-01-11 23:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:04:13] Production.INFO: call_cost start
[2025-01-11 23:04:13] Production.INFO: call_cost end
[2025-01-11 23:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:04:14] Production.INFO: ==3460== Releasing lock...
[2025-01-11 23:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:04:17] Production.INFO: count ==1111
[2025-01-11 23:04:17] Production.ERROR: pbx CDR StartTime 2025-01-11 20:04:04 - End Time 2025-01-11 23:04:04
[2025-01-11 23:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227497', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227497', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227497', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227497', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:04:17] Production.INFO: ProcessCDR(1,14227497,1,1,2)
[2025-01-11 23:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227497', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227497', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:04:21] Production.INFO: ==3468== Releasing lock...
[2025-01-11 23:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:04:21] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:05:01] Production.INFO: ==3633== Lock acquired, processing the job...
[2025-01-12 04:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:05:01] Production.INFO: neon service started
[2025-01-12 04:05:01] Production.INFO: neon service started
[2025-01-12 04:05:01] Production.INFO: ==3633== Releasing lock...
[2025-01-12 04:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:05:02] Production.INFO: ==3635== Lock acquired, processing the job...
[2025-01-11 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:05:02] Production.INFO: ==3635== Releasing lock...
[2025-01-11 23:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:05:02] Production.INFO: ==3637== Lock acquired, processing the job...
[2025-01-12 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:05:02] Production.INFO: ==3637== Releasing lock...
[2025-01-12 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:05:03] Production.INFO: ==3649== Lock acquired, processing the job...
[2025-01-11 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:05:03] Production.INFO: ==3645== Lock acquired, processing the job...
[2025-01-11 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:05:03] Production.INFO: ==3639== Lock acquired, processing the job...
[2025-01-11 23:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:05:03] Production.INFO: ==3641== Lock acquired, processing the job...
[2025-01-11 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:05:03] Production.INFO: count ==21
[2025-01-11 23:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:05:03] Production.INFO: Account Balance Start.
[2025-01-11 23:05:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:05:03] Production.INFO: count ==21
[2025-01-11 23:05:03] Production.INFO: 117
[2025-01-11 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227498') start
[2025-01-11 23:05:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:05:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:05:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:05:03] Production.INFO: ==3643== Lock acquired, processing the job...
[2025-01-11 23:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:05:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:05:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:05:03] Production.INFO: Total Charge 0
[2025-01-11 23:05:03] Production.INFO: ==3647== Lock acquired, processing the job...
[2025-01-11 23:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:05:03] Production.INFO: CreateAllLog End
[2025-01-11 23:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227498') end
[2025-01-11 23:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:05:03] Production.INFO: 1
[2025-01-11 23:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:05:03] Production.INFO: ==3649== Releasing lock...
[2025-01-11 23:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:05:03] Production.INFO: Account Balance End.
[2025-01-11 23:05:03] Production.INFO: ==3641== Releasing lock...
[2025-01-11 23:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:05:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:05:03] Production.INFO: ==3645== Releasing lock...
[2025-01-11 23:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:05:04] Production.ERROR: done
[2025-01-11 23:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:05:04] Production.ERROR: done
[2025-01-11 23:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:05:05
[end_date_ymd] => 2025-01-11 23:05:05
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:05:05' and `end` < '2025-01-11 23: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-01-11 23:05:12] Production.ERROR: CronJobId end10
[2025-01-11 23:05:12] Production.INFO: ==3643== Releasing lock...
[2025-01-11 23:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:05:13] Production.INFO: call_cost start
[2025-01-11 23:05:13] Production.INFO: call_cost end
[2025-01-11 23:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:05:14] Production.INFO: ==3639== Releasing lock...
[2025-01-11 23:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:05:19] Production.INFO: count ==1111
[2025-01-11 23:05:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:05:05 - End Time 2025-01-11 23:05:05
[2025-01-11 23:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227502', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227502', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227502', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227502', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:05:20] Production.INFO: ProcessCDR(1,14227502,1,1,2)
[2025-01-11 23:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227502', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227502', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:05:23] Production.INFO: ==3647== Releasing lock...
[2025-01-11 23:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:05:23] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:06:02] Production.INFO: ==3738== Lock acquired, processing the job...
[2025-01-12 04:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:06:02] Production.INFO: neon service started
[2025-01-12 04:06:02] Production.INFO: neon service started
[2025-01-12 04:06:02] Production.INFO: ==3738== Releasing lock...
[2025-01-12 04:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:06:02] Production.INFO: ==3740== Lock acquired, processing the job...
[2025-01-11 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:06:02] Production.INFO: ==3742== Lock acquired, processing the job...
[2025-01-12 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 23:06:02] Production.INFO: ==3740== Releasing lock...
[2025-01-11 23:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:06:02] Production.INFO: ==3742== Releasing lock...
[2025-01-12 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:06:03] Production.INFO: ==3744== Lock acquired, processing the job...
[2025-01-11 23:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:06:03] Production.INFO: ==3750== Lock acquired, processing the job...
[2025-01-11 23:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:06:03] Production.INFO: ==3752== Lock acquired, processing the job...
[2025-01-11 23:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:06:03] Production.INFO: Account Balance Start.
[2025-01-11 23:06:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:06:03] Production.INFO: 117
[2025-01-11 23:06:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:06:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:06:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:06:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:06:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:06:03] Production.INFO: Total Charge 0
[2025-01-11 23:06:03] Production.INFO: ==3748== Lock acquired, processing the job...
[2025-01-11 23:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:06:03] Production.INFO: ==3746== Lock acquired, processing the job...
[2025-01-11 23:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:06:03] Production.INFO: ==3754== Lock acquired, processing the job...
[2025-01-11 23:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:06:03] Production.INFO: CreateAllLog End
[2025-01-11 23:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23: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-01-11 23:06:04] Production.ERROR: done
[2025-01-11 23:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:06:04] Production.INFO: count ==21
[2025-01-11 23:06:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:06:04] Production.INFO: count ==21
[2025-01-11 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227505') start
[2025-01-11 23:06:04] Production.INFO: Account Balance End.
[2025-01-11 23:06:04] Production.ERROR: done
[2025-01-11 23:06:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:06:04] Production.INFO: ==3750== Releasing lock...
[2025-01-11 23:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:06:04] Production.INFO: ==3746== Releasing lock...
[2025-01-11 23:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227505') end
[2025-01-11 23:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:06:04] Production.INFO: 1
[2025-01-11 23:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:06:04] Production.INFO: ==3754== Releasing lock...
[2025-01-11 23:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:06:04
[end_date_ymd] => 2025-01-11 23:06:04
[RateCDR] => 1
)
[2025-01-11 23:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:06:04' and `end` < '2025-01-11 23:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:06:11] Production.ERROR: CronJobId end10
[2025-01-11 23:06:11] Production.INFO: ==3748== Releasing lock...
[2025-01-11 23:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:06:14] Production.INFO: call_cost start
[2025-01-11 23:06:14] Production.INFO: call_cost end
[2025-01-11 23:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:06:14] Production.INFO: ==3744== Releasing lock...
[2025-01-11 23:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:06:18] Production.INFO: count ==1110
[2025-01-11 23:06:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:06:04 - End Time 2025-01-11 23:06:04
[2025-01-11 23:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227507', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227507', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227507', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227507', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:06:18] Production.INFO: ProcessCDR(1,14227507,1,1,2)
[2025-01-11 23:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227507', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227507', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:06:21] Production.INFO: ==3752== Releasing lock...
[2025-01-11 23:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:06:21] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:07:01] Production.INFO: ==3841== Lock acquired, processing the job...
[2025-01-12 04:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:07:01] Production.INFO: neon service started
[2025-01-12 04:07:01] Production.INFO: neon service started
[2025-01-12 04:07:01] Production.INFO: ==3841== Releasing lock...
[2025-01-12 04:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:07:02] Production.INFO: ==3843== Lock acquired, processing the job...
[2025-01-11 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:07:02] Production.INFO: ==3843== Releasing lock...
[2025-01-11 23:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:07:02] Production.INFO: ==3845== Lock acquired, processing the job...
[2025-01-12 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:07:02] Production.INFO: ==3845== Releasing lock...
[2025-01-12 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:07:03] Production.INFO: ==3854== Lock acquired, processing the job...
[2025-01-11 23:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:07:03] Production.INFO: ==3858== Lock acquired, processing the job...
[2025-01-11 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 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-01-11 23:07:03] Production.INFO: count ==21
[2025-01-11 23:07:03] Production.INFO: ==3848== Lock acquired, processing the job...
[2025-01-11 23:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:07:03] Production.INFO: Account Balance Start.
[2025-01-11 23:07:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:07:03] Production.INFO: 117
[2025-01-11 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-01-11 23:07:03] Production.INFO: count ==21
[2025-01-11 23:07:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:07:03] Production.INFO: ==3850== Lock acquired, processing the job...
[2025-01-11 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227508') start
[2025-01-11 23:07:03] Production.INFO: ==3852== Lock acquired, processing the job...
[2025-01-11 23:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:07:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:07:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:07:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:07:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227508') end
[2025-01-11 23:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:07:03] Production.INFO: 1
[2025-01-11 23:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:07:03] Production.INFO: Total Charge 0
[2025-01-11 23:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:07:03] Production.INFO: ==3856== Lock acquired, processing the job...
[2025-01-11 23:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:07:03] Production.INFO: ==3858== Releasing lock...
[2025-01-11 23:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:07:03] Production.INFO: CreateAllLog End
[2025-01-11 23:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:07:03] Production.INFO: ==3850== Releasing lock...
[2025-01-11 23:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:07:04] Production.ERROR: done
[2025-01-11 23:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:07:04] Production.INFO: Account Balance End.
[2025-01-11 23:07:04] Production.ERROR: done
[2025-01-11 23:07:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:07:04] Production.INFO: ==3854== Releasing lock...
[2025-01-11 23:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:07:04
[end_date_ymd] => 2025-01-11 23:07:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:07:04' and `end` < '2025-01-11 23: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-01-11 23:07:11] Production.ERROR: CronJobId end10
[2025-01-11 23:07:11] Production.INFO: ==3852== Releasing lock...
[2025-01-11 23:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:07:13] Production.INFO: call_cost start
[2025-01-11 23:07:13] Production.INFO: call_cost end
[2025-01-11 23:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:07:14] Production.INFO: ==3848== Releasing lock...
[2025-01-11 23:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:07:19] Production.INFO: count ==1110
[2025-01-11 23:07:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:07:04 - End Time 2025-01-11 23:07:04
[2025-01-11 23:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227512', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227512', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227512', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227512', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:07:19] Production.INFO: ProcessCDR(1,14227512,1,1,2)
[2025-01-11 23:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227512', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227512', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:07:22] Production.INFO: ==3856== Releasing lock...
[2025-01-11 23:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:07:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:08:02] Production.INFO: ==4014== Lock acquired, processing the job...
[2025-01-12 04:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:08:02] Production.INFO: neon service started
[2025-01-12 04:08:02] Production.INFO: neon service started
[2025-01-12 04:08:02] Production.INFO: ==4014== Releasing lock...
[2025-01-12 04:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:08:02] Production.INFO: ==4016== Lock acquired, processing the job...
[2025-01-11 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:08:02] Production.INFO: ==4018== Lock acquired, processing the job...
[2025-01-12 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:08:02] Production.INFO: ==4018== Releasing lock...
[2025-01-12 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:08:02] Production.INFO: ==4016== Releasing lock...
[2025-01-11 23:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:08:03] Production.INFO: ==4021== Lock acquired, processing the job...
[2025-01-11 23:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:08:03] Production.INFO: ==4024== Lock acquired, processing the job...
[2025-01-11 23:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:08:03] Production.INFO: ==4032== Lock acquired, processing the job...
[2025-01-11 23:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:08:03] Production.INFO: count ==21
[2025-01-11 23:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:08:03] Production.INFO: count ==21
[2025-01-11 23:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227515') start
[2025-01-11 23:08:03] Production.INFO: ==4026== Lock acquired, processing the job...
[2025-01-11 23:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:08:04] Production.INFO: ==4024== Releasing lock...
[2025-01-11 23:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227515') end
[2025-01-11 23:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:08:04] Production.INFO: 1
[2025-01-11 23:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:08:04] Production.INFO: ==4030== Lock acquired, processing the job...
[2025-01-11 23:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:08:04] Production.INFO: ==4028== Lock acquired, processing the job...
[2025-01-11 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:08:04] Production.INFO: ==4032== Releasing lock...
[2025-01-11 23:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:08:04] Production.INFO: Account Balance Start.
[2025-01-11 23:08:04] Production.INFO: CreateAllLog Start
[2025-01-11 23:08:04] Production.INFO: 117
[2025-01-11 23:08:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:08:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:08:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:08:04] Production.ERROR: done
[2025-01-11 23:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:08:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:08:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:08:04] Production.INFO: Total Charge 0
[2025-01-11 23:08:04] Production.INFO: CreateAllLog End
[2025-01-11 23:08:04] Production.ERROR: done
[2025-01-11 23:08:04] Production.INFO: Account Balance End.
[2025-01-11 23:08:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:08:04] Production.INFO: ==4028== Releasing lock...
[2025-01-11 23:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:08:05
[end_date_ymd] => 2025-01-11 23:08:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:08:05' and `end` < '2025-01-11 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-01-11 23:08:10] Production.ERROR: CronJobId end10
[2025-01-11 23:08:10] Production.INFO: ==4026== Releasing lock...
[2025-01-11 23:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:08:12] Production.INFO: call_cost start
[2025-01-11 23:08:12] Production.INFO: call_cost end
[2025-01-11 23:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:08:13] Production.INFO: ==4021== Releasing lock...
[2025-01-11 23:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:08:19] Production.INFO: count ==1112
[2025-01-11 23:08:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:08:05 - End Time 2025-01-11 23:08:05
[2025-01-11 23:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227517', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227517', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227517', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227517', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:08:20] Production.INFO: ProcessCDR(1,14227517,1,1,2)
[2025-01-11 23:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227517', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227517', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:08:24] Production.INFO: ==4030== Releasing lock...
[2025-01-11 23:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:08:24] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:09:01] Production.INFO: ==4158== Lock acquired, processing the job...
[2025-01-12 04:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:09:01] Production.INFO: neon service started
[2025-01-12 04:09:01] Production.INFO: neon service started
[2025-01-12 04:09:01] Production.INFO: ==4158== Releasing lock...
[2025-01-12 04:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:09:02] Production.INFO: ==4160== Lock acquired, processing the job...
[2025-01-11 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:09:02] Production.INFO: ==4162== Lock acquired, processing the job...
[2025-01-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:09:02] Production.INFO: ==4162== Releasing lock...
[2025-01-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:09:02] Production.INFO: ==4160== Releasing lock...
[2025-01-11 23:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:09:03] Production.INFO: ==4165== Lock acquired, processing the job...
[2025-01-11 23:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:09:03] Production.INFO: ==4169== Lock acquired, processing the job...
[2025-01-11 23:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:09:03] Production.INFO: ==4173== Lock acquired, processing the job...
[2025-01-11 23:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:09:03] Production.INFO: ==4167== Lock acquired, processing the job...
[2025-01-11 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:09:03] Production.INFO: ==4171== Lock acquired, processing the job...
[2025-01-11 23:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:09:03] Production.INFO: ==4175== Lock acquired, processing the job...
[2025-01-11 23:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:09:03] Production.ERROR: done
[2025-01-11 23:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:09:03] Production.INFO: Account Balance Start.
[2025-01-11 23:09:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:09:03] Production.INFO: 117
[2025-01-11 23:09:03] Production.ERROR: done
[2025-01-11 23:09:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:09:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:09:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:09:03] Production.INFO: count ==21
[2025-01-11 23:09:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:09:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227521') start
[2025-01-11 23:09:03] Production.INFO: ==4167== Releasing lock...
[2025-01-11 23:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:09:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:09:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227521') end
[2025-01-11 23:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:09:04] Production.INFO: 1
[2025-01-11 23:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:09:04] Production.INFO: Total Charge 0
[2025-01-11 23:09:04] Production.INFO: CreateAllLog End
[2025-01-11 23:09:04] Production.INFO: ==4175== Releasing lock...
[2025-01-11 23:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:09:04] Production.INFO: Account Balance End.
[2025-01-11 23:09:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:09:04] Production.INFO: ==4171== Releasing lock...
[2025-01-11 23:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:09:04
[end_date_ymd] => 2025-01-11 23:09:04
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:09:04' and `end` < '2025-01-11 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-01-11 23:09:11] Production.ERROR: CronJobId end10
[2025-01-11 23:09:11] Production.INFO: ==4169== Releasing lock...
[2025-01-11 23:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:09:13] Production.INFO: call_cost start
[2025-01-11 23:09:13] Production.INFO: call_cost end
[2025-01-11 23:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:09:13] Production.INFO: ==4165== Releasing lock...
[2025-01-11 23:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:09:17] Production.INFO: count ==1112
[2025-01-11 23:09:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:09:04 - End Time 2025-01-11 23:09:04
[2025-01-11 23:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227522', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227522', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227522', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227522', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:09:18] Production.INFO: ProcessCDR(1,14227522,1,1,2)
[2025-01-11 23:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227522', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227522', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:09:22] Production.INFO: ==4173== Releasing lock...
[2025-01-11 23:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:09:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:10:01] Production.INFO: ==4260== Lock acquired, processing the job...
[2025-01-12 04:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:10:01] Production.INFO: neon service started
[2025-01-12 04:10:01] Production.INFO: neon service started
[2025-01-12 04:10:01] Production.INFO: ==4260== Releasing lock...
[2025-01-12 04:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:10:02] Production.INFO: ==4264== Lock acquired, processing the job...
[2025-01-12 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:10:02] Production.INFO: ==4264== Releasing lock...
[2025-01-12 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:10:02] Production.INFO: ==4262== Lock acquired, processing the job...
[2025-01-11 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:10:02] Production.INFO: ==4262== Releasing lock...
[2025-01-11 23:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:10:03] Production.INFO: ==4271== Lock acquired, processing the job...
[2025-01-11 23:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:10:03] Production.INFO: ==4275== Lock acquired, processing the job...
[2025-01-11 23:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:10:03] Production.INFO: ==4267== Lock acquired, processing the job...
[2025-01-11 23:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 23:10:03] Production.INFO: ==4269== Lock acquired, processing the job...
[2025-01-11 23:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:10:03] Production.INFO: ==4281== Lock acquired, processing the job...
[2025-01-11 23:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:10:03] Production.INFO: Account Balance Start.
[2025-01-11 23:10:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 23:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:10:03] Production.ERROR: CronJob PID - 4269
[2025-01-11 23:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 23:10:03] Production.ERROR: CronJob ID - 5
[2025-01-11 23:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:10:00
[2025-01-11 23:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:10:03] Production.ERROR: CronJob PID - 4271
[2025-01-11 23:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-11 23:10:03] Production.ERROR: CronJob ID - 7
[2025-01-11 23:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:10:00
[2025-01-11 23:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:10:03] Production.ERROR: CronJob PID - 4275
[2025-01-11 23:10:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-11 23:10:03] Production.ERROR: CronJob ID - 12
[2025-01-11 23:10:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:10:00
[2025-01-11 23:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:10:03] Production.INFO: 117
[2025-01-11 23:10:03] Production.INFO: ==4273== Lock acquired, processing the job...
[2025-01-11 23:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:10:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 23:10:04] Production.INFO: ==4267== Releasing lock...
[2025-01-11 23:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 23:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 23:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:10:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:10:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:10:04] Production.INFO: ==4277== Lock acquired, processing the job...
[2025-01-11 23:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:10:04] Production.INFO: ==4279== Lock acquired, processing the job...
[2025-01-11 23:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 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-01-11 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:10:04] Production.INFO: ==4271== Releasing lock...
[2025-01-11 23:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:10:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:10:04] Production.INFO: count ==21
[2025-01-11 23:10:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 23:10:04] Production.INFO: count ==21
[2025-01-11 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227526') start
[2025-01-11 23:10:04] Production.INFO: Total Charge 0
[2025-01-11 23:10:04] Production.INFO: CreateAllLog End
[2025-01-11 23:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227526') end
[2025-01-11 23:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:10:04] Production.INFO: 1
[2025-01-11 23:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:10:04] Production.ERROR: done
[2025-01-11 23:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:10:04] Production.INFO: ==4281== Releasing lock...
[2025-01-11 23:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:10:04] Production.ERROR: done
[2025-01-11 23:10:04] Production.INFO: Account Balance End.
[2025-01-11 23:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 23:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227527', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 23:10:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:10:04] Production.INFO: ==4275== Releasing lock...
[2025-01-11 23:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:10:04] Production.ERROR: done
[2025-01-11 23:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:10:05
[end_date_ymd] => 2025-01-11 23:10:05
[RateCDR] => 1
)
[2025-01-11 23:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:10:05' and `end` < '2025-01-11 23:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227527', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 23:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 23:10:08] Production.INFO: ProcessCDR(1,14227527,1,1,2)
[2025-01-11 23:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:10:09] Production.INFO: ==4279== Releasing lock...
[2025-01-11 23:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 23:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 23:10:13] Production.ERROR: CronJobId end10
[2025-01-11 23:10:13] Production.INFO: ==4273== Releasing lock...
[2025-01-11 23:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:10:15] Production.INFO: call_cost start
[2025-01-11 23:10:15] Production.INFO: call_cost end
[2025-01-11 23:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:10:16] Production.INFO: ==4269== Releasing lock...
[2025-01-11 23:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:10:18] Production.INFO: count ==1108
[2025-01-11 23:10:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:10:05 - End Time 2025-01-11 23:10:05
[2025-01-11 23:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227528', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227528', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227528', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227528', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:10:18] Production.INFO: ProcessCDR(1,14227528,1,1,2)
[2025-01-11 23:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227528', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227528', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:10:22] Production.INFO: ==4277== Releasing lock...
[2025-01-11 23:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:10:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 04:11:01] Production.INFO: ==4373== Lock acquired, processing the job...
[2025-01-12 04:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:11:01] Production.INFO: neon service started
[2025-01-12 04:11:01] Production.INFO: neon service started
[2025-01-12 04:11:01] Production.INFO: ==4373== Releasing lock...
[2025-01-12 04:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:11:01] Production.INFO: ==4377== Lock acquired, processing the job...
[2025-01-12 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:11:01] Production.INFO: ==4377== Releasing lock...
[2025-01-12 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:11:01] Production.INFO: ==4375== Lock acquired, processing the job...
[2025-01-11 23:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:11:02] Production.INFO: ==4375== Releasing lock...
[2025-01-11 23:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:11:02] Production.INFO: ==4379== Lock acquired, processing the job...
[2025-01-11 23:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:11:02] Production.INFO: ==4381== Lock acquired, processing the job...
[2025-01-11 23:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:11:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:11:02] Production.INFO: ==4388== Lock acquired, processing the job...
[2025-01-11 23:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:11:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:11:03] Production.INFO: ==4383== Lock acquired, processing the job...
[2025-01-11 23:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:11:03] Production.INFO: ==4385== Lock acquired, processing the job...
[2025-01-11 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:11:03] Production.INFO: ==4390== Lock acquired, processing the job...
[2025-01-11 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:11:03] Production.ERROR: done
[2025-01-11 23:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:11:03] Production.INFO: ==4381== Releasing lock...
[2025-01-11 23:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:11:03] Production.INFO: Account Balance Start.
[2025-01-11 23:11:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:11:03] Production.INFO: 117
[2025-01-11 23:11:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-11 23: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-01-11 23:11:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:11:03] Production.INFO: count ==21
[2025-01-11 23:11:03] Production.ERROR: done
[2025-01-11 23: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-01-11 23:11:03] Production.INFO: count ==21
[2025-01-11 23:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227532') start
[2025-01-11 23:11:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:11:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:11:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:11:03] Production.INFO: Total Charge 0
[2025-01-11 23:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227532') end
[2025-01-11 23:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:11:03] Production.INFO: 1
[2025-01-11 23:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:11:03] Production.INFO: CreateAllLog End
[2025-01-11 23:11:03] Production.INFO: ==4390== Releasing lock...
[2025-01-11 23:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:11:03] Production.INFO: Account Balance End.
[2025-01-11 23:11:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:11:03] Production.INFO: ==4385== Releasing lock...
[2025-01-11 23:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:11:04
[end_date_ymd] => 2025-01-11 23:11:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:11:04' and `end` < '2025-01-11 23: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-01-11 23:11: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: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-01-11 23:11:10] Production.ERROR: CronJobId end10
[2025-01-11 23:11:10] Production.INFO: ==4383== Releasing lock...
[2025-01-11 23:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:11:13] Production.INFO: call_cost start
[2025-01-11 23:11:13] Production.INFO: call_cost end
[2025-01-11 23:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:11:14] Production.INFO: ==4379== Releasing lock...
[2025-01-11 23:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:11:17] Production.INFO: count ==1072
[2025-01-11 23:11:17] Production.ERROR: pbx CDR StartTime 2025-01-11 20:11:04 - End Time 2025-01-11 23:11:04
[2025-01-11 23:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227533', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227533', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227533', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227533', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:11:17] Production.INFO: ProcessCDR(1,14227533,1,1,2)
[2025-01-11 23:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227533', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227533', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:11:20] Production.INFO: ==4388== Releasing lock...
[2025-01-11 23:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:11:20] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:12:01] Production.INFO: ==4560== Lock acquired, processing the job...
[2025-01-12 04:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:12:01] Production.INFO: neon service started
[2025-01-12 04:12:01] Production.INFO: neon service started
[2025-01-12 04:12:01] Production.INFO: ==4560== Releasing lock...
[2025-01-12 04:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:12:02] Production.INFO: ==4564== Lock acquired, processing the job...
[2025-01-12 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:12:02] Production.INFO: ==4564== Releasing lock...
[2025-01-12 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:12:02] Production.INFO: ==4562== Lock acquired, processing the job...
[2025-01-11 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:12:02] Production.INFO: ==4562== Releasing lock...
[2025-01-11 23:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:12:03] Production.INFO: ==4567== Lock acquired, processing the job...
[2025-01-11 23:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:12:03] Production.INFO: ==4569== Lock acquired, processing the job...
[2025-01-11 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:12:03] Production.INFO: ==4571== Lock acquired, processing the job...
[2025-01-11 23:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:12:03] Production.INFO: ==4578== Lock acquired, processing the job...
[2025-01-11 23:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:12:03] Production.INFO: ==4569== Releasing lock...
[2025-01-11 23:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:12:03] Production.INFO: ==4582== Lock acquired, processing the job...
[2025-01-11 23:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:12:03] Production.INFO: ==4584== Lock acquired, processing the job...
[2025-01-11 23:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:12:03] Production.INFO: Account Balance Start.
[2025-01-11 23:12:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:12:03] Production.INFO: 117
[2025-01-11 23:12:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:12:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:12:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:12:04] Production.INFO: count ==21
[2025-01-11 23:12:04] Production.ERROR: done
[2025-01-11 23:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227537') start
[2025-01-11 23:12:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:12:04] Production.ERROR: done
[2025-01-11 23:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227537') end
[2025-01-11 23:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:12:04] Production.INFO: 1
[2025-01-11 23:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:12:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:12:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:12:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:12:04] Production.INFO: Total Charge 0
[2025-01-11 23:12:04] Production.INFO: CreateAllLog End
[2025-01-11 23:12:04] Production.INFO: ==4584== Releasing lock...
[2025-01-11 23:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:12:04] Production.INFO: Account Balance End.
[2025-01-11 23:12:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:12:04] Production.INFO: ==4578== Releasing lock...
[2025-01-11 23:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:12:05
[end_date_ymd] => 2025-01-11 23:12:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:12:05' and `end` < '2025-01-11 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-01-11 23:12:10] Production.ERROR: CronJobId end10
[2025-01-11 23:12:10] Production.INFO: ==4571== Releasing lock...
[2025-01-11 23:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:12:13] Production.INFO: call_cost start
[2025-01-11 23:12:13] Production.INFO: call_cost end
[2025-01-11 23:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:12:13] Production.INFO: ==4567== Releasing lock...
[2025-01-11 23:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:12:20] Production.INFO: count ==1071
[2025-01-11 23:12:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:12:05 - End Time 2025-01-11 23:12:05
[2025-01-11 23:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227538', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227538', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227538', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227538', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:12:20] Production.INFO: ProcessCDR(1,14227538,1,1,2)
[2025-01-11 23:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227538', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227538', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:12:24] Production.INFO: ==4582== Releasing lock...
[2025-01-11 23:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:12:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:13:02] Production.INFO: ==4671== Lock acquired, processing the job...
[2025-01-12 04:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:13:02] Production.INFO: neon service started
[2025-01-12 04:13:02] Production.INFO: neon service started
[2025-01-12 04:13:02] Production.INFO: ==4671== Releasing lock...
[2025-01-12 04:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:13:02] Production.INFO: ==4673== Lock acquired, processing the job...
[2025-01-11 23:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:13:02] Production.INFO: ==4675== Lock acquired, processing the job...
[2025-01-12 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:13:02] Production.INFO: ==4675== Releasing lock...
[2025-01-12 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:13:03] Production.INFO: ==4673== Releasing lock...
[2025-01-11 23:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:13:03] Production.INFO: ==4682== Lock acquired, processing the job...
[2025-01-11 23:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:13:03] Production.INFO: ==4678== Lock acquired, processing the job...
[2025-01-11 23:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:13:03] Production.INFO: ==4686== Lock acquired, processing the job...
[2025-01-11 23:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:13:03] Production.INFO: ==4680== Lock acquired, processing the job...
[2025-01-11 23:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:13:04] Production.INFO: ==4684== Lock acquired, processing the job...
[2025-01-11 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:13:04] Production.INFO: ==4688== Lock acquired, processing the job...
[2025-01-11 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:13:04] Production.INFO: Account Balance Start.
[2025-01-11 23:13:04] Production.INFO: CreateAllLog Start
[2025-01-11 23:13:04] Production.INFO: 117
[2025-01-11 23:13:04] Production.ERROR: done
[2025-01-11 23:13:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23: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-01-11 23:13:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:13:04] Production.INFO: count ==21
[2025-01-11 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-01-11 23:13:04] Production.INFO: count ==21
[2025-01-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:13:04] Production.ERROR: done
[2025-01-11 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227542') start
[2025-01-11 23:13:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:13:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:13:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:13:04] Production.INFO: Total Charge 0
[2025-01-11 23:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227542') end
[2025-01-11 23:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:13:04] Production.INFO: 1
[2025-01-11 23:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:13:04] Production.INFO: CreateAllLog End
[2025-01-11 23:13:04] Production.INFO: ==4680== Releasing lock...
[2025-01-11 23:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:13:04] Production.INFO: ==4688== Releasing lock...
[2025-01-11 23:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:13:04] Production.INFO: Account Balance End.
[2025-01-11 23:13:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:13:04] Production.INFO: ==4684== Releasing lock...
[2025-01-11 23:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:13:05
[end_date_ymd] => 2025-01-11 23:13:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:13:05' and `end` < '2025-01-11 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-01-11 23:13:10] Production.ERROR: CronJobId end10
[2025-01-11 23:13:10] Production.INFO: ==4682== Releasing lock...
[2025-01-11 23:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:13:12] Production.INFO: call_cost start
[2025-01-11 23:13:12] Production.INFO: call_cost end
[2025-01-11 23:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:13:13] Production.INFO: ==4678== Releasing lock...
[2025-01-11 23:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:13:21] Production.INFO: count ==1070
[2025-01-11 23:13:21] Production.ERROR: pbx CDR StartTime 2025-01-11 20:13:05 - End Time 2025-01-11 23:13:05
[2025-01-11 23:13:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227543', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227543', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227543', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:13:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227543', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:13:21] Production.INFO: ProcessCDR(1,14227543,1,1,2)
[2025-01-11 23:13:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:13:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:13:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:13:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227543', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:13:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227543', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:13:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:13:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:13:24] Production.INFO: ==4686== Releasing lock...
[2025-01-11 23:13:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:13:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:14:01] Production.INFO: ==4764== Lock acquired, processing the job...
[2025-01-12 04:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:14:01] Production.INFO: neon service started
[2025-01-12 04:14:01] Production.INFO: neon service started
[2025-01-12 04:14:01] Production.INFO: ==4764== Releasing lock...
[2025-01-12 04:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:14:01] Production.INFO: ==4768== Lock acquired, processing the job...
[2025-01-12 04:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:14:01] Production.INFO: ==4768== Releasing lock...
[2025-01-12 04:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:14:02] Production.INFO: ==4766== Lock acquired, processing the job...
[2025-01-11 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:14:02] Production.INFO: ==4766== Releasing lock...
[2025-01-11 23:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:14:03] Production.INFO: ==4771== Lock acquired, processing the job...
[2025-01-11 23:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:14:03] Production.INFO: ==4779== Lock acquired, processing the job...
[2025-01-11 23:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:14:03] Production.INFO: ==4773== Lock acquired, processing the job...
[2025-01-11 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:14:03] Production.INFO: ==4775== Lock acquired, processing the job...
[2025-01-11 23:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:14:03] Production.INFO: ==4781== Lock acquired, processing the job...
[2025-01-11 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:14:03] Production.INFO: ==4777== Lock acquired, processing the job...
[2025-01-11 23:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 23:14:03] Production.ERROR: done
[2025-01-11 23:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:14:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:14:03] Production.INFO: count ==21
[2025-01-11 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227546') start
[2025-01-11 23:14:03] Production.INFO: Account Balance Start.
[2025-01-11 23:14:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:14:03] Production.INFO: 117
[2025-01-11 23:14:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:14:03] Production.ERROR: done
[2025-01-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:14:03] Production.INFO: ==4773== Releasing lock...
[2025-01-11 23:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227546') end
[2025-01-11 23:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:14:03] Production.INFO: 1
[2025-01-11 23:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:14:03] Production.INFO: ==4781== Releasing lock...
[2025-01-11 23:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:14:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:14:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:14:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:14:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:14:03] Production.INFO: Total Charge 0
[2025-01-11 23:14:04] Production.INFO: CreateAllLog End
[2025-01-11 23:14:04] Production.INFO: Account Balance End.
[2025-01-11 23:14:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:14:04] Production.INFO: ==4777== Releasing lock...
[2025-01-11 23:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:14:04
[end_date_ymd] => 2025-01-11 23:14:04
[RateCDR] => 1
)
[2025-01-11 23:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:14:04' and `end` < '2025-01-11 23:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:14:11] Production.ERROR: CronJobId end10
[2025-01-11 23:14:11] Production.INFO: ==4775== Releasing lock...
[2025-01-11 23:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:14:12] Production.INFO: call_cost start
[2025-01-11 23:14:12] Production.INFO: call_cost end
[2025-01-11 23:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:14:13] Production.INFO: ==4771== Releasing lock...
[2025-01-11 23:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:14:19] Production.INFO: count ==1068
[2025-01-11 23:14:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:14:04 - End Time 2025-01-11 23:14:04
[2025-01-11 23:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227548', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227548', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227548', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227548', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:14:19] Production.INFO: ProcessCDR(1,14227548,1,1,2)
[2025-01-11 23:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227548', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227548', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:14:22] Production.INFO: ==4779== Releasing lock...
[2025-01-11 23:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:14:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:15:02] Production.INFO: ==4935== Lock acquired, processing the job...
[2025-01-12 04:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:15:02] Production.INFO: neon service started
[2025-01-12 04:15:02] Production.INFO: neon service started
[2025-01-12 04:15:02] Production.INFO: ==4935== Releasing lock...
[2025-01-12 04:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:15:02] Production.INFO: ==4937== Lock acquired, processing the job...
[2025-01-11 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:15:02] Production.INFO: ==4937== Releasing lock...
[2025-01-11 23:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:15:02] Production.INFO: ==4939== Lock acquired, processing the job...
[2025-01-12 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:15:02] Production.INFO: ==4939== Releasing lock...
[2025-01-12 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:15:03] Production.INFO: ==4942== Lock acquired, processing the job...
[2025-01-11 23:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:15:03] Production.INFO: ==4946== Lock acquired, processing the job...
[2025-01-11 23:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:15:03] Production.INFO: ==4952== Lock acquired, processing the job...
[2025-01-11 23:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:15:03] Production.INFO: ==4944== Lock acquired, processing the job...
[2025-01-11 23:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23: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-01-11 23:15:03] Production.INFO: count ==21
[2025-01-11 23: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-01-11 23:15:03] Production.INFO: count ==21
[2025-01-11 23:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227550') start
[2025-01-11 23:15:03] Production.INFO: ==4948== Lock acquired, processing the job...
[2025-01-11 23:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:15:03] Production.INFO: ==4950== Lock acquired, processing the job...
[2025-01-11 23:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:15:03] Production.INFO: Account Balance Start.
[2025-01-11 23:15:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:15:03] Production.INFO: 117
[2025-01-11 23:15:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227550') end
[2025-01-11 23:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:15:04] Production.INFO: 1
[2025-01-11 23:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:15:04] Production.INFO: ==4952== Releasing lock...
[2025-01-11 23:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:15:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:15:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:15:04] Production.ERROR: done
[2025-01-11 23:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:15:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:15:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:15:04] Production.INFO: Total Charge 0
[2025-01-11 23:15:04] Production.INFO: ==4944== Releasing lock...
[2025-01-11 23:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:15:04] Production.INFO: CreateAllLog End
[2025-01-11 23:15:04] Production.ERROR: done
[2025-01-11 23:15:04] Production.INFO: Account Balance End.
[2025-01-11 23:15:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:15:04] Production.INFO: ==4948== Releasing lock...
[2025-01-11 23:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:15:05
[end_date_ymd] => 2025-01-11 23:15:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:15:05' and `end` < '2025-01-11 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-01-11 23:15:12] Production.ERROR: CronJobId end10
[2025-01-11 23:15:12] Production.INFO: ==4946== Releasing lock...
[2025-01-11 23:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:15:13] Production.INFO: call_cost start
[2025-01-11 23:15:13] Production.INFO: call_cost end
[2025-01-11 23:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:15:14] Production.INFO: ==4942== Releasing lock...
[2025-01-11 23:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:15:19] Production.INFO: count ==1070
[2025-01-11 23:15:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:15:05 - End Time 2025-01-11 23:15:05
[2025-01-11 23:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227553', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227553', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227553', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227553', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:15:19] Production.INFO: ProcessCDR(1,14227553,1,1,2)
[2025-01-11 23:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227553', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227553', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:15:24] Production.INFO: ==4950== Releasing lock...
[2025-01-11 23:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:15:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:16:01] Production.INFO: ==5022== Lock acquired, processing the job...
[2025-01-12 04:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:16:01] Production.INFO: neon service started
[2025-01-12 04:16:01] Production.INFO: neon service started
[2025-01-12 04:16:01] Production.INFO: ==5022== Releasing lock...
[2025-01-12 04:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:16:01] Production.INFO: ==5026== Lock acquired, processing the job...
[2025-01-12 04:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:16:01] Production.INFO: ==5026== Releasing lock...
[2025-01-12 04:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:16:02] Production.INFO: ==5024== Lock acquired, processing the job...
[2025-01-11 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:16:02] Production.INFO: ==5024== Releasing lock...
[2025-01-11 23:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:16:03] Production.INFO: ==5035== Lock acquired, processing the job...
[2025-01-11 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:16:03] Production.INFO: Account Balance Start.
[2025-01-11 23:16:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:16:03] Production.INFO: 117
[2025-01-11 23:16:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:16:03] Production.INFO: ==5039== Lock acquired, processing the job...
[2025-01-11 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:16:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:16:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:16:03] Production.INFO: ==5031== Lock acquired, processing the job...
[2025-01-11 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:16:03] Production.INFO: ==5033== Lock acquired, processing the job...
[2025-01-11 23:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:16:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:16:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:16:03] Production.INFO: ==5029== Lock acquired, processing the job...
[2025-01-11 23:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:16:03] Production.INFO: Total Charge 0
[2025-01-11 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-01-11 23:16:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:16:03] Production.INFO: CreateAllLog End
[2025-01-11 23:16:03] Production.INFO: count ==21
[2025-01-11 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227555') start
[2025-01-11 23:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:16:03] Production.INFO: ==5037== Lock acquired, processing the job...
[2025-01-11 23:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227555') end
[2025-01-11 23:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:16:03] Production.INFO: 1
[2025-01-11 23:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:16:03] Production.INFO: Account Balance End.
[2025-01-11 23:16:03] Production.INFO: ==5039== Releasing lock...
[2025-01-11 23:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:16:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:16:03] Production.INFO: ==5035== Releasing lock...
[2025-01-11 23:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:16:03] Production.INFO: ==5031== Releasing lock...
[2025-01-11 23:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:16:03] Production.ERROR: done
[2025-01-11 23:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:16:03] Production.ERROR: done
[2025-01-11 23:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:16:04
[end_date_ymd] => 2025-01-11 23:16:04
[RateCDR] => 1
)
[2025-01-11 23:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:16:04' and `end` < '2025-01-11 23:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:16:10] Production.ERROR: CronJobId end10
[2025-01-11 23:16:10] Production.INFO: ==5033== Releasing lock...
[2025-01-11 23:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:16:12] Production.INFO: call_cost start
[2025-01-11 23:16:12] Production.INFO: call_cost end
[2025-01-11 23:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:16:13] Production.INFO: ==5029== Releasing lock...
[2025-01-11 23:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:16:18] Production.INFO: count ==1074
[2025-01-11 23:16:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:16:04 - End Time 2025-01-11 23:16:04
[2025-01-11 23:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227558', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227558', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227558', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227558', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:16:18] Production.INFO: ProcessCDR(1,14227558,1,1,2)
[2025-01-11 23:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227558', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227558', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:16:21] Production.INFO: ==5037== Releasing lock...
[2025-01-11 23:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:16:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:17:01] Production.INFO: ==5112== Lock acquired, processing the job...
[2025-01-12 04:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:17:01] Production.INFO: neon service started
[2025-01-12 04:17:01] Production.INFO: neon service started
[2025-01-12 04:17:01] Production.INFO: ==5112== Releasing lock...
[2025-01-12 04:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:17:02] Production.INFO: ==5114== Lock acquired, processing the job...
[2025-01-11 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:17:02] Production.INFO: ==5114== Releasing lock...
[2025-01-11 23:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:17:02] Production.INFO: ==5116== Lock acquired, processing the job...
[2025-01-12 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:17:02] Production.INFO: ==5116== Releasing lock...
[2025-01-12 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:17:03] Production.INFO: ==5119== Lock acquired, processing the job...
[2025-01-11 23:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:17:03] Production.INFO: ==5123== Lock acquired, processing the job...
[2025-01-11 23:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:17:03] Production.INFO: ==5127== Lock acquired, processing the job...
[2025-01-11 23:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:17:03] Production.INFO: ==5129== Lock acquired, processing the job...
[2025-01-11 23:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:17:03] Production.INFO: ==5125== Lock acquired, processing the job...
[2025-01-11 23:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:17:03] Production.INFO: ==5121== Lock acquired, processing the job...
[2025-01-11 23:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:17:03] Production.INFO: Account Balance Start.
[2025-01-11 23:17:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:17:03] Production.INFO: 117
[2025-01-11 23:17:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 23: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-01-11 23:17:03] Production.INFO: count ==21
[2025-01-11 23:17:03] Production.ERROR: done
[2025-01-11 23:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23: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-01-11 23:17:03] Production.INFO: count ==21
[2025-01-11 23:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227560') start
[2025-01-11 23:17:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:17:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:17:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:17:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:17:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:17:04] Production.ERROR: done
[2025-01-11 23:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227560') end
[2025-01-11 23:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:17:04] Production.INFO: 1
[2025-01-11 23:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:17:04] Production.INFO: ==5121== Releasing lock...
[2025-01-11 23:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:17:04] Production.INFO: Total Charge 0
[2025-01-11 23:17:04] Production.INFO: CreateAllLog End
[2025-01-11 23:17:04] Production.INFO: ==5129== Releasing lock...
[2025-01-11 23:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:17:04] Production.INFO: Account Balance End.
[2025-01-11 23:17:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:17:04] Production.INFO: ==5125== Releasing lock...
[2025-01-11 23:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:17:05
[end_date_ymd] => 2025-01-11 23:17:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:17:05' and `end` < '2025-01-11 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-01-11 23:17:11] Production.ERROR: CronJobId end10
[2025-01-11 23:17:11] Production.INFO: ==5123== Releasing lock...
[2025-01-11 23:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:17:12] Production.INFO: call_cost start
[2025-01-11 23:17:12] Production.INFO: call_cost end
[2025-01-11 23:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:17:13] Production.INFO: ==5119== Releasing lock...
[2025-01-11 23:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:17:18] Production.INFO: count ==1074
[2025-01-11 23:17:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:17:05 - End Time 2025-01-11 23:17:05
[2025-01-11 23:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227563', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227563', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227563', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227563', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:17:18] Production.INFO: ProcessCDR(1,14227563,1,1,2)
[2025-01-11 23:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227563', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227563', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:17:21] Production.INFO: ==5127== Releasing lock...
[2025-01-11 23:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:17:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:18:02] Production.INFO: ==5196== Lock acquired, processing the job...
[2025-01-12 04:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:18:02] Production.INFO: neon service started
[2025-01-12 04:18:02] Production.INFO: neon service started
[2025-01-12 04:18:02] Production.INFO: ==5196== Releasing lock...
[2025-01-12 04:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:18:02] Production.INFO: ==5198== Lock acquired, processing the job...
[2025-01-11 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:18:02] Production.INFO: ==5198== Releasing lock...
[2025-01-11 23:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:18:03] Production.INFO: ==5200== Lock acquired, processing the job...
[2025-01-12 04:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:18:03] Production.INFO: ==5200== Releasing lock...
[2025-01-12 04:18:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:18:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:18:03] Production.INFO: ==5207== Lock acquired, processing the job...
[2025-01-11 23:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:18:03] Production.INFO: ==5213== Lock acquired, processing the job...
[2025-01-11 23:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 23:18:04] Production.INFO: ==5202== Lock acquired, processing the job...
[2025-01-11 23:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:18:04] Production.INFO: count ==21
[2025-01-11 23:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:18:04] Production.INFO: count ==21
[2025-01-11 23:18:04] Production.INFO: ==5205== Lock acquired, processing the job...
[2025-01-11 23:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:18:04] Production.INFO: ==5209== Lock acquired, processing the job...
[2025-01-11 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227564') start
[2025-01-11 23:18:04] Production.INFO: ==5211== Lock acquired, processing the job...
[2025-01-11 23:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227564') end
[2025-01-11 23:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:18:04] Production.INFO: 1
[2025-01-11 23:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:18:04] Production.INFO: Account Balance Start.
[2025-01-11 23:18:04] Production.INFO: CreateAllLog Start
[2025-01-11 23:18:04] Production.INFO: 117
[2025-01-11 23:18:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:18:04] Production.INFO: ==5213== Releasing lock...
[2025-01-11 23:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:18:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:18:04] Production.ERROR: done
[2025-01-11 23:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:18:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:18:04] Production.ERROR: done
[2025-01-11 23:18:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:18:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:18:04] Production.INFO: ==5205== Releasing lock...
[2025-01-11 23:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:18:04] Production.INFO: Total Charge 0
[2025-01-11 23:18:04] Production.INFO: CreateAllLog End
[2025-01-11 23:18:04] Production.INFO: Account Balance End.
[2025-01-11 23:18:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:18:04] Production.INFO: ==5209== Releasing lock...
[2025-01-11 23:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:18:05
[end_date_ymd] => 2025-01-11 23:18:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:18:05' and `end` < '2025-01-11 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-01-11 23:18:11] Production.ERROR: CronJobId end10
[2025-01-11 23:18:11] Production.INFO: ==5207== Releasing lock...
[2025-01-11 23:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:18:13] Production.INFO: call_cost start
[2025-01-11 23:18:13] Production.INFO: call_cost end
[2025-01-11 23:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:18:14] Production.INFO: ==5202== Releasing lock...
[2025-01-11 23:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:18:18] Production.INFO: count ==1075
[2025-01-11 23:18:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:18:05 - End Time 2025-01-11 23:18:05
[2025-01-11 23:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227568', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227568', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227568', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227568', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:18:19] Production.INFO: ProcessCDR(1,14227568,1,1,2)
[2025-01-11 23:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227568', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227568', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:18:23] Production.INFO: ==5211== Releasing lock...
[2025-01-11 23:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:18:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-12 04:19:01] Production.INFO: ==5280== Lock acquired, processing the job...
[2025-01-12 04:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:19:01] Production.INFO: neon service started
[2025-01-12 04:19:01] Production.INFO: neon service started
[2025-01-12 04:19:01] Production.INFO: ==5280== Releasing lock...
[2025-01-12 04:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:19:02] Production.INFO: ==5282== Lock acquired, processing the job...
[2025-01-11 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:19:02] Production.INFO: ==5282== Releasing lock...
[2025-01-11 23:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:19:02] Production.INFO: ==5284== Lock acquired, processing the job...
[2025-01-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:19:02] Production.INFO: ==5284== Releasing lock...
[2025-01-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:19:03] Production.INFO: ==5295== Lock acquired, processing the job...
[2025-01-11 23:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:19:03] Production.INFO: ==5287== Lock acquired, processing the job...
[2025-01-11 23:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:19:03] Production.INFO: ==5297== Lock acquired, processing the job...
[2025-01-11 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:19:03] Production.INFO: ==5289== Lock acquired, processing the job...
[2025-01-11 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:19:03] Production.INFO: ==5291== Lock acquired, processing the job...
[2025-01-11 23:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:19:03] Production.INFO: ==5293== Lock acquired, processing the job...
[2025-01-11 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 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-01-11 23:19:03] Production.INFO: count ==21
[2025-01-11 23:19:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:19:03] Production.INFO: count ==21
[2025-01-11 23:19:03] Production.ERROR: done
[2025-01-11 23:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227569') start
[2025-01-11 23:19:03] Production.INFO: Account Balance Start.
[2025-01-11 23:19:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:19:03] Production.INFO: 117
[2025-01-11 23:19:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:19:03] Production.ERROR: done
[2025-01-11 23:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227569') end
[2025-01-11 23:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:19:03] Production.INFO: 1
[2025-01-11 23:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:19:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:19:03] Production.INFO: ==5297== Releasing lock...
[2025-01-11 23:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:19:03] Production.INFO: ==5289== Releasing lock...
[2025-01-11 23:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:19:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:19:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:19:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:19:03] Production.INFO: Total Charge 0
[2025-01-11 23:19:03] Production.INFO: CreateAllLog End
[2025-01-11 23:19:03] Production.INFO: Account Balance End.
[2025-01-11 23:19:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:19:03] Production.INFO: ==5293== Releasing lock...
[2025-01-11 23:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:19:04
[end_date_ymd] => 2025-01-11 23:19:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:19:04' and `end` < '2025-01-11 23: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-01-11 23:19:11] Production.ERROR: CronJobId end10
[2025-01-11 23:19:11] Production.INFO: ==5291== Releasing lock...
[2025-01-11 23:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:19:12] Production.INFO: call_cost start
[2025-01-11 23:19:12] Production.INFO: call_cost end
[2025-01-11 23:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:19:13] Production.INFO: ==5287== Releasing lock...
[2025-01-11 23:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:19:17] Production.INFO: count ==1072
[2025-01-11 23:19:17] Production.ERROR: pbx CDR StartTime 2025-01-11 20:19:04 - End Time 2025-01-11 23:19:04
[2025-01-11 23:19:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227573', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227573', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227573', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:19:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227573', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:19:17] Production.INFO: ProcessCDR(1,14227573,1,1,2)
[2025-01-11 23:19:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227573', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227573', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:19:22] Production.INFO: ==5295== Releasing lock...
[2025-01-11 23:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:19:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:20:02] Production.INFO: ==5364== Lock acquired, processing the job...
[2025-01-12 04:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:20:02] Production.INFO: neon service started
[2025-01-12 04:20:02] Production.INFO: neon service started
[2025-01-12 04:20:02] Production.INFO: ==5364== Releasing lock...
[2025-01-12 04:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:20:02] Production.INFO: ==5368== Lock acquired, processing the job...
[2025-01-12 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:20:02] Production.INFO: ==5368== Releasing lock...
[2025-01-12 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:20:02] Production.INFO: ==5366== Lock acquired, processing the job...
[2025-01-11 23:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:20:03] Production.INFO: ==5366== Releasing lock...
[2025-01-11 23:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:20:03] Production.INFO: ==5370== Lock acquired, processing the job...
[2025-01-11 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 23:20:03] Production.INFO: ==5372== Lock acquired, processing the job...
[2025-01-11 23:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:20:03] Production.INFO: ==5374== Lock acquired, processing the job...
[2025-01-11 23:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 23:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:20:03] Production.ERROR: CronJob PID - 5372
[2025-01-11 23:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 23:20:03] Production.ERROR: CronJob ID - 5
[2025-01-11 23:20:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:20:00
[2025-01-11 23:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 23:20:03] Production.INFO: ==5370== Releasing lock...
[2025-01-11 23:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 23:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 23:20:04] Production.INFO: ==5380== Lock acquired, processing the job...
[2025-01-11 23:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:20:04] Production.INFO: ==5376== Lock acquired, processing the job...
[2025-01-11 23:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:20:04] Production.INFO: ==5374== Releasing lock...
[2025-01-11 23:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:20:04] Production.INFO: ==5378== Lock acquired, processing the job...
[2025-01-11 23:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:20:04] Production.INFO: ==5382== Lock acquired, processing the job...
[2025-01-11 23:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 23:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:20:04] Production.INFO: ==5385== Lock acquired, processing the job...
[2025-01-11 23:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:20:04] Production.ERROR: done
[2025-01-11 23:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:20:04] Production.INFO: Account Balance Start.
[2025-01-11 23:20:04] Production.INFO: CreateAllLog Start
[2025-01-11 23:20:04] Production.INFO: 117
[2025-01-11 23:20:04] Production.ERROR: done
[2025-01-11 23:20:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:20:04] Production.INFO: count ==21
[2025-01-11 23:20:04] Production.ERROR: done
[2025-01-11 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-01-11 23:20:04] Production.INFO: count ==21
[2025-01-11 23:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227577') start
[2025-01-11 23:20:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:20:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227577') end
[2025-01-11 23:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:20:05] Production.INFO: 1
[2025-01-11 23:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 23:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227579', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 23:20:05] Production.INFO: Date 2025-01-10
[2025-01-11 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-11 23:20:05] Production.INFO: ==5385== Releasing lock...
[2025-01-11 23:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:20:05] Production.INFO: Date 2025-01-11
[2025-01-11 23:20:05] Production.INFO: Reseller ==> 0
[2025-01-11 23:20:05] Production.INFO: Total Charge 0
[2025-01-11 23:20:05] Production.INFO: CreateAllLog End
[2025-01-11 23:20:05] Production.INFO: Account Balance End.
[2025-01-11 23:20:05] Production.ERROR: CronJobId end 12
[2025-01-11 23:20:05] Production.INFO: ==5378== Releasing lock...
[2025-01-11 23:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:20:06
[end_date_ymd] => 2025-01-11 23:20:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:20:06' and `end` < '2025-01-11 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-01-11 23:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227579', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 23:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 23:20:08] Production.INFO: ProcessCDR(1,14227579,1,1,2)
[2025-01-11 23:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227579,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227579,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:20:08] Production.INFO: ==5382== Releasing lock...
[2025-01-11 23:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 23:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 23:20:13] Production.ERROR: CronJobId end10
[2025-01-11 23:20:13] Production.INFO: ==5376== Releasing lock...
[2025-01-11 23:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:20:15] Production.INFO: call_cost start
[2025-01-11 23:20:15] Production.INFO: call_cost end
[2025-01-11 23:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:20:16] Production.INFO: ==5372== Releasing lock...
[2025-01-11 23:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:20:19] Production.INFO: count ==1071
[2025-01-11 23:20:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:20:06 - End Time 2025-01-11 23:20:06
[2025-01-11 23:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227578', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227578', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227578', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227578', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:20:19] Production.INFO: ProcessCDR(1,14227578,1,1,2)
[2025-01-11 23:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227578', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227578', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:20:23] Production.INFO: ==5380== Releasing lock...
[2025-01-11 23:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:20:23] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:21:01] Production.INFO: ==5449== Lock acquired, processing the job...
[2025-01-12 04:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:21:01] Production.INFO: neon service started
[2025-01-12 04:21:01] Production.INFO: neon service started
[2025-01-12 04:21:01] Production.INFO: ==5449== Releasing lock...
[2025-01-12 04:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:21:02] Production.INFO: ==5451== Lock acquired, processing the job...
[2025-01-11 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:21:02] Production.INFO: ==5453== Lock acquired, processing the job...
[2025-01-12 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:21:02] Production.INFO: ==5453== Releasing lock...
[2025-01-12 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:21:02] Production.INFO: ==5451== Releasing lock...
[2025-01-11 23:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:21:02] Production.INFO: ==5456== Lock acquired, processing the job...
[2025-01-11 23:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:21:03] Production.INFO: ==5460== Lock acquired, processing the job...
[2025-01-11 23:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:21:03] Production.INFO: ==5458== Lock acquired, processing the job...
[2025-01-11 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:21:03] Production.INFO: ==5466== Lock acquired, processing the job...
[2025-01-11 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:21:03] Production.INFO: ==5462== Lock acquired, processing the job...
[2025-01-11 23:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 23:21:03] Production.INFO: ==5464== Lock acquired, processing the job...
[2025-01-11 23:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:21:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:21:03] Production.INFO: count ==21
[2025-01-11 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227582') start
[2025-01-11 23:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:21:03] Production.INFO: Account Balance Start.
[2025-01-11 23:21:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:21:03] Production.INFO: 117
[2025-01-11 23:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227582') end
[2025-01-11 23:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:21:03] Production.INFO: 1
[2025-01-11 23:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:21:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:21:03] Production.ERROR: done
[2025-01-11 23:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:21:03] Production.INFO: ==5458== Releasing lock...
[2025-01-11 23:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:21:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:21:03] Production.INFO: ==5466== Releasing lock...
[2025-01-11 23:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:21:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:21:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:21:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:21:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:21:04] Production.ERROR: done
[2025-01-11 23:21:04] Production.INFO: Total Charge 0
[2025-01-11 23:21:04] Production.INFO: CreateAllLog End
[2025-01-11 23:21:04] Production.INFO: Account Balance End.
[2025-01-11 23:21:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:21:04] Production.INFO: ==5462== Releasing lock...
[2025-01-11 23:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:21:04
[end_date_ymd] => 2025-01-11 23:21:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:21:04' and `end` < '2025-01-11 23: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-01-11 23:21:11] Production.ERROR: CronJobId end10
[2025-01-11 23:21:11] Production.INFO: ==5460== Releasing lock...
[2025-01-11 23:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:21:12] Production.INFO: call_cost start
[2025-01-11 23:21:12] Production.INFO: call_cost end
[2025-01-11 23:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:21:13] Production.INFO: ==5456== Releasing lock...
[2025-01-11 23:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:21:18] Production.INFO: count ==1067
[2025-01-11 23:21:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:21:04 - End Time 2025-01-11 23:21:04
[2025-01-11 23:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227584', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227584', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227584', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227584', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:21:18] Production.INFO: ProcessCDR(1,14227584,1,1,2)
[2025-01-11 23:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227584', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227584', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:21:21] Production.INFO: ==5464== Releasing lock...
[2025-01-11 23:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:21:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:22:01] Production.INFO: ==5532== Lock acquired, processing the job...
[2025-01-12 04:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:22:01] Production.INFO: neon service started
[2025-01-12 04:22:01] Production.INFO: neon service started
[2025-01-12 04:22:01] Production.INFO: ==5532== Releasing lock...
[2025-01-12 04:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:22:02] Production.INFO: ==5536== Lock acquired, processing the job...
[2025-01-11 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:22:02] Production.INFO: ==5536== Releasing lock...
[2025-01-11 23:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:22:02] Production.INFO: ==5538== Lock acquired, processing the job...
[2025-01-12 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:22:02] Production.INFO: ==5538== Releasing lock...
[2025-01-12 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:22:03] Production.INFO: ==5542== Lock acquired, processing the job...
[2025-01-11 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:22:03] Production.INFO: ==5540== Lock acquired, processing the job...
[2025-01-11 23:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:22:03] Production.INFO: ==5544== Lock acquired, processing the job...
[2025-01-11 23:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:22:03] Production.INFO: ==5546== Lock acquired, processing the job...
[2025-01-11 23:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:22:03] Production.INFO: ==5549== Lock acquired, processing the job...
[2025-01-11 23:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:22:03] Production.INFO: ==5542== Releasing lock...
[2025-01-11 23:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:22:03] Production.INFO: Account Balance Start.
[2025-01-11 23:22:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:22:03] Production.INFO: 117
[2025-01-11 23:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:22:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:22:03] Production.INFO: ==5551== Lock acquired, processing the job...
[2025-01-11 23:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:22:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:22:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:22:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:22:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:22:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:22:04] Production.INFO: Total Charge 0
[2025-01-11 23:22:04] Production.INFO: count ==21
[2025-01-11 23:22:04] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 23:22:04] Production.INFO: count ==21
[2025-01-11 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227588') start
[2025-01-11 23:22:04] Production.ERROR: done
[2025-01-11 23:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227588') end
[2025-01-11 23:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:22:04] Production.INFO: 1
[2025-01-11 23:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:22:04] Production.INFO: Account Balance End.
[2025-01-11 23:22:04] Production.INFO: ==5551== Releasing lock...
[2025-01-11 23:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:22:04] Production.ERROR: done
[2025-01-11 23:22:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:22:04] Production.INFO: ==5546== Releasing lock...
[2025-01-11 23:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:22:05
[end_date_ymd] => 2025-01-11 23:22:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:22:05' and `end` < '2025-01-11 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-01-11 23:22:11] Production.ERROR: CronJobId end10
[2025-01-11 23:22:11] Production.INFO: ==5544== Releasing lock...
[2025-01-11 23:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:22:12] Production.INFO: call_cost start
[2025-01-11 23:22:12] Production.INFO: call_cost end
[2025-01-11 23:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:22:13] Production.INFO: ==5540== Releasing lock...
[2025-01-11 23:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:22:21] Production.INFO: count ==1061
[2025-01-11 23:22:21] Production.ERROR: pbx CDR StartTime 2025-01-11 20:22:05 - End Time 2025-01-11 23:22:05
[2025-01-11 23:22:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227589', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227589', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227589', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:22:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227589', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:22:21] Production.INFO: ProcessCDR(1,14227589,1,1,2)
[2025-01-11 23:22:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:22:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:22:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227589', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227589', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:22:24] Production.INFO: ==5549== Releasing lock...
[2025-01-11 23:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:22:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:23:01] Production.INFO: ==5620== Lock acquired, processing the job...
[2025-01-12 04:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:23:01] Production.INFO: neon service started
[2025-01-12 04:23:01] Production.INFO: neon service started
[2025-01-12 04:23:01] Production.INFO: ==5620== Releasing lock...
[2025-01-12 04:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:23:01] Production.INFO: ==5622== Lock acquired, processing the job...
[2025-01-11 23:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:23:02] Production.INFO: ==5622== Releasing lock...
[2025-01-11 23:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:23:02] Production.INFO: ==5624== Lock acquired, processing the job...
[2025-01-12 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:23:02] Production.INFO: ==5624== Releasing lock...
[2025-01-12 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:23:02] Production.INFO: ==5628== Lock acquired, processing the job...
[2025-01-11 23:23:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:23:02] Production.INFO: ==5626== Lock acquired, processing the job...
[2025-01-11 23:23:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:23:02] Production.INFO: ==5632== Lock acquired, processing the job...
[2025-01-11 23:23:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:23:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:23:03] Production.INFO: ==5630== Lock acquired, processing the job...
[2025-01-11 23:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:23:03] Production.INFO: Account Balance Start.
[2025-01-11 23:23:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:23:03] Production.INFO: 117
[2025-01-11 23:23:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:23:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:23:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:23:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:23:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:23:03] Production.INFO: ==5634== Lock acquired, processing the job...
[2025-01-11 23:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:23:03] Production.INFO: ==5636== Lock acquired, processing the job...
[2025-01-11 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:23:03] Production.INFO: Total Charge 0
[2025-01-11 23:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:23:03] Production.INFO: CreateAllLog End
[2025-01-11 23:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:23:03] Production.INFO: ==5628== Releasing lock...
[2025-01-11 23:23:03] Production.INFO: Account Balance End.
[2025-01-11 23:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 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-01-11 23:23:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:23:03] Production.INFO: ==5632== Releasing lock...
[2025-01-11 23:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:23:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:23:03] Production.INFO: count ==21
[2025-01-11 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227593') start
[2025-01-11 23:23:03] Production.ERROR: done
[2025-01-11 23:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227593') end
[2025-01-11 23:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:23:03] Production.INFO: 1
[2025-01-11 23:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:23:03] Production.ERROR: done
[2025-01-11 23:23:03] Production.INFO: ==5636== Releasing lock...
[2025-01-11 23:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:23:04
[end_date_ymd] => 2025-01-11 23:23:04
[RateCDR] => 1
)
[2025-01-11 23:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:23:04' and `end` < '2025-01-11 23:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:23:10] Production.ERROR: CronJobId end10
[2025-01-11 23:23:10] Production.INFO: ==5630== Releasing lock...
[2025-01-11 23:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:23:13] Production.INFO: call_cost start
[2025-01-11 23:23:13] Production.INFO: call_cost end
[2025-01-11 23:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:23:13] Production.INFO: ==5626== Releasing lock...
[2025-01-11 23:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:23:18] Production.INFO: count ==1058
[2025-01-11 23:23:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:23:04 - End Time 2025-01-11 23:23:04
[2025-01-11 23:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227594', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227594', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227594', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227594', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:23:19] Production.INFO: ProcessCDR(1,14227594,1,1,2)
[2025-01-11 23:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227594', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227594', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:23:22] Production.INFO: ==5634== Releasing lock...
[2025-01-11 23:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:23:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:24:01] Production.INFO: ==5705== Lock acquired, processing the job...
[2025-01-12 04:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:24:01] Production.INFO: neon service started
[2025-01-12 04:24:01] Production.INFO: neon service started
[2025-01-12 04:24:01] Production.INFO: ==5705== Releasing lock...
[2025-01-12 04:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:24:02] Production.INFO: ==5707== Lock acquired, processing the job...
[2025-01-11 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:24:02] Production.INFO: ==5707== Releasing lock...
[2025-01-11 23:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:24:02] Production.INFO: ==5709== Lock acquired, processing the job...
[2025-01-12 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:24:02] Production.INFO: ==5709== Releasing lock...
[2025-01-12 04:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:24:03] Production.INFO: ==5715== Lock acquired, processing the job...
[2025-01-11 23:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:24:03] Production.INFO: ==5721== Lock acquired, processing the job...
[2025-01-11 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:24:03] Production.INFO: ==5711== Lock acquired, processing the job...
[2025-01-11 23:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:24:03] Production.INFO: ==5713== Lock acquired, processing the job...
[2025-01-11 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:24:03] Production.INFO: ==5717== Lock acquired, processing the job...
[2025-01-11 23:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:24:03] Production.INFO: ==5719== Lock acquired, processing the job...
[2025-01-11 23:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23: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-01-11 23:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:24:03] Production.INFO: count ==21
[2025-01-11 23: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-01-11 23:24:03] Production.INFO: count ==21
[2025-01-11 23:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227595') start
[2025-01-11 23:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:24:03] Production.INFO: Account Balance Start.
[2025-01-11 23:24:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:24:03] Production.INFO: 117
[2025-01-11 23:24:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227595') end
[2025-01-11 23:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:24:03] Production.INFO: 1
[2025-01-11 23:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:24:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:24:03] Production.INFO: ==5721== Releasing lock...
[2025-01-11 23:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:24:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:24:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:24:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:24:03] Production.INFO: Total Charge 0
[2025-01-11 23:24:03] Production.INFO: CreateAllLog End
[2025-01-11 23:24:03] Production.INFO: ==5713== Releasing lock...
[2025-01-11 23:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:24:03] Production.ERROR: done
[2025-01-11 23:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:24:04] Production.ERROR: done
[2025-01-11 23:24:04] Production.INFO: Account Balance End.
[2025-01-11 23:24:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:24:04] Production.INFO: ==5717== Releasing lock...
[2025-01-11 23:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:24:05
[end_date_ymd] => 2025-01-11 23:24:05
[RateCDR] => 1
)
[2025-01-11 23:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:24:05' and `end` < '2025-01-11 23:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:24:11] Production.ERROR: CronJobId end10
[2025-01-11 23:24:11] Production.INFO: ==5715== Releasing lock...
[2025-01-11 23:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:24:12] Production.INFO: call_cost start
[2025-01-11 23:24:12] Production.INFO: call_cost end
[2025-01-11 23:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:24:13] Production.INFO: ==5711== Releasing lock...
[2025-01-11 23:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:24:18] Production.INFO: count ==1046
[2025-01-11 23:24:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:24:05 - End Time 2025-01-11 23:24:05
[2025-01-11 23:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227599', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227599', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227599', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227599', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:24:18] Production.INFO: ProcessCDR(1,14227599,1,1,2)
[2025-01-11 23:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227599', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227599', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:24:21] Production.INFO: ==5719== Releasing lock...
[2025-01-11 23:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:24:21] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 04:25:02] Production.INFO: ==5828== Lock acquired, processing the job...
[2025-01-12 04:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:25:02] Production.INFO: neon service started
[2025-01-12 04:25:02] Production.INFO: neon service started
[2025-01-12 04:25:02] Production.INFO: ==5828== Releasing lock...
[2025-01-12 04:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:25:02] Production.INFO: ==5831== Lock acquired, processing the job...
[2025-01-11 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:25:02] Production.INFO: ==5831== Releasing lock...
[2025-01-11 23:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:25:02] Production.INFO: ==5833== Lock acquired, processing the job...
[2025-01-12 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:25:02] Production.INFO: ==5833== Releasing lock...
[2025-01-12 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:25:03] Production.INFO: ==5843== Lock acquired, processing the job...
[2025-01-11 23:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:25:03] Production.INFO: ==5845== Lock acquired, processing the job...
[2025-01-11 23:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:25:03] Production.INFO: ==5835== Lock acquired, processing the job...
[2025-01-11 23:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:25:03] Production.INFO: ==5837== Lock acquired, processing the job...
[2025-01-11 23:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:25:03] Production.INFO: count ==21
[2025-01-11 23:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:25:03] Production.INFO: ==5839== Lock acquired, processing the job...
[2025-01-11 23:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:25:03] Production.INFO: count ==21
[2025-01-11 23:25:03] Production.INFO: ==5841== Lock acquired, processing the job...
[2025-01-11 23:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227600') start
[2025-01-11 23:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227600') end
[2025-01-11 23:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:25:04] Production.INFO: 1
[2025-01-11 23:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:25:04] Production.INFO: Account Balance Start.
[2025-01-11 23:25:04] Production.INFO: CreateAllLog Start
[2025-01-11 23:25:04] Production.INFO: 117
[2025-01-11 23:25:04] Production.ERROR: done
[2025-01-11 23:25:04] Production.INFO: ==5845== Releasing lock...
[2025-01-11 23:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:25:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:25:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:25:04] Production.ERROR: done
[2025-01-11 23:25:04] Production.INFO: ==5837== Releasing lock...
[2025-01-11 23:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:25:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:25:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:25:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:25:04] Production.INFO: Total Charge 0
[2025-01-11 23:25:04] Production.INFO: CreateAllLog End
[2025-01-11 23:25:04] Production.INFO: Account Balance End.
[2025-01-11 23:25:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:25:04] Production.INFO: ==5841== Releasing lock...
[2025-01-11 23:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:25:05
[end_date_ymd] => 2025-01-11 23:25:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:25:05' and `end` < '2025-01-11 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-01-11 23:25:11] Production.ERROR: CronJobId end10
[2025-01-11 23:25:11] Production.INFO: ==5839== Releasing lock...
[2025-01-11 23:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:25:13] Production.INFO: call_cost start
[2025-01-11 23:25:13] Production.INFO: call_cost end
[2025-01-11 23:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:25:14] Production.INFO: ==5835== Releasing lock...
[2025-01-11 23:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:25:19] Production.INFO: count ==1035
[2025-01-11 23:25:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:25:05 - End Time 2025-01-11 23:25:05
[2025-01-11 23:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227604', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227604', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227604', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227604', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:25:19] Production.INFO: ProcessCDR(1,14227604,1,1,2)
[2025-01-11 23:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227604', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227604', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:25:22] Production.INFO: ==5843== Releasing lock...
[2025-01-11 23:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:25:22] Production.INFO: 35.25 MB #Memory Used#
[2025-01-12 04:26:01] Production.INFO: ==5909== Lock acquired, processing the job...
[2025-01-12 04:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:26:01] Production.INFO: neon service started
[2025-01-12 04:26:01] Production.INFO: neon service started
[2025-01-12 04:26:01] Production.INFO: ==5909== Releasing lock...
[2025-01-12 04:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:26:02] Production.INFO: ==5911== Lock acquired, processing the job...
[2025-01-11 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:26:02] Production.INFO: ==5913== Lock acquired, processing the job...
[2025-01-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:26:02] Production.INFO: ==5913== Releasing lock...
[2025-01-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:26:02] Production.INFO: ==5911== Releasing lock...
[2025-01-11 23:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:26:03] Production.INFO: ==5915== Lock acquired, processing the job...
[2025-01-11 23:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:26:03] Production.INFO: ==5919== Lock acquired, processing the job...
[2025-01-11 23:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:26:03] Production.INFO: ==5923== Lock acquired, processing the job...
[2025-01-11 23:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:26:03] Production.INFO: ==5925== Lock acquired, processing the job...
[2025-01-11 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:26:03] Production.INFO: ==5917== Lock acquired, processing the job...
[2025-01-11 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:26:03] Production.INFO: ==5921== Lock acquired, processing the job...
[2025-01-11 23:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 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-01-11 23:26:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:26:03] Production.INFO: count ==21
[2025-01-11 23:26:03] Production.ERROR: done
[2025-01-11 23:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227606') start
[2025-01-11 23:26:03] Production.INFO: Account Balance Start.
[2025-01-11 23:26:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:26:03] Production.INFO: 117
[2025-01-11 23:26:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227606') end
[2025-01-11 23:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:26:03] Production.INFO: 1
[2025-01-11 23:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:26:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:26:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:26:03] Production.ERROR: done
[2025-01-11 23:26:03] Production.INFO: ==5925== Releasing lock...
[2025-01-11 23:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:26:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:26:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:26:03] Production.INFO: ==5917== Releasing lock...
[2025-01-11 23:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:26:03] Production.INFO: Total Charge 0
[2025-01-11 23:26:03] Production.INFO: CreateAllLog End
[2025-01-11 23:26:03] Production.INFO: Account Balance End.
[2025-01-11 23:26:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:26:04] Production.INFO: ==5921== Releasing lock...
[2025-01-11 23:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:26:04
[end_date_ymd] => 2025-01-11 23:26:04
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:26:04' and `end` < '2025-01-11 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-01-11 23:26:10] Production.ERROR: CronJobId end10
[2025-01-11 23:26:10] Production.INFO: ==5919== Releasing lock...
[2025-01-11 23:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:26:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:26:11] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:26:11] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:26:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:26:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:26:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:26:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:26:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:26:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:26:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:26:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:26:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:26:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:26:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:26:12] Production.INFO: call_cost start
[2025-01-11 23:26:12] Production.INFO: call_cost end
[2025-01-11 23:26:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:26:12] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:26:12] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:26:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:26:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:26:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:26:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:26:12] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:26:12] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:26:12] Production.INFO: ==5915== Releasing lock...
[2025-01-11 23:26:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:26:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:26:18] Production.INFO: count ==1031
[2025-01-11 23:26:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:26:04 - End Time 2025-01-11 23:26:04
[2025-01-11 23:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227609', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227609', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227609', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227609', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:26:19] Production.INFO: ProcessCDR(1,14227609,1,1,2)
[2025-01-11 23:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227609', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227609', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:26:22] Production.INFO: ==5923== Releasing lock...
[2025-01-11 23:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:26:22] Production.INFO: 35.25 MB #Memory Used#
[2025-01-12 04:27:02] Production.INFO: ==5993== Lock acquired, processing the job...
[2025-01-12 04:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:27:02] Production.INFO: neon service started
[2025-01-12 04:27:02] Production.INFO: neon service started
[2025-01-12 04:27:02] Production.INFO: ==5993== Releasing lock...
[2025-01-12 04:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:27:02] Production.INFO: ==5995== Lock acquired, processing the job...
[2025-01-11 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:27:02] Production.INFO: ==5997== Lock acquired, processing the job...
[2025-01-12 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:27:02] Production.INFO: ==5997== Releasing lock...
[2025-01-12 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:27:02] Production.INFO: ==5995== Releasing lock...
[2025-01-11 23:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:27:03] Production.INFO: ==6000== Lock acquired, processing the job...
[2025-01-11 23:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:27:03] Production.INFO: ==6002== Lock acquired, processing the job...
[2025-01-11 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:27:03] Production.INFO: ==6004== Lock acquired, processing the job...
[2025-01-11 23:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:27:03] Production.INFO: ==6002== Releasing lock...
[2025-01-11 23:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:27:04] Production.INFO: ==6010== Lock acquired, processing the job...
[2025-01-11 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:27:04] Production.INFO: ==6006== Lock acquired, processing the job...
[2025-01-11 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23: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-01-11 23:27:04] Production.INFO: ==6008== Lock acquired, processing the job...
[2025-01-11 23:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:27:04] Production.INFO: count ==21
[2025-01-11 23: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-01-11 23:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:27:04] Production.INFO: count ==21
[2025-01-11 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227612') start
[2025-01-11 23:27:04] Production.INFO: Account Balance Start.
[2025-01-11 23:27:04] Production.INFO: CreateAllLog Start
[2025-01-11 23:27:04] Production.INFO: 117
[2025-01-11 23:27:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227612') end
[2025-01-11 23:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:27:04] Production.INFO: 1
[2025-01-11 23:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:27:04] Production.INFO: ==6010== Releasing lock...
[2025-01-11 23:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:27:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:27:04] Production.ERROR: done
[2025-01-11 23:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:27:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:27:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:27:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:27:04] Production.INFO: Total Charge 0
[2025-01-11 23:27:04] Production.INFO: CreateAllLog End
[2025-01-11 23:27:04] Production.ERROR: done
[2025-01-11 23:27:04] Production.INFO: Account Balance End.
[2025-01-11 23:27:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:27:04] Production.INFO: ==6006== Releasing lock...
[2025-01-11 23:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:27:05
[end_date_ymd] => 2025-01-11 23:27:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:27:05' and `end` < '2025-01-11 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-01-11 23:27:12] Production.ERROR: CronJobId end10
[2025-01-11 23:27:12] Production.INFO: ==6004== Releasing lock...
[2025-01-11 23:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:27:14] Production.INFO: call_cost start
[2025-01-11 23:27:14] Production.INFO: call_cost end
[2025-01-11 23:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:27:15] Production.INFO: ==6000== Releasing lock...
[2025-01-11 23:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:27:18] Production.INFO: count ==1023
[2025-01-11 23:27:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:27:05 - End Time 2025-01-11 23:27:05
[2025-01-11 23:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227614', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227614', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227614', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227614', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:27:18] Production.INFO: ProcessCDR(1,14227614,1,1,2)
[2025-01-11 23:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227614', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227614', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:27:23] Production.INFO: ==6008== Releasing lock...
[2025-01-11 23:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:27:23] Production.INFO: 35.25 MB #Memory Used#
[2025-01-12 04:28:01] Production.INFO: ==6075== Lock acquired, processing the job...
[2025-01-12 04:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:28:01] Production.INFO: neon service started
[2025-01-12 04:28:01] Production.INFO: neon service started
[2025-01-12 04:28:01] Production.INFO: ==6075== Releasing lock...
[2025-01-12 04:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:28:01] Production.INFO: ==6077== Lock acquired, processing the job...
[2025-01-11 23:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:28:02] Production.INFO: ==6077== Releasing lock...
[2025-01-11 23:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:28:02] Production.INFO: ==6079== Lock acquired, processing the job...
[2025-01-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:28:02] Production.INFO: ==6079== Releasing lock...
[2025-01-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:28:02] Production.INFO: ==6083== Lock acquired, processing the job...
[2025-01-11 23:28:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:28:03] Production.INFO: ==6087== Lock acquired, processing the job...
[2025-01-11 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:28:03] Production.INFO: ==6081== Lock acquired, processing the job...
[2025-01-11 23:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:28:03] Production.INFO: Account Balance Start.
[2025-01-11 23:28:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:28:03] Production.INFO: 117
[2025-01-11 23:28:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:28:03] Production.INFO: ==6085== Lock acquired, processing the job...
[2025-01-11 23:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:28:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:28:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:28:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:28:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:28:03] Production.INFO: ==6089== Lock acquired, processing the job...
[2025-01-11 23:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:28:03] Production.INFO: ==6091== Lock acquired, processing the job...
[2025-01-11 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:28:03] Production.INFO: Total Charge 0
[2025-01-11 23:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:28:03] Production.INFO: ==6083== Releasing lock...
[2025-01-11 23:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:28:03] Production.INFO: CreateAllLog End
[2025-01-11 23:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:28:03] Production.INFO: count ==21
[2025-01-11 23:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:28:03] Production.INFO: count ==21
[2025-01-11 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227618') start
[2025-01-11 23:28:03] Production.ERROR: done
[2025-01-11 23:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227618') end
[2025-01-11 23:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:28:03] Production.INFO: 1
[2025-01-11 23:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:28:03] Production.INFO: Account Balance End.
[2025-01-11 23:28:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:28:03] Production.INFO: ==6087== Releasing lock...
[2025-01-11 23:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:28:03] Production.INFO: ==6091== Releasing lock...
[2025-01-11 23:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:28:03] Production.ERROR: done
[2025-01-11 23:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:28:04
[end_date_ymd] => 2025-01-11 23:28:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:28:04' and `end` < '2025-01-11 23: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-01-11 23:28:11] Production.ERROR: CronJobId end10
[2025-01-11 23:28:11] Production.INFO: ==6085== Releasing lock...
[2025-01-11 23:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:28:13] Production.INFO: call_cost start
[2025-01-11 23:28:13] Production.INFO: call_cost end
[2025-01-11 23:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:28:14] Production.INFO: ==6081== Releasing lock...
[2025-01-11 23:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:28:19] Production.INFO: count ==1022
[2025-01-11 23:28:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:28:04 - End Time 2025-01-11 23:28:04
[2025-01-11 23:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227619', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227619', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227619', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227619', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:28:19] Production.INFO: ProcessCDR(1,14227619,1,1,2)
[2025-01-11 23:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227619', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227619', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:28:24] Production.INFO: ==6089== Releasing lock...
[2025-01-11 23:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:28:24] Production.INFO: 35.25 MB #Memory Used#
[2025-01-12 04:29:01] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-01-12 04:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:29:01] Production.INFO: neon service started
[2025-01-12 04:29:01] Production.INFO: neon service started
[2025-01-12 04:29:01] Production.INFO: ==6161== Releasing lock...
[2025-01-12 04:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:29:02] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-01-11 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:29:02] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-01-12 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:29:02] Production.INFO: ==6165== Releasing lock...
[2025-01-12 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:29:02] Production.INFO: ==6163== Releasing lock...
[2025-01-11 23:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:29:03] Production.INFO: ==6168== Lock acquired, processing the job...
[2025-01-11 23:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:29:03] Production.INFO: ==6170== Lock acquired, processing the job...
[2025-01-11 23:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:29:03] Production.INFO: ==6172== Lock acquired, processing the job...
[2025-01-11 23:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:29:03] Production.INFO: ==6174== Lock acquired, processing the job...
[2025-01-11 23:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:29:03] Production.INFO: ==6176== Lock acquired, processing the job...
[2025-01-11 23:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:29:03] Production.INFO: Account Balance Start.
[2025-01-11 23:29:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:29:03] Production.INFO: 117
[2025-01-11 23:29:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:29:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:29:03] Production.INFO: ==6178== Lock acquired, processing the job...
[2025-01-11 23:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:29:04] Production.INFO: ==6170== Releasing lock...
[2025-01-11 23:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:29:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:29:04] Production.INFO: count ==21
[2025-01-11 23:29:04] Production.ERROR: done
[2025-01-11 23:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:29:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:29:04] Production.INFO: count ==21
[2025-01-11 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227623') start
[2025-01-11 23:29:04] Production.ERROR: done
[2025-01-11 23:29:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:29:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:29:04] Production.INFO: Total Charge 0
[2025-01-11 23:29:04] Production.INFO: CreateAllLog End
[2025-01-11 23:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227623') end
[2025-01-11 23:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:29:04] Production.INFO: 1
[2025-01-11 23:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:29:04] Production.INFO: Account Balance End.
[2025-01-11 23:29:04] Production.INFO: ==6178== Releasing lock...
[2025-01-11 23:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:29:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:29:04] Production.INFO: ==6174== Releasing lock...
[2025-01-11 23:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:29:05
[end_date_ymd] => 2025-01-11 23:29:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:29:05' and `end` < '2025-01-11 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-01-11 23:29:11] Production.ERROR: CronJobId end10
[2025-01-11 23:29:11] Production.INFO: ==6172== Releasing lock...
[2025-01-11 23:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:29:13] Production.INFO: call_cost start
[2025-01-11 23:29:13] Production.INFO: call_cost end
[2025-01-11 23:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:29:14] Production.INFO: ==6168== Releasing lock...
[2025-01-11 23:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:29:20] Production.INFO: count ==1021
[2025-01-11 23:29:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:29:05 - End Time 2025-01-11 23:29:05
[2025-01-11 23:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227624', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227624', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227624', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227624', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:29:20] Production.INFO: ProcessCDR(1,14227624,1,1,2)
[2025-01-11 23:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227624', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227624', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:29:23] Production.INFO: ==6176== Releasing lock...
[2025-01-11 23:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:29:23] Production.INFO: 35.25 MB #Memory Used#
[2025-01-12 04:30:02] Production.INFO: ==6243== Lock acquired, processing the job...
[2025-01-12 04:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:30:02] Production.INFO: neon service started
[2025-01-12 04:30:02] Production.INFO: neon service started
[2025-01-12 04:30:02] Production.INFO: ==6243== Releasing lock...
[2025-01-12 04:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:30:02] Production.INFO: ==6247== Lock acquired, processing the job...
[2025-01-11 23:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:30:03] Production.INFO: ==6250== Lock acquired, processing the job...
[2025-01-12 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 23:30:03] Production.INFO: ==6247== Releasing lock...
[2025-01-11 23:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:30:03] Production.INFO: ==6250== Releasing lock...
[2025-01-12 04:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:30:03] Production.INFO: ==6252== Lock acquired, processing the job...
[2025-01-11 23:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 23:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 23:30:04] Production.INFO: ==6254== Lock acquired, processing the job...
[2025-01-11 23:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 23:30:04] Production.INFO: ==6252== Releasing lock...
[2025-01-11 23:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 23:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 23:30:04] Production.INFO: ==6256== Lock acquired, processing the job...
[2025-01-11 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:30:04] Production.INFO: ==6258== Lock acquired, processing the job...
[2025-01-11 23:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:30:04] Production.INFO: ==6264== Lock acquired, processing the job...
[2025-01-11 23:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 23:30:04] Production.INFO: ==6260== Lock acquired, processing the job...
[2025-01-11 23:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:30:04] Production.INFO: ==6256== Releasing lock...
[2025-01-11 23:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:30:04] Production.INFO: Account Balance Start.
[2025-01-11 23:30:04] Production.INFO: CreateAllLog Start
[2025-01-11 23:30:04] Production.INFO: 117
[2025-01-11 23:30:04] Production.INFO: ==6262== Lock acquired, processing the job...
[2025-01-11 23:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:30:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:30:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:30:04] Production.INFO: ==6266== Lock acquired, processing the job...
[2025-01-11 23:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:30:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:30:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:30:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:30:04] Production.ERROR: done
[2025-01-11 23:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 23:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227628', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 23:30:04] Production.INFO: Total Charge 0
[2025-01-11 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-01-11 23:30:04] Production.INFO: CreateAllLog End
[2025-01-11 23:30:04] Production.ERROR: done
[2025-01-11 23:30:04] Production.INFO: count ==21
[2025-01-11 23:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 23:30:04] Production.INFO: count ==21
[2025-01-11 23:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227629') start
[2025-01-11 23:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227629') end
[2025-01-11 23:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:30:05] Production.INFO: 1
[2025-01-11 23:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:30:05] Production.ERROR: done
[2025-01-11 23:30:05] Production.INFO: Account Balance End.
[2025-01-11 23:30:05] Production.INFO: ==6266== Releasing lock...
[2025-01-11 23:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:30:05] Production.ERROR: CronJobId end 12
[2025-01-11 23:30:05] Production.INFO: ==6260== Releasing lock...
[2025-01-11 23:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:30:06
[end_date_ymd] => 2025-01-11 23:30:06
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:30:06' and `end` < '2025-01-11 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-01-11 23:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227628', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 23:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 23:30:09] Production.INFO: ProcessCDR(1,14227628,1,1,2)
[2025-01-11 23:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227628,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:30:09] Production.INFO: ==6264== Releasing lock...
[2025-01-11 23:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 23:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-11 23:30:13] Production.ERROR: CronJobId end10
[2025-01-11 23:30:13] Production.INFO: ==6258== Releasing lock...
[2025-01-11 23:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:30:14] Production.INFO: call_cost start
[2025-01-11 23:30:14] Production.INFO: call_cost end
[2025-01-11 23:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:30:15] Production.INFO: ==6254== Releasing lock...
[2025-01-11 23:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:30:19] Production.INFO: count ==1020
[2025-01-11 23:30:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:30:06 - End Time 2025-01-11 23:30:06
[2025-01-11 23:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227630', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227630', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227630', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227630', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:30:19] Production.INFO: ProcessCDR(1,14227630,1,1,2)
[2025-01-11 23:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227630', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227630', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:30:24] Production.INFO: ==6262== Releasing lock...
[2025-01-11 23:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:30:24] Production.INFO: 35.25 MB #Memory Used#
[2025-01-12 04:31:01] Production.INFO: ==6331== Lock acquired, processing the job...
[2025-01-12 04:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:31:01] Production.INFO: neon service started
[2025-01-12 04:31:01] Production.INFO: neon service started
[2025-01-12 04:31:01] Production.INFO: ==6331== Releasing lock...
[2025-01-12 04:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:31:02] Production.INFO: ==6333== Lock acquired, processing the job...
[2025-01-11 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:31:02] Production.INFO: ==6335== Lock acquired, processing the job...
[2025-01-12 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:31:02] Production.INFO: ==6335== Releasing lock...
[2025-01-12 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:31:02] Production.INFO: ==6333== Releasing lock...
[2025-01-11 23:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:31:03] Production.INFO: ==6344== Lock acquired, processing the job...
[2025-01-11 23:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:31:03] Production.INFO: ==6346== Lock acquired, processing the job...
[2025-01-11 23:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:31:03] Production.INFO: Account Balance Start.
[2025-01-11 23:31:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:31:03] Production.INFO: 117
[2025-01-11 23:31:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:31:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:31:03] Production.INFO: ==6338== Lock acquired, processing the job...
[2025-01-11 23:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:31:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:31:03] Production.INFO: ==6340== Lock acquired, processing the job...
[2025-01-11 23:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:31:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:31:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:31:03] Production.INFO: ==6342== Lock acquired, processing the job...
[2025-01-11 23:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:31:03] Production.INFO: ==6348== Lock acquired, processing the job...
[2025-01-11 23:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:31:03] Production.INFO: Total Charge 0
[2025-01-11 23:31:03] Production.INFO: CreateAllLog End
[2025-01-11 23:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:31:03] Production.ERROR: done
[2025-01-11 23:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 23:31:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:31:03] Production.INFO: count ==21
[2025-01-11 23:31:03] Production.INFO: Account Balance End.
[2025-01-11 23:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227634') start
[2025-01-11 23:31:04] Production.ERROR: done
[2025-01-11 23:31:04] Production.INFO: ==6340== Releasing lock...
[2025-01-11 23:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:31:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:31:04] Production.INFO: ==6344== Releasing lock...
[2025-01-11 23:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227634') end
[2025-01-11 23:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:31:04] Production.INFO: 1
[2025-01-11 23:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:31:04] Production.INFO: ==6348== Releasing lock...
[2025-01-11 23:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:31:05
[end_date_ymd] => 2025-01-11 23:31:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:31:05' and `end` < '2025-01-11 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-01-11 23:31:11] Production.ERROR: CronJobId end10
[2025-01-11 23:31:11] Production.INFO: ==6342== Releasing lock...
[2025-01-11 23:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:31:13] Production.INFO: call_cost start
[2025-01-11 23:31:13] Production.INFO: call_cost end
[2025-01-11 23:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:31:14] Production.INFO: ==6338== Releasing lock...
[2025-01-11 23:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:31:21] Production.INFO: count ==989
[2025-01-11 23:31:21] Production.ERROR: pbx CDR StartTime 2025-01-11 20:31:05 - End Time 2025-01-11 23:31:05
[2025-01-11 23:31:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227635', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227635', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227635', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227635', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:31:21] Production.INFO: ProcessCDR(1,14227635,1,1,2)
[2025-01-11 23:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:31:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:31:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227635', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227635', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:31:25] Production.INFO: ==6346== Releasing lock...
[2025-01-11 23:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:31:25] Production.INFO: 35 MB #Memory Used#
[2025-01-12 04:32:02] Production.INFO: ==6414== Lock acquired, processing the job...
[2025-01-12 04:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:32:02] Production.INFO: neon service started
[2025-01-12 04:32:02] Production.INFO: neon service started
[2025-01-12 04:32:02] Production.INFO: ==6414== Releasing lock...
[2025-01-12 04:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:32:02] Production.INFO: ==6416== Lock acquired, processing the job...
[2025-01-11 23:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:32:02] Production.INFO: ==6418== Lock acquired, processing the job...
[2025-01-12 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:32:02] Production.INFO: ==6418== Releasing lock...
[2025-01-12 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:32:03] Production.INFO: ==6416== Releasing lock...
[2025-01-11 23:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:32:03] Production.INFO: ==6427== Lock acquired, processing the job...
[2025-01-11 23:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:32:03] Production.INFO: ==6429== Lock acquired, processing the job...
[2025-01-11 23:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:32:03] Production.INFO: Account Balance Start.
[2025-01-11 23:32:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:32:03] Production.INFO: 117
[2025-01-11 23:32:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:32:03] Production.INFO: ==6421== Lock acquired, processing the job...
[2025-01-11 23:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:32:04] Production.INFO: ==6423== Lock acquired, processing the job...
[2025-01-11 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:32:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:32:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:32:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:32:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:32:04] Production.INFO: ==6431== Lock acquired, processing the job...
[2025-01-11 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:32:04] Production.INFO: Total Charge 0
[2025-01-11 23:32:04] Production.INFO: ==6425== Lock acquired, processing the job...
[2025-01-11 23:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:32:04] Production.INFO: CreateAllLog End
[2025-01-11 23:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 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-01-11 23:32:04] Production.ERROR: done
[2025-01-11 23:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:32:04] Production.INFO: count ==21
[2025-01-11 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-01-11 23:32:04] Production.INFO: count ==21
[2025-01-11 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227639') start
[2025-01-11 23:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:32:04] Production.ERROR: done
[2025-01-11 23:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:32:04] Production.INFO: Account Balance End.
[2025-01-11 23:32:04] Production.INFO: ==6423== Releasing lock...
[2025-01-11 23:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:32:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:32:04] Production.INFO: ==6427== Releasing lock...
[2025-01-11 23:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227639') end
[2025-01-11 23:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:32:04] Production.INFO: 1
[2025-01-11 23:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:32:04] Production.INFO: ==6431== Releasing lock...
[2025-01-11 23:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:32:05
[end_date_ymd] => 2025-01-11 23:32:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:32:05' and `end` < '2025-01-11 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-01-11 23:32:12] Production.ERROR: CronJobId end10
[2025-01-11 23:32:12] Production.INFO: ==6425== Releasing lock...
[2025-01-11 23:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:32:14] Production.INFO: call_cost start
[2025-01-11 23:32:14] Production.INFO: call_cost end
[2025-01-11 23:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:32:14] Production.INFO: ==6421== Releasing lock...
[2025-01-11 23:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:32:18] Production.INFO: count ==986
[2025-01-11 23:32:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:32:05 - End Time 2025-01-11 23:32:05
[2025-01-11 23:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227640', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227640', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227640', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227640', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:32:18] Production.INFO: ProcessCDR(1,14227640,1,1,2)
[2025-01-11 23:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227640', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227640', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:32:23] Production.INFO: ==6429== Releasing lock...
[2025-01-11 23:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:32:23] Production.INFO: 35 MB #Memory Used#
[2025-01-12 04:33:01] Production.INFO: ==6497== Lock acquired, processing the job...
[2025-01-12 04:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:33:01] Production.INFO: neon service started
[2025-01-12 04:33:01] Production.INFO: neon service started
[2025-01-12 04:33:01] Production.INFO: ==6497== Releasing lock...
[2025-01-12 04:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:33:01] Production.INFO: ==6499== Lock acquired, processing the job...
[2025-01-11 23:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:33:02] Production.INFO: ==6499== Releasing lock...
[2025-01-11 23:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:33:02] Production.INFO: ==6501== Lock acquired, processing the job...
[2025-01-12 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:33:02] Production.INFO: ==6501== Releasing lock...
[2025-01-12 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:33:03] Production.INFO: ==6514== Lock acquired, processing the job...
[2025-01-11 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:33:03] Production.INFO: ==6510== Lock acquired, processing the job...
[2025-01-11 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:33:03] Production.INFO: ==6504== Lock acquired, processing the job...
[2025-01-11 23:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 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-01-11 23:33:03] Production.INFO: ==6506== Lock acquired, processing the job...
[2025-01-11 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:33:03] Production.INFO: Account Balance Start.
[2025-01-11 23:33:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:33:03] Production.INFO: 117
[2025-01-11 23:33:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:33:03] Production.INFO: count ==21
[2025-01-11 23:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 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-01-11 23:33:03] Production.INFO: count ==21
[2025-01-11 23:33:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:33:03] Production.INFO: ==6508== Lock acquired, processing the job...
[2025-01-11 23:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:33:03] Production.INFO: ==6512== Lock acquired, processing the job...
[2025-01-11 23:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227641') start
[2025-01-11 23:33:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227641') end
[2025-01-11 23:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:33:03] Production.INFO: 1
[2025-01-11 23:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:33:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:33:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:33:03] Production.INFO: Total Charge 0
[2025-01-11 23:33:03] Production.INFO: CreateAllLog End
[2025-01-11 23:33:03] Production.INFO: ==6514== Releasing lock...
[2025-01-11 23:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:33:03] Production.ERROR: done
[2025-01-11 23:33:03] Production.INFO: ==6506== Releasing lock...
[2025-01-11 23:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:33:03] Production.INFO: Account Balance End.
[2025-01-11 23:33:03] Production.ERROR: done
[2025-01-11 23:33:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:33:03] Production.INFO: ==6510== Releasing lock...
[2025-01-11 23:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:33:04
[end_date_ymd] => 2025-01-11 23:33:04
[RateCDR] => 1
)
[2025-01-11 23:33:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:33:04' and `end` < '2025-01-11 23:33:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:33:10] Production.ERROR: CronJobId end10
[2025-01-11 23:33:10] Production.INFO: ==6508== Releasing lock...
[2025-01-11 23:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:33:13] Production.INFO: call_cost start
[2025-01-11 23:33:13] Production.INFO: call_cost end
[2025-01-11 23:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:33:14] Production.INFO: ==6504== Releasing lock...
[2025-01-11 23:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:33:20] Production.INFO: count ==978
[2025-01-11 23:33:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:33:04 - End Time 2025-01-11 23:33:04
[2025-01-11 23:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227645', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227645', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227645', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227645', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:33:20] Production.INFO: ProcessCDR(1,14227645,1,1,2)
[2025-01-11 23:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227645', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227645', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:33:23] Production.INFO: ==6512== Releasing lock...
[2025-01-11 23:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:33:23] Production.INFO: 35 MB #Memory Used#
[2025-01-12 04:34:01] Production.INFO: ==6580== Lock acquired, processing the job...
[2025-01-12 04:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:34:01] Production.INFO: neon service started
[2025-01-12 04:34:02] Production.INFO: neon service started
[2025-01-12 04:34:02] Production.INFO: ==6580== Releasing lock...
[2025-01-12 04:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:34:02] Production.INFO: ==6582== Lock acquired, processing the job...
[2025-01-11 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:34:02] Production.INFO: ==6582== Releasing lock...
[2025-01-11 23:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:34:02] Production.INFO: ==6584== Lock acquired, processing the job...
[2025-01-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:34:02] Production.INFO: ==6584== Releasing lock...
[2025-01-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:34:03] Production.INFO: ==6597== Lock acquired, processing the job...
[2025-01-11 23:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:34:03] Production.INFO: ==6593== Lock acquired, processing the job...
[2025-01-11 23:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:34:03] Production.INFO: ==6587== Lock acquired, processing the job...
[2025-01-11 23:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:34:03] Production.INFO: ==6589== Lock acquired, processing the job...
[2025-01-11 23:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:34:03] Production.INFO: ==6591== Lock acquired, processing the job...
[2025-01-11 23:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:34:03] Production.INFO: count ==21
[2025-01-11 23:34:03] Production.INFO: Account Balance Start.
[2025-01-11 23:34:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:34:03] Production.INFO: 117
[2025-01-11 23:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:34:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:34:03] Production.INFO: count ==21
[2025-01-11 23:34:03] Production.INFO: ==6595== Lock acquired, processing the job...
[2025-01-11 23:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227646') start
[2025-01-11 23:34:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:34:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227646') end
[2025-01-11 23:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:34:03] Production.INFO: 1
[2025-01-11 23:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:34:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:34:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:34:03] Production.INFO: Total Charge 0
[2025-01-11 23:34:04] Production.INFO: CreateAllLog End
[2025-01-11 23:34:04] Production.INFO: ==6597== Releasing lock...
[2025-01-11 23:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:34:04] Production.INFO: ==6589== Releasing lock...
[2025-01-11 23:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:34:04] Production.INFO: Account Balance End.
[2025-01-11 23:34:04] Production.ERROR: done
[2025-01-11 23:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:34:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:34:04] Production.INFO: ==6593== Releasing lock...
[2025-01-11 23:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:34:04] Production.ERROR: done
[2025-01-11 23:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:34:05
[end_date_ymd] => 2025-01-11 23:34:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:34:05' and `end` < '2025-01-11 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-01-11 23:34:10] Production.ERROR: CronJobId end10
[2025-01-11 23:34:10] Production.INFO: ==6591== Releasing lock...
[2025-01-11 23:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:34:12] Production.INFO: call_cost start
[2025-01-11 23:34:12] Production.INFO: call_cost end
[2025-01-11 23:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:34:13] Production.INFO: ==6587== Releasing lock...
[2025-01-11 23:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:34:18] Production.INFO: count ==974
[2025-01-11 23:34:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:34:05 - End Time 2025-01-11 23:34:05
[2025-01-11 23:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227650', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227650', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227650', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227650', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:34:18] Production.INFO: ProcessCDR(1,14227650,1,1,2)
[2025-01-11 23:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227650', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227650', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:34:21] Production.INFO: ==6595== Releasing lock...
[2025-01-11 23:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:34:21] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 04:35:01] Production.INFO: ==6661== Lock acquired, processing the job...
[2025-01-12 04:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:35:01] Production.INFO: neon service started
[2025-01-12 04:35:01] Production.INFO: neon service started
[2025-01-12 04:35:01] Production.INFO: ==6661== Releasing lock...
[2025-01-12 04:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:35:01] Production.INFO: ==6663== Lock acquired, processing the job...
[2025-01-11 23:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:35:02] Production.INFO: ==6665== Lock acquired, processing the job...
[2025-01-12 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:35:02] Production.INFO: ==6665== Releasing lock...
[2025-01-12 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:35:02] Production.INFO: ==6663== Releasing lock...
[2025-01-11 23:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:35:03] Production.INFO: ==6676== Lock acquired, processing the job...
[2025-01-11 23:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:35:03] Production.INFO: ==6668== Lock acquired, processing the job...
[2025-01-11 23:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:35:03] Production.INFO: ==6670== Lock acquired, processing the job...
[2025-01-11 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:35:03] Production.INFO: ==6678== Lock acquired, processing the job...
[2025-01-11 23:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:35:03] Production.INFO: ==6674== Lock acquired, processing the job...
[2025-01-11 23:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:35:03] Production.INFO: Account Balance Start.
[2025-01-11 23:35:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:35:03] Production.INFO: 117
[2025-01-11 23:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:35:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:35:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:35:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:35:03] Production.INFO: ==6680== Lock acquired, processing the job...
[2025-01-11 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:35:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:35:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:35:03] Production.INFO: Total Charge 0
[2025-01-11 23:35:03] Production.INFO: count ==21
[2025-01-11 23:35:03] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 23:35:03] Production.INFO: count ==21
[2025-01-11 23:35:03] Production.INFO: ==6670== Releasing lock...
[2025-01-11 23:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227654') start
[2025-01-11 23:35:03] Production.ERROR: done
[2025-01-11 23:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227654') end
[2025-01-11 23:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:35:03] Production.INFO: 1
[2025-01-11 23:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:35:03] Production.INFO: ==6680== Releasing lock...
[2025-01-11 23:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:35:03] Production.ERROR: done
[2025-01-11 23:35:04] Production.INFO: Account Balance End.
[2025-01-11 23:35:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:35:04] Production.INFO: ==6676== Releasing lock...
[2025-01-11 23:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:35:04
[end_date_ymd] => 2025-01-11 23:35:04
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:35:04' and `end` < '2025-01-11 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-01-11 23:35:10] Production.ERROR: CronJobId end10
[2025-01-11 23:35:10] Production.INFO: ==6674== Releasing lock...
[2025-01-11 23:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:35:13] Production.INFO: call_cost start
[2025-01-11 23:35:13] Production.INFO: call_cost end
[2025-01-11 23:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:35:14] Production.INFO: ==6668== Releasing lock...
[2025-01-11 23:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:35:19] Production.INFO: count ==966
[2025-01-11 23:35:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:35:04 - End Time 2025-01-11 23:35:04
[2025-01-11 23:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227655', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227655', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227655', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227655', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:35:19] Production.INFO: ProcessCDR(1,14227655,1,1,2)
[2025-01-11 23:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227655', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227655', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:35:22] Production.INFO: ==6678== Releasing lock...
[2025-01-11 23:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:35:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 04:36:01] Production.INFO: ==6746== Lock acquired, processing the job...
[2025-01-12 04:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:36:01] Production.INFO: neon service started
[2025-01-12 04:36:01] Production.INFO: neon service started
[2025-01-12 04:36:01] Production.INFO: ==6746== Releasing lock...
[2025-01-12 04:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:36:02] Production.INFO: ==6748== Lock acquired, processing the job...
[2025-01-11 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:36:02] Production.INFO: ==6748== Releasing lock...
[2025-01-11 23:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:36:02] Production.INFO: ==6750== Lock acquired, processing the job...
[2025-01-12 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:36:02] Production.INFO: ==6750== Releasing lock...
[2025-01-12 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:36:03] Production.INFO: ==6752== Lock acquired, processing the job...
[2025-01-11 23:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:36:03] Production.INFO: ==6756== Lock acquired, processing the job...
[2025-01-11 23:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:36:03] Production.INFO: ==6754== Lock acquired, processing the job...
[2025-01-11 23:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:36:03] Production.INFO: ==6758== Lock acquired, processing the job...
[2025-01-11 23:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:36:03] Production.INFO: ==6760== Lock acquired, processing the job...
[2025-01-11 23:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:36:03] Production.INFO: ==6762== Lock acquired, processing the job...
[2025-01-11 23:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:36:03] Production.INFO: Account Balance Start.
[2025-01-11 23:36:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:36:03] Production.INFO: 117
[2025-01-11 23:36:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:36:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:36:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:36:03] Production.INFO: count ==21
[2025-01-11 23:36:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:36:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:36:03] Production.INFO: count ==21
[2025-01-11 23:36:03] Production.INFO: Total Charge 0
[2025-01-11 23:36:03] Production.INFO: CreateAllLog End
[2025-01-11 23:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227659') start
[2025-01-11 23:36:04] Production.ERROR: done
[2025-01-11 23:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227659') end
[2025-01-11 23:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:36:04] Production.INFO: 1
[2025-01-11 23:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:36:04] Production.INFO: ==6754== Releasing lock...
[2025-01-11 23:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:36:04] Production.INFO: ==6762== Releasing lock...
[2025-01-11 23:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:36:04] Production.ERROR: done
[2025-01-11 23:36:04] Production.INFO: Account Balance End.
[2025-01-11 23:36:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:36:04] Production.INFO: ==6758== Releasing lock...
[2025-01-11 23:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:36:05
[end_date_ymd] => 2025-01-11 23:36:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:36:05' and `end` < '2025-01-11 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-01-11 23:36:12] Production.ERROR: CronJobId end10
[2025-01-11 23:36:12] Production.INFO: ==6756== Releasing lock...
[2025-01-11 23:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:36:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:36:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:36:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:36:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:36:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:36:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:36:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:36:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:36:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:36:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:36:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:36:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:36:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:36:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:36:14] Production.INFO: call_cost start
[2025-01-11 23:36:14] Production.INFO: call_cost end
[2025-01-11 23:36:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:36:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:36:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:36:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:36:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:36:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:36:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:36:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:36:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:36:15] Production.INFO: ==6752== Releasing lock...
[2025-01-11 23:36:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:36:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:36:21] Production.INFO: count ==960
[2025-01-11 23:36:21] Production.ERROR: pbx CDR StartTime 2025-01-11 20:36:05 - End Time 2025-01-11 23:36:05
[2025-01-11 23:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227660', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227660', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227660', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227660', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:36:21] Production.INFO: ProcessCDR(1,14227660,1,1,2)
[2025-01-11 23:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227660', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227660', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:36:24] Production.INFO: ==6760== Releasing lock...
[2025-01-11 23:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:36:24] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 04:37:02] Production.INFO: ==6827== Lock acquired, processing the job...
[2025-01-12 04:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:37:02] Production.INFO: neon service started
[2025-01-12 04:37:02] Production.INFO: neon service started
[2025-01-12 04:37:02] Production.INFO: ==6827== Releasing lock...
[2025-01-12 04:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:37:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:37:02] Production.INFO: ==6831== Lock acquired, processing the job...
[2025-01-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:37:02] Production.INFO: ==6831== Releasing lock...
[2025-01-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:37:02] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-01-11 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:37:02] Production.INFO: ==6829== Releasing lock...
[2025-01-11 23:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:37:03] Production.INFO: ==6840== Lock acquired, processing the job...
[2025-01-11 23:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:37:03] Production.INFO: ==6834== Lock acquired, processing the job...
[2025-01-11 23:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:37:03] Production.INFO: ==6844== Lock acquired, processing the job...
[2025-01-11 23:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:37:03] Production.INFO: ==6836== Lock acquired, processing the job...
[2025-01-11 23:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:37:03] Production.INFO: Account Balance Start.
[2025-01-11 23:37:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:37:03] Production.INFO: 117
[2025-01-11 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-01-11 23:37:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:37:03] Production.INFO: ==6838== Lock acquired, processing the job...
[2025-01-11 23:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:37:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:37:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:37:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:37:03] Production.INFO: count ==21
[2025-01-11 23:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227662') start
[2025-01-11 23:37:04] Production.INFO: ==6842== Lock acquired, processing the job...
[2025-01-11 23:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:37:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:37:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:37:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:37:04] Production.INFO: Total Charge 0
[2025-01-11 23:37:04] Production.INFO: CreateAllLog End
[2025-01-11 23:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227662') end
[2025-01-11 23:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:37:04] Production.INFO: 1
[2025-01-11 23:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:37:04] Production.INFO: ==6844== Releasing lock...
[2025-01-11 23:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:37:04] Production.ERROR: done
[2025-01-11 23:37:04] Production.INFO: ==6836== Releasing lock...
[2025-01-11 23:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:37:04] Production.INFO: Account Balance End.
[2025-01-11 23:37:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:37:04] Production.INFO: ==6840== Releasing lock...
[2025-01-11 23:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:37:04] Production.ERROR: done
[2025-01-11 23:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:37:05
[end_date_ymd] => 2025-01-11 23:37:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:37:05' and `end` < '2025-01-11 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-01-11 23:37:11] Production.ERROR: CronJobId end10
[2025-01-11 23:37:11] Production.INFO: ==6838== Releasing lock...
[2025-01-11 23:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:37:13] Production.INFO: call_cost start
[2025-01-11 23:37:13] Production.INFO: call_cost end
[2025-01-11 23:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:37:13] Production.INFO: ==6834== Releasing lock...
[2025-01-11 23:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:37:19] Production.INFO: count ==958
[2025-01-11 23:37:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:37:05 - End Time 2025-01-11 23:37:05
[2025-01-11 23:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227665', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227665', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227665', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227665', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:37:19] Production.INFO: ProcessCDR(1,14227665,1,1,2)
[2025-01-11 23:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227665', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227665', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:37:23] Production.INFO: ==6842== Releasing lock...
[2025-01-11 23:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:37:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 04:38:01] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-01-12 04:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:38:01] Production.INFO: neon service started
[2025-01-12 04:38:01] Production.INFO: neon service started
[2025-01-12 04:38:01] Production.INFO: ==6915== Releasing lock...
[2025-01-12 04:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:38:01] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-01-11 23:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:38:02] Production.INFO: ==6917== Releasing lock...
[2025-01-11 23:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:38:02] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-01-12 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:38:02] Production.INFO: ==6919== Releasing lock...
[2025-01-12 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:38:03] Production.INFO: ==6923== Lock acquired, processing the job...
[2025-01-11 23:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:38:03] Production.INFO: ==6925== Lock acquired, processing the job...
[2025-01-11 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:38:03] Production.INFO: ==6927== Lock acquired, processing the job...
[2025-01-11 23:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:38:03] Production.INFO: ==6929== Lock acquired, processing the job...
[2025-01-11 23:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:38:03] Production.INFO: ==6931== Lock acquired, processing the job...
[2025-01-11 23:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:38:03] Production.INFO: ==6933== Lock acquired, processing the job...
[2025-01-11 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:38:03] Production.INFO: Account Balance Start.
[2025-01-11 23:38:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:38:03] Production.INFO: 117
[2025-01-11 23:38:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:38:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 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-01-11 23:38:03] Production.INFO: count ==21
[2025-01-11 23: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-01-11 23:38:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:38:03] Production.INFO: count ==21
[2025-01-11 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227669') start
[2025-01-11 23:38:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:38:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:38:03] Production.INFO: Total Charge 0
[2025-01-11 23:38:03] Production.INFO: CreateAllLog End
[2025-01-11 23:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227669') end
[2025-01-11 23:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:38:03] Production.INFO: 1
[2025-01-11 23:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:38:03] Production.INFO: ==6925== Releasing lock...
[2025-01-11 23:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:38:03] Production.INFO: ==6933== Releasing lock...
[2025-01-11 23:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:38:03] Production.ERROR: done
[2025-01-11 23:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:38:03] Production.INFO: Account Balance End.
[2025-01-11 23:38:04] Production.ERROR: done
[2025-01-11 23:38:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:38:04] Production.INFO: ==6929== Releasing lock...
[2025-01-11 23:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:38:04
[end_date_ymd] => 2025-01-11 23:38:04
[RateCDR] => 1
)
[2025-01-11 23:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:38:04' and `end` < '2025-01-11 23:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:38:10] Production.ERROR: CronJobId end10
[2025-01-11 23:38:10] Production.INFO: ==6927== Releasing lock...
[2025-01-11 23:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:38:13] Production.INFO: call_cost start
[2025-01-11 23:38:13] Production.INFO: call_cost end
[2025-01-11 23:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:38:13] Production.INFO: ==6923== Releasing lock...
[2025-01-11 23:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:38:20] Production.INFO: count ==958
[2025-01-11 23:38:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:38:04 - End Time 2025-01-11 23:38:04
[2025-01-11 23:38:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227670', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227670', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227670', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:38:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227670', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:38:20] Production.INFO: ProcessCDR(1,14227670,1,1,2)
[2025-01-11 23:38:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227670', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227670', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:38:23] Production.INFO: ==6931== Releasing lock...
[2025-01-11 23:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:38:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 04:39:01] Production.INFO: ==6999== Lock acquired, processing the job...
[2025-01-12 04:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:39:01] Production.INFO: neon service started
[2025-01-12 04:39:01] Production.INFO: neon service started
[2025-01-12 04:39:01] Production.INFO: ==6999== Releasing lock...
[2025-01-12 04:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:39:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 23:39:02] Production.INFO: ==7001== Lock acquired, processing the job...
[2025-01-11 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:39:02] Production.INFO: ==7003== Lock acquired, processing the job...
[2025-01-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 23:39:02] Production.INFO: ==7001== Releasing lock...
[2025-01-11 23:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:39:02] Production.INFO: ==7003== Releasing lock...
[2025-01-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:39:03] Production.INFO: ==7005== Lock acquired, processing the job...
[2025-01-11 23:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:39:03] Production.INFO: ==7007== Lock acquired, processing the job...
[2025-01-11 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:39:03] Production.INFO: ==7009== Lock acquired, processing the job...
[2025-01-11 23:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:39:03] Production.INFO: ==7011== Lock acquired, processing the job...
[2025-01-11 23:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:39:03] Production.INFO: ==7007== Releasing lock...
[2025-01-11 23:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:39:03] Production.INFO: ==7013== Lock acquired, processing the job...
[2025-01-11 23:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:39:03] Production.INFO: ==7016== Lock acquired, processing the job...
[2025-01-11 23:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:39:03] Production.INFO: Account Balance Start.
[2025-01-11 23:39:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:39:03] Production.INFO: 117
[2025-01-11 23:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:39:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:39:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:39:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:39:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:39:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:39:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:39:03] Production.INFO: count ==21
[2025-01-11 23:39:03] Production.INFO: Total Charge 0
[2025-01-11 23:39:03] Production.INFO: CreateAllLog End
[2025-01-11 23:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227674') start
[2025-01-11 23:39:04] Production.ERROR: done
[2025-01-11 23:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227674') end
[2025-01-11 23:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:39:04] Production.INFO: 1
[2025-01-11 23:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:39:04] Production.INFO: ==7016== Releasing lock...
[2025-01-11 23:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:39:04] Production.INFO: Account Balance End.
[2025-01-11 23:39:04] Production.ERROR: done
[2025-01-11 23:39:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:39:04] Production.INFO: ==7011== Releasing lock...
[2025-01-11 23:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:39:05
[end_date_ymd] => 2025-01-11 23:39:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:39:05' and `end` < '2025-01-11 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-01-11 23:39:11] Production.ERROR: CronJobId end10
[2025-01-11 23:39:11] Production.INFO: ==7009== Releasing lock...
[2025-01-11 23:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:39:13] Production.INFO: call_cost start
[2025-01-11 23:39:13] Production.INFO: call_cost end
[2025-01-11 23:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:39:13] Production.INFO: ==7005== Releasing lock...
[2025-01-11 23:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:39:19] Production.INFO: count ==958
[2025-01-11 23:39:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:39:05 - End Time 2025-01-11 23:39:05
[2025-01-11 23:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227675', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227675', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227675', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227675', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:39:19] Production.INFO: ProcessCDR(1,14227675,1,1,2)
[2025-01-11 23:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227675', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227675', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:39:24] Production.INFO: ==7013== Releasing lock...
[2025-01-11 23:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:39:24] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 04:40:01] Production.INFO: ==7082== Lock acquired, processing the job...
[2025-01-12 04:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:40:01] Production.INFO: neon service started
[2025-01-12 04:40:01] Production.INFO: neon service started
[2025-01-12 04:40:01] Production.INFO: ==7082== Releasing lock...
[2025-01-12 04:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:40:01] Production.INFO: ==7086== Lock acquired, processing the job...
[2025-01-12 04:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:40:01] Production.INFO: ==7086== Releasing lock...
[2025-01-12 04:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:40:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:40:01] Production.INFO: ==7084== Lock acquired, processing the job...
[2025-01-11 23:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:40:02] Production.INFO: ==7084== Releasing lock...
[2025-01-11 23:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:40:03] Production.INFO: ==7127== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 23:40:03] Production.INFO: ==7131== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 23:40:03] Production.INFO: ==7129== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 23:40:03] Production.INFO: ==7127== Releasing lock...
[2025-01-11 23:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 23:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 23:40:03] Production.INFO: ==7137== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:40:03] Production.INFO: ==7133== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:40:03] Production.INFO: ==7139== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 23:40:03] Production.INFO: ==7135== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:40:03] Production.INFO: ==7142== Lock acquired, processing the job...
[2025-01-11 23:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:40:03] Production.INFO: ==7131== Releasing lock...
[2025-01-11 23:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:40:03] Production.INFO: Account Balance Start.
[2025-01-11 23:40:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:40:03] Production.INFO: 117
[2025-01-11 23:40:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:40:04] Production.ERROR: done
[2025-01-11 23:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 23:40:04] Production.ERROR: done
[2025-01-11 23:40:04] Production.INFO: count ==21
[2025-01-11 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-01-11 23:40:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 23:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227680', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:40:04] Production.INFO: count ==21
[2025-01-11 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227679') start
[2025-01-11 23:40:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:40:04] Production.ERROR: done
[2025-01-11 23:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227679') end
[2025-01-11 23:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:40:04] Production.INFO: 1
[2025-01-11 23:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:40:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:40:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:40:04] Production.INFO: ==7142== Releasing lock...
[2025-01-11 23:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:40:04] Production.INFO: Total Charge 0
[2025-01-11 23:40:04] Production.INFO: CreateAllLog End
[2025-01-11 23:40:04] Production.INFO: Account Balance End.
[2025-01-11 23:40:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:40:04] Production.INFO: ==7135== Releasing lock...
[2025-01-11 23:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:40:05
[end_date_ymd] => 2025-01-11 23:40:05
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:40:05' and `end` < '2025-01-11 23: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-01-11 23:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227680', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 23:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 23:40:08] Production.INFO: ProcessCDR(1,14227680,1,1,2)
[2025-01-11 23:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227680,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227680,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:40:08] Production.INFO: ==7139== Releasing lock...
[2025-01-11 23:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 23:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 23:40:12] Production.ERROR: CronJobId end10
[2025-01-11 23:40:12] Production.INFO: ==7133== Releasing lock...
[2025-01-11 23:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:40:14] Production.INFO: call_cost start
[2025-01-11 23:40:14] Production.INFO: call_cost end
[2025-01-11 23:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:40:15] Production.INFO: ==7129== Releasing lock...
[2025-01-11 23:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:40:20] Production.INFO: count ==962
[2025-01-11 23:40:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:40:05 - End Time 2025-01-11 23:40:05
[2025-01-11 23:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227681', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227681', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227681', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227681', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:40:20] Production.INFO: ProcessCDR(1,14227681,1,1,2)
[2025-01-11 23:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227681', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227681', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:40:23] Production.INFO: ==7137== Releasing lock...
[2025-01-11 23:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:40:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 04:41:01] Production.INFO: ==7208== Lock acquired, processing the job...
[2025-01-12 04:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:41:01] Production.INFO: neon service started
[2025-01-12 04:41:01] Production.INFO: neon service started
[2025-01-12 04:41:01] Production.INFO: ==7208== Releasing lock...
[2025-01-12 04:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:41:02] Production.INFO: ==7212== Lock acquired, processing the job...
[2025-01-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:41:02] Production.INFO: ==7212== Releasing lock...
[2025-01-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:41:02] Production.INFO: ==7210== Lock acquired, processing the job...
[2025-01-11 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:41:02] Production.INFO: ==7210== Releasing lock...
[2025-01-11 23:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:41:03] Production.INFO: ==7215== Lock acquired, processing the job...
[2025-01-11 23:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:41:03] Production.INFO: ==7217== Lock acquired, processing the job...
[2025-01-11 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:41:03] Production.INFO: ==7225== Lock acquired, processing the job...
[2025-01-11 23:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:41:03] Production.INFO: ==7219== Lock acquired, processing the job...
[2025-01-11 23:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:41:03] Production.INFO: ==7222== Lock acquired, processing the job...
[2025-01-11 23:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:41:03] Production.INFO: ==7227== Lock acquired, processing the job...
[2025-01-11 23:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:41:03] Production.INFO: ==7217== Releasing lock...
[2025-01-11 23:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:41:03] Production.INFO: Account Balance Start.
[2025-01-11 23:41:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:41:03] Production.INFO: 117
[2025-01-11 23:41:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:41:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:41:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:41:03] Production.ERROR: done
[2025-01-11 23:41:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:41:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:41:03] Production.INFO: Total Charge 0
[2025-01-11 23:41:03] Production.INFO: CreateAllLog End
[2025-01-11 23:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:41:03] Production.INFO: count ==21
[2025-01-11 23:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:41:03] Production.INFO: count ==21
[2025-01-11 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227685') start
[2025-01-11 23:41:03] Production.ERROR: done
[2025-01-11 23:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227685') end
[2025-01-11 23:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:41:03] Production.INFO: 1
[2025-01-11 23:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:41:04] Production.INFO: Account Balance End.
[2025-01-11 23:41:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:41:04] Production.INFO: ==7222== Releasing lock...
[2025-01-11 23:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:41:04] Production.INFO: ==7227== Releasing lock...
[2025-01-11 23:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:41:04
[end_date_ymd] => 2025-01-11 23:41:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:41:04' and `end` < '2025-01-11 23: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-01-11 23:41:11] Production.ERROR: CronJobId end10
[2025-01-11 23:41:11] Production.INFO: ==7219== Releasing lock...
[2025-01-11 23:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:41:12] Production.INFO: call_cost start
[2025-01-11 23:41:12] Production.INFO: call_cost end
[2025-01-11 23:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:41:13] Production.INFO: ==7215== Releasing lock...
[2025-01-11 23:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:41:18] Production.INFO: count ==909
[2025-01-11 23:41:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:41:04 - End Time 2025-01-11 23:41:04
[2025-01-11 23:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227686', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227686', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227686', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227686', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:41:18] Production.INFO: ProcessCDR(1,14227686,1,1,2)
[2025-01-11 23:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227686', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227686', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:41:21] Production.INFO: ==7225== Releasing lock...
[2025-01-11 23:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:41:21] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:42:02] Production.INFO: ==7298== Lock acquired, processing the job...
[2025-01-12 04:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:42:02] Production.INFO: neon service started
[2025-01-12 04:42:02] Production.INFO: neon service started
[2025-01-12 04:42:02] Production.INFO: ==7298== Releasing lock...
[2025-01-12 04:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:42:02] Production.INFO: ==7300== Lock acquired, processing the job...
[2025-01-11 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:42:02] Production.INFO: ==7300== Releasing lock...
[2025-01-11 23:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:42:02] Production.INFO: ==7302== Lock acquired, processing the job...
[2025-01-12 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:42:02] Production.INFO: ==7302== Releasing lock...
[2025-01-12 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:42:03] Production.INFO: ==7310== Lock acquired, processing the job...
[2025-01-11 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:42:03] Production.INFO: ==7315== Lock acquired, processing the job...
[2025-01-11 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:42:03] Production.INFO: Account Balance Start.
[2025-01-11 23:42:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:42:03] Production.INFO: 117
[2025-01-11 23:42:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:42:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:42:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:42:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:42:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:42:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:42:03] Production.INFO: ==7306== Lock acquired, processing the job...
[2025-01-11 23:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:42:03] Production.INFO: ==7304== Lock acquired, processing the job...
[2025-01-11 23:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:42:03] Production.INFO: count ==21
[2025-01-11 23:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227688') start
[2025-01-11 23:42:03] Production.INFO: ==7308== Lock acquired, processing the job...
[2025-01-11 23:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:42:03] Production.INFO: Total Charge 0
[2025-01-11 23:42:03] Production.INFO: CreateAllLog End
[2025-01-11 23:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:42:03] Production.INFO: ==7313== Lock acquired, processing the job...
[2025-01-11 23:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227688') end
[2025-01-11 23:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:42:03] Production.INFO: 1
[2025-01-11 23:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:42:03] Production.INFO: ==7315== Releasing lock...
[2025-01-11 23:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:42:03] Production.INFO: Account Balance End.
[2025-01-11 23:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:42:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:42:03] Production.INFO: ==7310== Releasing lock...
[2025-01-11 23:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:42:04] Production.INFO: ==7306== Releasing lock...
[2025-01-11 23:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:42:04] Production.ERROR: done
[2025-01-11 23:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:42:04] Production.ERROR: done
[2025-01-11 23:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:42:05
[end_date_ymd] => 2025-01-11 23:42:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:42:05' and `end` < '2025-01-11 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-01-11 23:42:11] Production.ERROR: CronJobId end10
[2025-01-11 23:42:11] Production.INFO: ==7308== Releasing lock...
[2025-01-11 23:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:42:13] Production.INFO: call_cost start
[2025-01-11 23:42:13] Production.INFO: call_cost end
[2025-01-11 23:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:42:13] Production.INFO: ==7304== Releasing lock...
[2025-01-11 23:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:42:18] Production.INFO: count ==909
[2025-01-11 23:42:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:42:05 - End Time 2025-01-11 23:42:05
[2025-01-11 23:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227691', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227691', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227691', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227691', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:42:18] Production.INFO: ProcessCDR(1,14227691,1,1,2)
[2025-01-11 23:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227691', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227691', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:42:21] Production.INFO: ==7313== Releasing lock...
[2025-01-11 23:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:42:21] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:43:01] Production.INFO: ==7380== Lock acquired, processing the job...
[2025-01-12 04:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:43:01] Production.INFO: neon service started
[2025-01-12 04:43:01] Production.INFO: neon service started
[2025-01-12 04:43:01] Production.INFO: ==7380== Releasing lock...
[2025-01-12 04:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:43:01] Production.INFO: ==7382== Lock acquired, processing the job...
[2025-01-11 23:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:43:02] Production.INFO: ==7382== Releasing lock...
[2025-01-11 23:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:43:02] Production.INFO: ==7384== Lock acquired, processing the job...
[2025-01-12 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:43:02] Production.INFO: ==7384== Releasing lock...
[2025-01-12 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:43:02] Production.INFO: ==7397== Lock acquired, processing the job...
[2025-01-11 23:43:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:43:03] Production.INFO: ==7394== Lock acquired, processing the job...
[2025-01-11 23:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:43:03] Production.INFO: ==7386== Lock acquired, processing the job...
[2025-01-11 23:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:43:03] Production.INFO: ==7388== Lock acquired, processing the job...
[2025-01-11 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23: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-01-11 23:43:03] Production.INFO: ==7390== Lock acquired, processing the job...
[2025-01-11 23:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:43:03] Production.INFO: ==7392== Lock acquired, processing the job...
[2025-01-11 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:43:03] Production.INFO: count ==21
[2025-01-11 23: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-01-11 23:43:03] Production.INFO: count ==21
[2025-01-11 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227692') start
[2025-01-11 23:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:43:03] Production.INFO: Account Balance Start.
[2025-01-11 23:43:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:43:03] Production.INFO: 117
[2025-01-11 23:43:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:43:03] Production.ERROR: done
[2025-01-11 23:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227692') end
[2025-01-11 23:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:43:03] Production.INFO: 1
[2025-01-11 23:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:43:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:43:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:43:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:43:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:43:03] Production.INFO: ==7397== Releasing lock...
[2025-01-11 23:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:43:03] Production.INFO: Total Charge 0
[2025-01-11 23:43:03] Production.INFO: ==7388== Releasing lock...
[2025-01-11 23:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:43:03] Production.INFO: CreateAllLog End
[2025-01-11 23:43:03] Production.ERROR: done
[2025-01-11 23:43:03] Production.INFO: Account Balance End.
[2025-01-11 23:43:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:43:03] Production.INFO: ==7392== Releasing lock...
[2025-01-11 23:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:43:04
[end_date_ymd] => 2025-01-11 23:43:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:43:04' and `end` < '2025-01-11 23: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-01-11 23:43:11] Production.ERROR: CronJobId end10
[2025-01-11 23:43:11] Production.INFO: ==7390== Releasing lock...
[2025-01-11 23:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:43:12] Production.INFO: call_cost start
[2025-01-11 23:43:12] Production.INFO: call_cost end
[2025-01-11 23:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:43:13] Production.INFO: ==7386== Releasing lock...
[2025-01-11 23:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:43:17] Production.INFO: count ==909
[2025-01-11 23:43:17] Production.ERROR: pbx CDR StartTime 2025-01-11 20:43:04 - End Time 2025-01-11 23:43:04
[2025-01-11 23:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227696', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227696', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227696', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227696', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:43:17] Production.INFO: ProcessCDR(1,14227696,1,1,2)
[2025-01-11 23:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227696', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227696', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:43:20] Production.INFO: ==7394== Releasing lock...
[2025-01-11 23:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:43:20] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:44:01] Production.INFO: ==7466== Lock acquired, processing the job...
[2025-01-12 04:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:44:01] Production.INFO: neon service started
[2025-01-12 04:44:01] Production.INFO: neon service started
[2025-01-12 04:44:01] Production.INFO: ==7466== Releasing lock...
[2025-01-12 04:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:44:02] Production.INFO: ==7468== Lock acquired, processing the job...
[2025-01-11 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:44:02] Production.INFO: ==7468== Releasing lock...
[2025-01-11 23:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:44:02] Production.INFO: ==7470== Lock acquired, processing the job...
[2025-01-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:44:02] Production.INFO: ==7470== Releasing lock...
[2025-01-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:44:03] Production.INFO: ==7472== Lock acquired, processing the job...
[2025-01-11 23:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:44:03] Production.INFO: ==7474== Lock acquired, processing the job...
[2025-01-11 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:44:03] Production.INFO: ==7478== Lock acquired, processing the job...
[2025-01-11 23:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:44:03] Production.INFO: ==7480== Lock acquired, processing the job...
[2025-01-11 23:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:44:03] Production.INFO: Account Balance Start.
[2025-01-11 23:44:03] Production.INFO: ==7476== Lock acquired, processing the job...
[2025-01-11 23:44:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:44:03] Production.INFO: 117
[2025-01-11 23:44:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:44:03] Production.INFO: ==7483== Lock acquired, processing the job...
[2025-01-11 23:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:44:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:44:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:44:03] Production.INFO: ==7474== Releasing lock...
[2025-01-11 23:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:44:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:44:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:44:03] Production.INFO: Total Charge 0
[2025-01-11 23:44:03] Production.INFO: CreateAllLog End
[2025-01-11 23:44:03] Production.ERROR: done
[2025-01-11 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-01-11 23:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:44:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:44:04] Production.INFO: count ==21
[2025-01-11 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227700') start
[2025-01-11 23:44:04] Production.ERROR: done
[2025-01-11 23:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227700') end
[2025-01-11 23:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:44:04] Production.INFO: 1
[2025-01-11 23:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:44:04] Production.INFO: Account Balance End.
[2025-01-11 23:44:04] Production.INFO: ==7483== Releasing lock...
[2025-01-11 23:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:44:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:44:04] Production.INFO: ==7478== Releasing lock...
[2025-01-11 23:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:44:04
[end_date_ymd] => 2025-01-11 23:44:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:44:04' and `end` < '2025-01-11 23: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-01-11 23:44:10] Production.ERROR: CronJobId end10
[2025-01-11 23:44:10] Production.INFO: ==7476== Releasing lock...
[2025-01-11 23:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:44:13] Production.INFO: call_cost start
[2025-01-11 23:44:13] Production.INFO: call_cost end
[2025-01-11 23:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:44:14] Production.INFO: ==7472== Releasing lock...
[2025-01-11 23:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:44:18] Production.INFO: count ==908
[2025-01-11 23:44:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:44:04 - End Time 2025-01-11 23:44:04
[2025-01-11 23:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227701', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227701', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227701', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227701', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:44:18] Production.INFO: ProcessCDR(1,14227701,1,1,2)
[2025-01-11 23:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227701', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227701', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:44:21] Production.INFO: ==7480== Releasing lock...
[2025-01-11 23:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:44:21] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:45:01] Production.INFO: ==7557== Lock acquired, processing the job...
[2025-01-12 04:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:45:01] Production.INFO: neon service started
[2025-01-12 04:45:01] Production.INFO: neon service started
[2025-01-12 04:45:01] Production.INFO: ==7557== Releasing lock...
[2025-01-12 04:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:45:01] Production.INFO: ==7561== Lock acquired, processing the job...
[2025-01-12 04:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:45:01] Production.INFO: ==7561== Releasing lock...
[2025-01-12 04:45:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:45:01] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:45:01] Production.INFO: ==7559== Lock acquired, processing the job...
[2025-01-11 23:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:45:02] Production.INFO: ==7559== Releasing lock...
[2025-01-11 23:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:45:03] Production.INFO: ==7570== Lock acquired, processing the job...
[2025-01-11 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:45:03] Production.INFO: ==7564== Lock acquired, processing the job...
[2025-01-11 23:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:45:03] Production.INFO: ==7574== Lock acquired, processing the job...
[2025-01-11 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:45:03] Production.INFO: ==7566== Lock acquired, processing the job...
[2025-01-11 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:45:03] Production.INFO: Account Balance Start.
[2025-01-11 23:45:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:45:03] Production.INFO: 117
[2025-01-11 23:45:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:45:03] Production.INFO: ==7568== Lock acquired, processing the job...
[2025-01-11 23:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:45:03] Production.INFO: count ==21
[2025-01-11 23:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:45:03] Production.INFO: count ==21
[2025-01-11 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227703') start
[2025-01-11 23:45:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:45:03] Production.INFO: ==7572== Lock acquired, processing the job...
[2025-01-11 23:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:45:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:45:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:45:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:45:03] Production.INFO: Total Charge 0
[2025-01-11 23:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227703') end
[2025-01-11 23:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:45:03] Production.INFO: CreateAllLog End
[2025-01-11 23:45:03] Production.INFO: 1
[2025-01-11 23:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:45:03] Production.INFO: ==7574== Releasing lock...
[2025-01-11 23:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:45:03] Production.INFO: ==7566== Releasing lock...
[2025-01-11 23:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:45:03] Production.ERROR: done
[2025-01-11 23:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:45:03] Production.ERROR: done
[2025-01-11 23:45:03] Production.INFO: Account Balance End.
[2025-01-11 23:45:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:45:03] Production.INFO: ==7570== Releasing lock...
[2025-01-11 23:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:45:04
[end_date_ymd] => 2025-01-11 23:45:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:45:04' and `end` < '2025-01-11 23: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-01-11 23:45:10] Production.ERROR: CronJobId end10
[2025-01-11 23:45:10] Production.INFO: ==7568== Releasing lock...
[2025-01-11 23:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:45:12] Production.INFO: call_cost start
[2025-01-11 23:45:12] Production.INFO: call_cost end
[2025-01-11 23:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:45:13] Production.INFO: ==7564== Releasing lock...
[2025-01-11 23:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:45:17] Production.INFO: count ==908
[2025-01-11 23:45:17] Production.ERROR: pbx CDR StartTime 2025-01-11 20:45:04 - End Time 2025-01-11 23:45:04
[2025-01-11 23:45:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227706', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227706', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227706', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:45:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227706', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:45:17] Production.INFO: ProcessCDR(1,14227706,1,1,2)
[2025-01-11 23:45:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:45:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:45:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:45:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227706', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:45:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227706', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:45:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:45:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:45:20] Production.INFO: ==7572== Releasing lock...
[2025-01-11 23:45:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:45:20] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:46:01] Production.INFO: ==7638== Lock acquired, processing the job...
[2025-01-12 04:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:46:01] Production.INFO: neon service started
[2025-01-12 04:46:01] Production.INFO: neon service started
[2025-01-12 04:46:01] Production.INFO: ==7638== Releasing lock...
[2025-01-12 04:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:46:02] Production.INFO: ==7642== Lock acquired, processing the job...
[2025-01-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:46:02] Production.INFO: ==7642== Releasing lock...
[2025-01-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:46:02] Production.INFO: ==7640== Lock acquired, processing the job...
[2025-01-11 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:46:02] Production.INFO: ==7640== Releasing lock...
[2025-01-11 23:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:46:03] Production.INFO: ==7649== Lock acquired, processing the job...
[2025-01-11 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:46:03] Production.INFO: ==7657== Lock acquired, processing the job...
[2025-01-11 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:46:03] Production.INFO: ==7647== Lock acquired, processing the job...
[2025-01-11 23:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 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-01-11 23:46:03] Production.INFO: ==7651== Lock acquired, processing the job...
[2025-01-11 23:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:46:03] Production.INFO: ==7653== Lock acquired, processing the job...
[2025-01-11 23:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:46:03] Production.INFO: count ==21
[2025-01-11 23:46:03] Production.INFO: ==7655== Lock acquired, processing the job...
[2025-01-11 23:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 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-01-11 23:46:03] Production.INFO: count ==21
[2025-01-11 23:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227708') start
[2025-01-11 23:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:46:03] Production.INFO: ==7649== Releasing lock...
[2025-01-11 23:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:46:03] Production.INFO: Account Balance Start.
[2025-01-11 23:46:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:46:03] Production.INFO: 117
[2025-01-11 23:46:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:46:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227708') end
[2025-01-11 23:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:46:03] Production.INFO: 1
[2025-01-11 23:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:46:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:46:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:46:03] Production.INFO: ==7657== Releasing lock...
[2025-01-11 23:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:46:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:46:04] Production.ERROR: done
[2025-01-11 23:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:46:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:46:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:46:04] Production.INFO: Total Charge 0
[2025-01-11 23:46:04] Production.INFO: CreateAllLog End
[2025-01-11 23:46:04] Production.ERROR: done
[2025-01-11 23:46:04] Production.INFO: Account Balance End.
[2025-01-11 23:46:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:46:04] Production.INFO: ==7653== Releasing lock...
[2025-01-11 23:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:46:05
[end_date_ymd] => 2025-01-11 23:46:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:46:05' and `end` < '2025-01-11 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-01-11 23:46:11] Production.ERROR: CronJobId end10
[2025-01-11 23:46:11] Production.INFO: ==7651== Releasing lock...
[2025-01-11 23:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:46:12] Production.INFO: call_cost start
[2025-01-11 23:46:12] Production.INFO: call_cost end
[2025-01-11 23:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:46:13] Production.INFO: ==7647== Releasing lock...
[2025-01-11 23:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:46:20] Production.INFO: count ==905
[2025-01-11 23:46:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:46:05 - End Time 2025-01-11 23:46:05
[2025-01-11 23:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227711', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227711', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227711', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227711', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:46:20] Production.INFO: ProcessCDR(1,14227711,1,1,2)
[2025-01-11 23:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227711', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227711', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:46:23] Production.INFO: ==7655== Releasing lock...
[2025-01-11 23:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:46:23] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:47:02] Production.INFO: ==7724== Lock acquired, processing the job...
[2025-01-12 04:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:47:02] Production.INFO: neon service started
[2025-01-12 04:47:02] Production.INFO: neon service started
[2025-01-12 04:47:02] Production.INFO: ==7724== Releasing lock...
[2025-01-12 04:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:47:02] Production.INFO: ==7726== Lock acquired, processing the job...
[2025-01-11 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:47:02] Production.INFO: ==7726== Releasing lock...
[2025-01-11 23:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:47:02] Production.INFO: ==7728== Lock acquired, processing the job...
[2025-01-12 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:47:02] Production.INFO: ==7728== Releasing lock...
[2025-01-12 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:47:03] Production.INFO: ==7741== Lock acquired, processing the job...
[2025-01-11 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:47:03] Production.INFO: ==7739== Lock acquired, processing the job...
[2025-01-11 23:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:47:03] Production.INFO: ==7731== Lock acquired, processing the job...
[2025-01-11 23:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:47:03] Production.INFO: ==7733== Lock acquired, processing the job...
[2025-01-11 23:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23: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-01-11 23:47:03] Production.INFO: ==7735== Lock acquired, processing the job...
[2025-01-11 23:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:47:03] Production.INFO: count ==21
[2025-01-11 23:47:03] Production.INFO: ==7737== Lock acquired, processing the job...
[2025-01-11 23:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23: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-01-11 23:47:03] Production.INFO: count ==21
[2025-01-11 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227712') start
[2025-01-11 23:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:47:03] Production.INFO: Account Balance Start.
[2025-01-11 23:47:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227712') end
[2025-01-11 23:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:47:03] Production.INFO: 1
[2025-01-11 23:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:47:03] Production.INFO: 117
[2025-01-11 23:47:03] Production.ERROR: done
[2025-01-11 23:47:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:47:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:47:03] Production.INFO: ==7741== Releasing lock...
[2025-01-11 23:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:47:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:47:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:47:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:47:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:47:04] Production.ERROR: done
[2025-01-11 23:47:04] Production.INFO: Total Charge 0
[2025-01-11 23:47:04] Production.INFO: CreateAllLog End
[2025-01-11 23:47:04] Production.INFO: ==7733== Releasing lock...
[2025-01-11 23:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:47:04] Production.INFO: Account Balance End.
[2025-01-11 23:47:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:47:04] Production.INFO: ==7737== Releasing lock...
[2025-01-11 23:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:47:05
[end_date_ymd] => 2025-01-11 23:47:05
[RateCDR] => 1
)
[2025-01-11 23:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:47:05' and `end` < '2025-01-11 23:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:47:11] Production.ERROR: CronJobId end10
[2025-01-11 23:47:11] Production.INFO: ==7735== Releasing lock...
[2025-01-11 23:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:47:14] Production.INFO: call_cost start
[2025-01-11 23:47:14] Production.INFO: call_cost end
[2025-01-11 23:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:47:14] Production.INFO: ==7731== Releasing lock...
[2025-01-11 23:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:47:18] Production.INFO: count ==899
[2025-01-11 23:47:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:47:05 - End Time 2025-01-11 23:47:05
[2025-01-11 23:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227716', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227716', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227716', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227716', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:47:18] Production.INFO: ProcessCDR(1,14227716,1,1,2)
[2025-01-11 23:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227716', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227716', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:47:21] Production.INFO: ==7739== Releasing lock...
[2025-01-11 23:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:47:21] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:48:01] Production.INFO: ==7806== Lock acquired, processing the job...
[2025-01-12 04:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:48:01] Production.INFO: neon service started
[2025-01-12 04:48:01] Production.INFO: neon service started
[2025-01-12 04:48:01] Production.INFO: ==7806== Releasing lock...
[2025-01-12 04:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:48:02] Production.INFO: ==7808== Lock acquired, processing the job...
[2025-01-11 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:48:02] Production.INFO: ==7810== Lock acquired, processing the job...
[2025-01-12 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:48:02] Production.INFO: ==7810== Releasing lock...
[2025-01-12 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:48:02] Production.INFO: ==7808== Releasing lock...
[2025-01-11 23:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:48:03] Production.INFO: ==7813== Lock acquired, processing the job...
[2025-01-11 23:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:48:03] Production.INFO: ==7819== Lock acquired, processing the job...
[2025-01-11 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:48:03] Production.INFO: Account Balance Start.
[2025-01-11 23:48:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:48:03] Production.INFO: 117
[2025-01-11 23:48:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:48:03] Production.INFO: ==7823== Lock acquired, processing the job...
[2025-01-11 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:48:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:48:03] Production.INFO: ==7815== Lock acquired, processing the job...
[2025-01-11 23:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:48:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-11 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-01-11 23:48:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:48:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:48:03] Production.INFO: count ==21
[2025-01-11 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-01-11 23:48:03] Production.INFO: count ==21
[2025-01-11 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227719') start
[2025-01-11 23:48:03] Production.INFO: Total Charge 0
[2025-01-11 23:48:03] Production.INFO: ==7817== Lock acquired, processing the job...
[2025-01-11 23:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:48:03] Production.INFO: CreateAllLog End
[2025-01-11 23:48:03] Production.INFO: ==7821== Lock acquired, processing the job...
[2025-01-11 23:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227719') end
[2025-01-11 23:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:48:03] Production.INFO: 1
[2025-01-11 23:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:48:03] Production.INFO: Account Balance End.
[2025-01-11 23:48:03] Production.INFO: ==7823== Releasing lock...
[2025-01-11 23:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:48:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:48:03] Production.INFO: ==7819== Releasing lock...
[2025-01-11 23:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:48:04] Production.ERROR: done
[2025-01-11 23:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:48:04] Production.INFO: ==7815== Releasing lock...
[2025-01-11 23:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:48:04] Production.ERROR: done
[2025-01-11 23:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:48:05
[end_date_ymd] => 2025-01-11 23:48:05
[RateCDR] => 1
)
[2025-01-11 23:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:48:05' and `end` < '2025-01-11 23:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:48:11] Production.ERROR: CronJobId end10
[2025-01-11 23:48:11] Production.INFO: ==7817== Releasing lock...
[2025-01-11 23:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:48:12] Production.INFO: call_cost start
[2025-01-11 23:48:12] Production.INFO: call_cost end
[2025-01-11 23:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:48:13] Production.INFO: ==7813== Releasing lock...
[2025-01-11 23:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:48:18] Production.INFO: count ==899
[2025-01-11 23:48:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:48:05 - End Time 2025-01-11 23:48:05
[2025-01-11 23:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227721', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227721', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227721', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227721', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:48:18] Production.INFO: ProcessCDR(1,14227721,1,1,2)
[2025-01-11 23:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227721', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227721', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:48:23] Production.INFO: ==7821== Releasing lock...
[2025-01-11 23:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:48:23] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:49:01] Production.INFO: ==7891== Lock acquired, processing the job...
[2025-01-12 04:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:49:02] Production.INFO: neon service started
[2025-01-12 04:49:02] Production.INFO: neon service started
[2025-01-12 04:49:02] Production.INFO: ==7891== Releasing lock...
[2025-01-12 04:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:49:02] Production.INFO: ==7895== Lock acquired, processing the job...
[2025-01-12 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:49:02] Production.INFO: ==7895== Releasing lock...
[2025-01-12 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:49:02] Production.INFO: ==7893== Lock acquired, processing the job...
[2025-01-11 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:49:02] Production.INFO: ==7893== Releasing lock...
[2025-01-11 23:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:49:03] Production.INFO: ==7905== Lock acquired, processing the job...
[2025-01-11 23:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:49:03] Production.INFO: Account Balance Start.
[2025-01-11 23:49:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:49:03] Production.INFO: 117
[2025-01-11 23:49:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:49:03] Production.INFO: ==7909== Lock acquired, processing the job...
[2025-01-11 23:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:49:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:49:03] Production.INFO: ==7898== Lock acquired, processing the job...
[2025-01-11 23:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 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-01-11 23:49:03] Production.INFO: ==7901== Lock acquired, processing the job...
[2025-01-11 23:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:49:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:49:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:49:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:49:03] Production.INFO: ==7903== Lock acquired, processing the job...
[2025-01-11 23:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:49:03] Production.INFO: Total Charge 0
[2025-01-11 23:49:03] Production.INFO: count ==21
[2025-01-11 23:49:03] Production.INFO: CreateAllLog End
[2025-01-11 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-01-11 23:49:03] Production.INFO: count ==21
[2025-01-11 23:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227723') start
[2025-01-11 23:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:49:03] Production.INFO: ==7907== Lock acquired, processing the job...
[2025-01-11 23:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227723') end
[2025-01-11 23:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:49:04] Production.INFO: 1
[2025-01-11 23:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:49:04] Production.INFO: Account Balance End.
[2025-01-11 23:49:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:49:04] Production.INFO: ==7905== Releasing lock...
[2025-01-11 23:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:49:04] Production.INFO: ==7909== Releasing lock...
[2025-01-11 23:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:49:04] Production.INFO: ==7901== Releasing lock...
[2025-01-11 23:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:49:04] Production.ERROR: done
[2025-01-11 23:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:49:04] Production.ERROR: done
[2025-01-11 23:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:49:05
[end_date_ymd] => 2025-01-11 23:49:05
[RateCDR] => 1
)
[2025-01-11 23:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:49:05' and `end` < '2025-01-11 23:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:49:12] Production.ERROR: CronJobId end10
[2025-01-11 23:49:12] Production.INFO: ==7903== Releasing lock...
[2025-01-11 23:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:49:14] Production.INFO: call_cost start
[2025-01-11 23:49:14] Production.INFO: call_cost end
[2025-01-11 23:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:49:14] Production.INFO: ==7898== Releasing lock...
[2025-01-11 23:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:49:18] Production.INFO: count ==900
[2025-01-11 23:49:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:49:05 - End Time 2025-01-11 23:49:05
[2025-01-11 23:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227726', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227726', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227726', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227726', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:49:18] Production.INFO: ProcessCDR(1,14227726,1,1,2)
[2025-01-11 23:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227726', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227726', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:49:23] Production.INFO: ==7907== Releasing lock...
[2025-01-11 23:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:49:23] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:50:01] Production.INFO: ==7974== Lock acquired, processing the job...
[2025-01-12 04:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:50:01] Production.INFO: neon service started
[2025-01-12 04:50:01] Production.INFO: neon service started
[2025-01-12 04:50:01] Production.INFO: ==7974== Releasing lock...
[2025-01-12 04:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:50:02] Production.INFO: ==7976== Lock acquired, processing the job...
[2025-01-11 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:50:02] Production.INFO: ==7978== Lock acquired, processing the job...
[2025-01-12 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:50:02] Production.INFO: ==7978== Releasing lock...
[2025-01-12 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:50:02] Production.INFO: ==7976== Releasing lock...
[2025-01-11 23:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:50:03] Production.INFO: ==7983== Lock acquired, processing the job...
[2025-01-11 23:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:50:03] Production.INFO: ==7985== Lock acquired, processing the job...
[2025-01-11 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:50:03] Production.INFO: ==7987== Lock acquired, processing the job...
[2025-01-11 23:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:50:03] Production.INFO: ==7981== Lock acquired, processing the job...
[2025-01-11 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-11 23:50:03] Production.INFO: ==7989== Lock acquired, processing the job...
[2025-01-11 23:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:50:03] Production.ERROR: CronJob PID - 7983
[2025-01-11 23:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-11 23:50:03] Production.ERROR: CronJob ID - 5
[2025-01-11 23:50:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:50:00
[2025-01-11 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:50:03] Production.ERROR: CronJob PID - 7985
[2025-01-11 23:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-11 23:50:03] Production.ERROR: CronJob ID - 7
[2025-01-11 23:50:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:50:00
[2025-01-11 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:50:03] Production.ERROR: CronJob PID - 7987
[2025-01-11 23:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-11 23:50:03] Production.ERROR: CronJob ID - 10
[2025-01-11 23:50:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:50:00
[2025-01-11 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-11 23:50:03] Production.ERROR: CronJob PID - 7989
[2025-01-11 23:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-11 23:50:03] Production.ERROR: CronJob ID - 12
[2025-01-11 23:50:03] Production.ERROR: CronJob Last Run Time 2025-01-11 23:50:00
[2025-01-11 23:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-11 23:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-11 23:50:03] Production.INFO: ==7981== Releasing lock...
[2025-01-11 23:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-11 23:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-11 23:50:03] Production.INFO: Account Balance Start.
[2025-01-11 23:50:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:50:03] Production.INFO: 117
[2025-01-11 23:50:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:50:03] Production.INFO: ==7991== Lock acquired, processing the job...
[2025-01-11 23:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:50:03] Production.INFO: ==7993== Lock acquired, processing the job...
[2025-01-11 23:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-11 23:50:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:50:03] Production.INFO: ==7985== Releasing lock...
[2025-01-11 23:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:50:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:50:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:50:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:50:04] Production.INFO: Total Charge 0
[2025-01-11 23:50:04] Production.INFO: ==7995== Lock acquired, processing the job...
[2025-01-11 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:50:04] Production.INFO: CreateAllLog End
[2025-01-11 23:50:04] Production.ERROR: done
[2025-01-11 23:50:04] Production.ERROR: done
[2025-01-11 23:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 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-01-11 23:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-11 23:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227731', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) start
[2025-01-11 23:50:04] Production.INFO: count ==21
[2025-01-11 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-01-11 23:50:04] Production.INFO: count ==21
[2025-01-11 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227730') start
[2025-01-11 23:50:04] Production.INFO: Account Balance End.
[2025-01-11 23:50:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:50:04] Production.INFO: ==7989== Releasing lock...
[2025-01-11 23:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227730') end
[2025-01-11 23:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:50:04] Production.INFO: 1
[2025-01-11 23:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:50:04] Production.INFO: ==7995== Releasing lock...
[2025-01-11 23:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:50:04] Production.ERROR: done
[2025-01-11 23:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:50:05
[end_date_ymd] => 2025-01-11 23:50:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:50:05' and `end` < '2025-01-11 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-01-11 23:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227731', 'tblTempUsageDetail_20reseller','2025-01-11','2025-01-11','1' ) end
[2025-01-11 23:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-11 23:50:08] Production.INFO: ProcessCDR(1,14227731,1,1,2)
[2025-01-11 23:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227731,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227731,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:50:08] Production.INFO: ==7993== Releasing lock...
[2025-01-11 23:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-11 23:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-11 23:50:13] Production.ERROR: CronJobId end10
[2025-01-11 23:50:13] Production.INFO: ==7987== Releasing lock...
[2025-01-11 23:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:50:14] Production.INFO: call_cost start
[2025-01-11 23:50:14] Production.INFO: call_cost end
[2025-01-11 23:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:50:15] Production.INFO: ==7983== Releasing lock...
[2025-01-11 23:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:50:18] Production.INFO: count ==904
[2025-01-11 23:50:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:50:05 - End Time 2025-01-11 23:50:05
[2025-01-11 23:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227732', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227732', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227732', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227732', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:50:18] Production.INFO: ProcessCDR(1,14227732,1,1,2)
[2025-01-11 23:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227732', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227732', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:50:23] Production.INFO: ==7991== Releasing lock...
[2025-01-11 23:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:50:23] Production.INFO: 34 MB #Memory Used#
[2025-01-12 04:51:01] Production.INFO: ==8064== Lock acquired, processing the job...
[2025-01-12 04:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:51:01] Production.INFO: neon service started
[2025-01-12 04:51:01] Production.INFO: neon service started
[2025-01-12 04:51:01] Production.INFO: ==8064== Releasing lock...
[2025-01-12 04:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:51:02] Production.INFO: ==8066== Lock acquired, processing the job...
[2025-01-11 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:51:02] Production.INFO: ==8066== Releasing lock...
[2025-01-11 23:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:51:02] Production.INFO: ==8068== Lock acquired, processing the job...
[2025-01-12 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:51:02] Production.INFO: ==8068== Releasing lock...
[2025-01-12 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:51:03] Production.INFO: ==8076== Lock acquired, processing the job...
[2025-01-11 23:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:51:03] Production.INFO: ==8070== Lock acquired, processing the job...
[2025-01-11 23:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:51:03] Production.INFO: ==8079== Lock acquired, processing the job...
[2025-01-11 23:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:51:03] Production.INFO: Account Balance Start.
[2025-01-11 23:51:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:51:03] Production.INFO: 117
[2025-01-11 23:51:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:51:03] Production.INFO: ==8072== Lock acquired, processing the job...
[2025-01-11 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:51:03] Production.INFO: ==8074== Lock acquired, processing the job...
[2025-01-11 23:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:51:03] Production.INFO: ==8082== Lock acquired, processing the job...
[2025-01-11 23:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:51:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:51:03] Production.ERROR: done
[2025-01-11 23:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:51:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:51:03] Production.INFO: count ==21
[2025-01-11 23:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:51:03] Production.INFO: count ==21
[2025-01-11 23:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227736') start
[2025-01-11 23:51:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:51:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:51:03] Production.INFO: Total Charge 0
[2025-01-11 23:51:03] Production.INFO: CreateAllLog End
[2025-01-11 23:51:03] Production.ERROR: done
[2025-01-11 23:51:03] Production.INFO: ==8072== Releasing lock...
[2025-01-11 23:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227736') end
[2025-01-11 23:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:51:04] Production.INFO: 1
[2025-01-11 23:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:51:04] Production.INFO: Account Balance End.
[2025-01-11 23:51:04] Production.INFO: ==8082== Releasing lock...
[2025-01-11 23:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:51:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:51:04] Production.INFO: ==8076== Releasing lock...
[2025-01-11 23:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:51:05
[end_date_ymd] => 2025-01-11 23:51:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:51:05' and `end` < '2025-01-11 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-01-11 23:51:12] Production.ERROR: CronJobId end10
[2025-01-11 23:51:12] Production.INFO: ==8074== Releasing lock...
[2025-01-11 23:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:51:14] Production.INFO: call_cost start
[2025-01-11 23:51:14] Production.INFO: call_cost end
[2025-01-11 23:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:51:15] Production.INFO: ==8070== Releasing lock...
[2025-01-11 23:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:51:20] Production.INFO: count ==874
[2025-01-11 23:51:20] Production.ERROR: pbx CDR StartTime 2025-01-11 20:51:05 - End Time 2025-01-11 23:51:05
[2025-01-11 23:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227737', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227737', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227737', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227737', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:51:20] Production.INFO: ProcessCDR(1,14227737,1,1,2)
[2025-01-11 23:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227737', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227737', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:51:23] Production.INFO: ==8079== Releasing lock...
[2025-01-11 23:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:51:23] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:52:02] Production.INFO: ==8162== Lock acquired, processing the job...
[2025-01-12 04:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:52:02] Production.INFO: neon service started
[2025-01-12 04:52:02] Production.INFO: neon service started
[2025-01-12 04:52:02] Production.INFO: ==8162== Releasing lock...
[2025-01-12 04:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:52:03] Production.INFO: ==8166== Lock acquired, processing the job...
[2025-01-12 04:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:52:03] Production.INFO: ==8166== Releasing lock...
[2025-01-12 04:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:52:03] Production.INFO: ==8164== Lock acquired, processing the job...
[2025-01-11 23:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:52:03] Production.INFO: ==8164== Releasing lock...
[2025-01-11 23:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:52:04] Production.INFO: ==8173== Lock acquired, processing the job...
[2025-01-11 23:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:52:04] Production.INFO: ==8177== Lock acquired, processing the job...
[2025-01-11 23:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:52:04] Production.INFO: ==8169== Lock acquired, processing the job...
[2025-01-11 23:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:52:04] Production.INFO: ==8171== Lock acquired, processing the job...
[2025-01-11 23:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:52:05] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:52:05] Production.INFO: ==8175== Lock acquired, processing the job...
[2025-01-11 23:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:52:05] Production.INFO: ==8179== Lock acquired, processing the job...
[2025-01-11 23:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:52:05] Production.ERROR: done
[2025-01-11 23:52:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:52:05] Production.INFO: Account Balance Start.
[2025-01-11 23:52:05] Production.INFO: CreateAllLog Start
[2025-01-11 23:52:05] Production.INFO: 117
[2025-01-11 23: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-01-11 23:52:05] Production.INFO: Date 2025-01-08
[2025-01-11 23:52:05] Production.INFO: count ==21
[2025-01-11 23:52:05] Production.ERROR: done
[2025-01-11 23:52:05] Production.INFO: ==8171== Releasing lock...
[2025-01-11 23:52:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:52:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23: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-01-11 23:52:05] Production.INFO: count ==21
[2025-01-11 23:52:05] Production.INFO: Reseller ==> 0
[2025-01-11 23:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227741') start
[2025-01-11 23:52:05] Production.INFO: Date 2025-01-09
[2025-01-11 23:52:05] Production.INFO: Reseller ==> 0
[2025-01-11 23:52:05] Production.INFO: Date 2025-01-10
[2025-01-11 23:52:05] Production.INFO: Reseller ==> 0
[2025-01-11 23:52:05] Production.INFO: Date 2025-01-11
[2025-01-11 23:52:05] Production.INFO: Reseller ==> 0
[2025-01-11 23:52:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227741') end
[2025-01-11 23:52:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:52:05] Production.INFO: 1
[2025-01-11 23:52:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:52:05] Production.INFO: Total Charge 0
[2025-01-11 23:52:05] Production.INFO: CreateAllLog End
[2025-01-11 23:52:05] Production.INFO: ==8179== Releasing lock...
[2025-01-11 23:52:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:52:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:52:05] Production.INFO: Account Balance End.
[2025-01-11 23:52:05] Production.ERROR: CronJobId end 12
[2025-01-11 23:52:05] Production.INFO: ==8175== Releasing lock...
[2025-01-11 23:52:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:52:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:52:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:52:06
[end_date_ymd] => 2025-01-11 23:52:06
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:52:06' and `end` < '2025-01-11 23: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-01-11 23:52:14] Production.ERROR: CronJobId end10
[2025-01-11 23:52:14] Production.INFO: ==8173== Releasing lock...
[2025-01-11 23:52:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:52:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:52:15] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:52:15] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:52:15] Production.INFO: call_cost start
[2025-01-11 23:52:16] Production.INFO: call_cost end
[2025-01-11 23:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:52:16] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:52:16] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:52:16] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:52:16] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:52:16] Production.INFO: ==8169== Releasing lock...
[2025-01-11 23:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:52:21] Production.INFO: count ==874
[2025-01-11 23:52:21] Production.ERROR: pbx CDR StartTime 2025-01-11 20:52:06 - End Time 2025-01-11 23:52:06
[2025-01-11 23:52:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227742', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227742', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227742', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:52:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227742', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:52:21] Production.INFO: ProcessCDR(1,14227742,1,1,2)
[2025-01-11 23:52:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:52:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:52:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227742', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227742', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:52:24] Production.INFO: ==8177== Releasing lock...
[2025-01-11 23:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:52:24] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:53:02] Production.INFO: ==8246== Lock acquired, processing the job...
[2025-01-12 04:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:53:02] Production.INFO: neon service started
[2025-01-12 04:53:02] Production.INFO: neon service started
[2025-01-12 04:53:02] Production.INFO: ==8246== Releasing lock...
[2025-01-12 04:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:53:02] Production.INFO: ==8248== Lock acquired, processing the job...
[2025-01-11 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:53:02] Production.INFO: ==8248== Releasing lock...
[2025-01-11 23:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:53:02] Production.INFO: ==8250== Lock acquired, processing the job...
[2025-01-12 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:53:02] Production.INFO: ==8250== Releasing lock...
[2025-01-12 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:53:03] Production.INFO: ==8258== Lock acquired, processing the job...
[2025-01-11 23:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:53:03] Production.INFO: Account Balance Start.
[2025-01-11 23:53:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:53:03] Production.INFO: 117
[2025-01-11 23:53:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:53:03] Production.INFO: ==8256== Lock acquired, processing the job...
[2025-01-11 23:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:53:03] Production.INFO: ==8252== Lock acquired, processing the job...
[2025-01-11 23:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:53:03] Production.INFO: ==8262== Lock acquired, processing the job...
[2025-01-11 23:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:53:03] Production.INFO: ==8254== Lock acquired, processing the job...
[2025-01-11 23:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:53:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:53:03] Production.INFO: ==8260== Lock acquired, processing the job...
[2025-01-11 23:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:53:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:53:03] Production.INFO: count ==21
[2025-01-11 23:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:53:03] Production.INFO: count ==21
[2025-01-11 23:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227744') start
[2025-01-11 23:53:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:53:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:53:04] Production.INFO: Total Charge 0
[2025-01-11 23:53:04] Production.INFO: CreateAllLog End
[2025-01-11 23:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227744') end
[2025-01-11 23:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:53:04] Production.INFO: 1
[2025-01-11 23:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:53:04] Production.INFO: ==8254== Releasing lock...
[2025-01-11 23:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:53:04] Production.INFO: ==8262== Releasing lock...
[2025-01-11 23:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:53:04] Production.ERROR: done
[2025-01-11 23:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:53:04] Production.ERROR: done
[2025-01-11 23:53:04] Production.INFO: Account Balance End.
[2025-01-11 23:53:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:53:04] Production.INFO: ==8258== Releasing lock...
[2025-01-11 23:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:53:05
[end_date_ymd] => 2025-01-11 23:53:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:53:05' and `end` < '2025-01-11 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-01-11 23:53:12] Production.ERROR: CronJobId end10
[2025-01-11 23:53:12] Production.INFO: ==8256== Releasing lock...
[2025-01-11 23:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:53:14] Production.INFO: call_cost start
[2025-01-11 23:53:14] Production.INFO: call_cost end
[2025-01-11 23:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:53:15] Production.INFO: ==8252== Releasing lock...
[2025-01-11 23:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:53:18] Production.INFO: count ==876
[2025-01-11 23:53:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:53:05 - End Time 2025-01-11 23:53:05
[2025-01-11 23:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227747', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227747', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227747', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227747', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:53:18] Production.INFO: ProcessCDR(1,14227747,1,1,2)
[2025-01-11 23:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227747', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227747', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:53:23] Production.INFO: ==8260== Releasing lock...
[2025-01-11 23:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:53:23] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:54:01] Production.INFO: ==8330== Lock acquired, processing the job...
[2025-01-12 04:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:54:01] Production.INFO: neon service started
[2025-01-12 04:54:01] Production.INFO: neon service started
[2025-01-12 04:54:01] Production.INFO: ==8330== Releasing lock...
[2025-01-12 04:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:54:01] Production.INFO: ==8332== Lock acquired, processing the job...
[2025-01-11 23:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:54:02] Production.INFO: ==8332== Releasing lock...
[2025-01-11 23:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:54:02] Production.INFO: ==8334== Lock acquired, processing the job...
[2025-01-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:54:02] Production.INFO: ==8334== Releasing lock...
[2025-01-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:54:02] Production.INFO: ==8337== Lock acquired, processing the job...
[2025-01-11 23:54:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:54:03] Production.INFO: ==8343== Lock acquired, processing the job...
[2025-01-11 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:54:03] Production.INFO: Account Balance Start.
[2025-01-11 23:54:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:54:03] Production.INFO: 117
[2025-01-11 23:54:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:54:03] Production.INFO: ==8339== Lock acquired, processing the job...
[2025-01-11 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:54:03] Production.INFO: ==8341== Lock acquired, processing the job...
[2025-01-11 23:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:54:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:54:03] Production.INFO: ==8345== Lock acquired, processing the job...
[2025-01-11 23:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:54:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:54:03] Production.INFO: ==8347== Lock acquired, processing the job...
[2025-01-11 23:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:54:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:54:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:54:03] Production.INFO: Total Charge 0
[2025-01-11 23:54:03] Production.INFO: CreateAllLog End
[2025-01-11 23: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-01-11 23:54:03] Production.INFO: ==8339== Releasing lock...
[2025-01-11 23:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:54:03] Production.INFO: Account Balance End.
[2025-01-11 23:54:03] Production.INFO: count ==21
[2025-01-11 23:54:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:54:03] Production.INFO: ==8343== Releasing lock...
[2025-01-11 23: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-01-11 23:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:54:03] Production.INFO: count ==21
[2025-01-11 23:54:03] Production.ERROR: done
[2025-01-11 23:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227751') start
[2025-01-11 23:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227751') end
[2025-01-11 23:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:54:03] Production.INFO: 1
[2025-01-11 23:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:54:03] Production.ERROR: done
[2025-01-11 23:54:04] Production.INFO: ==8347== Releasing lock...
[2025-01-11 23:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:54:04
[end_date_ymd] => 2025-01-11 23:54:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:54:04' and `end` < '2025-01-11 23: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-01-11 23:54:10] Production.ERROR: CronJobId end10
[2025-01-11 23:54:10] Production.INFO: ==8341== Releasing lock...
[2025-01-11 23:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:54:12] Production.INFO: call_cost start
[2025-01-11 23:54:12] Production.INFO: call_cost end
[2025-01-11 23:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:54:13] Production.INFO: ==8337== Releasing lock...
[2025-01-11 23:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:54:18] Production.INFO: count ==875
[2025-01-11 23:54:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:54:04 - End Time 2025-01-11 23:54:04
[2025-01-11 23:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227752', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227752', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227752', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227752', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:54:18] Production.INFO: ProcessCDR(1,14227752,1,1,2)
[2025-01-11 23:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227752', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227752', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:54:22] Production.INFO: ==8345== Releasing lock...
[2025-01-11 23:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:54:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:55:01] Production.INFO: ==8414== Lock acquired, processing the job...
[2025-01-12 04:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:55:01] Production.INFO: neon service started
[2025-01-12 04:55:01] Production.INFO: neon service started
[2025-01-12 04:55:01] Production.INFO: ==8414== Releasing lock...
[2025-01-12 04:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:55:02] Production.INFO: ==8418== Lock acquired, processing the job...
[2025-01-12 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:55:02] Production.INFO: ==8418== Releasing lock...
[2025-01-12 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:55:02] Production.INFO: ==8416== Lock acquired, processing the job...
[2025-01-11 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:55:02] Production.INFO: ==8416== Releasing lock...
[2025-01-11 23:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:55:03] Production.INFO: ==8427== Lock acquired, processing the job...
[2025-01-11 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:55:03] Production.INFO: Account Balance Start.
[2025-01-11 23:55:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:55:03] Production.INFO: 117
[2025-01-11 23:55:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:55:03] Production.INFO: ==8431== Lock acquired, processing the job...
[2025-01-11 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:55:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:55:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:55:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:55:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:55:03] Production.INFO: ==8421== Lock acquired, processing the job...
[2025-01-11 23:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:55:03] Production.INFO: Total Charge 0
[2025-01-11 23:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:55:03] Production.INFO: CreateAllLog End
[2025-01-11 23:55:03] Production.INFO: ==8423== Lock acquired, processing the job...
[2025-01-11 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:55:03] Production.INFO: count ==21
[2025-01-11 23:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:55:03] Production.INFO: count ==21
[2025-01-11 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227754') start
[2025-01-11 23:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:55:03] Production.INFO: ==8429== Lock acquired, processing the job...
[2025-01-11 23:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:55:03] Production.INFO: ==8425== Lock acquired, processing the job...
[2025-01-11 23:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:55:03] Production.INFO: Account Balance End.
[2025-01-11 23:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:55:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:55:03] Production.INFO: ==8427== Releasing lock...
[2025-01-11 23:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227754') end
[2025-01-11 23:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:55:03] Production.INFO: 1
[2025-01-11 23:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:55:03] Production.INFO: ==8431== Releasing lock...
[2025-01-11 23:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:55:03] Production.INFO: ==8423== Releasing lock...
[2025-01-11 23:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:55:04] Production.ERROR: done
[2025-01-11 23:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:55:04] Production.ERROR: done
[2025-01-11 23:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:55:04
[end_date_ymd] => 2025-01-11 23:55:04
[RateCDR] => 1
)
[2025-01-11 23:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:55:04' and `end` < '2025-01-11 23:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:55:10] Production.ERROR: CronJobId end10
[2025-01-11 23:55:10] Production.INFO: ==8425== Releasing lock...
[2025-01-11 23:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:55:12] Production.INFO: call_cost start
[2025-01-11 23:55:12] Production.INFO: call_cost end
[2025-01-11 23:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:55:13] Production.INFO: ==8421== Releasing lock...
[2025-01-11 23:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:55:19] Production.INFO: count ==875
[2025-01-11 23:55:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:55:04 - End Time 2025-01-11 23:55:04
[2025-01-11 23:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227757', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227757', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227757', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227757', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:55:19] Production.INFO: ProcessCDR(1,14227757,1,1,2)
[2025-01-11 23:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227757', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227757', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:55:22] Production.INFO: ==8429== Releasing lock...
[2025-01-11 23:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:55:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:56:01] Production.INFO: ==8537== Lock acquired, processing the job...
[2025-01-12 04:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:56:01] Production.INFO: neon service started
[2025-01-12 04:56:01] Production.INFO: neon service started
[2025-01-12 04:56:01] Production.INFO: ==8537== Releasing lock...
[2025-01-12 04:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:56:02] Production.INFO: ==8541== Lock acquired, processing the job...
[2025-01-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 23:56:02] Production.INFO: ==8539== Lock acquired, processing the job...
[2025-01-11 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:56:02] Production.INFO: ==8541== Releasing lock...
[2025-01-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:56:02] Production.INFO: ==8539== Releasing lock...
[2025-01-11 23:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-11 23:56:03] Production.INFO: ==8544== Lock acquired, processing the job...
[2025-01-11 23:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:56:03] Production.INFO: ==8548== Lock acquired, processing the job...
[2025-01-11 23:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:56:03] Production.INFO: ==8552== Lock acquired, processing the job...
[2025-01-11 23:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:56:03] Production.INFO: ==8546== Lock acquired, processing the job...
[2025-01-11 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:56:03] Production.INFO: ==8550== Lock acquired, processing the job...
[2025-01-11 23:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:56:03] Production.INFO: ==8554== Lock acquired, processing the job...
[2025-01-11 23:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:56:03] Production.ERROR: done
[2025-01-11 23:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:56:03] Production.INFO: Account Balance Start.
[2025-01-11 23:56:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:56:03] Production.INFO: 117
[2025-01-11 23:56:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:56:03] Production.ERROR: done
[2025-01-11 23:56:03] Production.INFO: count ==21
[2025-01-11 23:56:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:56:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-11 23:56:03] Production.INFO: count ==21
[2025-01-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:56:03] Production.INFO: ==8546== Releasing lock...
[2025-01-11 23:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227761') start
[2025-01-11 23:56:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:56:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:56:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:56:03] Production.INFO: Total Charge 0
[2025-01-11 23:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227761') end
[2025-01-11 23:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:56:03] Production.INFO: 1
[2025-01-11 23:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:56:04] Production.INFO: CreateAllLog End
[2025-01-11 23:56:04] Production.INFO: ==8554== Releasing lock...
[2025-01-11 23:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:56:04] Production.INFO: Account Balance End.
[2025-01-11 23:56:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:56:04] Production.INFO: ==8550== Releasing lock...
[2025-01-11 23:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:56:04
[end_date_ymd] => 2025-01-11 23:56:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:56:04' and `end` < '2025-01-11 23: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-01-11 23:56:11] Production.ERROR: CronJobId end10
[2025-01-11 23:56:11] Production.INFO: ==8548== Releasing lock...
[2025-01-11 23:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:56:12] Production.INFO: call_cost start
[2025-01-11 23:56:12] Production.INFO: call_cost end
[2025-01-11 23:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:56:13] Production.INFO: ==8544== Releasing lock...
[2025-01-11 23:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:56:18] Production.INFO: count ==875
[2025-01-11 23:56:18] Production.ERROR: pbx CDR StartTime 2025-01-11 20:56:04 - End Time 2025-01-11 23:56:04
[2025-01-11 23:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227762', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227762', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227762', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227762', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:56:18] Production.INFO: ProcessCDR(1,14227762,1,1,2)
[2025-01-11 23:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227762', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227762', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:56:22] Production.INFO: ==8552== Releasing lock...
[2025-01-11 23:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:56:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:57:01] Production.INFO: ==8620== Lock acquired, processing the job...
[2025-01-12 04:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:57:01] Production.INFO: neon service started
[2025-01-12 04:57:01] Production.INFO: neon service started
[2025-01-12 04:57:01] Production.INFO: ==8620== Releasing lock...
[2025-01-12 04:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:57:02] Production.INFO: ==8622== Lock acquired, processing the job...
[2025-01-11 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:57:02] Production.INFO: ==8624== Lock acquired, processing the job...
[2025-01-12 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 23:57:02] Production.INFO: ==8622== Releasing lock...
[2025-01-11 23:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:57:02] Production.INFO: ==8624== Releasing lock...
[2025-01-12 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:57:03] Production.INFO: ==8634== Lock acquired, processing the job...
[2025-01-11 23:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:57:03] Production.INFO: ==8626== Lock acquired, processing the job...
[2025-01-11 23:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:57:03] Production.INFO: ==8636== Lock acquired, processing the job...
[2025-01-11 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:57:03] Production.INFO: ==8628== Lock acquired, processing the job...
[2025-01-11 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23: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-01-11 23:57:03] Production.INFO: ==8630== Lock acquired, processing the job...
[2025-01-11 23:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:57:03] Production.INFO: count ==21
[2025-01-11 23:57:03] Production.INFO: ==8632== Lock acquired, processing the job...
[2025-01-11 23:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23: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-01-11 23:57:03] Production.INFO: count ==21
[2025-01-11 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227763') start
[2025-01-11 23:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227763') end
[2025-01-11 23:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:57:03] Production.INFO: 1
[2025-01-11 23:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:57:03] Production.INFO: Account Balance Start.
[2025-01-11 23:57:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:57:03] Production.INFO: 117
[2025-01-11 23:57:03] Production.INFO: ==8636== Releasing lock...
[2025-01-11 23:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:57:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:57:03] Production.ERROR: done
[2025-01-11 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:57:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:57:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:57:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:57:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:57:03] Production.INFO: ==8628== Releasing lock...
[2025-01-11 23:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:57:03] Production.ERROR: done
[2025-01-11 23:57:03] Production.INFO: Total Charge 0
[2025-01-11 23:57:04] Production.INFO: CreateAllLog End
[2025-01-11 23:57:04] Production.INFO: Account Balance End.
[2025-01-11 23:57:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:57:04] Production.INFO: ==8632== Releasing lock...
[2025-01-11 23:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:57:04
[end_date_ymd] => 2025-01-11 23:57:04
[RateCDR] => 1
)
[2025-01-11 23:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 20:57:04' and `end` < '2025-01-11 23:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-11 23:57:10] Production.ERROR: CronJobId end10
[2025-01-11 23:57:10] Production.INFO: ==8630== Releasing lock...
[2025-01-11 23:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:57:12] Production.INFO: call_cost start
[2025-01-11 23:57:12] Production.INFO: call_cost end
[2025-01-11 23:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:57:13] Production.INFO: ==8626== Releasing lock...
[2025-01-11 23:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:57:19] Production.INFO: count ==871
[2025-01-11 23:57:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:57:04 - End Time 2025-01-11 23:57:04
[2025-01-11 23:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227767', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227767', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227767', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227767', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:57:19] Production.INFO: ProcessCDR(1,14227767,1,1,2)
[2025-01-11 23:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227767', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227767', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:57:22] Production.INFO: ==8634== Releasing lock...
[2025-01-11 23:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:57:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:58:02] Production.INFO: ==8703== Lock acquired, processing the job...
[2025-01-12 04:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:58:02] Production.INFO: neon service started
[2025-01-12 04:58:02] Production.INFO: neon service started
[2025-01-12 04:58:02] Production.INFO: ==8703== Releasing lock...
[2025-01-12 04:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:58:02] Production.INFO: ==8705== Lock acquired, processing the job...
[2025-01-11 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:58:02] Production.INFO: ==8707== Lock acquired, processing the job...
[2025-01-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-11 23:58:02] Production.INFO: ==8705== Releasing lock...
[2025-01-11 23:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:58:02] Production.INFO: ==8707== Releasing lock...
[2025-01-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:58:03] Production.INFO: ==8713== Lock acquired, processing the job...
[2025-01-11 23:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:58:03] Production.INFO: ==8717== Lock acquired, processing the job...
[2025-01-11 23:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:58:03] Production.INFO: ==8709== Lock acquired, processing the job...
[2025-01-11 23:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:58:03] Production.INFO: ==8711== Lock acquired, processing the job...
[2025-01-11 23:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:58:03] Production.INFO: ==8719== Lock acquired, processing the job...
[2025-01-11 23:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:58:03] Production.INFO: ==8715== Lock acquired, processing the job...
[2025-01-11 23:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23:58:03] Production.INFO: Account Balance Start.
[2025-01-11 23:58:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:58:03] Production.INFO: 117
[2025-01-11 23:58:04] Production.INFO: Date 2025-01-08
[2025-01-11 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:58:04] Production.INFO: Date 2025-01-09
[2025-01-11 23:58:04] Production.ERROR: done
[2025-01-11 23:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:58:04] Production.INFO: Date 2025-01-10
[2025-01-11 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 23: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-01-11 23:58:04] Production.ERROR: done
[2025-01-11 23:58:04] Production.INFO: Date 2025-01-11
[2025-01-11 23:58:04] Production.INFO: Reseller ==> 0
[2025-01-11 23:58:04] Production.INFO: count ==21
[2025-01-11 23: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-01-11 23:58:04] Production.INFO: count ==21
[2025-01-11 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227771') start
[2025-01-11 23:58:04] Production.INFO: Total Charge 0
[2025-01-11 23:58:04] Production.INFO: CreateAllLog End
[2025-01-11 23:58:04] Production.INFO: ==8711== Releasing lock...
[2025-01-11 23:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227771') end
[2025-01-11 23:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:58:04] Production.INFO: 1
[2025-01-11 23:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:58:04] Production.INFO: Account Balance End.
[2025-01-11 23:58:04] Production.INFO: ==8719== Releasing lock...
[2025-01-11 23:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:58:04] Production.ERROR: CronJobId end 12
[2025-01-11 23:58:04] Production.INFO: ==8715== Releasing lock...
[2025-01-11 23:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:58:04
[end_date_ymd] => 2025-01-11 23:58:04
[RateCDR] => 1
)
[2025-01-11 23: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-01-11 20:58:04' and `end` < '2025-01-11 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-01-11 23:58:10] Production.ERROR: CronJobId end10
[2025-01-11 23:58:10] Production.INFO: ==8713== Releasing lock...
[2025-01-11 23:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:58:13] Production.INFO: call_cost start
[2025-01-11 23:58:13] Production.INFO: call_cost end
[2025-01-11 23:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:58:13] Production.INFO: ==8709== Releasing lock...
[2025-01-11 23:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:58:19] Production.INFO: count ==871
[2025-01-11 23:58:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:58:04 - End Time 2025-01-11 23:58:04
[2025-01-11 23:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227772', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227772', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227772', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227772', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:58:19] Production.INFO: ProcessCDR(1,14227772,1,1,2)
[2025-01-11 23:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227772', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227772', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:58:22] Production.INFO: ==8717== Releasing lock...
[2025-01-11 23:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:58:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 04:59:01] Production.INFO: ==8786== Lock acquired, processing the job...
[2025-01-12 04:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 04:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 04:59:01] Production.INFO: neon service started
[2025-01-12 04:59:01] Production.INFO: neon service started
[2025-01-12 04:59:01] Production.INFO: ==8786== Releasing lock...
[2025-01-12 04:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 04:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-11 23:59:01] Production.INFO: ==8788== Lock acquired, processing the job...
[2025-01-11 23:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-11 23:59:02] Production.INFO: ==8788== Releasing lock...
[2025-01-11 23:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-11 23:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:59:02] Production.INFO: ==8790== Lock acquired, processing the job...
[2025-01-12 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:59:02] Production.INFO: ==8790== Releasing lock...
[2025-01-12 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 04:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-11 23:59:03] Production.INFO: ==8798== Lock acquired, processing the job...
[2025-01-11 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-11 23:59:03] Production.INFO: ==8792== Lock acquired, processing the job...
[2025-01-11 23:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-11 23:59:03] Production.INFO: ==8802== Lock acquired, processing the job...
[2025-01-11 23:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-11 23:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-11 23: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-01-11 23:59:03] Production.INFO: Account Balance Start.
[2025-01-11 23:59:03] Production.INFO: CreateAllLog Start
[2025-01-11 23:59:03] Production.INFO: ==8796== Lock acquired, processing the job...
[2025-01-11 23:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-11 23:59:03] Production.INFO: count ==21
[2025-01-11 23:59:03] Production.INFO: ==8794== Lock acquired, processing the job...
[2025-01-11 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-11 23:59:03] Production.INFO: 117
[2025-01-11 23: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-01-11 23:59:03] Production.INFO: count ==21
[2025-01-11 23:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227775') start
[2025-01-11 23:59:03] Production.INFO: Date 2025-01-08
[2025-01-11 23:59:03] Production.INFO: ==8800== Lock acquired, processing the job...
[2025-01-11 23:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-11 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250111Live done
[2025-01-11 23:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111Live done
[2025-01-11 23:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250111Live)
[2025-01-11 23:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-11','2025-01-11','120250111Live')
[2025-01-11 23:59:03] Production.INFO: Date 2025-01-09
[2025-01-11 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227775') end
[2025-01-11 23:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-11 23:59:03] Production.INFO: 1
[2025-01-11 23:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-11 23:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-11 23:59:03] Production.INFO: ==8802== Releasing lock...
[2025-01-11 23:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-11 23:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-11 23:59:03] Production.INFO: Date 2025-01-10
[2025-01-11 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:59:03] Production.INFO: Date 2025-01-11
[2025-01-11 23:59:03] Production.INFO: Reseller ==> 0
[2025-01-11 23:59:03] Production.INFO: Total Charge 0
[2025-01-11 23:59:03] Production.INFO: CreateAllLog End
[2025-01-11 23:59:03] Production.ERROR: done
[2025-01-11 23:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-11 23:59:03] Production.INFO: Account Balance End.
[2025-01-11 23:59:03] Production.ERROR: done
[2025-01-11 23:59:03] Production.INFO: ==8794== Releasing lock...
[2025-01-11 23:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-11 23:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-11 23:59:03] Production.ERROR: CronJobId end 12
[2025-01-11 23:59:03] Production.INFO: ==8798== Releasing lock...
[2025-01-11 23:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-11 23:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-11 23:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 20:59:05
[end_date_ymd] => 2025-01-11 23:59:05
[RateCDR] => 1
)
[2025-01-11 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-01-11 20:59:05' and `end` < '2025-01-11 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-01-11 23:59:10] Production.ERROR: CronJobId end10
[2025-01-11 23:59:10] Production.INFO: ==8796== Releasing lock...
[2025-01-11 23:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-11 23:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-11 23:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-11 23:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-11 23:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-11 23:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-11 23:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-11 23:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-11 23:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-11 23:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-11 23:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-11 23:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-11 23:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-11 23:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-11 23:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-11 23:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-11 23:59:13] Production.INFO: call_cost start
[2025-01-11 23:59:13] Production.INFO: call_cost end
[2025-01-11 23:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-11 23:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-11 23:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-11 23:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-11 23:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-11 23:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-11 23:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-11 23:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-11 23:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-11 23:59:13] Production.INFO: ==8792== Releasing lock...
[2025-01-11 23:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-11 23:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-11 23:59:19] Production.INFO: count ==868
[2025-01-11 23:59:19] Production.ERROR: pbx CDR StartTime 2025-01-11 20:59:05 - End Time 2025-01-11 23:59:05
[2025-01-11 23:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227777', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227777', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227777', 'tblTempVendorCDR_20' ) start
[2025-01-11 23:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227777', 'tblTempVendorCDR_20' ) end
[2025-01-11 23:59:19] Production.INFO: ProcessCDR(1,14227777,1,1,2)
[2025-01-11 23:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-11 23:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-11 23:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227777', 'tblTempUsageDetail_20' ) start
[2025-01-11 23:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227777', 'tblTempUsageDetail_20' ) end
[2025-01-11 23:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-11 23:59:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-11 23:59:24] Production.INFO: ==8800== Releasing lock...
[2025-01-11 23:59:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-11 23:59:24] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 05:00:01] Production.INFO: ==8867== Lock acquired, processing the job...
[2025-01-12 05:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:00:01] Production.INFO: neon service started
[2025-01-12 05:00:02] Production.INFO: neon service started
[2025-01-12 05:00:02] Production.INFO: ==8867== Releasing lock...
[2025-01-12 05:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:00:02] Production.INFO: ==8869== Lock acquired, processing the job...
[2025-01-12 00:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:00:02] Production.INFO: ==8871== Lock acquired, processing the job...
[2025-01-12 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:00:02] Production.INFO: ==8871== Releasing lock...
[2025-01-12 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:00:03] Production.INFO: ==8869== Releasing lock...
[2025-01-12 00:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:00:04] Production.INFO: ==8880== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Starts#
[2025-01-12 00:00:04] Production.INFO: ==8874== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 00:00:04] Production.INFO: ==8876== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:00:04] Production.INFO: ==8884== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 00:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 00:00:04] Production.ERROR: CronJob PID - 8880
[2025-01-12 00:00:04] Production.ERROR: CronJob Title - Create Summary
[2025-01-12 00:00:04] Production.ERROR: CronJob ID - 9
[2025-01-12 00:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 00:00:00
[2025-01-12 00:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 00:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 00:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 00:00:04] Production.INFO: ==8874== Releasing lock...
[2025-01-12 00:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 00:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 00:00:04] Production.INFO: ==8888== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 00:00:04] Production.INFO: ==8878== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:00:04] Production.INFO: Account Balance Start.
[2025-01-12 00:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:00:04] Production.INFO: 117
[2025-01-12 00:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:00:04] Production.INFO: ==8882== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:00:04] Production.INFO: ==8890== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:00:04] Production.INFO: ==8886== Lock acquired, processing the job...
[2025-01-12 00:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:00:04] Production.ERROR: done
[2025-01-12 00:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:00:04] Production.INFO: count ==21
[2025-01-12 00:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 00:00:04] Production.INFO: count ==21
[2025-01-12 00:00:04] Production.INFO: Total Charge 0
[2025-01-12 00:00:04] Production.INFO: CreateAllLog End
[2025-01-12 00:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227781') start
[2025-01-12 00:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 00:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227782', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 00:00:05] Production.INFO: ==8878== Releasing lock...
[2025-01-12 00:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:00:05] Production.ERROR: done
[2025-01-12 00:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14227781') end
[2025-01-12 00:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:00:05] Production.INFO: 1
[2025-01-12 00:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:00:05] Production.INFO: ==8890== Releasing lock...
[2025-01-12 00:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:00:05] Production.INFO: Account Balance End.
[2025-01-12 00:00:05] Production.ERROR: done
[2025-01-12 00:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 00:00:05] Production.INFO: ==8884== Releasing lock...
[2025-01-12 00:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:00:06
[end_date_ymd] => 2025-01-12 00:00:06
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:00:06' and `end` < '2025-01-12 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-01-12 00:00:10] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227782', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 00:00:10] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 00:00:10] Production.INFO: ProcessCDR(1,14227782,1,1,2)
[2025-01-12 00:00:10] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:00:10] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:00:10] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:00:10] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:00:10] Production.INFO: ==8888== Releasing lock...
[2025-01-12 00:00:10] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 00:00:10] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:00:12] Production.ERROR: tmp_tblUsageDetailsReport_120250108 done
[2025-01-12 00:00:12] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250108 done
[2025-01-12 00:00:12] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250108
[2025-01-12 00:00:13] Production.INFO: call prc_generateSummary(1,'2025-01-08','2025-01-08','120250108')
[2025-01-12 00:00:18] Production.INFO: call prc_generateVendorSummary(1,'2025-01-08','2025-01-08','120250108')
[2025-01-12 00:00:18] Production.ERROR: CronJobId end10
[2025-01-12 00:00:18] Production.INFO: ==8882== Releasing lock...
[2025-01-12 00:00:18] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:00:18] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:00:19] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:00:19] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:00:19] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:00:19] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:00:19] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:00:19] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:00:19] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:00:19] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:00:19] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:00:19] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:00:19] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:00:19] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:00:19] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:00:19] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:00:19] Production.INFO: call_cost start
[2025-01-12 00:00:19] Production.INFO: call_cost end
[2025-01-12 00:00:20] Production.INFO: count ==866
[2025-01-12 00:00:20] Production.ERROR: pbx CDR StartTime 2025-01-11 21:00:06 - End Time 2025-01-12 00:00:06
[2025-01-12 00:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227783', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227783', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227783', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227783', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:00:20] Production.INFO: ProcessCDR(1,14227783,1,1,2)
[2025-01-12 00:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:00:20] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:00:20] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:00:20] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:00:20] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:00:20] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:00:20] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:00:20] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:00:20] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:00:20] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:00:21] Production.INFO: ==8876== Releasing lock...
[2025-01-12 00:00:21] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:00:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:00:22] Production.ERROR: tmp_tblUsageDetailsReport_120250109 done
[2025-01-12 00:00:22] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250109 done
[2025-01-12 00:00:22] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250109
[2025-01-12 00:00:23] Production.INFO: call prc_generateSummary(1,'2025-01-09','2025-01-09','120250109')
[2025-01-12 00:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227783', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227783', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:00:25] Production.INFO: ==8886== Releasing lock...
[2025-01-12 00:00:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:00:25] Production.INFO: 35 MB #Memory Used#
[2025-01-12 00:00:26] Production.INFO: call prc_generateVendorSummary(1,'2025-01-09','2025-01-09','120250109')
[2025-01-12 00:00:29] Production.ERROR: tmp_tblUsageDetailsReport_120250110 done
[2025-01-12 00:00:29] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250110 done
[2025-01-12 00:00:29] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250110
[2025-01-12 00:00:30] Production.INFO: call prc_generateSummary(1,'2025-01-10','2025-01-10','120250110')
[2025-01-12 00:00:33] Production.INFO: call prc_generateVendorSummary(1,'2025-01-10','2025-01-10','120250110')
[2025-01-12 00:00:35] Production.ERROR: tmp_tblUsageDetailsReport_120250111 done
[2025-01-12 00:00:35] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250111 done
[2025-01-12 00:00:35] Production.ERROR: DELETE FROM tmp_tblUsageDetailsReport_120250111
[2025-01-12 00:00:35] Production.INFO: call prc_generateSummary(1,'2025-01-11','2025-01-11','120250111')
[2025-01-12 00:00:38] Production.INFO: call prc_generateVendorSummary(1,'2025-01-11','2025-01-11','120250111')
[2025-01-12 00:00:41] Production.ERROR: CronJobId end9
[2025-01-12 00:00:41] Production.INFO: ==8880== Releasing lock...
[2025-01-12 00:00:41] Production.INFO: createsummary-command-createsummary-companyid-1-cronjobid-9 #Stops#
[2025-01-12 00:00:41] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:01:01] Production.INFO: ==8966== Lock acquired, processing the job...
[2025-01-12 05:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:01:01] Production.INFO: neon service started
[2025-01-12 05:01:01] Production.INFO: neon service started
[2025-01-12 05:01:01] Production.INFO: ==8966== Releasing lock...
[2025-01-12 05:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:01:01] Production.INFO: ==8973== Lock acquired, processing the job...
[2025-01-12 00:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:01:02] Production.INFO: ==8973== Releasing lock...
[2025-01-12 00:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:01:02] Production.INFO: ==8975== Lock acquired, processing the job...
[2025-01-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:01:02] Production.INFO: ==8975== Releasing lock...
[2025-01-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:01:02] Production.INFO: ==8977== Lock acquired, processing the job...
[2025-01-12 00:01:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:01:03] Production.INFO: ==8987== Lock acquired, processing the job...
[2025-01-12 00:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:01:03] Production.INFO: ==8979== Lock acquired, processing the job...
[2025-01-12 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:01:03] Production.INFO: ==8981== Lock acquired, processing the job...
[2025-01-12 00:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:01:03] Production.INFO: ==8983== Lock acquired, processing the job...
[2025-01-12 00:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00: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-01-12 00:01:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:01:03] Production.INFO: count ==21
[2025-01-12 00:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227785') start
[2025-01-12 00:01:03] Production.INFO: ==8985== Lock acquired, processing the job...
[2025-01-12 00:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:01:03] Production.INFO: Account Balance Start.
[2025-01-12 00:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:01:03] Production.INFO: 117
[2025-01-12 00:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227785') end
[2025-01-12 00:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:01:03] Production.INFO: 1
[2025-01-12 00:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:01:03] Production.INFO: ==8987== Releasing lock...
[2025-01-12 00:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:01:03] Production.INFO: ==8979== Releasing lock...
[2025-01-12 00:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:01:03] Production.INFO: Total Charge 0
[2025-01-12 00:01:03] Production.INFO: CreateAllLog End
[2025-01-12 00:01:03] Production.ERROR: done
[2025-01-12 00:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:01:03] Production.ERROR: done
[2025-01-12 00:01:03] Production.INFO: Account Balance End.
[2025-01-12 00:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:01:04] Production.INFO: ==8983== Releasing lock...
[2025-01-12 00:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:01:04
[end_date_ymd] => 2025-01-12 00:01:04
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:01:04' and `end` < '2025-01-12 00: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-01-12 00:01:11] Production.ERROR: CronJobId end10
[2025-01-12 00:01:11] Production.INFO: ==8981== Releasing lock...
[2025-01-12 00:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:01:13] Production.INFO: call_cost start
[2025-01-12 00:01:13] Production.INFO: call_cost end
[2025-01-12 00:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:01:14] Production.INFO: ==8977== Releasing lock...
[2025-01-12 00:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:01:28] Production.INFO: count ==819
[2025-01-12 00:01:28] Production.ERROR: pbx CDR StartTime 2025-01-11 21:01:04 - End Time 2025-01-12 00:01:04
[2025-01-12 00:01:28] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227788', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227788', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227788', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:01:28] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227788', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:01:28] Production.INFO: ProcessCDR(1,14227788,1,1,2)
[2025-01-12 00:01:28] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:01:29] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:01:29] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:01:31] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:01:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227788', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:01:31] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227788', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:01:31] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:01:31] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:01:31] Production.INFO: ==8985== Releasing lock...
[2025-01-12 00:01:31] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:01:31] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 05:02:01] Production.INFO: ==9058== Lock acquired, processing the job...
[2025-01-12 05:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:02:01] Production.INFO: neon service started
[2025-01-12 05:02:01] Production.INFO: neon service started
[2025-01-12 05:02:01] Production.INFO: ==9058== Releasing lock...
[2025-01-12 05:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:02:02] Production.INFO: ==9062== Lock acquired, processing the job...
[2025-01-12 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:02:02] Production.INFO: ==9062== Releasing lock...
[2025-01-12 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:02:02] Production.INFO: ==9060== Lock acquired, processing the job...
[2025-01-12 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:02:02] Production.INFO: ==9060== Releasing lock...
[2025-01-12 00:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:02:03] Production.INFO: ==9066== Lock acquired, processing the job...
[2025-01-12 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:02:03] Production.INFO: ==9069== Lock acquired, processing the job...
[2025-01-12 00:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:02:03] Production.INFO: ==9073== Lock acquired, processing the job...
[2025-01-12 00:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:02:03] Production.INFO: ==9064== Lock acquired, processing the job...
[2025-01-12 00:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:02:03] Production.INFO: ==9066== Releasing lock...
[2025-01-12 00:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:02:03] Production.INFO: ==9071== Lock acquired, processing the job...
[2025-01-12 00:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:02:03] Production.INFO: ==9075== Lock acquired, processing the job...
[2025-01-12 00:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:02:03] Production.INFO: Account Balance Start.
[2025-01-12 00:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:02:03] Production.INFO: 117
[2025-01-12 00:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:02:03] Production.ERROR: done
[2025-01-12 00:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 00:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:02:03] Production.INFO: count ==21
[2025-01-12 00:02:04] Production.ERROR: done
[2025-01-12 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-01-12 00:02:04] Production.INFO: count ==21
[2025-01-12 00:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227792') start
[2025-01-12 00:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:02:04] Production.INFO: Total Charge 0
[2025-01-12 00:02:04] Production.INFO: CreateAllLog End
[2025-01-12 00:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227792') end
[2025-01-12 00:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:02:04] Production.INFO: 1
[2025-01-12 00:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:02:04] Production.INFO: ==9075== Releasing lock...
[2025-01-12 00:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:02:04] Production.INFO: Account Balance End.
[2025-01-12 00:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:02:04] Production.INFO: ==9071== Releasing lock...
[2025-01-12 00:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:02:04
[end_date_ymd] => 2025-01-12 00:02:04
[RateCDR] => 1
)
[2025-01-12 00:02: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-01-11 21:02:04' and `end` < '2025-01-12 00:02: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-01-12 00:02:11] Production.ERROR: CronJobId end10
[2025-01-12 00:02:11] Production.INFO: ==9069== Releasing lock...
[2025-01-12 00:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:02:13] Production.INFO: call_cost start
[2025-01-12 00:02:13] Production.INFO: call_cost end
[2025-01-12 00:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:02:14] Production.INFO: ==9064== Releasing lock...
[2025-01-12 00:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:02:21] Production.INFO: count ==194
[2025-01-12 00:02:21] Production.ERROR: pbx CDR StartTime 2025-01-11 21:02:04 - End Time 2025-01-12 00:02:04
[2025-01-12 00:02:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227793', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227793', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227793', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:02:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227793', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:02:21] Production.INFO: ProcessCDR(1,14227793,1,1,2)
[2025-01-12 00:02:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227793', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227793', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:02:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:02:24] Production.INFO: ==9073== Releasing lock...
[2025-01-12 00:02:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:02:24] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:03:02] Production.INFO: ==9138== Lock acquired, processing the job...
[2025-01-12 05:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:03:02] Production.INFO: neon service started
[2025-01-12 05:03:02] Production.INFO: neon service started
[2025-01-12 05:03:02] Production.INFO: ==9138== Releasing lock...
[2025-01-12 05:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:03:02] Production.INFO: ==9140== Lock acquired, processing the job...
[2025-01-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:03:02] Production.INFO: ==9140== Releasing lock...
[2025-01-12 00:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:03:03] Production.INFO: ==9142== Lock acquired, processing the job...
[2025-01-12 05:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:03:03] Production.INFO: ==9142== Releasing lock...
[2025-01-12 05:03:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:03:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:03:03] Production.INFO: ==9144== Lock acquired, processing the job...
[2025-01-12 00:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:03:03] Production.INFO: ==9146== Lock acquired, processing the job...
[2025-01-12 00:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:03:03] Production.INFO: ==9154== Lock acquired, processing the job...
[2025-01-12 00:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:03:03] Production.INFO: ==9148== Lock acquired, processing the job...
[2025-01-12 00:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:03:04] Production.INFO: ==9150== Lock acquired, processing the job...
[2025-01-12 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 00:03:04] Production.INFO: ==9152== Lock acquired, processing the job...
[2025-01-12 00:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:03:04] Production.INFO: count ==21
[2025-01-12 00:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:03:04] Production.INFO: ==9146== Releasing lock...
[2025-01-12 00:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 00:03:04] Production.INFO: count ==21
[2025-01-12 00:03:04] Production.INFO: Account Balance Start.
[2025-01-12 00:03:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:03:04] Production.INFO: 117
[2025-01-12 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227796') start
[2025-01-12 00:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:03:04] Production.ERROR: done
[2025-01-12 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227796') end
[2025-01-12 00:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:03:04] Production.INFO: 1
[2025-01-12 00:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:03:04] Production.INFO: ==9154== Releasing lock...
[2025-01-12 00:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:03:04] Production.INFO: Total Charge 0
[2025-01-12 00:03:04] Production.INFO: CreateAllLog End
[2025-01-12 00:03:04] Production.ERROR: done
[2025-01-12 00:03:04] Production.INFO: Account Balance End.
[2025-01-12 00:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:03:04] Production.INFO: ==9150== Releasing lock...
[2025-01-12 00:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:03:05
[end_date_ymd] => 2025-01-12 00:03:05
[RateCDR] => 1
)
[2025-01-12 00:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:03:05' and `end` < '2025-01-12 00:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:03:12] Production.ERROR: CronJobId end10
[2025-01-12 00:03:12] Production.INFO: ==9148== Releasing lock...
[2025-01-12 00:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:03:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:03:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:03:14] Production.INFO: call_cost start
[2025-01-12 00:03:14] Production.INFO: call_cost end
[2025-01-12 00:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:03:15] Production.INFO: ==9144== Releasing lock...
[2025-01-12 00:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:03:19] Production.INFO: count ==189
[2025-01-12 00:03:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:03:05 - End Time 2025-01-12 00:03:05
[2025-01-12 00:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227798', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227798', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227798', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227798', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:03:19] Production.INFO: ProcessCDR(1,14227798,1,1,2)
[2025-01-12 00:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227798', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227798', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:03:23] Production.INFO: ==9152== Releasing lock...
[2025-01-12 00:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:03:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:04:01] Production.INFO: ==9219== Lock acquired, processing the job...
[2025-01-12 05:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:04:01] Production.INFO: neon service started
[2025-01-12 05:04:01] Production.INFO: neon service started
[2025-01-12 05:04:01] Production.INFO: ==9219== Releasing lock...
[2025-01-12 05:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:04:02] Production.INFO: ==9222== Lock acquired, processing the job...
[2025-01-12 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:04:02] Production.INFO: ==9222== Releasing lock...
[2025-01-12 00:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:04:02] Production.INFO: ==9224== Lock acquired, processing the job...
[2025-01-12 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:04:02] Production.INFO: ==9224== Releasing lock...
[2025-01-12 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:04:03] Production.INFO: ==9234== Lock acquired, processing the job...
[2025-01-12 00:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:04:03] Production.INFO: ==9238== Lock acquired, processing the job...
[2025-01-12 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:04:03] Production.INFO: Account Balance Start.
[2025-01-12 00:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:04:03] Production.INFO: 117
[2025-01-12 00:04:03] Production.INFO: ==9230== Lock acquired, processing the job...
[2025-01-12 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:04:03] Production.INFO: ==9228== Lock acquired, processing the job...
[2025-01-12 00:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:04:03] Production.INFO: count ==21
[2025-01-12 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-01-12 00:04:03] Production.INFO: count ==21
[2025-01-12 00:04:03] Production.INFO: ==9232== Lock acquired, processing the job...
[2025-01-12 00:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227800') start
[2025-01-12 00:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:04:03] Production.INFO: ==9236== Lock acquired, processing the job...
[2025-01-12 00:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227800') end
[2025-01-12 00:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:04:03] Production.INFO: 1
[2025-01-12 00:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:04:03] Production.INFO: ==9238== Releasing lock...
[2025-01-12 00:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:04:03] Production.INFO: ==9230== Releasing lock...
[2025-01-12 00:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:04:03] Production.INFO: Total Charge 0
[2025-01-12 00:04:03] Production.INFO: CreateAllLog End
[2025-01-12 00:04:04] Production.ERROR: done
[2025-01-12 00:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:04:04] Production.ERROR: done
[2025-01-12 00:04:04] Production.INFO: Account Balance End.
[2025-01-12 00:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:04:04] Production.INFO: ==9234== Releasing lock...
[2025-01-12 00:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:04:04
[end_date_ymd] => 2025-01-12 00:04:04
[RateCDR] => 1
)
[2025-01-12 00:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:04:04' and `end` < '2025-01-12 00:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:04:10] Production.ERROR: CronJobId end10
[2025-01-12 00:04:10] Production.INFO: ==9232== Releasing lock...
[2025-01-12 00:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:04:13] Production.INFO: call_cost start
[2025-01-12 00:04:13] Production.INFO: call_cost end
[2025-01-12 00:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:04:14] Production.INFO: ==9228== Releasing lock...
[2025-01-12 00:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:04:17] Production.INFO: count ==186
[2025-01-12 00:04:17] Production.ERROR: pbx CDR StartTime 2025-01-11 21:04:04 - End Time 2025-01-12 00:04:04
[2025-01-12 00:04:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227803', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227803', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227803', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:04:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227803', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:04:17] Production.INFO: ProcessCDR(1,14227803,1,1,2)
[2025-01-12 00:04:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:04:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:04:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227803', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227803', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:04:21] Production.INFO: ==9236== Releasing lock...
[2025-01-12 00:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:04:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 05:05:02] Production.INFO: ==9305== Lock acquired, processing the job...
[2025-01-12 05:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:05:02] Production.INFO: neon service started
[2025-01-12 05:05:02] Production.INFO: neon service started
[2025-01-12 05:05:02] Production.INFO: ==9305== Releasing lock...
[2025-01-12 05:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:05:02] Production.INFO: ==9307== Lock acquired, processing the job...
[2025-01-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:05:02] Production.INFO: ==9307== Releasing lock...
[2025-01-12 00:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:05:03] Production.INFO: ==9309== Lock acquired, processing the job...
[2025-01-12 05:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:05:03] Production.INFO: ==9309== Releasing lock...
[2025-01-12 05:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:05:03] Production.INFO: ==9313== Lock acquired, processing the job...
[2025-01-12 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:05:03] Production.INFO: ==9319== Lock acquired, processing the job...
[2025-01-12 00:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:05:03] Production.INFO: ==9311== Lock acquired, processing the job...
[2025-01-12 00:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:05:03] Production.INFO: ==9315== Lock acquired, processing the job...
[2025-01-12 00:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:05:03] Production.INFO: ==9317== Lock acquired, processing the job...
[2025-01-12 00:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:05:03] Production.INFO: ==9313== Releasing lock...
[2025-01-12 00:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:05:03] Production.INFO: ==9321== Lock acquired, processing the job...
[2025-01-12 00:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:05:04] Production.ERROR: done
[2025-01-12 00:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:05:04] Production.INFO: Account Balance Start.
[2025-01-12 00:05:04] Production.INFO: CreateAllLog Start
[2025-01-12 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-01-12 00:05:04] Production.INFO: 117
[2025-01-12 00:05:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:05:04] Production.ERROR: done
[2025-01-12 00:05:04] Production.INFO: count ==21
[2025-01-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:05:04] Production.INFO: count ==21
[2025-01-12 00:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227807') start
[2025-01-12 00:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227807') end
[2025-01-12 00:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:05:04] Production.INFO: 1
[2025-01-12 00:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:05:04] Production.INFO: Total Charge 0
[2025-01-12 00:05:04] Production.INFO: ==9321== Releasing lock...
[2025-01-12 00:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:05:04] Production.INFO: CreateAllLog End
[2025-01-12 00:05:04] Production.INFO: Account Balance End.
[2025-01-12 00:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:05:04] Production.INFO: ==9317== Releasing lock...
[2025-01-12 00:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:05:05
[end_date_ymd] => 2025-01-12 00:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:05:05' and `end` < '2025-01-12 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-01-12 00:05:10] Production.ERROR: CronJobId end10
[2025-01-12 00:05:10] Production.INFO: ==9315== Releasing lock...
[2025-01-12 00:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:05:13] Production.INFO: call_cost start
[2025-01-12 00:05:13] Production.INFO: call_cost end
[2025-01-12 00:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:05:13] Production.INFO: ==9311== Releasing lock...
[2025-01-12 00:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:05:18] Production.INFO: count ==186
[2025-01-12 00:05:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:05:05 - End Time 2025-01-12 00:05:05
[2025-01-12 00:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227808', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227808', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227808', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227808', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:05:18] Production.INFO: ProcessCDR(1,14227808,1,1,2)
[2025-01-12 00:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227808', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227808', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:05:21] Production.INFO: ==9319== Releasing lock...
[2025-01-12 00:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:05:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 05:06:01] Production.INFO: ==9388== Lock acquired, processing the job...
[2025-01-12 05:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:06:01] Production.INFO: neon service started
[2025-01-12 05:06:01] Production.INFO: neon service started
[2025-01-12 05:06:01] Production.INFO: ==9388== Releasing lock...
[2025-01-12 05:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:06:02] Production.INFO: ==9390== Lock acquired, processing the job...
[2025-01-12 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:06:02] Production.INFO: ==9392== Lock acquired, processing the job...
[2025-01-12 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:06:02] Production.INFO: ==9392== Releasing lock...
[2025-01-12 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:06:02] Production.INFO: ==9390== Releasing lock...
[2025-01-12 00:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:06:03] Production.INFO: ==9399== Lock acquired, processing the job...
[2025-01-12 00:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:06:03] Production.INFO: ==9403== Lock acquired, processing the job...
[2025-01-12 00:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:06:03] Production.INFO: ==9397== Lock acquired, processing the job...
[2025-01-12 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:06:03] Production.INFO: ==9395== Lock acquired, processing the job...
[2025-01-12 00:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:06:03] Production.INFO: ==9401== Lock acquired, processing the job...
[2025-01-12 00:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:06:03] Production.INFO: ==9405== Lock acquired, processing the job...
[2025-01-12 00:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:06:03] Production.INFO: ==9397== Releasing lock...
[2025-01-12 00:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:06:03] Production.ERROR: done
[2025-01-12 00:06:03] Production.INFO: Account Balance Start.
[2025-01-12 00:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:06:03] Production.INFO: 117
[2025-01-12 00:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 00:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:06:04] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:06:04] Production.INFO: count ==21
[2025-01-12 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227811') start
[2025-01-12 00:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:06:04] Production.ERROR: done
[2025-01-12 00:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227811') end
[2025-01-12 00:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:06:04] Production.INFO: 1
[2025-01-12 00:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:06:04] Production.INFO: ==9405== Releasing lock...
[2025-01-12 00:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:06:04] Production.INFO: Total Charge 0
[2025-01-12 00:06:04] Production.INFO: CreateAllLog End
[2025-01-12 00:06:04] Production.INFO: Account Balance End.
[2025-01-12 00:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:06:04] Production.INFO: ==9401== Releasing lock...
[2025-01-12 00:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:06:05
[end_date_ymd] => 2025-01-12 00:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:06:05' and `end` < '2025-01-12 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-01-12 00:06:11] Production.ERROR: CronJobId end10
[2025-01-12 00:06:11] Production.INFO: ==9399== Releasing lock...
[2025-01-12 00:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:06:14] Production.INFO: call_cost start
[2025-01-12 00:06:14] Production.INFO: call_cost end
[2025-01-12 00:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:06:14] Production.INFO: ==9395== Releasing lock...
[2025-01-12 00:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:06:18] Production.INFO: count ==187
[2025-01-12 00:06:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:06:05 - End Time 2025-01-12 00:06:05
[2025-01-12 00:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227813', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227813', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227813', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227813', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:06:18] Production.INFO: ProcessCDR(1,14227813,1,1,2)
[2025-01-12 00:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227813', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227813', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:06:21] Production.INFO: ==9403== Releasing lock...
[2025-01-12 00:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:06:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 05:07:02] Production.INFO: ==9477== Lock acquired, processing the job...
[2025-01-12 05:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:07:02] Production.INFO: neon service started
[2025-01-12 05:07:02] Production.INFO: neon service started
[2025-01-12 05:07:02] Production.INFO: ==9477== Releasing lock...
[2025-01-12 05:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:07:02] Production.INFO: ==9479== Lock acquired, processing the job...
[2025-01-12 00:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:07:02] Production.INFO: ==9481== Lock acquired, processing the job...
[2025-01-12 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:07:02] Production.INFO: ==9481== Releasing lock...
[2025-01-12 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:07:03] Production.INFO: ==9479== Releasing lock...
[2025-01-12 00:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:07:03] Production.INFO: ==9484== Lock acquired, processing the job...
[2025-01-12 00:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:07:03] Production.INFO: ==9486== Lock acquired, processing the job...
[2025-01-12 00:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:07:03] Production.INFO: ==9490== Lock acquired, processing the job...
[2025-01-12 00:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:07:04] Production.INFO: ==9488== Lock acquired, processing the job...
[2025-01-12 00:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:07:04] Production.INFO: ==9486== Releasing lock...
[2025-01-12 00:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:07:04] Production.INFO: Account Balance Start.
[2025-01-12 00:07:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:07:04] Production.INFO: 117
[2025-01-12 00:07:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:07:04] Production.INFO: ==9492== Lock acquired, processing the job...
[2025-01-12 00:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:07:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:07:04] Production.INFO: ==9494== Lock acquired, processing the job...
[2025-01-12 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:07:04] Production.INFO: Total Charge 0
[2025-01-12 00:07:04] Production.INFO: CreateAllLog End
[2025-01-12 00:07:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:07:04] Production.INFO: count ==21
[2025-01-12 00:07:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:07:04] Production.INFO: count ==21
[2025-01-12 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227817') start
[2025-01-12 00:07:04] Production.ERROR: done
[2025-01-12 00:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:07:04] Production.INFO: Account Balance End.
[2025-01-12 00:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227817') end
[2025-01-12 00:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:07:04] Production.INFO: 1
[2025-01-12 00:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:07:04] Production.INFO: ==9490== Releasing lock...
[2025-01-12 00:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:07:04] Production.INFO: ==9494== Releasing lock...
[2025-01-12 00:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:07:04] Production.ERROR: done
[2025-01-12 00:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:07:05
[end_date_ymd] => 2025-01-12 00:07:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:07:05' and `end` < '2025-01-12 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-01-12 00:07:11] Production.ERROR: CronJobId end10
[2025-01-12 00:07:11] Production.INFO: ==9488== Releasing lock...
[2025-01-12 00:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:07:13] Production.INFO: call_cost start
[2025-01-12 00:07:13] Production.INFO: call_cost end
[2025-01-12 00:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:07:14] Production.INFO: ==9484== Releasing lock...
[2025-01-12 00:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:07:19] Production.INFO: count ==186
[2025-01-12 00:07:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:07:05 - End Time 2025-01-12 00:07:05
[2025-01-12 00:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227818', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227818', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227818', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227818', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:07:19] Production.INFO: ProcessCDR(1,14227818,1,1,2)
[2025-01-12 00:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227818', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227818', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:07:22] Production.INFO: ==9492== Releasing lock...
[2025-01-12 00:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:07:22] Production.INFO: 30 MB #Memory Used#
[2025-01-12 05:08:01] Production.INFO: ==9563== Lock acquired, processing the job...
[2025-01-12 05:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:08:01] Production.INFO: neon service started
[2025-01-12 05:08:01] Production.INFO: neon service started
[2025-01-12 05:08:01] Production.INFO: ==9563== Releasing lock...
[2025-01-12 05:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:08:01] Production.INFO: ==9565== Lock acquired, processing the job...
[2025-01-12 00:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:08:02] Production.INFO: ==9565== Releasing lock...
[2025-01-12 00:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:08:02] Production.INFO: ==9567== Lock acquired, processing the job...
[2025-01-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:08:02] Production.INFO: ==9567== Releasing lock...
[2025-01-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:08:03] Production.INFO: ==9570== Lock acquired, processing the job...
[2025-01-12 00:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:08:03] Production.INFO: ==9572== Lock acquired, processing the job...
[2025-01-12 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:08:03] Production.INFO: ==9578== Lock acquired, processing the job...
[2025-01-12 00:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:08:03] Production.INFO: ==9574== Lock acquired, processing the job...
[2025-01-12 00:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:08:03] Production.INFO: ==9576== Lock acquired, processing the job...
[2025-01-12 00:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:08:03] Production.INFO: ==9580== Lock acquired, processing the job...
[2025-01-12 00:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:08:03] Production.INFO: ==9572== Releasing lock...
[2025-01-12 00:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:08:03] Production.ERROR: done
[2025-01-12 00:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:08:03] Production.INFO: Account Balance Start.
[2025-01-12 00:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:08:03] Production.INFO: 117
[2025-01-12 00:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:08:03] Production.INFO: count ==21
[2025-01-12 00:08:03] Production.ERROR: done
[2025-01-12 00:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:08:03] Production.INFO: count ==21
[2025-01-12 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227821') start
[2025-01-12 00:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:08:03] Production.INFO: Total Charge 0
[2025-01-12 00:08:03] Production.INFO: CreateAllLog End
[2025-01-12 00:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227821') end
[2025-01-12 00:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:08:03] Production.INFO: 1
[2025-01-12 00:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:08:04] Production.INFO: ==9580== Releasing lock...
[2025-01-12 00:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:08:04] Production.INFO: Account Balance End.
[2025-01-12 00:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:08:04] Production.INFO: ==9576== Releasing lock...
[2025-01-12 00:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:08:04
[end_date_ymd] => 2025-01-12 00:08:04
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:08:04' and `end` < '2025-01-12 00: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-01-12 00:08:11] Production.ERROR: CronJobId end10
[2025-01-12 00:08:11] Production.INFO: ==9574== Releasing lock...
[2025-01-12 00:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:08:13] Production.INFO: call_cost start
[2025-01-12 00:08:13] Production.INFO: call_cost end
[2025-01-12 00:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:08:14] Production.INFO: ==9570== Releasing lock...
[2025-01-12 00:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:08:18] Production.INFO: count ==184
[2025-01-12 00:08:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:08:04 - End Time 2025-01-12 00:08:04
[2025-01-12 00:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227823', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227823', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227823', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227823', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:08:18] Production.INFO: ProcessCDR(1,14227823,1,1,2)
[2025-01-12 00:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227823', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227823', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:08:21] Production.INFO: ==9578== Releasing lock...
[2025-01-12 00:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:08:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 05:09:01] Production.INFO: ==9649== Lock acquired, processing the job...
[2025-01-12 05:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:09:02] Production.INFO: neon service started
[2025-01-12 05:09:02] Production.INFO: neon service started
[2025-01-12 05:09:02] Production.INFO: ==9649== Releasing lock...
[2025-01-12 05:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:09:02] Production.INFO: ==9653== Lock acquired, processing the job...
[2025-01-12 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:09:02] Production.INFO: ==9651== Lock acquired, processing the job...
[2025-01-12 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:09:02] Production.INFO: ==9653== Releasing lock...
[2025-01-12 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:09:02] Production.INFO: ==9651== Releasing lock...
[2025-01-12 00:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:09:03] Production.INFO: ==9662== Lock acquired, processing the job...
[2025-01-12 00:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:09:03] Production.INFO: ==9666== Lock acquired, processing the job...
[2025-01-12 00:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:09:03] Production.INFO: ==9658== Lock acquired, processing the job...
[2025-01-12 00:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:09:03] Production.INFO: ==9660== Lock acquired, processing the job...
[2025-01-12 00:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:09:04] Production.INFO: ==9664== Lock acquired, processing the job...
[2025-01-12 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:09:04] Production.ERROR: done
[2025-01-12 00:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:09:04] Production.INFO: ==9668== Lock acquired, processing the job...
[2025-01-12 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:09:04] Production.INFO: Account Balance Start.
[2025-01-12 00:09:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:09:04] Production.INFO: 117
[2025-01-12 00:09:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:09:04] Production.ERROR: done
[2025-01-12 00:09:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:09:04] Production.INFO: count ==21
[2025-01-12 00:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:09:04] Production.INFO: count ==21
[2025-01-12 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227827') start
[2025-01-12 00:09:04] Production.INFO: ==9660== Releasing lock...
[2025-01-12 00:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227827') end
[2025-01-12 00:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:09:04] Production.INFO: 1
[2025-01-12 00:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:09:04] Production.INFO: Total Charge 0
[2025-01-12 00:09:04] Production.INFO: CreateAllLog End
[2025-01-12 00:09:04] Production.INFO: ==9668== Releasing lock...
[2025-01-12 00:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:09:04] Production.INFO: Account Balance End.
[2025-01-12 00:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:09:04] Production.INFO: ==9664== Releasing lock...
[2025-01-12 00:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:09:05
[end_date_ymd] => 2025-01-12 00:09:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:09:05' and `end` < '2025-01-12 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-01-12 00:09:11] Production.ERROR: CronJobId end10
[2025-01-12 00:09:11] Production.INFO: ==9662== Releasing lock...
[2025-01-12 00:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:09:13] Production.INFO: call_cost start
[2025-01-12 00:09:13] Production.INFO: call_cost end
[2025-01-12 00:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:09:14] Production.INFO: ==9658== Releasing lock...
[2025-01-12 00:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:09:18] Production.INFO: count ==185
[2025-01-12 00:09:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:09:05 - End Time 2025-01-12 00:09:05
[2025-01-12 00:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227828', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227828', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227828', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227828', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:09:18] Production.INFO: ProcessCDR(1,14227828,1,1,2)
[2025-01-12 00:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227828', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227828', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:09:21] Production.INFO: ==9666== Releasing lock...
[2025-01-12 00:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:09:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 05:10:01] Production.INFO: ==9732== Lock acquired, processing the job...
[2025-01-12 05:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:10:01] Production.INFO: neon service started
[2025-01-12 05:10:01] Production.INFO: neon service started
[2025-01-12 05:10:01] Production.INFO: ==9732== Releasing lock...
[2025-01-12 05:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:10:02] Production.INFO: ==9734== Lock acquired, processing the job...
[2025-01-12 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:10:02] Production.INFO: ==9736== Lock acquired, processing the job...
[2025-01-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:10:02] Production.INFO: ==9736== Releasing lock...
[2025-01-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:10:02] Production.INFO: ==9734== Releasing lock...
[2025-01-12 00:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:10:03] Production.INFO: ==9739== Lock acquired, processing the job...
[2025-01-12 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 00:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 00:10:03] Production.INFO: ==9747== Lock acquired, processing the job...
[2025-01-12 00:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 00:10:03] Production.INFO: ==9739== Releasing lock...
[2025-01-12 00:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 00:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 00:10:03] Production.INFO: ==9741== Lock acquired, processing the job...
[2025-01-12 00:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:10:03] Production.INFO: ==9751== Lock acquired, processing the job...
[2025-01-12 00:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 00:10:03] Production.INFO: ==9743== Lock acquired, processing the job...
[2025-01-12 00:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:10:03] Production.INFO: Account Balance Start.
[2025-01-12 00:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:10:03] Production.INFO: 117
[2025-01-12 00:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:10:03] Production.INFO: ==9745== Lock acquired, processing the job...
[2025-01-12 00:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:10:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:10:03] Production.INFO: ==9749== Lock acquired, processing the job...
[2025-01-12 00:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:10:04] Production.INFO: ==9753== Lock acquired, processing the job...
[2025-01-12 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:10:04] Production.ERROR: done
[2025-01-12 00:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 00:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227833', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 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-01-12 00:10:04] Production.INFO: ==9743== Releasing lock...
[2025-01-12 00:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:10:04] Production.INFO: Total Charge 0
[2025-01-12 00:10:04] Production.INFO: count ==21
[2025-01-12 00:10:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 00:10:04] Production.INFO: count ==21
[2025-01-12 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227832') start
[2025-01-12 00:10:04] Production.ERROR: done
[2025-01-12 00:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227832') end
[2025-01-12 00:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:10:04] Production.INFO: 1
[2025-01-12 00:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:10:04] Production.INFO: ==9753== Releasing lock...
[2025-01-12 00:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:10:04] Production.ERROR: done
[2025-01-12 00:10:04] Production.INFO: Account Balance End.
[2025-01-12 00:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:10:04] Production.INFO: ==9747== Releasing lock...
[2025-01-12 00:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:10:06
[end_date_ymd] => 2025-01-12 00:10:06
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:10:06' and `end` < '2025-01-12 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-01-12 00:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227833', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 00:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 00:10:08] Production.INFO: ProcessCDR(1,14227833,1,1,2)
[2025-01-12 00:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227833,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227833,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:10:08] Production.INFO: ==9751== Releasing lock...
[2025-01-12 00:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 00:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:10:13] Production.ERROR: CronJobId end10
[2025-01-12 00:10:13] Production.INFO: ==9745== Releasing lock...
[2025-01-12 00:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:10:15] Production.INFO: call_cost start
[2025-01-12 00:10:15] Production.INFO: call_cost end
[2025-01-12 00:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:10:16] Production.INFO: ==9741== Releasing lock...
[2025-01-12 00:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:10:19] Production.INFO: count ==193
[2025-01-12 00:10:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:10:06 - End Time 2025-01-12 00:10:06
[2025-01-12 00:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227834', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227834', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227834', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227834', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:10:19] Production.INFO: ProcessCDR(1,14227834,1,1,2)
[2025-01-12 00:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227834', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227834', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:10:22] Production.INFO: ==9749== Releasing lock...
[2025-01-12 00:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:10:22] Production.INFO: 30 MB #Memory Used#
[2025-01-12 05:11:01] Production.INFO: ==9818== Lock acquired, processing the job...
[2025-01-12 05:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:11:01] Production.INFO: neon service started
[2025-01-12 05:11:01] Production.INFO: neon service started
[2025-01-12 05:11:01] Production.INFO: ==9818== Releasing lock...
[2025-01-12 05:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:11:02] Production.INFO: ==9822== Lock acquired, processing the job...
[2025-01-12 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:11:02] Production.INFO: ==9822== Releasing lock...
[2025-01-12 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:11:02] Production.INFO: ==9820== Lock acquired, processing the job...
[2025-01-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:11:02] Production.INFO: ==9820== Releasing lock...
[2025-01-12 00:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:11:03] Production.INFO: ==9828== Lock acquired, processing the job...
[2025-01-12 00:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:11:03] Production.INFO: ==9824== Lock acquired, processing the job...
[2025-01-12 00:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:11:03] Production.INFO: ==9833== Lock acquired, processing the job...
[2025-01-12 00:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:11:03] Production.INFO: ==9826== Lock acquired, processing the job...
[2025-01-12 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:11:03] Production.INFO: ==9831== Lock acquired, processing the job...
[2025-01-12 00:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:11:03] Production.INFO: ==9835== Lock acquired, processing the job...
[2025-01-12 00:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:11:03] Production.ERROR: done
[2025-01-12 00:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:11:03] Production.INFO: Account Balance Start.
[2025-01-12 00:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:11:03] Production.INFO: 117
[2025-01-12 00:11:03] Production.INFO: ==9826== Releasing lock...
[2025-01-12 00:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:11:03] Production.ERROR: done
[2025-01-12 00:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:11:04] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:11:04] Production.INFO: count ==21
[2025-01-12 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227838') start
[2025-01-12 00:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:11:04] Production.INFO: Total Charge 0
[2025-01-12 00:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227838') end
[2025-01-12 00:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:11:04] Production.INFO: 1
[2025-01-12 00:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:11:04] Production.INFO: CreateAllLog End
[2025-01-12 00:11:04] Production.INFO: ==9835== Releasing lock...
[2025-01-12 00:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:11:04] Production.INFO: Account Balance End.
[2025-01-12 00:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:11:04] Production.INFO: ==9831== Releasing lock...
[2025-01-12 00:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:11:05
[end_date_ymd] => 2025-01-12 00:11:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:11:05' and `end` < '2025-01-12 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-01-12 00:11:12] Production.ERROR: CronJobId end10
[2025-01-12 00:11:12] Production.INFO: ==9828== Releasing lock...
[2025-01-12 00:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:11:14] Production.INFO: call_cost start
[2025-01-12 00:11:14] Production.INFO: call_cost end
[2025-01-12 00:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:11:15] Production.INFO: ==9824== Releasing lock...
[2025-01-12 00:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:11:18] Production.INFO: count ==206
[2025-01-12 00:11:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:11:05 - End Time 2025-01-12 00:11:05
[2025-01-12 00:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227839', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227839', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227839', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227839', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:11:18] Production.INFO: ProcessCDR(1,14227839,1,1,2)
[2025-01-12 00:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227839', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227839', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:11:21] Production.INFO: ==9833== Releasing lock...
[2025-01-12 00:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:11:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:12:02] Production.INFO: ==9943== Lock acquired, processing the job...
[2025-01-12 05:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:12:02] Production.INFO: neon service started
[2025-01-12 05:12:02] Production.INFO: neon service started
[2025-01-12 05:12:02] Production.INFO: ==9943== Releasing lock...
[2025-01-12 05:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:12:02] Production.INFO: ==9945== Lock acquired, processing the job...
[2025-01-12 00:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:12:02] Production.INFO: ==9947== Lock acquired, processing the job...
[2025-01-12 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:12:02] Production.INFO: ==9947== Releasing lock...
[2025-01-12 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:12:03] Production.INFO: ==9945== Releasing lock...
[2025-01-12 00:12:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:12:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:12:04] Production.INFO: ==9954== Lock acquired, processing the job...
[2025-01-12 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:12:04] Production.INFO: ==9956== Lock acquired, processing the job...
[2025-01-12 00:12:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:12:04] Production.INFO: ==9960== Lock acquired, processing the job...
[2025-01-12 00:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:12:04] Production.INFO: ==9952== Lock acquired, processing the job...
[2025-01-12 00:12:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:12:04] Production.INFO: ==9958== Lock acquired, processing the job...
[2025-01-12 00:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:12:04] Production.INFO: ==9962== Lock acquired, processing the job...
[2025-01-12 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:12:04] Production.ERROR: done
[2025-01-12 00:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 00:12:04] Production.INFO: Account Balance Start.
[2025-01-12 00:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:12:04] Production.INFO: 117
[2025-01-12 00:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:12:04] Production.INFO: ==9954== Releasing lock...
[2025-01-12 00:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:12:04] Production.INFO: count ==21
[2025-01-12 00:12:04] Production.ERROR: done
[2025-01-12 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-01-12 00:12:04] Production.INFO: count ==21
[2025-01-12 00:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227843') start
[2025-01-12 00:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227843') end
[2025-01-12 00:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:12:04] Production.INFO: 1
[2025-01-12 00:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:12:04] Production.INFO: ==9962== Releasing lock...
[2025-01-12 00:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:12:05] Production.INFO: Total Charge 0
[2025-01-12 00:12:05] Production.INFO: CreateAllLog End
[2025-01-12 00:12:05] Production.INFO: Account Balance End.
[2025-01-12 00:12:05] Production.ERROR: CronJobId end 12
[2025-01-12 00:12:05] Production.INFO: ==9958== Releasing lock...
[2025-01-12 00:12:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:12:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:12:05
[end_date_ymd] => 2025-01-12 00:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:12:05' and `end` < '2025-01-12 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-01-12 00:12:12] Production.ERROR: CronJobId end10
[2025-01-12 00:12:12] Production.INFO: ==9956== Releasing lock...
[2025-01-12 00:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:12:14] Production.INFO: call_cost start
[2025-01-12 00:12:14] Production.INFO: call_cost end
[2025-01-12 00:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:12:15] Production.INFO: ==9952== Releasing lock...
[2025-01-12 00:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:12:19] Production.INFO: count ==209
[2025-01-12 00:12:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:12:05 - End Time 2025-01-12 00:12:05
[2025-01-12 00:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227844', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227844', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227844', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227844', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:12:19] Production.INFO: ProcessCDR(1,14227844,1,1,2)
[2025-01-12 00:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227844', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227844', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:12:22] Production.INFO: ==9960== Releasing lock...
[2025-01-12 00:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:12:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:13:01] Production.INFO: ==10027== Lock acquired, processing the job...
[2025-01-12 05:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:13:01] Production.INFO: neon service started
[2025-01-12 05:13:01] Production.INFO: neon service started
[2025-01-12 05:13:01] Production.INFO: ==10027== Releasing lock...
[2025-01-12 05:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:13:02] Production.INFO: ==10031== Lock acquired, processing the job...
[2025-01-12 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:13:02] Production.INFO: ==10031== Releasing lock...
[2025-01-12 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:13:02] Production.INFO: ==10029== Lock acquired, processing the job...
[2025-01-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:13:02] Production.INFO: ==10029== Releasing lock...
[2025-01-12 00:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:13:03] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-01-12 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:13:03] Production.INFO: ==10038== Lock acquired, processing the job...
[2025-01-12 00:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:13:03] Production.INFO: ==10040== Lock acquired, processing the job...
[2025-01-12 00:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:13:03] Production.INFO: Account Balance Start.
[2025-01-12 00:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:13:03] Production.INFO: 117
[2025-01-12 00:13:03] Production.INFO: ==10034== Lock acquired, processing the job...
[2025-01-12 00:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:13:03] Production.INFO: ==10036== Releasing lock...
[2025-01-12 00:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:13:03] Production.INFO: ==10042== Lock acquired, processing the job...
[2025-01-12 00:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:13:03] Production.INFO: ==10044== Lock acquired, processing the job...
[2025-01-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:13:03] Production.INFO: Total Charge 0
[2025-01-12 00:13:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 00:13:03] Production.INFO: count ==21
[2025-01-12 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-01-12 00:13:03] Production.INFO: count ==21
[2025-01-12 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227848') start
[2025-01-12 00:13:04] Production.ERROR: done
[2025-01-12 00:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:13:04] Production.INFO: Account Balance End.
[2025-01-12 00:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227848') end
[2025-01-12 00:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:13:04] Production.INFO: 1
[2025-01-12 00:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:13:04] Production.INFO: ==10040== Releasing lock...
[2025-01-12 00:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:13:04] Production.ERROR: done
[2025-01-12 00:13:04] Production.INFO: ==10044== Releasing lock...
[2025-01-12 00:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:13:05
[end_date_ymd] => 2025-01-12 00:13:05
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:13:05' and `end` < '2025-01-12 00: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-01-12 00:13: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,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-01-12 00:13:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:13:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:13:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:13:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:13:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:13:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:13:11] Production.ERROR: CronJobId end10
[2025-01-12 00:13:11] Production.INFO: ==10038== Releasing lock...
[2025-01-12 00:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:13:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:13:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:13:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:13:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:13:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:13:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:13:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:13:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:13:11] Production.INFO: call_cost start
[2025-01-12 00:13:11] Production.INFO: call_cost end
[2025-01-12 00:13:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:13:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:13:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:13:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:13:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:13:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:13:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:13:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:13:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:13:12] Production.INFO: ==10034== Releasing lock...
[2025-01-12 00:13:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:13:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:13:18] Production.INFO: count ==208
[2025-01-12 00:13:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:13:05 - End Time 2025-01-12 00:13:05
[2025-01-12 00:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227849', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227849', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227849', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227849', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:13:18] Production.INFO: ProcessCDR(1,14227849,1,1,2)
[2025-01-12 00:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227849', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227849', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:13:21] Production.INFO: ==10042== Releasing lock...
[2025-01-12 00:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:13:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 05:14:02] Production.INFO: ==10109== Lock acquired, processing the job...
[2025-01-12 05:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:14:02] Production.INFO: neon service started
[2025-01-12 05:14:02] Production.INFO: neon service started
[2025-01-12 05:14:02] Production.INFO: ==10109== Releasing lock...
[2025-01-12 05:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:14:02] Production.INFO: ==10111== Lock acquired, processing the job...
[2025-01-12 00:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:14:02] Production.INFO: ==10113== Lock acquired, processing the job...
[2025-01-12 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:14:02] Production.INFO: ==10113== Releasing lock...
[2025-01-12 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:14:03] Production.INFO: ==10111== Releasing lock...
[2025-01-12 00:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:14:03] Production.INFO: ==10120== Lock acquired, processing the job...
[2025-01-12 00:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:14:04] Production.INFO: ==10116== Lock acquired, processing the job...
[2025-01-12 00:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:14:04] Production.INFO: ==10118== Lock acquired, processing the job...
[2025-01-12 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:14:04] Production.INFO: ==10122== Lock acquired, processing the job...
[2025-01-12 00:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:14:04] Production.INFO: ==10124== Lock acquired, processing the job...
[2025-01-12 00:14:04] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-12 00:14:04] Production.INFO: ==10126== Lock acquired, processing the job...
[2025-01-12 00:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:14:04] Production.INFO: Account Balance Start.
[2025-01-12 00:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:14:04] Production.INFO: 117
[2025-01-12 00:14:04] Production.INFO: -- Xero Api Check --
[2025-01-12 00:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:14:04] Production.INFO: ==10128== Lock acquired, processing the job...
[2025-01-12 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:14:04] Production.INFO: ==10118== Releasing lock...
[2025-01-12 00:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:14:04] Production.ERROR: done
[2025-01-12 00:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:14:04] Production.INFO: count ==21
[2025-01-12 00:14:04] Production.INFO: Total Charge 0
[2025-01-12 00:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:14:04] Production.INFO: count ==21
[2025-01-12 00:14:04] Production.INFO: CreateAllLog End
[2025-01-12 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227853') start
[2025-01-12 00:14:04] Production.ERROR: done
[2025-01-12 00:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227853') end
[2025-01-12 00:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:14:04] Production.INFO: 1
[2025-01-12 00:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:14:04] Production.INFO: Account Balance End.
[2025-01-12 00:14:04] Production.INFO: ==10128== Releasing lock...
[2025-01-12 00:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:14:05] Production.ERROR: CronJobId end 12
[2025-01-12 00:14:05] Production.INFO: ==10122== Releasing lock...
[2025-01-12 00:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:14:05
[end_date_ymd] => 2025-01-12 00:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:14:05' and `end` < '2025-01-12 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-01-12 00:14:06] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 858
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.914739
[namelookup_time] => 0.544661
[connect_time] => 0.630216
[pretransfer_time] => 1.079894
[size_upload] => 82
[size_download] => 2755
[speed_download] => 1438
[speed_upload] => 42
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.914673
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 2.17.107.107
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 33630
)
[2025-01-12 00:14:06] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2NTg4NDYsImV4cCI6MTczNjY1OTE0NiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NjU4ODQ2LCJhdF9oYXNoIjoiZWdXaWd0UGJjN19HWWkzXzN6MnRSdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.rMegoy1l27TWF37G92bk7sNlL5qaZrNWUsnGNlsqbpSWUDInHYMZBki2BqOPZzz7PVMPzUz1JVsp649j9W6EZgv_kLxdZaumpt0BzaMeLxBrOkl8mKSUZeMgBUCwWrg1_zv7Q08FtVOQrD1UUun9kbH7k8FdoRLbRTv40nuJPMpOoLv-GXlVyNcj-evJGnSc_TJqooP_ac0keDoo5XA7eH_reYRUHiyYPGaDgN7NNu7wARfqlEafsQxDod5LGu9q7kw2x5_bS8TpMbHwue8TBSfwBtkZZ05TwTeeD-kKgxo_UU09W-8B3pQpD7tWRyW7WcT_xqyU45W9Ox2uRTFINQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2NTg4NDYsImV4cCI6MTczNjY2MDY0NiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.rzvvbhhPnLiiGNh5FdKyBQ-XX4XwcjeJI0n3G378apG2GqYZ6FgrId4RAU_YHOX1M_Bzxm61QLecCgO10s_le_7ZfKAb-KZDjb1k0HvMVofVJcHp_NLQsfa6ORYp4WpcUwisI1IOP6gfFOe2NvpBa1oddZj8h8Nso9Vn1Sc2R5XzWVtogVqmYw0zQZlOzZ-w1Z0HfwWDTyAlzszJV3ebRQHi3fQgICg-cP0eUmUGOOC9Y5Ul9r5ER4xGYIBDypUSfBURMPxOsofyZrZdUXBhXOtt6JzEHMLV6a8VMp_cD2T5FHvEx78EFjn1QzgjMv_QG8ZZUES5_vSYGXGCaS2-nw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => DmIhU9MYJSj1_eLpa7oBEOHNvMiKKcmKZB_oE59WZME
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-12 00:14:06] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2NTg4NDYsImV4cCI6MTczNjY1OTE0NiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NjU4ODQ2LCJhdF9oYXNoIjoiZWdXaWd0UGJjN19HWWkzXzN6MnRSdyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.rMegoy1l27TWF37G92bk7sNlL5qaZrNWUsnGNlsqbpSWUDInHYMZBki2BqOPZzz7PVMPzUz1JVsp649j9W6EZgv_kLxdZaumpt0BzaMeLxBrOkl8mKSUZeMgBUCwWrg1_zv7Q08FtVOQrD1UUun9kbH7k8FdoRLbRTv40nuJPMpOoLv-GXlVyNcj-evJGnSc_TJqooP_ac0keDoo5XA7eH_reYRUHiyYPGaDgN7NNu7wARfqlEafsQxDod5LGu9q7kw2x5_bS8TpMbHwue8TBSfwBtkZZ05TwTeeD-kKgxo_UU09W-8B3pQpD7tWRyW7WcT_xqyU45W9Ox2uRTFINQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2NTg4NDYsImV4cCI6MTczNjY2MDY0NiwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.rzvvbhhPnLiiGNh5FdKyBQ-XX4XwcjeJI0n3G378apG2GqYZ6FgrId4RAU_YHOX1M_Bzxm61QLecCgO10s_le_7ZfKAb-KZDjb1k0HvMVofVJcHp_NLQsfa6ORYp4WpcUwisI1IOP6gfFOe2NvpBa1oddZj8h8Nso9Vn1Sc2R5XzWVtogVqmYw0zQZlOzZ-w1Z0HfwWDTyAlzszJV3ebRQHi3fQgICg-cP0eUmUGOOC9Y5Ul9r5ER4xGYIBDypUSfBURMPxOsofyZrZdUXBhXOtt6JzEHMLV6a8VMp_cD2T5FHvEx78EFjn1QzgjMv_QG8ZZUES5_vSYGXGCaS2-nw
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => DmIhU9MYJSj1_eLpa7oBEOHNvMiKKcmKZB_oE59WZME
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-12 00:14:06] Production.ERROR: Invoice Payment Date 2025-01-11 00:00:00
[2025-01-12 00:14:06] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,11)
[2025-01-12 00:14:09] Production.INFO: Batch insert start
[2025-01-12 00:14:09] Production.INFO: global counter1
[2025-01-12 00:14:09] Production.INFO: insertion start
[2025-01-12 00:14:09] Production.INFO: last batch insert 1
[2025-01-12 00:14:09] Production.INFO: insertion end
[2025-01-12 00:14:09] Production.INFO: CALL prc_importPaymentAccounting ('0bc83000-d0a4-11ef-9ade-0b607ba84711') start
[2025-01-12 00:14:09] Production.INFO: CALL prc_importPaymentAccounting ('0bc83000-d0a4-11ef-9ade-0b607ba84711') end
[2025-01-12 00:14:09] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-12 00:14:09] Production.INFO: 2
[2025-01-12 00:14:09] Production.ERROR: CronJobId end14
[2025-01-12 00:14:09] Production.INFO: ==10124== Releasing lock...
[2025-01-12 00:14:09] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-12 00:14:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:14:11] Production.ERROR: CronJobId end10
[2025-01-12 00:14:11] Production.INFO: ==10120== Releasing lock...
[2025-01-12 00:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:14:14] Production.INFO: call_cost start
[2025-01-12 00:14:14] Production.INFO: call_cost end
[2025-01-12 00:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:14:14] Production.INFO: ==10116== Releasing lock...
[2025-01-12 00:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:14:19] Production.INFO: count ==208
[2025-01-12 00:14:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:14:05 - End Time 2025-01-12 00:14:05
[2025-01-12 00:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227854', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227854', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227854', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227854', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:14:19] Production.INFO: ProcessCDR(1,14227854,1,1,2)
[2025-01-12 00:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227854', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227854', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:14:22] Production.INFO: ==10126== Releasing lock...
[2025-01-12 00:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:14:22] Production.INFO: 30 MB #Memory Used#
[2025-01-12 05:15:01] Production.INFO: ==10196== Lock acquired, processing the job...
[2025-01-12 05:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:15:01] Production.INFO: neon service started
[2025-01-12 05:15:01] Production.INFO: neon service started
[2025-01-12 05:15:01] Production.INFO: ==10196== Releasing lock...
[2025-01-12 05:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:15:01] Production.INFO: ==10198== Lock acquired, processing the job...
[2025-01-12 00:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:15:02] Production.INFO: ==10200== Lock acquired, processing the job...
[2025-01-12 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:15:02] Production.INFO: ==10198== Releasing lock...
[2025-01-12 00:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:15:02] Production.INFO: ==10200== Releasing lock...
[2025-01-12 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:15:02] Production.INFO: ==10203== Lock acquired, processing the job...
[2025-01-12 00:15:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:15:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:15:03] Production.INFO: ==10205== Lock acquired, processing the job...
[2025-01-12 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:15:03] Production.INFO: ==10207== Lock acquired, processing the job...
[2025-01-12 00:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:15:03] Production.INFO: ==10205== Releasing lock...
[2025-01-12 00:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:15:03] Production.INFO: ==10209== Lock acquired, processing the job...
[2025-01-12 00:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:15:03] Production.INFO: ==10211== Lock acquired, processing the job...
[2025-01-12 00:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:15:03] Production.INFO: Account Balance Start.
[2025-01-12 00:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:15:03] Production.INFO: 117
[2025-01-12 00:15:03] Production.INFO: ==10213== Lock acquired, processing the job...
[2025-01-12 00:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:15:03] Production.INFO: count ==21
[2025-01-12 00:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:15:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:15:03] Production.INFO: count ==21
[2025-01-12 00:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227858') start
[2025-01-12 00:15:03] Production.ERROR: done
[2025-01-12 00:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227858') end
[2025-01-12 00:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:15:04] Production.INFO: 1
[2025-01-12 00:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:15:04] Production.ERROR: done
[2025-01-12 00:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:15:04] Production.INFO: Total Charge 0
[2025-01-12 00:15:04] Production.INFO: CreateAllLog End
[2025-01-12 00:15:04] Production.INFO: ==10213== Releasing lock...
[2025-01-12 00:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:15:04] Production.INFO: Account Balance End.
[2025-01-12 00:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:15:04] Production.INFO: ==10209== Releasing lock...
[2025-01-12 00:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:15:05
[end_date_ymd] => 2025-01-12 00:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:15:05' and `end` < '2025-01-12 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-01-12 00:15:10] Production.ERROR: CronJobId end10
[2025-01-12 00:15:10] Production.INFO: ==10207== Releasing lock...
[2025-01-12 00:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:15:13] Production.INFO: call_cost start
[2025-01-12 00:15:13] Production.INFO: call_cost end
[2025-01-12 00:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:15:13] Production.INFO: ==10203== Releasing lock...
[2025-01-12 00:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:15:18] Production.INFO: count ==211
[2025-01-12 00:15:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:15:05 - End Time 2025-01-12 00:15:05
[2025-01-12 00:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227859', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227859', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227859', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227859', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:15:18] Production.INFO: ProcessCDR(1,14227859,1,1,2)
[2025-01-12 00:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227859', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227859', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:15:21] Production.INFO: ==10211== Releasing lock...
[2025-01-12 00:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:15:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:16:01] Production.INFO: ==10282== Lock acquired, processing the job...
[2025-01-12 05:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:16:01] Production.INFO: neon service started
[2025-01-12 05:16:01] Production.INFO: neon service started
[2025-01-12 05:16:01] Production.INFO: ==10282== Releasing lock...
[2025-01-12 05:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:16:02] Production.INFO: ==10285== Lock acquired, processing the job...
[2025-01-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:16:02] Production.INFO: ==10287== Lock acquired, processing the job...
[2025-01-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:16:02] Production.INFO: ==10287== Releasing lock...
[2025-01-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:16:02] Production.INFO: ==10285== Releasing lock...
[2025-01-12 00:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:16:03] Production.INFO: ==10289== Lock acquired, processing the job...
[2025-01-12 00:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:16:03] Production.INFO: ==10297== Lock acquired, processing the job...
[2025-01-12 00:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:16:03] Production.INFO: ==10291== Lock acquired, processing the job...
[2025-01-12 00:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:16:03] Production.INFO: ==10293== Lock acquired, processing the job...
[2025-01-12 00:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:16:03] Production.INFO: ==10295== Lock acquired, processing the job...
[2025-01-12 00:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:16:04] Production.INFO: ==10299== Lock acquired, processing the job...
[2025-01-12 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:16:04] Production.INFO: Account Balance Start.
[2025-01-12 00:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:16:04] Production.INFO: 117
[2025-01-12 00:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:16:04] Production.INFO: count ==21
[2025-01-12 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-01-12 00:16:04] Production.INFO: count ==21
[2025-01-12 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227863') start
[2025-01-12 00:16:04] Production.ERROR: done
[2025-01-12 00:16:04] Production.INFO: ==10291== Releasing lock...
[2025-01-12 00:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227863') end
[2025-01-12 00:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:16:04] Production.INFO: 1
[2025-01-12 00:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:16:04] Production.ERROR: done
[2025-01-12 00:16:04] Production.INFO: Total Charge 0
[2025-01-12 00:16:04] Production.INFO: ==10299== Releasing lock...
[2025-01-12 00:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:16:04] Production.INFO: CreateAllLog End
[2025-01-12 00:16:05] Production.INFO: Account Balance End.
[2025-01-12 00:16:05] Production.ERROR: CronJobId end 12
[2025-01-12 00:16:05] Production.INFO: ==10295== Releasing lock...
[2025-01-12 00:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:16:05
[end_date_ymd] => 2025-01-12 00:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:16:05' and `end` < '2025-01-12 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-01-12 00:16:11] Production.ERROR: CronJobId end10
[2025-01-12 00:16:11] Production.INFO: ==10293== Releasing lock...
[2025-01-12 00:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:16:12] Production.INFO: call_cost start
[2025-01-12 00:16:12] Production.INFO: call_cost end
[2025-01-12 00:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:16:13] Production.INFO: ==10289== Releasing lock...
[2025-01-12 00:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:16:21] Production.INFO: count ==211
[2025-01-12 00:16:21] Production.ERROR: pbx CDR StartTime 2025-01-11 21:16:05 - End Time 2025-01-12 00:16:05
[2025-01-12 00:16:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227864', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227864', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227864', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:16:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227864', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:16:21] Production.INFO: ProcessCDR(1,14227864,1,1,2)
[2025-01-12 00:16:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227864', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227864', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:16:24] Production.INFO: ==10297== Releasing lock...
[2025-01-12 00:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:16:24] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:17:01] Production.INFO: ==10365== Lock acquired, processing the job...
[2025-01-12 05:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:17:01] Production.INFO: neon service started
[2025-01-12 05:17:01] Production.INFO: neon service started
[2025-01-12 05:17:01] Production.INFO: ==10365== Releasing lock...
[2025-01-12 05:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:17:01] Production.INFO: ==10367== Lock acquired, processing the job...
[2025-01-12 00:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:17:02] Production.INFO: ==10369== Lock acquired, processing the job...
[2025-01-12 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:17:02] Production.INFO: ==10369== Releasing lock...
[2025-01-12 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:17:02] Production.INFO: ==10367== Releasing lock...
[2025-01-12 00:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:17:03] Production.INFO: ==10372== Lock acquired, processing the job...
[2025-01-12 00:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:17:03] Production.INFO: ==10374== Lock acquired, processing the job...
[2025-01-12 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:17:03] Production.INFO: ==10382== Lock acquired, processing the job...
[2025-01-12 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:17:03] Production.INFO: count ==21
[2025-01-12 00:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:17:03] Production.INFO: ==10378== Lock acquired, processing the job...
[2025-01-12 00:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:17:03] Production.INFO: count ==21
[2025-01-12 00:17:03] Production.INFO: ==10376== Lock acquired, processing the job...
[2025-01-12 00:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227867') start
[2025-01-12 00:17:03] Production.INFO: ==10380== Lock acquired, processing the job...
[2025-01-12 00:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:17:03] Production.INFO: Account Balance Start.
[2025-01-12 00:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:17:03] Production.INFO: 117
[2025-01-12 00:17:03] Production.INFO: ==10374== Releasing lock...
[2025-01-12 00:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227867') end
[2025-01-12 00:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:17:03] Production.INFO: 1
[2025-01-12 00:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:17:03] Production.INFO: ==10382== Releasing lock...
[2025-01-12 00:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:17:03] Production.INFO: Total Charge 0
[2025-01-12 00:17:03] Production.INFO: CreateAllLog End
[2025-01-12 00:17:03] Production.ERROR: done
[2025-01-12 00:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:17:03] Production.ERROR: done
[2025-01-12 00:17:04] Production.INFO: Account Balance End.
[2025-01-12 00:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:17:04] Production.INFO: ==10378== Releasing lock...
[2025-01-12 00:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:17:05
[end_date_ymd] => 2025-01-12 00:17:05
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:17:05' and `end` < '2025-01-12 00: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-01-12 00:17:11] Production.ERROR: CronJobId end10
[2025-01-12 00:17:11] Production.INFO: ==10376== Releasing lock...
[2025-01-12 00:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:17:13] Production.INFO: call_cost start
[2025-01-12 00:17:13] Production.INFO: call_cost end
[2025-01-12 00:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:17:14] Production.INFO: ==10372== Releasing lock...
[2025-01-12 00:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:17:18] Production.INFO: count ==211
[2025-01-12 00:17:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:17:05 - End Time 2025-01-12 00:17:05
[2025-01-12 00:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227869', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227869', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227869', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227869', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:17:18] Production.INFO: ProcessCDR(1,14227869,1,1,2)
[2025-01-12 00:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227869', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227869', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:17:21] Production.INFO: ==10380== Releasing lock...
[2025-01-12 00:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:17:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:18:01] Production.INFO: ==10466== Lock acquired, processing the job...
[2025-01-12 05:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:18:01] Production.INFO: neon service started
[2025-01-12 05:18:01] Production.INFO: neon service started
[2025-01-12 05:18:01] Production.INFO: ==10466== Releasing lock...
[2025-01-12 05:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:18:02] Production.INFO: ==10470== Lock acquired, processing the job...
[2025-01-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:18:02] Production.INFO: ==10472== Lock acquired, processing the job...
[2025-01-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:18:02] Production.INFO: ==10470== Releasing lock...
[2025-01-12 00:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:18:02] Production.INFO: ==10472== Releasing lock...
[2025-01-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:18:03] Production.INFO: ==10474== Lock acquired, processing the job...
[2025-01-12 00:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:18:03] Production.INFO: ==10476== Lock acquired, processing the job...
[2025-01-12 00:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:18:03] Production.INFO: ==10478== Lock acquired, processing the job...
[2025-01-12 00:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:18:03] Production.INFO: ==10480== Lock acquired, processing the job...
[2025-01-12 00:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:18:03] Production.INFO: ==10483== Lock acquired, processing the job...
[2025-01-12 00:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:18:03] Production.INFO: Account Balance Start.
[2025-01-12 00:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:18:03] Production.INFO: ==10485== Lock acquired, processing the job...
[2025-01-12 00:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:18:03] Production.INFO: 117
[2025-01-12 00:18:04] Production.INFO: ==10476== Releasing lock...
[2025-01-12 00:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:18:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:18:04] Production.INFO: count ==21
[2025-01-12 00:18:04] Production.ERROR: done
[2025-01-12 00:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:18:04] Production.INFO: count ==21
[2025-01-12 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227873') start
[2025-01-12 00:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:18:04] Production.ERROR: done
[2025-01-12 00:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:18:04] Production.INFO: Total Charge 0
[2025-01-12 00:18:04] Production.INFO: CreateAllLog End
[2025-01-12 00:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227873') end
[2025-01-12 00:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:18:04] Production.INFO: 1
[2025-01-12 00:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:18:04] Production.INFO: ==10485== Releasing lock...
[2025-01-12 00:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:18:04] Production.INFO: Account Balance End.
[2025-01-12 00:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:18:04] Production.INFO: ==10480== Releasing lock...
[2025-01-12 00:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:18:05
[end_date_ymd] => 2025-01-12 00:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:18:05' and `end` < '2025-01-12 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-01-12 00:18:12] Production.ERROR: CronJobId end10
[2025-01-12 00:18:12] Production.INFO: ==10478== Releasing lock...
[2025-01-12 00:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:18:13] Production.INFO: call_cost start
[2025-01-12 00:18:13] Production.INFO: call_cost end
[2025-01-12 00:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:18:14] Production.INFO: ==10474== Releasing lock...
[2025-01-12 00:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:18:19] Production.INFO: count ==211
[2025-01-12 00:18:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:18:05 - End Time 2025-01-12 00:18:05
[2025-01-12 00:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227874', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227874', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227874', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227874', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:18:19] Production.INFO: ProcessCDR(1,14227874,1,1,2)
[2025-01-12 00:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227874', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227874', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:18:22] Production.INFO: ==10483== Releasing lock...
[2025-01-12 00:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:18:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:19:02] Production.INFO: ==10573== Lock acquired, processing the job...
[2025-01-12 05:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:19:02] Production.INFO: neon service started
[2025-01-12 05:19:02] Production.INFO: neon service started
[2025-01-12 05:19:02] Production.INFO: ==10573== Releasing lock...
[2025-01-12 05:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:19:02] Production.INFO: ==10576== Lock acquired, processing the job...
[2025-01-12 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:19:02] Production.INFO: ==10576== Releasing lock...
[2025-01-12 00:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:19:02] Production.INFO: ==10578== Lock acquired, processing the job...
[2025-01-12 05:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:19:03] Production.INFO: ==10578== Releasing lock...
[2025-01-12 05:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:19:03] Production.INFO: ==10583== Lock acquired, processing the job...
[2025-01-12 00:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:19:03] Production.INFO: ==10591== Lock acquired, processing the job...
[2025-01-12 00:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:19:03] Production.INFO: ==10581== Lock acquired, processing the job...
[2025-01-12 00:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 00:19:04] Production.INFO: ==10583== Releasing lock...
[2025-01-12 00:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:19:04] Production.INFO: ==10585== Lock acquired, processing the job...
[2025-01-12 00:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:19:04] Production.INFO: ==10587== Lock acquired, processing the job...
[2025-01-12 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:19:04] Production.INFO: count ==21
[2025-01-12 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-01-12 00:19:04] Production.INFO: count ==21
[2025-01-12 00:19:04] Production.INFO: ==10589== Lock acquired, processing the job...
[2025-01-12 00:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227877') start
[2025-01-12 00:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227877') end
[2025-01-12 00:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:19:04] Production.INFO: 1
[2025-01-12 00:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:19:04] Production.INFO: ==10591== Releasing lock...
[2025-01-12 00:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:19:04] Production.INFO: Account Balance Start.
[2025-01-12 00:19:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:19:04] Production.INFO: 117
[2025-01-12 00:19:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:19:04] Production.ERROR: done
[2025-01-12 00:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:19:04] Production.INFO: Total Charge 0
[2025-01-12 00:19:04] Production.INFO: CreateAllLog End
[2025-01-12 00:19:04] Production.ERROR: done
[2025-01-12 00:19:04] Production.INFO: Account Balance End.
[2025-01-12 00:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:19:04] Production.INFO: ==10587== Releasing lock...
[2025-01-12 00:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:19:05
[end_date_ymd] => 2025-01-12 00:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:19:05' and `end` < '2025-01-12 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-01-12 00:19:11] Production.ERROR: CronJobId end10
[2025-01-12 00:19:11] Production.INFO: ==10585== Releasing lock...
[2025-01-12 00:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:19:13] Production.INFO: call_cost start
[2025-01-12 00:19:13] Production.INFO: call_cost end
[2025-01-12 00:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:19:14] Production.INFO: ==10581== Releasing lock...
[2025-01-12 00:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:19:18] Production.INFO: count ==211
[2025-01-12 00:19:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:19:05 - End Time 2025-01-12 00:19:05
[2025-01-12 00:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227879', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227879', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227879', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227879', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:19:18] Production.INFO: ProcessCDR(1,14227879,1,1,2)
[2025-01-12 00:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227879', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227879', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:19:21] Production.INFO: ==10589== Releasing lock...
[2025-01-12 00:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:19:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:20:01] Production.INFO: ==10684== Lock acquired, processing the job...
[2025-01-12 05:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:20:01] Production.INFO: neon service started
[2025-01-12 05:20:01] Production.INFO: neon service started
[2025-01-12 05:20:01] Production.INFO: ==10684== Releasing lock...
[2025-01-12 05:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:20:02] Production.INFO: ==10686== Lock acquired, processing the job...
[2025-01-12 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:20:02] Production.INFO: ==10688== Lock acquired, processing the job...
[2025-01-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:20:02] Production.INFO: ==10686== Releasing lock...
[2025-01-12 00:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:20:02] Production.INFO: ==10688== Releasing lock...
[2025-01-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:20:03] Production.INFO: ==10690== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 00:20:03] Production.INFO: ==10697== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 00:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 00:20:03] Production.ERROR: CronJob PID - 10697
[2025-01-12 00:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 00:20:03] Production.ERROR: CronJob ID - 10
[2025-01-12 00:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 00:20:00
[2025-01-12 00:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 00:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 00:20:03] Production.INFO: ==10703== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 00:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 00:20:03] Production.INFO: ==10690== Releasing lock...
[2025-01-12 00:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 00:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 00:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:20:03] Production.INFO: ==10701== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:20:03] Production.INFO: ==10692== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:20:03] Production.INFO: ==10695== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:20:03] Production.INFO: ==10699== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:20:03] Production.INFO: ==10705== Lock acquired, processing the job...
[2025-01-12 00:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:20:04] Production.INFO: Account Balance Start.
[2025-01-12 00:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:20:04] Production.INFO: 117
[2025-01-12 00:20:04] Production.ERROR: done
[2025-01-12 00:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 00:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227883', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 00:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:20:04] Production.ERROR: done
[2025-01-12 00:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:20:04] Production.INFO: ==10695== Releasing lock...
[2025-01-12 00:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:20:04] Production.INFO: count ==21
[2025-01-12 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-01-12 00:20:04] Production.INFO: count ==21
[2025-01-12 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227884') start
[2025-01-12 00:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:20:04] Production.ERROR: done
[2025-01-12 00:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227884') end
[2025-01-12 00:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:20:04] Production.INFO: 1
[2025-01-12 00:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:20:04] Production.INFO: Total Charge 0
[2025-01-12 00:20:04] Production.INFO: ==10705== Releasing lock...
[2025-01-12 00:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:20:04] Production.INFO: CreateAllLog End
[2025-01-12 00:20:04] Production.INFO: Account Balance End.
[2025-01-12 00:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:20:04] Production.INFO: ==10699== Releasing lock...
[2025-01-12 00:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:20:05
[end_date_ymd] => 2025-01-12 00:20:05
[RateCDR] => 1
)
[2025-01-12 00:20:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:20:05' and `end` < '2025-01-12 00:20:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227883', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 00:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 00:20:08] Production.INFO: ProcessCDR(1,14227883,1,1,2)
[2025-01-12 00:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227883,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227883,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:20:08] Production.INFO: ==10703== Releasing lock...
[2025-01-12 00:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 00:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:20:13] Production.ERROR: CronJobId end10
[2025-01-12 00:20:13] Production.INFO: ==10697== Releasing lock...
[2025-01-12 00:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:20:15] Production.INFO: call_cost start
[2025-01-12 00:20:15] Production.INFO: call_cost end
[2025-01-12 00:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:20:16] Production.INFO: ==10692== Releasing lock...
[2025-01-12 00:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:20:18] Production.INFO: count ==217
[2025-01-12 00:20:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:20:05 - End Time 2025-01-12 00:20:05
[2025-01-12 00:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227885', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227885', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227885', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227885', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:20:18] Production.INFO: ProcessCDR(1,14227885,1,1,2)
[2025-01-12 00:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227885', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227885', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:20:21] Production.INFO: ==10701== Releasing lock...
[2025-01-12 00:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:20:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:21:02] Production.INFO: ==10804== Lock acquired, processing the job...
[2025-01-12 05:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:21:02] Production.INFO: neon service started
[2025-01-12 05:21:02] Production.INFO: neon service started
[2025-01-12 05:21:02] Production.INFO: ==10804== Releasing lock...
[2025-01-12 05:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:21:02] Production.INFO: ==10808== Lock acquired, processing the job...
[2025-01-12 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:21:02] Production.INFO: ==10808== Releasing lock...
[2025-01-12 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:21:02] Production.INFO: ==10806== Lock acquired, processing the job...
[2025-01-12 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:21:02] Production.INFO: ==10806== Releasing lock...
[2025-01-12 00:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:21:03] Production.INFO: ==10814== Lock acquired, processing the job...
[2025-01-12 00:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:21:03] Production.INFO: ==10818== Lock acquired, processing the job...
[2025-01-12 00:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:21:03] Production.INFO: ==10810== Lock acquired, processing the job...
[2025-01-12 00:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:21:03] Production.INFO: ==10812== Lock acquired, processing the job...
[2025-01-12 00:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:21:04] Production.INFO: ==10816== Lock acquired, processing the job...
[2025-01-12 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:21:04] Production.INFO: ==10820== Lock acquired, processing the job...
[2025-01-12 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:21:04] Production.INFO: Account Balance Start.
[2025-01-12 00:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:21:04] Production.INFO: 117
[2025-01-12 00:21:04] Production.ERROR: done
[2025-01-12 00:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:21:04] Production.INFO: count ==21
[2025-01-12 00:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:21:04] Production.INFO: count ==21
[2025-01-12 00:21:04] Production.ERROR: done
[2025-01-12 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227889') start
[2025-01-12 00:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:21:04] Production.INFO: ==10812== Releasing lock...
[2025-01-12 00:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227889') end
[2025-01-12 00:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:21:04] Production.INFO: 1
[2025-01-12 00:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:21:04] Production.INFO: Total Charge 0
[2025-01-12 00:21:04] Production.INFO: ==10820== Releasing lock...
[2025-01-12 00:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:21:04] Production.INFO: CreateAllLog End
[2025-01-12 00:21:04] Production.INFO: Account Balance End.
[2025-01-12 00:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:21:04] Production.INFO: ==10816== Releasing lock...
[2025-01-12 00:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:21:05
[end_date_ymd] => 2025-01-12 00:21:05
[RateCDR] => 1
)
[2025-01-12 00:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:21:05' and `end` < '2025-01-12 00:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:21:11] Production.ERROR: CronJobId end10
[2025-01-12 00:21:11] Production.INFO: ==10814== Releasing lock...
[2025-01-12 00:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:21:13] Production.INFO: call_cost start
[2025-01-12 00:21:13] Production.INFO: call_cost end
[2025-01-12 00:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:21:14] Production.INFO: ==10810== Releasing lock...
[2025-01-12 00:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:21:18] Production.INFO: count ==245
[2025-01-12 00:21:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:21:05 - End Time 2025-01-12 00:21:05
[2025-01-12 00:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227890', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227890', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227890', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227890', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:21:18] Production.INFO: ProcessCDR(1,14227890,1,1,2)
[2025-01-12 00:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227890', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227890', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:21:21] Production.INFO: ==10818== Releasing lock...
[2025-01-12 00:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:21:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:22:01] Production.INFO: ==10911== Lock acquired, processing the job...
[2025-01-12 05:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:22:01] Production.INFO: neon service started
[2025-01-12 05:22:01] Production.INFO: neon service started
[2025-01-12 05:22:01] Production.INFO: ==10911== Releasing lock...
[2025-01-12 05:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:22:01] Production.INFO: ==10915== Lock acquired, processing the job...
[2025-01-12 00:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:22:02] Production.INFO: ==10915== Releasing lock...
[2025-01-12 00:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:22:02] Production.INFO: ==10917== Lock acquired, processing the job...
[2025-01-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:22:02] Production.INFO: ==10917== Releasing lock...
[2025-01-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:22:03] Production.INFO: ==10922== Lock acquired, processing the job...
[2025-01-12 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:22:03] Production.INFO: ==10924== Lock acquired, processing the job...
[2025-01-12 00:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:22:03] Production.INFO: ==10930== Lock acquired, processing the job...
[2025-01-12 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:22:03] Production.INFO: ==10920== Lock acquired, processing the job...
[2025-01-12 00:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 00:22:03] Production.INFO: ==10926== Lock acquired, processing the job...
[2025-01-12 00:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:22:03] Production.INFO: count ==21
[2025-01-12 00:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:22:03] Production.INFO: ==10928== Lock acquired, processing the job...
[2025-01-12 00:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:22:03] Production.INFO: count ==21
[2025-01-12 00:22:03] Production.INFO: Account Balance Start.
[2025-01-12 00:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:22:03] Production.INFO: 117
[2025-01-12 00:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227892') start
[2025-01-12 00:22:03] Production.INFO: ==10922== Releasing lock...
[2025-01-12 00:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227892') end
[2025-01-12 00:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:22:03] Production.INFO: 1
[2025-01-12 00:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:22:03] Production.INFO: ==10930== Releasing lock...
[2025-01-12 00:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:22:03] Production.INFO: Total Charge 0
[2025-01-12 00:22:03] Production.INFO: CreateAllLog End
[2025-01-12 00:22:03] Production.ERROR: done
[2025-01-12 00:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:22:04] Production.INFO: Account Balance End.
[2025-01-12 00:22:04] Production.ERROR: done
[2025-01-12 00:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:22:04] Production.INFO: ==10926== Releasing lock...
[2025-01-12 00:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:22:05
[end_date_ymd] => 2025-01-12 00:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:22:05' and `end` < '2025-01-12 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-01-12 00:22:10] Production.ERROR: CronJobId end10
[2025-01-12 00:22:10] Production.INFO: ==10924== Releasing lock...
[2025-01-12 00:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:22:13] Production.INFO: call_cost start
[2025-01-12 00:22:13] Production.INFO: call_cost end
[2025-01-12 00:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:22:14] Production.INFO: ==10920== Releasing lock...
[2025-01-12 00:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:22:18] Production.INFO: count ==245
[2025-01-12 00:22:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:22:05 - End Time 2025-01-12 00:22:05
[2025-01-12 00:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227895', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227895', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227895', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227895', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:22:18] Production.INFO: ProcessCDR(1,14227895,1,1,2)
[2025-01-12 00:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227895', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227895', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:22:21] Production.INFO: ==10928== Releasing lock...
[2025-01-12 00:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:22:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:23:01] Production.INFO: ==11025== Lock acquired, processing the job...
[2025-01-12 05:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:23:01] Production.INFO: neon service started
[2025-01-12 05:23:01] Production.INFO: neon service started
[2025-01-12 05:23:01] Production.INFO: ==11025== Releasing lock...
[2025-01-12 05:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:23:02] Production.INFO: ==11027== Lock acquired, processing the job...
[2025-01-12 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:23:02] Production.INFO: ==11027== Releasing lock...
[2025-01-12 00:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:23:02] Production.INFO: ==11029== Lock acquired, processing the job...
[2025-01-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:23:02] Production.INFO: ==11029== Releasing lock...
[2025-01-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:23:03] Production.INFO: ==11031== Lock acquired, processing the job...
[2025-01-12 00:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:23:03] Production.INFO: ==11037== Lock acquired, processing the job...
[2025-01-12 00:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:23:03] Production.INFO: ==11033== Lock acquired, processing the job...
[2025-01-12 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:23:03] Production.INFO: Account Balance Start.
[2025-01-12 00:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:23:03] Production.INFO: 117
[2025-01-12 00:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:23:03] Production.INFO: ==11035== Lock acquired, processing the job...
[2025-01-12 00:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:23:03] Production.INFO: ==11043== Lock acquired, processing the job...
[2025-01-12 00:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:23:03] Production.INFO: ==11041== Lock acquired, processing the job...
[2025-01-12 00:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:23:03] Production.INFO: Total Charge 0
[2025-01-12 00:23:03] Production.INFO: CreateAllLog End
[2025-01-12 00:23:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:23:03] Production.INFO: count ==21
[2025-01-12 00:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227899') start
[2025-01-12 00:23:03] Production.INFO: ==11033== Releasing lock...
[2025-01-12 00:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:23:03] Production.INFO: Account Balance End.
[2025-01-12 00:23:03] Production.ERROR: CronJobId end 12
[2025-01-12 00:23:04] Production.INFO: ==11037== Releasing lock...
[2025-01-12 00:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227899') end
[2025-01-12 00:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:23:04] Production.INFO: 1
[2025-01-12 00:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:23:04] Production.ERROR: done
[2025-01-12 00:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:23:04] Production.INFO: ==11043== Releasing lock...
[2025-01-12 00:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:23:04] Production.ERROR: done
[2025-01-12 00:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:23:05
[end_date_ymd] => 2025-01-12 00:23:05
[RateCDR] => 1
)
[2025-01-12 00:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:23:05' and `end` < '2025-01-12 00:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:23:12] Production.ERROR: CronJobId end10
[2025-01-12 00:23:12] Production.INFO: ==11035== Releasing lock...
[2025-01-12 00:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:23:13] Production.INFO: call_cost start
[2025-01-12 00:23:13] Production.INFO: call_cost end
[2025-01-12 00:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:23:14] Production.INFO: ==11031== Releasing lock...
[2025-01-12 00:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:23:18] Production.INFO: count ==249
[2025-01-12 00:23:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:23:05 - End Time 2025-01-12 00:23:05
[2025-01-12 00:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227900', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227900', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227900', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227900', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:23:18] Production.INFO: ProcessCDR(1,14227900,1,1,2)
[2025-01-12 00:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227900', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227900', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:23:21] Production.INFO: ==11041== Releasing lock...
[2025-01-12 00:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:23:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 05:24:01] Production.INFO: ==11128== Lock acquired, processing the job...
[2025-01-12 05:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:24:01] Production.INFO: neon service started
[2025-01-12 05:24:01] Production.INFO: neon service started
[2025-01-12 05:24:01] Production.INFO: ==11128== Releasing lock...
[2025-01-12 05:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:24:02] Production.INFO: ==11130== Lock acquired, processing the job...
[2025-01-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:24:02] Production.INFO: ==11132== Lock acquired, processing the job...
[2025-01-12 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:24:02] Production.INFO: ==11132== Releasing lock...
[2025-01-12 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:24:02] Production.INFO: ==11130== Releasing lock...
[2025-01-12 00:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:24:03] Production.INFO: ==11139== Lock acquired, processing the job...
[2025-01-12 00:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:24:03] Production.INFO: ==11135== Lock acquired, processing the job...
[2025-01-12 00:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:24:03] Production.INFO: ==11145== Lock acquired, processing the job...
[2025-01-12 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:24:03] Production.INFO: ==11137== Lock acquired, processing the job...
[2025-01-12 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 00:24:03] Production.INFO: ==11141== Lock acquired, processing the job...
[2025-01-12 00:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:24:03] Production.INFO: ==11143== Lock acquired, processing the job...
[2025-01-12 00:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:24:03] Production.INFO: count ==21
[2025-01-12 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-01-12 00:24:03] Production.INFO: count ==21
[2025-01-12 00:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227901') start
[2025-01-12 00:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227901') end
[2025-01-12 00:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:24:03] Production.INFO: 1
[2025-01-12 00:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:24:03] Production.INFO: Account Balance Start.
[2025-01-12 00:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:24:03] Production.INFO: 117
[2025-01-12 00:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:24:03] Production.INFO: ==11137== Releasing lock...
[2025-01-12 00:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:24:03] Production.INFO: ==11145== Releasing lock...
[2025-01-12 00:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:24:04] Production.ERROR: done
[2025-01-12 00:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:24:04] Production.INFO: Total Charge 0
[2025-01-12 00:24:04] Production.INFO: CreateAllLog End
[2025-01-12 00:24:04] Production.ERROR: done
[2025-01-12 00:24:04] Production.INFO: Account Balance End.
[2025-01-12 00:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:24:04] Production.INFO: ==11141== Releasing lock...
[2025-01-12 00:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:24:05
[end_date_ymd] => 2025-01-12 00:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:24:05' and `end` < '2025-01-12 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-01-12 00:24:10] Production.ERROR: CronJobId end10
[2025-01-12 00:24:10] Production.INFO: ==11139== Releasing lock...
[2025-01-12 00:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:24:13] Production.INFO: call_cost start
[2025-01-12 00:24:13] Production.INFO: call_cost end
[2025-01-12 00:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:24:14] Production.INFO: ==11135== Releasing lock...
[2025-01-12 00:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:24:18] Production.INFO: count ==249
[2025-01-12 00:24:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:24:05 - End Time 2025-01-12 00:24:05
[2025-01-12 00:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227905', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227905', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227905', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227905', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:24:18] Production.INFO: ProcessCDR(1,14227905,1,1,2)
[2025-01-12 00:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227905', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227905', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:24:21] Production.INFO: ==11143== Releasing lock...
[2025-01-12 00:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:24:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 05:25:01] Production.INFO: ==11227== Lock acquired, processing the job...
[2025-01-12 05:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:25:02] Production.INFO: neon service started
[2025-01-12 05:25:02] Production.INFO: neon service started
[2025-01-12 05:25:02] Production.INFO: ==11227== Releasing lock...
[2025-01-12 05:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:25:02] Production.INFO: ==11229== Lock acquired, processing the job...
[2025-01-12 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:25:02] Production.INFO: ==11231== Lock acquired, processing the job...
[2025-01-12 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:25:02] Production.INFO: ==11229== Releasing lock...
[2025-01-12 00:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:25:02] Production.INFO: ==11231== Releasing lock...
[2025-01-12 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:25:03] Production.INFO: ==11236== Lock acquired, processing the job...
[2025-01-12 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:25:03] Production.INFO: ==11239== Lock acquired, processing the job...
[2025-01-12 00:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:25:03] Production.INFO: ==11234== Lock acquired, processing the job...
[2025-01-12 00:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:25:03] Production.INFO: ==11241== Lock acquired, processing the job...
[2025-01-12 00:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:25:03] Production.INFO: Account Balance Start.
[2025-01-12 00:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:25:03] Production.INFO: 117
[2025-01-12 00:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:25:03] Production.INFO: ==11236== Releasing lock...
[2025-01-12 00:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:25:03] Production.INFO: Total Charge 0
[2025-01-12 00:25:03] Production.INFO: CreateAllLog End
[2025-01-12 00:25:03] Production.INFO: ==11243== Lock acquired, processing the job...
[2025-01-12 00:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:25:04] Production.INFO: Account Balance End.
[2025-01-12 00:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:25:04] Production.INFO: ==11241== Releasing lock...
[2025-01-12 00:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:25:04] Production.INFO: ==11246== Lock acquired, processing the job...
[2025-01-12 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:25:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:25:04] Production.INFO: count ==21
[2025-01-12 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-01-12 00:25:04] Production.INFO: count ==21
[2025-01-12 00:25:04] Production.ERROR: done
[2025-01-12 00:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227909') start
[2025-01-12 00:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227909') end
[2025-01-12 00:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:25:04] Production.INFO: 1
[2025-01-12 00:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:25:04] Production.ERROR: done
[2025-01-12 00:25:04] Production.INFO: ==11246== Releasing lock...
[2025-01-12 00:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:25:05
[end_date_ymd] => 2025-01-12 00:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:25:05' and `end` < '2025-01-12 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-01-12 00:25: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-01-12 00:25:11] Production.ERROR: CronJobId end10
[2025-01-12 00:25:11] Production.INFO: ==11239== Releasing lock...
[2025-01-12 00:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:25:13] Production.INFO: call_cost start
[2025-01-12 00:25:13] Production.INFO: call_cost end
[2025-01-12 00:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:25:14] Production.INFO: ==11234== Releasing lock...
[2025-01-12 00:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:25:18] Production.INFO: count ==246
[2025-01-12 00:25:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:25:05 - End Time 2025-01-12 00:25:05
[2025-01-12 00:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227910', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227910', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227910', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227910', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:25:18] Production.INFO: ProcessCDR(1,14227910,1,1,2)
[2025-01-12 00:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227910', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227910', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:25:21] Production.INFO: ==11243== Releasing lock...
[2025-01-12 00:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:25:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 05:26:01] Production.INFO: ==11330== Lock acquired, processing the job...
[2025-01-12 05:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:26:01] Production.INFO: neon service started
[2025-01-12 05:26:01] Production.INFO: neon service started
[2025-01-12 05:26:01] Production.INFO: ==11330== Releasing lock...
[2025-01-12 05:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:26:01] Production.INFO: ==11332== Lock acquired, processing the job...
[2025-01-12 00:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:26:01] Production.INFO: ==11332== Releasing lock...
[2025-01-12 00:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:26:02] Production.INFO: ==11334== Lock acquired, processing the job...
[2025-01-12 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:26:02] Production.INFO: ==11334== Releasing lock...
[2025-01-12 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:26:03] Production.INFO: ==11336== Lock acquired, processing the job...
[2025-01-12 00:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:26:03] Production.INFO: ==11346== Lock acquired, processing the job...
[2025-01-12 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:26:03] Production.INFO: ==11338== Lock acquired, processing the job...
[2025-01-12 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:26:03] Production.INFO: ==11340== Lock acquired, processing the job...
[2025-01-12 00:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:26:03] Production.INFO: ==11342== Lock acquired, processing the job...
[2025-01-12 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 00:26:03] Production.INFO: count ==21
[2025-01-12 00:26:03] Production.INFO: ==11344== Lock acquired, processing the job...
[2025-01-12 00:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 00:26:03] Production.INFO: count ==21
[2025-01-12 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227912') start
[2025-01-12 00:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:26:03] Production.INFO: Account Balance Start.
[2025-01-12 00:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:26:03] Production.INFO: 117
[2025-01-12 00:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227912') end
[2025-01-12 00:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:26:03] Production.INFO: 1
[2025-01-12 00:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:26:03] Production.INFO: ==11346== Releasing lock...
[2025-01-12 00:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:26:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:26:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:26:03] Production.INFO: Total Charge 0
[2025-01-12 00:26:03] Production.INFO: CreateAllLog End
[2025-01-12 00:26:03] Production.INFO: ==11338== Releasing lock...
[2025-01-12 00:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:26:03] Production.ERROR: done
[2025-01-12 00:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:26:03] Production.ERROR: done
[2025-01-12 00:26:03] Production.INFO: Account Balance End.
[2025-01-12 00:26:03] Production.ERROR: CronJobId end 12
[2025-01-12 00:26:03] Production.INFO: ==11342== Releasing lock...
[2025-01-12 00:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:26:04
[end_date_ymd] => 2025-01-12 00:26:04
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:26:04' and `end` < '2025-01-12 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-01-12 00:26:11] Production.ERROR: CronJobId end10
[2025-01-12 00:26:11] Production.INFO: ==11340== Releasing lock...
[2025-01-12 00:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:26:13] Production.INFO: call_cost start
[2025-01-12 00:26:13] Production.INFO: call_cost end
[2025-01-12 00:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:26:13] Production.INFO: ==11336== Releasing lock...
[2025-01-12 00:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:26:17] Production.INFO: count ==244
[2025-01-12 00:26:17] Production.ERROR: pbx CDR StartTime 2025-01-11 21:26:04 - End Time 2025-01-12 00:26:04
[2025-01-12 00:26:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227915', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227915', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227915', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:26:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227915', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:26:17] Production.INFO: ProcessCDR(1,14227915,1,1,2)
[2025-01-12 00:26:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:26:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:26:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:26:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227915', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:26:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227915', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:26:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:26:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:26:20] Production.INFO: ==11344== Releasing lock...
[2025-01-12 00:26:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:26:20] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:27:01] Production.INFO: ==11467== Lock acquired, processing the job...
[2025-01-12 05:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:27:01] Production.INFO: neon service started
[2025-01-12 05:27:01] Production.INFO: neon service started
[2025-01-12 05:27:01] Production.INFO: ==11467== Releasing lock...
[2025-01-12 05:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:27:02] Production.INFO: ==11469== Lock acquired, processing the job...
[2025-01-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:27:02] Production.INFO: ==11469== Releasing lock...
[2025-01-12 00:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:27:02] Production.INFO: ==11471== Lock acquired, processing the job...
[2025-01-12 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:27:02] Production.INFO: ==11471== Releasing lock...
[2025-01-12 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:27:03] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-01-12 00:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:27:03] Production.INFO: ==11482== Lock acquired, processing the job...
[2025-01-12 00:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:27:03] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-01-12 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:27:03] Production.INFO: ==11480== Lock acquired, processing the job...
[2025-01-12 00:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:27:03] Production.INFO: ==11486== Lock acquired, processing the job...
[2025-01-12 00:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:27:03] Production.INFO: Account Balance Start.
[2025-01-12 00:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:27:03] Production.INFO: 117
[2025-01-12 00:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:27:03] Production.INFO: ==11484== Lock acquired, processing the job...
[2025-01-12 00:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00: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-01-12 00:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:27:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:27:03] Production.INFO: count ==21
[2025-01-12 00:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227919') start
[2025-01-12 00:27:03] Production.INFO: ==11477== Releasing lock...
[2025-01-12 00:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:27:03] Production.ERROR: done
[2025-01-12 00:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227919') end
[2025-01-12 00:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:27:03] Production.INFO: 1
[2025-01-12 00:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:27:04] Production.INFO: ==11486== Releasing lock...
[2025-01-12 00:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:27:04] Production.ERROR: done
[2025-01-12 00:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:27:04] Production.INFO: Total Charge 0
[2025-01-12 00:27:04] Production.INFO: CreateAllLog End
[2025-01-12 00:27:04] Production.INFO: Account Balance End.
[2025-01-12 00:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:27:04] Production.INFO: ==11482== Releasing lock...
[2025-01-12 00:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:27:05
[end_date_ymd] => 2025-01-12 00:27:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:27:05' and `end` < '2025-01-12 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-01-12 00:27:11] Production.ERROR: CronJobId end10
[2025-01-12 00:27:11] Production.INFO: ==11480== Releasing lock...
[2025-01-12 00:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:27:14] Production.INFO: call_cost start
[2025-01-12 00:27:14] Production.INFO: call_cost end
[2025-01-12 00:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:27:15] Production.INFO: ==11475== Releasing lock...
[2025-01-12 00:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:27:18] Production.INFO: count ==241
[2025-01-12 00:27:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:27:05 - End Time 2025-01-12 00:27:05
[2025-01-12 00:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227920', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227920', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227920', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227920', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:27:18] Production.INFO: ProcessCDR(1,14227920,1,1,2)
[2025-01-12 00:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227920', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227920', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:27:21] Production.INFO: ==11484== Releasing lock...
[2025-01-12 00:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:27:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 05:28:02] Production.INFO: ==11570== Lock acquired, processing the job...
[2025-01-12 05:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:28:02] Production.INFO: neon service started
[2025-01-12 05:28:02] Production.INFO: neon service started
[2025-01-12 05:28:02] Production.INFO: ==11570== Releasing lock...
[2025-01-12 05:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:28:02] Production.INFO: ==11574== Lock acquired, processing the job...
[2025-01-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:28:02] Production.INFO: ==11574== Releasing lock...
[2025-01-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:28:02] Production.INFO: ==11572== Lock acquired, processing the job...
[2025-01-12 00:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:28:03] Production.INFO: ==11572== Releasing lock...
[2025-01-12 00:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:28:03] Production.INFO: ==11582== Lock acquired, processing the job...
[2025-01-12 00:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:28:03] Production.INFO: Account Balance Start.
[2025-01-12 00:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:28:03] Production.INFO: 117
[2025-01-12 00:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:28:03] Production.INFO: ==11586== Lock acquired, processing the job...
[2025-01-12 00:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:28:03] Production.INFO: ==11576== Lock acquired, processing the job...
[2025-01-12 00:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:28:04] Production.INFO: ==11578== Lock acquired, processing the job...
[2025-01-12 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:28:04] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:28:04] Production.INFO: count ==21
[2025-01-12 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227922') start
[2025-01-12 00:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:28:04] Production.INFO: ==11580== Lock acquired, processing the job...
[2025-01-12 00:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:28:04] Production.INFO: Total Charge 0
[2025-01-12 00:28:04] Production.INFO: CreateAllLog End
[2025-01-12 00:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227922') end
[2025-01-12 00:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:28:04] Production.INFO: 1
[2025-01-12 00:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:28:04] Production.INFO: ==11586== Releasing lock...
[2025-01-12 00:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:28:04] Production.INFO: ==11584== Lock acquired, processing the job...
[2025-01-12 00:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:28:04] Production.INFO: ==11578== Releasing lock...
[2025-01-12 00:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:28:04] Production.INFO: Account Balance End.
[2025-01-12 00:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:28:04] Production.INFO: ==11582== Releasing lock...
[2025-01-12 00:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:28:04] Production.ERROR: done
[2025-01-12 00:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:28:04] Production.ERROR: done
[2025-01-12 00:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:28:05
[end_date_ymd] => 2025-01-12 00:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:28:05' and `end` < '2025-01-12 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-01-12 00:28:11] Production.ERROR: CronJobId end10
[2025-01-12 00:28:11] Production.INFO: ==11580== Releasing lock...
[2025-01-12 00:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:28:13] Production.INFO: call_cost start
[2025-01-12 00:28:13] Production.INFO: call_cost end
[2025-01-12 00:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:28:14] Production.INFO: ==11576== Releasing lock...
[2025-01-12 00:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:28:19] Production.INFO: count ==236
[2025-01-12 00:28:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:28:05 - End Time 2025-01-12 00:28:05
[2025-01-12 00:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227925', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227925', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227925', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227925', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:28:19] Production.INFO: ProcessCDR(1,14227925,1,1,2)
[2025-01-12 00:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227925', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227925', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:28:22] Production.INFO: ==11584== Releasing lock...
[2025-01-12 00:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:28:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 05:29:01] Production.INFO: ==11670== Lock acquired, processing the job...
[2025-01-12 05:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:29:01] Production.INFO: neon service started
[2025-01-12 05:29:01] Production.INFO: neon service started
[2025-01-12 05:29:01] Production.INFO: ==11670== Releasing lock...
[2025-01-12 05:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:29:01] Production.INFO: ==11676== Lock acquired, processing the job...
[2025-01-12 05:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:29:01] Production.INFO: ==11676== Releasing lock...
[2025-01-12 05:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:29:02] Production.INFO: ==11672== Lock acquired, processing the job...
[2025-01-12 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:29:02] Production.INFO: ==11672== Releasing lock...
[2025-01-12 00:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:29:03] Production.INFO: ==11678== Lock acquired, processing the job...
[2025-01-12 00:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:29:03] Production.INFO: ==11686== Lock acquired, processing the job...
[2025-01-12 00:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:29:03] Production.INFO: ==11682== Lock acquired, processing the job...
[2025-01-12 00:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:29:03] Production.INFO: ==11680== Lock acquired, processing the job...
[2025-01-12 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:29:03] Production.INFO: ==11684== Lock acquired, processing the job...
[2025-01-12 00:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:29:03] Production.INFO: ==11688== Lock acquired, processing the job...
[2025-01-12 00:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:29:03] Production.INFO: Account Balance Start.
[2025-01-12 00:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:29:03] Production.INFO: 117
[2025-01-12 00:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:29:03] Production.ERROR: done
[2025-01-12 00:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:29:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:29:03] Production.INFO: count ==21
[2025-01-12 00:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227929') start
[2025-01-12 00:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:29:03] Production.ERROR: done
[2025-01-12 00:29:03] Production.INFO: Total Charge 0
[2025-01-12 00:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227929') end
[2025-01-12 00:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:29:03] Production.INFO: 1
[2025-01-12 00:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:29:03] Production.INFO: CreateAllLog End
[2025-01-12 00:29:03] Production.INFO: ==11680== Releasing lock...
[2025-01-12 00:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:29:04] Production.INFO: ==11688== Releasing lock...
[2025-01-12 00:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:29:04] Production.INFO: Account Balance End.
[2025-01-12 00:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:29:04] Production.INFO: ==11684== Releasing lock...
[2025-01-12 00:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:29:05
[end_date_ymd] => 2025-01-12 00:29:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:29:05' and `end` < '2025-01-12 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-01-12 00:29:12] Production.ERROR: CronJobId end10
[2025-01-12 00:29:12] Production.INFO: ==11682== Releasing lock...
[2025-01-12 00:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:29:12] Production.INFO: call_cost start
[2025-01-12 00:29:12] Production.INFO: call_cost end
[2025-01-12 00:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:29:13] Production.INFO: ==11678== Releasing lock...
[2025-01-12 00:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:29:18] Production.INFO: count ==237
[2025-01-12 00:29:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:29:05 - End Time 2025-01-12 00:29:05
[2025-01-12 00:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227930', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227930', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227930', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227930', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:29:18] Production.INFO: ProcessCDR(1,14227930,1,1,2)
[2025-01-12 00:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227930', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227930', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:29:23] Production.INFO: ==11686== Releasing lock...
[2025-01-12 00:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:29:23] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 05:30:02] Production.INFO: ==11775== Lock acquired, processing the job...
[2025-01-12 05:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:30:02] Production.INFO: neon service started
[2025-01-12 05:30:02] Production.INFO: neon service started
[2025-01-12 05:30:02] Production.INFO: ==11775== Releasing lock...
[2025-01-12 05:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:30:02] Production.INFO: ==11777== Lock acquired, processing the job...
[2025-01-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:30:02] Production.INFO: ==11779== Lock acquired, processing the job...
[2025-01-12 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:30:02] Production.INFO: ==11779== Releasing lock...
[2025-01-12 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:30:02] Production.INFO: ==11777== Releasing lock...
[2025-01-12 00:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:30:03] Production.INFO: ==11781== Lock acquired, processing the job...
[2025-01-12 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 00:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 00:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 00:30:03] Production.INFO: ==11781== Releasing lock...
[2025-01-12 00:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 00:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 00:30:03] Production.INFO: ==11789== Lock acquired, processing the job...
[2025-01-12 00:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:30:03] Production.INFO: ==11783== Lock acquired, processing the job...
[2025-01-12 00:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:30:03] Production.INFO: ==11787== Lock acquired, processing the job...
[2025-01-12 00:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:30:03] Production.INFO: ==11785== Lock acquired, processing the job...
[2025-01-12 00:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:30:04] Production.INFO: ==11794== Lock acquired, processing the job...
[2025-01-12 00:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 00:30:04] Production.INFO: Account Balance Start.
[2025-01-12 00:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:30:04] Production.INFO: 117
[2025-01-12 00:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:30:04] Production.INFO: Total Charge 0
[2025-01-12 00:30:04] Production.INFO: ==11791== Lock acquired, processing the job...
[2025-01-12 00:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:30:04] Production.INFO: CreateAllLog End
[2025-01-12 00:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:30:04] Production.INFO: ==11796== Lock acquired, processing the job...
[2025-01-12 00:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:30:04] Production.INFO: ==11785== Releasing lock...
[2025-01-12 00:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:30:04] Production.ERROR: done
[2025-01-12 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-01-12 00:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 00:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227935', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 00:30:04] Production.INFO: count ==21
[2025-01-12 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-01-12 00:30:04] Production.INFO: count ==21
[2025-01-12 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227934') start
[2025-01-12 00:30:04] Production.ERROR: done
[2025-01-12 00:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:30:04] Production.INFO: Account Balance End.
[2025-01-12 00:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:30:04] Production.INFO: ==11789== Releasing lock...
[2025-01-12 00:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:30:04] Production.ERROR: done
[2025-01-12 00:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227934') end
[2025-01-12 00:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:30:04] Production.INFO: 1
[2025-01-12 00:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:30:05] Production.INFO: ==11796== Releasing lock...
[2025-01-12 00:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:30:06
[end_date_ymd] => 2025-01-12 00:30:06
[RateCDR] => 1
)
[2025-01-12 00:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:30:06' and `end` < '2025-01-12 00:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227935', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 00:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 00:30:08] Production.INFO: ProcessCDR(1,14227935,1,1,2)
[2025-01-12 00:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227935,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:30:08] Production.INFO: ==11794== Releasing lock...
[2025-01-12 00:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 00:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:30:13] Production.ERROR: CronJobId end10
[2025-01-12 00:30:13] Production.INFO: ==11787== Releasing lock...
[2025-01-12 00:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:30:15] Production.INFO: call_cost start
[2025-01-12 00:30:15] Production.INFO: call_cost end
[2025-01-12 00:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:30:16] Production.INFO: ==11783== Releasing lock...
[2025-01-12 00:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:30:19] Production.INFO: count ==242
[2025-01-12 00:30:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:30:06 - End Time 2025-01-12 00:30:06
[2025-01-12 00:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227936', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227936', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227936', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227936', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:30:19] Production.INFO: ProcessCDR(1,14227936,1,1,2)
[2025-01-12 00:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227936', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227936', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:30:22] Production.INFO: ==11791== Releasing lock...
[2025-01-12 00:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:30:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 05:31:01] Production.INFO: ==11883== Lock acquired, processing the job...
[2025-01-12 05:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:31:01] Production.INFO: neon service started
[2025-01-12 05:31:01] Production.INFO: neon service started
[2025-01-12 05:31:01] Production.INFO: ==11883== Releasing lock...
[2025-01-12 05:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:31:02] Production.INFO: ==11885== Lock acquired, processing the job...
[2025-01-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:31:02] Production.INFO: ==11887== Lock acquired, processing the job...
[2025-01-12 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:31:02] Production.INFO: ==11887== Releasing lock...
[2025-01-12 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:31:02] Production.INFO: ==11885== Releasing lock...
[2025-01-12 00:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:31:03] Production.INFO: ==11894== Lock acquired, processing the job...
[2025-01-12 00:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:31:03] Production.INFO: ==11900== Lock acquired, processing the job...
[2025-01-12 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:31:03] Production.INFO: ==11890== Lock acquired, processing the job...
[2025-01-12 00:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:31:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:31:03] Production.INFO: ==11892== Lock acquired, processing the job...
[2025-01-12 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:31:03] Production.INFO: count ==21
[2025-01-12 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227937') start
[2025-01-12 00:31:03] Production.INFO: ==11896== Lock acquired, processing the job...
[2025-01-12 00:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:31:03] Production.INFO: ==11898== Lock acquired, processing the job...
[2025-01-12 00:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227937') end
[2025-01-12 00:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:31:03] Production.INFO: 1
[2025-01-12 00:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:31:03] Production.INFO: Account Balance Start.
[2025-01-12 00:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:31:03] Production.INFO: 117
[2025-01-12 00:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:31:03] Production.INFO: ==11900== Releasing lock...
[2025-01-12 00:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:31:03] Production.INFO: Total Charge 0
[2025-01-12 00:31:03] Production.INFO: CreateAllLog End
[2025-01-12 00:31:03] Production.INFO: ==11892== Releasing lock...
[2025-01-12 00:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:31:03] Production.ERROR: done
[2025-01-12 00:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:31:04] Production.INFO: Account Balance End.
[2025-01-12 00:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:31:04] Production.INFO: ==11896== Releasing lock...
[2025-01-12 00:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:31:04] Production.ERROR: done
[2025-01-12 00:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:31:05
[end_date_ymd] => 2025-01-12 00:31:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:31:05' and `end` < '2025-01-12 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-01-12 00:31:10] Production.ERROR: CronJobId end10
[2025-01-12 00:31:10] Production.INFO: ==11894== Releasing lock...
[2025-01-12 00:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:31:13] Production.INFO: call_cost start
[2025-01-12 00:31:13] Production.INFO: call_cost end
[2025-01-12 00:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:31:14] Production.INFO: ==11890== Releasing lock...
[2025-01-12 00:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:31:18] Production.INFO: count ==275
[2025-01-12 00:31:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:31:05 - End Time 2025-01-12 00:31:05
[2025-01-12 00:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227941', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227941', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227941', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227941', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:31:18] Production.INFO: ProcessCDR(1,14227941,1,1,2)
[2025-01-12 00:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227941', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227941', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:31:21] Production.INFO: ==11898== Releasing lock...
[2025-01-12 00:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:31:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 05:32:01] Production.INFO: ==11984== Lock acquired, processing the job...
[2025-01-12 05:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:32:01] Production.INFO: neon service started
[2025-01-12 05:32:01] Production.INFO: neon service started
[2025-01-12 05:32:01] Production.INFO: ==11984== Releasing lock...
[2025-01-12 05:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:32:02] Production.INFO: ==11988== Lock acquired, processing the job...
[2025-01-12 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:32:02] Production.INFO: ==11988== Releasing lock...
[2025-01-12 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:32:02] Production.INFO: ==11986== Lock acquired, processing the job...
[2025-01-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:32:02] Production.INFO: ==11986== Releasing lock...
[2025-01-12 00:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:32:03] Production.INFO: ==11994== Lock acquired, processing the job...
[2025-01-12 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:32:03] Production.INFO: ==11996== Lock acquired, processing the job...
[2025-01-12 00:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:32:03] Production.INFO: ==11998== Lock acquired, processing the job...
[2025-01-12 00:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:32:03] Production.INFO: ==11992== Lock acquired, processing the job...
[2025-01-12 00:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:32:03] Production.INFO: Account Balance Start.
[2025-01-12 00:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:32:03] Production.INFO: 117
[2025-01-12 00:32:03] Production.INFO: ==11994== Releasing lock...
[2025-01-12 00:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:32:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:32:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:32:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:32:03] Production.INFO: ==12002== Lock acquired, processing the job...
[2025-01-12 00:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:32:03] Production.INFO: ==12000== Lock acquired, processing the job...
[2025-01-12 00:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:32:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:32:03] Production.INFO: Total Charge 0
[2025-01-12 00:32:03] Production.INFO: CreateAllLog End
[2025-01-12 00: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-01-12 00:32:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:32:03] Production.INFO: count ==21
[2025-01-12 00:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227945') start
[2025-01-12 00:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227945') end
[2025-01-12 00:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:32:04] Production.INFO: 1
[2025-01-12 00:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:32:04] Production.INFO: ==12002== Releasing lock...
[2025-01-12 00:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:32:04] Production.INFO: Account Balance End.
[2025-01-12 00:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:32:04] Production.INFO: ==11998== Releasing lock...
[2025-01-12 00:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:32:04] Production.ERROR: done
[2025-01-12 00:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:32:04] Production.ERROR: done
[2025-01-12 00:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:32:05
[end_date_ymd] => 2025-01-12 00:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:32:05' and `end` < '2025-01-12 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-01-12 00:32:11] Production.ERROR: CronJobId end10
[2025-01-12 00:32:11] Production.INFO: ==11996== Releasing lock...
[2025-01-12 00:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:32:14] Production.INFO: call_cost start
[2025-01-12 00:32:14] Production.INFO: call_cost end
[2025-01-12 00:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:32:14] Production.INFO: ==11992== Releasing lock...
[2025-01-12 00:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:32:18] Production.INFO: count ==279
[2025-01-12 00:32:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:32:05 - End Time 2025-01-12 00:32:05
[2025-01-12 00:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227946', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227946', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227946', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227946', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:32:18] Production.INFO: ProcessCDR(1,14227946,1,1,2)
[2025-01-12 00:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227946', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227946', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:32:21] Production.INFO: ==12000== Releasing lock...
[2025-01-12 00:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:32:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 05:33:02] Production.INFO: ==12091== Lock acquired, processing the job...
[2025-01-12 05:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:33:02] Production.INFO: neon service started
[2025-01-12 05:33:02] Production.INFO: neon service started
[2025-01-12 05:33:02] Production.INFO: ==12091== Releasing lock...
[2025-01-12 05:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:33:02] Production.INFO: ==12093== Lock acquired, processing the job...
[2025-01-12 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:33:02] Production.INFO: ==12095== Lock acquired, processing the job...
[2025-01-12 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:33:02] Production.INFO: ==12095== Releasing lock...
[2025-01-12 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:33:02] Production.INFO: ==12093== Releasing lock...
[2025-01-12 00:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:33:03] Production.INFO: ==12098== Lock acquired, processing the job...
[2025-01-12 00:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:33:03] Production.INFO: ==12108== Lock acquired, processing the job...
[2025-01-12 00:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:33:03] Production.INFO: ==12100== Lock acquired, processing the job...
[2025-01-12 00:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:33:03] Production.INFO: ==12102== Lock acquired, processing the job...
[2025-01-12 00:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 00:33:03] Production.INFO: ==12104== Lock acquired, processing the job...
[2025-01-12 00:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:33:04] Production.INFO: ==12106== Lock acquired, processing the job...
[2025-01-12 00:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:33:04] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:33:04] Production.INFO: count ==21
[2025-01-12 00:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:33:04] Production.INFO: Account Balance Start.
[2025-01-12 00:33:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:33:04] Production.INFO: 117
[2025-01-12 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227948') start
[2025-01-12 00:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:33:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227948') end
[2025-01-12 00:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:33:04] Production.INFO: 1
[2025-01-12 00:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:33:04] Production.INFO: ==12108== Releasing lock...
[2025-01-12 00:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:33:04] Production.INFO: ==12100== Releasing lock...
[2025-01-12 00:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:33:04] Production.ERROR: done
[2025-01-12 00:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:33:04] Production.INFO: Total Charge 0
[2025-01-12 00:33:04] Production.ERROR: done
[2025-01-12 00:33:04] Production.INFO: CreateAllLog End
[2025-01-12 00:33:04] Production.INFO: Account Balance End.
[2025-01-12 00:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:33:04] Production.INFO: ==12104== Releasing lock...
[2025-01-12 00:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:33:05
[end_date_ymd] => 2025-01-12 00:33:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:33:05' and `end` < '2025-01-12 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-01-12 00:33:12] Production.ERROR: CronJobId end10
[2025-01-12 00:33:12] Production.INFO: ==12102== Releasing lock...
[2025-01-12 00:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:33:14] Production.INFO: call_cost start
[2025-01-12 00:33:14] Production.INFO: call_cost end
[2025-01-12 00:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:33:15] Production.INFO: ==12098== Releasing lock...
[2025-01-12 00:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:33:18] Production.INFO: count ==318
[2025-01-12 00:33:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:33:05 - End Time 2025-01-12 00:33:05
[2025-01-12 00:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227951', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227951', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227951', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227951', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:33:18] Production.INFO: ProcessCDR(1,14227951,1,1,2)
[2025-01-12 00:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227951', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227951', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:33:23] Production.INFO: ==12106== Releasing lock...
[2025-01-12 00:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:33:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-12 05:34:01] Production.INFO: ==12198== Lock acquired, processing the job...
[2025-01-12 05:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:34:01] Production.INFO: neon service started
[2025-01-12 05:34:01] Production.INFO: neon service started
[2025-01-12 05:34:01] Production.INFO: ==12198== Releasing lock...
[2025-01-12 05:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:34:02] Production.INFO: ==12200== Lock acquired, processing the job...
[2025-01-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:34:02] Production.INFO: ==12200== Releasing lock...
[2025-01-12 00:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:34:02] Production.INFO: ==12202== Lock acquired, processing the job...
[2025-01-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:34:02] Production.INFO: ==12202== Releasing lock...
[2025-01-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:34:03] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-01-12 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:34:03] Production.INFO: ==12215== Lock acquired, processing the job...
[2025-01-12 00:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:34:03] Production.INFO: ==12206== Lock acquired, processing the job...
[2025-01-12 00:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:34:03] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-01-12 00:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:34:03] Production.INFO: ==12212== Lock acquired, processing the job...
[2025-01-12 00:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:34:03] Production.INFO: ==12217== Lock acquired, processing the job...
[2025-01-12 00:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:34:03] Production.INFO: Account Balance Start.
[2025-01-12 00:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:34:03] Production.INFO: 117
[2025-01-12 00:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:34:03] Production.INFO: ==12208== Releasing lock...
[2025-01-12 00:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:34:03] Production.ERROR: done
[2025-01-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:34:03] Production.INFO: count ==21
[2025-01-12 00:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:34:03] Production.INFO: count ==21
[2025-01-12 00:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227955') start
[2025-01-12 00:34:03] Production.ERROR: done
[2025-01-12 00:34:03] Production.INFO: Total Charge 0
[2025-01-12 00:34:03] Production.INFO: CreateAllLog End
[2025-01-12 00:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227955') end
[2025-01-12 00:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:34:04] Production.INFO: 1
[2025-01-12 00:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:34:04] Production.INFO: ==12217== Releasing lock...
[2025-01-12 00:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:34:04] Production.INFO: Account Balance End.
[2025-01-12 00:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:34:04] Production.INFO: ==12212== Releasing lock...
[2025-01-12 00:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:34:04
[end_date_ymd] => 2025-01-12 00:34:04
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:34:04' and `end` < '2025-01-12 00: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-01-12 00:34:12] Production.ERROR: CronJobId end10
[2025-01-12 00:34:12] Production.INFO: ==12210== Releasing lock...
[2025-01-12 00:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:34:13] Production.INFO: call_cost start
[2025-01-12 00:34:13] Production.INFO: call_cost end
[2025-01-12 00:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:34:14] Production.INFO: ==12206== Releasing lock...
[2025-01-12 00:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:34:18] Production.INFO: count ==371
[2025-01-12 00:34:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:34:04 - End Time 2025-01-12 00:34:04
[2025-01-12 00:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227956', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227956', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227956', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227956', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:34:18] Production.INFO: ProcessCDR(1,14227956,1,1,2)
[2025-01-12 00:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227956', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227956', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:34:21] Production.INFO: ==12215== Releasing lock...
[2025-01-12 00:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:34:21] Production.INFO: 31.5 MB #Memory Used#
[2025-01-12 05:35:02] Production.INFO: ==12307== Lock acquired, processing the job...
[2025-01-12 05:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:35:02] Production.INFO: neon service started
[2025-01-12 05:35:02] Production.INFO: neon service started
[2025-01-12 05:35:02] Production.INFO: ==12307== Releasing lock...
[2025-01-12 05:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:35:02] Production.INFO: ==12309== Lock acquired, processing the job...
[2025-01-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:35:02] Production.INFO: ==12309== Releasing lock...
[2025-01-12 00:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:35:02] Production.INFO: ==12311== Lock acquired, processing the job...
[2025-01-12 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:35:02] Production.INFO: ==12311== Releasing lock...
[2025-01-12 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:35:03] Production.INFO: ==12320== Lock acquired, processing the job...
[2025-01-12 00:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:35:03] Production.INFO: ==12324== Lock acquired, processing the job...
[2025-01-12 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:35:03] Production.INFO: ==12314== Lock acquired, processing the job...
[2025-01-12 00:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:35:03] Production.INFO: Account Balance Start.
[2025-01-12 00:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:35:03] Production.INFO: 117
[2025-01-12 00:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:35:03] Production.INFO: count ==21
[2025-01-12 00:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 00:35:03] Production.INFO: count ==21
[2025-01-12 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227958') start
[2025-01-12 00:35:03] Production.INFO: ==12318== Lock acquired, processing the job...
[2025-01-12 00:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:35:03] Production.INFO: ==12316== Lock acquired, processing the job...
[2025-01-12 00:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:35:03] Production.INFO: Total Charge 0
[2025-01-12 00:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:35:03] Production.INFO: ==12322== Lock acquired, processing the job...
[2025-01-12 00:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227958') end
[2025-01-12 00:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:35:03] Production.INFO: 1
[2025-01-12 00:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:35:03] Production.INFO: CreateAllLog End
[2025-01-12 00:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:35:03] Production.INFO: ==12324== Releasing lock...
[2025-01-12 00:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:35:04] Production.INFO: Account Balance End.
[2025-01-12 00:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:35:04] Production.INFO: ==12320== Releasing lock...
[2025-01-12 00:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:35:04] Production.INFO: ==12316== Releasing lock...
[2025-01-12 00:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:35:04] Production.ERROR: done
[2025-01-12 00:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:35:04] Production.ERROR: done
[2025-01-12 00:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:35:05
[end_date_ymd] => 2025-01-12 00:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:35:05' and `end` < '2025-01-12 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-01-12 00:35:12] Production.ERROR: CronJobId end10
[2025-01-12 00:35:12] Production.INFO: ==12318== Releasing lock...
[2025-01-12 00:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:35:14] Production.INFO: call_cost start
[2025-01-12 00:35:14] Production.INFO: call_cost end
[2025-01-12 00:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:35:15] Production.INFO: ==12314== Releasing lock...
[2025-01-12 00:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:35:18] Production.INFO: count ==373
[2025-01-12 00:35:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:35:05 - End Time 2025-01-12 00:35:05
[2025-01-12 00:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227961', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227961', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227961', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227961', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:35:18] Production.INFO: ProcessCDR(1,14227961,1,1,2)
[2025-01-12 00:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227961', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227961', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:35:21] Production.INFO: ==12322== Releasing lock...
[2025-01-12 00:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:35:21] Production.INFO: 31.5 MB #Memory Used#
[2025-01-12 05:36:01] Production.INFO: ==12395== Lock acquired, processing the job...
[2025-01-12 05:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:36:01] Production.INFO: neon service started
[2025-01-12 05:36:01] Production.INFO: neon service started
[2025-01-12 05:36:01] Production.INFO: ==12395== Releasing lock...
[2025-01-12 05:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:36:02] Production.INFO: ==12399== Lock acquired, processing the job...
[2025-01-12 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:36:02] Production.INFO: ==12399== Releasing lock...
[2025-01-12 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:36:02] Production.INFO: ==12397== Lock acquired, processing the job...
[2025-01-12 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:36:02] Production.INFO: ==12397== Releasing lock...
[2025-01-12 00:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:36:03] Production.INFO: ==12402== Lock acquired, processing the job...
[2025-01-12 00:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:36:03] Production.INFO: ==12406== Lock acquired, processing the job...
[2025-01-12 00:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:36:03] Production.INFO: ==12408== Lock acquired, processing the job...
[2025-01-12 00:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:36:03] Production.INFO: ==12404== Lock acquired, processing the job...
[2025-01-12 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:36:03] Production.INFO: Account Balance Start.
[2025-01-12 00:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:36:03] Production.INFO: 117
[2025-01-12 00:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:36:03] Production.INFO: ==12410== Lock acquired, processing the job...
[2025-01-12 00:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:36:03] Production.INFO: ==12412== Lock acquired, processing the job...
[2025-01-12 00:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:36:03] Production.INFO: count ==21
[2025-01-12 00:36:03] Production.INFO: Total Charge 0
[2025-01-12 00:36:03] Production.INFO: CreateAllLog End
[2025-01-12 00:36:03] Production.INFO: ==12404== Releasing lock...
[2025-01-12 00:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00: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-01-12 00:36:03] Production.INFO: count ==21
[2025-01-12 00:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227965') start
[2025-01-12 00:36:04] Production.ERROR: done
[2025-01-12 00:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227965') end
[2025-01-12 00:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:36:04] Production.INFO: 1
[2025-01-12 00:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:36:04] Production.INFO: Account Balance End.
[2025-01-12 00:36:04] Production.INFO: ==12412== Releasing lock...
[2025-01-12 00:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:36:04] Production.INFO: ==12408== Releasing lock...
[2025-01-12 00:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:36:04] Production.ERROR: done
[2025-01-12 00:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:36:05
[end_date_ymd] => 2025-01-12 00:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:36:05' and `end` < '2025-01-12 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-01-12 00:36:12] Production.ERROR: CronJobId end10
[2025-01-12 00:36:12] Production.INFO: ==12406== Releasing lock...
[2025-01-12 00:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:36:13] Production.INFO: call_cost start
[2025-01-12 00:36:13] Production.INFO: call_cost end
[2025-01-12 00:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:36:14] Production.INFO: ==12402== Releasing lock...
[2025-01-12 00:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:36:18] Production.INFO: count ==371
[2025-01-12 00:36:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:36:05 - End Time 2025-01-12 00:36:05
[2025-01-12 00:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227966', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227966', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227966', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227966', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:36:18] Production.INFO: ProcessCDR(1,14227966,1,1,2)
[2025-01-12 00:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227966', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227966', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:36:21] Production.INFO: ==12410== Releasing lock...
[2025-01-12 00:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:36:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:37:01] Production.INFO: ==12471== Lock acquired, processing the job...
[2025-01-12 05:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:37:01] Production.INFO: neon service started
[2025-01-12 05:37:01] Production.INFO: neon service started
[2025-01-12 05:37:01] Production.INFO: ==12471== Releasing lock...
[2025-01-12 05:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:37:02] Production.INFO: ==12475== Lock acquired, processing the job...
[2025-01-12 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:37:02] Production.INFO: ==12475== Releasing lock...
[2025-01-12 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:37:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:37:02] Production.INFO: ==12473== Lock acquired, processing the job...
[2025-01-12 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:37:02] Production.INFO: ==12473== Releasing lock...
[2025-01-12 00:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:37:03] Production.INFO: ==12482== Lock acquired, processing the job...
[2025-01-12 00:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:37:03] Production.INFO: ==12478== Lock acquired, processing the job...
[2025-01-12 00:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:37:03] Production.INFO: ==12488== Lock acquired, processing the job...
[2025-01-12 00:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:37:03] Production.INFO: ==12480== Lock acquired, processing the job...
[2025-01-12 00:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 00:37:03] Production.INFO: count ==21
[2025-01-12 00:37:03] Production.INFO: ==12484== Lock acquired, processing the job...
[2025-01-12 00:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 00:37:04] Production.INFO: ==12486== Lock acquired, processing the job...
[2025-01-12 00:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:37:04] Production.INFO: count ==21
[2025-01-12 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227968') start
[2025-01-12 00:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:37:04] Production.INFO: Account Balance Start.
[2025-01-12 00:37:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:37:04] Production.INFO: 117
[2025-01-12 00:37:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227968') end
[2025-01-12 00:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:37:04] Production.INFO: 1
[2025-01-12 00:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:37:04] Production.INFO: ==12488== Releasing lock...
[2025-01-12 00:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:37:04] Production.INFO: ==12480== Releasing lock...
[2025-01-12 00:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:37:04] Production.INFO: Total Charge 0
[2025-01-12 00:37:04] Production.INFO: CreateAllLog End
[2025-01-12 00:37:04] Production.ERROR: done
[2025-01-12 00:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:37:04] Production.ERROR: done
[2025-01-12 00:37:04] Production.INFO: Account Balance End.
[2025-01-12 00:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:37:04] Production.INFO: ==12484== Releasing lock...
[2025-01-12 00:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:37:05
[end_date_ymd] => 2025-01-12 00:37:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:37:05' and `end` < '2025-01-12 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-01-12 00:37:11] Production.ERROR: CronJobId end10
[2025-01-12 00:37:11] Production.INFO: ==12482== Releasing lock...
[2025-01-12 00:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:37:13] Production.INFO: call_cost start
[2025-01-12 00:37:13] Production.INFO: call_cost end
[2025-01-12 00:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:37:14] Production.INFO: ==12478== Releasing lock...
[2025-01-12 00:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:37:19] Production.INFO: count ==368
[2025-01-12 00:37:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:37:05 - End Time 2025-01-12 00:37:05
[2025-01-12 00:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227971', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227971', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227971', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227971', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:37:19] Production.INFO: ProcessCDR(1,14227971,1,1,2)
[2025-01-12 00:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227971', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227971', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:37:22] Production.INFO: ==12486== Releasing lock...
[2025-01-12 00:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:37:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:38:01] Production.INFO: ==12546== Lock acquired, processing the job...
[2025-01-12 05:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:38:01] Production.INFO: neon service started
[2025-01-12 05:38:01] Production.INFO: neon service started
[2025-01-12 05:38:01] Production.INFO: ==12546== Releasing lock...
[2025-01-12 05:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:38:01] Production.INFO: ==12548== Lock acquired, processing the job...
[2025-01-12 00:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:38:02] Production.INFO: ==12550== Lock acquired, processing the job...
[2025-01-12 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:38:02] Production.INFO: ==12548== Releasing lock...
[2025-01-12 00:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:38:02] Production.INFO: ==12550== Releasing lock...
[2025-01-12 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:38:02] Production.INFO: ==12561== Lock acquired, processing the job...
[2025-01-12 00:38:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:38:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:38:02] Production.INFO: ==12553== Lock acquired, processing the job...
[2025-01-12 00:38:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:38:03] Production.INFO: ==12559== Lock acquired, processing the job...
[2025-01-12 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:38:03] Production.INFO: ==12555== Lock acquired, processing the job...
[2025-01-12 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:38:03] Production.INFO: ==12557== Lock acquired, processing the job...
[2025-01-12 00:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:38:03] Production.INFO: Account Balance Start.
[2025-01-12 00:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:38:03] Production.INFO: 117
[2025-01-12 00:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:38:03] Production.INFO: ==12563== Lock acquired, processing the job...
[2025-01-12 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:38:03] Production.ERROR: done
[2025-01-12 00:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:38:03] Production.ERROR: done
[2025-01-12 00:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:38:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:38:03] Production.INFO: count ==21
[2025-01-12 00:38:03] Production.INFO: Total Charge 0
[2025-01-12 00:38:03] Production.INFO: CreateAllLog End
[2025-01-12 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227975') start
[2025-01-12 00:38:03] Production.INFO: ==12555== Releasing lock...
[2025-01-12 00:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:38:03] Production.INFO: Account Balance End.
[2025-01-12 00:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227975') end
[2025-01-12 00:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:38:03] Production.INFO: 1
[2025-01-12 00:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:38:03] Production.ERROR: CronJobId end 12
[2025-01-12 00:38:03] Production.INFO: ==12559== Releasing lock...
[2025-01-12 00:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:38:03] Production.INFO: ==12563== Releasing lock...
[2025-01-12 00:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:38:04
[end_date_ymd] => 2025-01-12 00:38:04
[RateCDR] => 1
)
[2025-01-12 00:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:38:04' and `end` < '2025-01-12 00:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:38:10] Production.ERROR: CronJobId end10
[2025-01-12 00:38:10] Production.INFO: ==12557== Releasing lock...
[2025-01-12 00:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:38:12] Production.INFO: call_cost start
[2025-01-12 00:38:12] Production.INFO: call_cost end
[2025-01-12 00:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:38:13] Production.INFO: ==12553== Releasing lock...
[2025-01-12 00:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:38:17] Production.INFO: count ==368
[2025-01-12 00:38:17] Production.ERROR: pbx CDR StartTime 2025-01-11 21:38:04 - End Time 2025-01-12 00:38:04
[2025-01-12 00:38:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227976', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227976', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227976', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:38:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227976', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:38:17] Production.INFO: ProcessCDR(1,14227976,1,1,2)
[2025-01-12 00:38:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:38:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:38:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:38:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227976', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:38:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227976', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:38:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:38:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:38:20] Production.INFO: ==12561== Releasing lock...
[2025-01-12 00:38:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:38:20] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:39:01] Production.INFO: ==12622== Lock acquired, processing the job...
[2025-01-12 05:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:39:01] Production.INFO: neon service started
[2025-01-12 05:39:01] Production.INFO: neon service started
[2025-01-12 05:39:01] Production.INFO: ==12622== Releasing lock...
[2025-01-12 05:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:39:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:39:02] Production.INFO: ==12626== Lock acquired, processing the job...
[2025-01-12 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:39:02] Production.INFO: ==12626== Releasing lock...
[2025-01-12 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:39:02] Production.INFO: ==12624== Lock acquired, processing the job...
[2025-01-12 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:39:02] Production.INFO: ==12624== Releasing lock...
[2025-01-12 00:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:39:03] Production.INFO: ==12629== Lock acquired, processing the job...
[2025-01-12 00:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:39:03] Production.INFO: ==12635== Lock acquired, processing the job...
[2025-01-12 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:39:03] Production.INFO: ==12637== Lock acquired, processing the job...
[2025-01-12 00:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:39:03] Production.INFO: Account Balance Start.
[2025-01-12 00:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:39:03] Production.INFO: 117
[2025-01-12 00:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:39:03] Production.INFO: ==12631== Lock acquired, processing the job...
[2025-01-12 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:39:03] Production.INFO: ==12633== Lock acquired, processing the job...
[2025-01-12 00:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:39:03] Production.INFO: ==12639== Lock acquired, processing the job...
[2025-01-12 00:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:39:03] Production.INFO: Total Charge 0
[2025-01-12 00:39:03] Production.ERROR: done
[2025-01-12 00:39:03] Production.INFO: CreateAllLog End
[2025-01-12 00:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:39:03] Production.INFO: count ==21
[2025-01-12 00:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:39:03] Production.INFO: count ==21
[2025-01-12 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227980') start
[2025-01-12 00:39:03] Production.INFO: Account Balance End.
[2025-01-12 00:39:03] Production.ERROR: done
[2025-01-12 00:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227980') end
[2025-01-12 00:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:39:03] Production.INFO: 1
[2025-01-12 00:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:39:03] Production.INFO: ==12631== Releasing lock...
[2025-01-12 00:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:39:03] Production.ERROR: CronJobId end 12
[2025-01-12 00:39:03] Production.INFO: ==12635== Releasing lock...
[2025-01-12 00:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:39:04] Production.INFO: ==12639== Releasing lock...
[2025-01-12 00:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:39:04
[end_date_ymd] => 2025-01-12 00:39:04
[RateCDR] => 1
)
[2025-01-12 00:39:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:39:04' and `end` < '2025-01-12 00:39:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:39:11] Production.ERROR: CronJobId end10
[2025-01-12 00:39:11] Production.INFO: ==12633== Releasing lock...
[2025-01-12 00:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:39:13] Production.INFO: call_cost start
[2025-01-12 00:39:13] Production.INFO: call_cost end
[2025-01-12 00:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:39:13] Production.INFO: ==12629== Releasing lock...
[2025-01-12 00:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:39:17] Production.INFO: count ==369
[2025-01-12 00:39:17] Production.ERROR: pbx CDR StartTime 2025-01-11 21:39:04 - End Time 2025-01-12 00:39:04
[2025-01-12 00:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227981', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227981', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227981', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227981', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:39:17] Production.INFO: ProcessCDR(1,14227981,1,1,2)
[2025-01-12 00:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227981', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227981', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:39:22] Production.INFO: ==12637== Releasing lock...
[2025-01-12 00:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:39:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:40:02] Production.INFO: ==12701== Lock acquired, processing the job...
[2025-01-12 05:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:40:02] Production.INFO: neon service started
[2025-01-12 05:40:02] Production.INFO: neon service started
[2025-01-12 05:40:02] Production.INFO: ==12701== Releasing lock...
[2025-01-12 05:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:40:02] Production.INFO: ==12705== Lock acquired, processing the job...
[2025-01-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:40:02] Production.INFO: ==12705== Releasing lock...
[2025-01-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:40:02] Production.INFO: ==12703== Lock acquired, processing the job...
[2025-01-12 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:40:02] Production.INFO: ==12703== Releasing lock...
[2025-01-12 00:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:40:03] Production.INFO: ==12710== Lock acquired, processing the job...
[2025-01-12 00:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:40:04] Production.INFO: ==12714== Lock acquired, processing the job...
[2025-01-12 00:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:40:04] Production.INFO: ==12716== Lock acquired, processing the job...
[2025-01-12 00:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:40:04] Production.INFO: ==12712== Lock acquired, processing the job...
[2025-01-12 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:40:04] Production.INFO: ==12718== Lock acquired, processing the job...
[2025-01-12 00:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:40:04] Production.INFO: ==12708== Lock acquired, processing the job...
[2025-01-12 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 00:40:04] Production.INFO: Account Balance Start.
[2025-01-12 00:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:40:04] Production.INFO: 117
[2025-01-12 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 00:40:04] Production.ERROR: CronJob PID - 12710
[2025-01-12 00:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 00:40:04] Production.ERROR: CronJob ID - 5
[2025-01-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 00:40:00
[2025-01-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 00:40:04] Production.ERROR: CronJob PID - 12712
[2025-01-12 00:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 00:40:04] Production.ERROR: CronJob ID - 7
[2025-01-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 00:40:00
[2025-01-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 00:40:04] Production.ERROR: CronJob PID - 12714
[2025-01-12 00:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 00:40:04] Production.ERROR: CronJob ID - 10
[2025-01-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 00:40:00
[2025-01-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 00:40:04] Production.ERROR: CronJob PID - 12716
[2025-01-12 00:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 00:40:04] Production.ERROR: CronJob ID - 12
[2025-01-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 00:40:00
[2025-01-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 00:40:04] Production.ERROR: CronJob PID - 12718
[2025-01-12 00:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 00:40:04] Production.ERROR: CronJob ID - 16
[2025-01-12 00:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 00:40:00
[2025-01-12 00:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 00:40:04] Production.INFO: ==12720== Lock acquired, processing the job...
[2025-01-12 00:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 00:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 00:40:04] Production.INFO: ==12708== Releasing lock...
[2025-01-12 00:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 00:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:40:04] Production.INFO: ==12722== Lock acquired, processing the job...
[2025-01-12 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:40:04] Production.ERROR: done
[2025-01-12 00:40:04] Production.INFO: Total Charge 0
[2025-01-12 00:40:04] Production.INFO: count ==21
[2025-01-12 00:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:40:04] Production.INFO: ==12712== Releasing lock...
[2025-01-12 00:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:40:04] Production.ERROR: done
[2025-01-12 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-01-12 00:40:04] Production.INFO: count ==21
[2025-01-12 00:40:04] Production.INFO: CreateAllLog End
[2025-01-12 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227985') start
[2025-01-12 00:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 00:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227986', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 00:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227985') end
[2025-01-12 00:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:40:04] Production.INFO: 1
[2025-01-12 00:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:40:04] Production.ERROR: done
[2025-01-12 00:40:04] Production.INFO: ==12722== Releasing lock...
[2025-01-12 00:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:40:05] Production.INFO: Account Balance End.
[2025-01-12 00:40:05] Production.ERROR: CronJobId end 12
[2025-01-12 00:40:05] Production.INFO: ==12716== Releasing lock...
[2025-01-12 00:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:40:06
[end_date_ymd] => 2025-01-12 00:40:06
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:40:06' and `end` < '2025-01-12 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-01-12 00:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14227986', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 00:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 00:40:09] Production.INFO: ProcessCDR(1,14227986,1,1,2)
[2025-01-12 00:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14227986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14227986,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:40:09] Production.INFO: ==12720== Releasing lock...
[2025-01-12 00:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 00:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:40:14] Production.ERROR: CronJobId end10
[2025-01-12 00:40:14] Production.INFO: ==12714== Releasing lock...
[2025-01-12 00:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:40:15] Production.INFO: call_cost start
[2025-01-12 00:40:15] Production.INFO: call_cost end
[2025-01-12 00:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:40:16] Production.INFO: ==12710== Releasing lock...
[2025-01-12 00:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:40:19] Production.INFO: count ==376
[2025-01-12 00:40:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:40:06 - End Time 2025-01-12 00:40:06
[2025-01-12 00:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227987', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227987', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227987', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227987', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:40:19] Production.INFO: ProcessCDR(1,14227987,1,1,2)
[2025-01-12 00:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227987', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227987', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:40:24] Production.INFO: ==12718== Releasing lock...
[2025-01-12 00:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:40:24] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:41:01] Production.INFO: ==12783== Lock acquired, processing the job...
[2025-01-12 05:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:41:01] Production.INFO: neon service started
[2025-01-12 05:41:01] Production.INFO: neon service started
[2025-01-12 05:41:01] Production.INFO: ==12783== Releasing lock...
[2025-01-12 05:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:41:01] Production.INFO: ==12786== Lock acquired, processing the job...
[2025-01-12 00:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:41:02] Production.INFO: ==12786== Releasing lock...
[2025-01-12 00:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:41:02] Production.INFO: ==12788== Lock acquired, processing the job...
[2025-01-12 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:41:02] Production.INFO: ==12788== Releasing lock...
[2025-01-12 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:41:03] Production.INFO: ==12792== Lock acquired, processing the job...
[2025-01-12 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:41:03] Production.INFO: ==12798== Lock acquired, processing the job...
[2025-01-12 00:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:41:03] Production.INFO: ==12790== Lock acquired, processing the job...
[2025-01-12 00:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:41:03] Production.INFO: ==12794== Lock acquired, processing the job...
[2025-01-12 00:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:41:03] Production.INFO: ==12796== Lock acquired, processing the job...
[2025-01-12 00:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:41:03] Production.INFO: ==12800== Lock acquired, processing the job...
[2025-01-12 00:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:41:03] Production.ERROR: done
[2025-01-12 00:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:41:03] Production.INFO: Account Balance Start.
[2025-01-12 00:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:41:03] Production.INFO: 117
[2025-01-12 00:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:41:03] Production.INFO: ==12792== Releasing lock...
[2025-01-12 00:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:41:03] Production.ERROR: done
[2025-01-12 00:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 00: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-01-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:41:03] Production.INFO: count ==21
[2025-01-12 00:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 00: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-01-12 00:41:03] Production.INFO: count ==21
[2025-01-12 00:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14227991') start
[2025-01-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:41:04] Production.INFO: Total Charge 0
[2025-01-12 00:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227991') end
[2025-01-12 00:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:41:04] Production.INFO: 1
[2025-01-12 00:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:41:04] Production.INFO: CreateAllLog End
[2025-01-12 00:41:04] Production.INFO: ==12800== Releasing lock...
[2025-01-12 00:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:41:04] Production.INFO: Account Balance End.
[2025-01-12 00:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:41:04] Production.INFO: ==12796== Releasing lock...
[2025-01-12 00:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:41:04
[end_date_ymd] => 2025-01-12 00:41:04
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:41:04' and `end` < '2025-01-12 00: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-01-12 00:41:11] Production.ERROR: CronJobId end10
[2025-01-12 00:41:11] Production.INFO: ==12794== Releasing lock...
[2025-01-12 00:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:41:12] Production.INFO: call_cost start
[2025-01-12 00:41:12] Production.INFO: call_cost end
[2025-01-12 00:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:41:13] Production.INFO: ==12790== Releasing lock...
[2025-01-12 00:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:41:17] Production.INFO: count ==397
[2025-01-12 00:41:17] Production.ERROR: pbx CDR StartTime 2025-01-11 21:41:04 - End Time 2025-01-12 00:41:04
[2025-01-12 00:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227992', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227992', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227992', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227992', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:41:17] Production.INFO: ProcessCDR(1,14227992,1,1,2)
[2025-01-12 00:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227992', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227992', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:41:21] Production.INFO: ==12798== Releasing lock...
[2025-01-12 00:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:41:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 05:42:01] Production.INFO: ==12858== Lock acquired, processing the job...
[2025-01-12 05:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:42:02] Production.INFO: neon service started
[2025-01-12 05:42:02] Production.INFO: neon service started
[2025-01-12 05:42:02] Production.INFO: ==12858== Releasing lock...
[2025-01-12 05:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:42:02] Production.INFO: ==12860== Lock acquired, processing the job...
[2025-01-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:42:02] Production.INFO: ==12860== Releasing lock...
[2025-01-12 00:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:42:02] Production.INFO: ==12862== Lock acquired, processing the job...
[2025-01-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:42:02] Production.INFO: ==12862== Releasing lock...
[2025-01-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:42:03] Production.INFO: ==12870== Lock acquired, processing the job...
[2025-01-12 00:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:42:03] Production.INFO: ==12864== Lock acquired, processing the job...
[2025-01-12 00:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:42:03] Production.INFO: ==12868== Lock acquired, processing the job...
[2025-01-12 00:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:42:03] Production.INFO: ==12866== Lock acquired, processing the job...
[2025-01-12 00:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:42:03] Production.INFO: Account Balance Start.
[2025-01-12 00:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:42:03] Production.INFO: 117
[2025-01-12 00:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:42:03] Production.INFO: ==12872== Lock acquired, processing the job...
[2025-01-12 00:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:42:03] Production.INFO: ==12874== Lock acquired, processing the job...
[2025-01-12 00:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:42:04] Production.INFO: Total Charge 0
[2025-01-12 00:42:04] Production.INFO: CreateAllLog End
[2025-01-12 00:42:04] Production.INFO: ==12866== Releasing lock...
[2025-01-12 00:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 00:42:04] Production.INFO: count ==21
[2025-01-12 00:42:04] Production.ERROR: done
[2025-01-12 00:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:42:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 00:42:04] Production.INFO: count ==21
[2025-01-12 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227996') start
[2025-01-12 00:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:42:04] Production.INFO: ==12870== Releasing lock...
[2025-01-12 00:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:42:04] Production.ERROR: done
[2025-01-12 00:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14227996') end
[2025-01-12 00:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:42:04] Production.INFO: 1
[2025-01-12 00:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:42:04] Production.INFO: ==12874== Releasing lock...
[2025-01-12 00:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:42:05
[end_date_ymd] => 2025-01-12 00:42:05
[RateCDR] => 1
)
[2025-01-12 00:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:42:05' and `end` < '2025-01-12 00:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:42:11] Production.ERROR: CronJobId end10
[2025-01-12 00:42:11] Production.INFO: ==12868== Releasing lock...
[2025-01-12 00:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:42:13] Production.INFO: call_cost start
[2025-01-12 00:42:13] Production.INFO: call_cost end
[2025-01-12 00:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:42:14] Production.INFO: ==12864== Releasing lock...
[2025-01-12 00:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:42:19] Production.INFO: count ==396
[2025-01-12 00:42:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:42:05 - End Time 2025-01-12 00:42:05
[2025-01-12 00:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227997', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14227997', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227997', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14227997', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:42:19] Production.INFO: ProcessCDR(1,14227997,1,1,2)
[2025-01-12 00:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14227997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14227997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14227997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14227997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227997', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14227997', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:42:22] Production.INFO: ==12872== Releasing lock...
[2025-01-12 00:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:42:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 05:43:01] Production.INFO: ==12976== Lock acquired, processing the job...
[2025-01-12 05:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:43:01] Production.INFO: neon service started
[2025-01-12 05:43:01] Production.INFO: neon service started
[2025-01-12 05:43:01] Production.INFO: ==12976== Releasing lock...
[2025-01-12 05:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:43:01] Production.INFO: ==12978== Lock acquired, processing the job...
[2025-01-12 00:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:43:02] Production.INFO: ==12980== Lock acquired, processing the job...
[2025-01-12 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 00:43:02] Production.INFO: ==12978== Releasing lock...
[2025-01-12 00:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:43:02] Production.INFO: ==12980== Releasing lock...
[2025-01-12 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:43:02] Production.INFO: ==12987== Lock acquired, processing the job...
[2025-01-12 00:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:43:02] Production.INFO: ==12983== Lock acquired, processing the job...
[2025-01-12 00:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:43:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:43:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:43:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:43:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:43:03] Production.INFO: ==12991== Lock acquired, processing the job...
[2025-01-12 00:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:43:03] Production.INFO: ==12985== Lock acquired, processing the job...
[2025-01-12 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:43:03] Production.INFO: ==12989== Lock acquired, processing the job...
[2025-01-12 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:43:03] Production.INFO: ==12993== Lock acquired, processing the job...
[2025-01-12 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:43:03] Production.INFO: Account Balance Start.
[2025-01-12 00:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:43:03] Production.INFO: 117
[2025-01-12 00:43:03] Production.INFO: ==12985== Releasing lock...
[2025-01-12 00:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:43:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:43:03] Production.INFO: count ==21
[2025-01-12 00:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228001') start
[2025-01-12 00:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:43:03] Production.ERROR: done
[2025-01-12 00:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:43:03] Production.INFO: Total Charge 0
[2025-01-12 00:43:03] Production.INFO: CreateAllLog End
[2025-01-12 00:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228001') end
[2025-01-12 00:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:43:03] Production.INFO: 1
[2025-01-12 00:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:43:03] Production.INFO: ==12993== Releasing lock...
[2025-01-12 00:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:43:03] Production.ERROR: done
[2025-01-12 00:43:03] Production.INFO: Account Balance End.
[2025-01-12 00:43:03] Production.ERROR: CronJobId end 12
[2025-01-12 00:43:03] Production.INFO: ==12989== Releasing lock...
[2025-01-12 00:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:43:04
[end_date_ymd] => 2025-01-12 00:43:04
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:43:04' and `end` < '2025-01-12 00: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-01-12 00:43:10] Production.ERROR: CronJobId end10
[2025-01-12 00:43:10] Production.INFO: ==12987== Releasing lock...
[2025-01-12 00:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:43:12] Production.INFO: call_cost start
[2025-01-12 00:43:12] Production.INFO: call_cost end
[2025-01-12 00:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:43:13] Production.INFO: ==12983== Releasing lock...
[2025-01-12 00:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:43:17] Production.INFO: count ==396
[2025-01-12 00:43:17] Production.ERROR: pbx CDR StartTime 2025-01-11 21:43:04 - End Time 2025-01-12 00:43:04
[2025-01-12 00:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228002', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228002', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228002', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228002', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:43:17] Production.INFO: ProcessCDR(1,14228002,1,1,2)
[2025-01-12 00:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:43:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228002', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:43:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228002', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:43:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:43:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:43:20] Production.INFO: ==12991== Releasing lock...
[2025-01-12 00:43:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:43:20] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 05:44:01] Production.INFO: ==13055== Lock acquired, processing the job...
[2025-01-12 05:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:44:01] Production.INFO: neon service started
[2025-01-12 05:44:01] Production.INFO: neon service started
[2025-01-12 05:44:01] Production.INFO: ==13055== Releasing lock...
[2025-01-12 05:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:44:02] Production.INFO: ==13058== Lock acquired, processing the job...
[2025-01-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:44:02] Production.INFO: ==13060== Lock acquired, processing the job...
[2025-01-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:44:02] Production.INFO: ==13060== Releasing lock...
[2025-01-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:44:02] Production.INFO: ==13058== Releasing lock...
[2025-01-12 00:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:44:03] Production.INFO: ==13064== Lock acquired, processing the job...
[2025-01-12 00:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:44:03] Production.INFO: ==13074== Lock acquired, processing the job...
[2025-01-12 00:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:44:03] Production.INFO: ==13066== Lock acquired, processing the job...
[2025-01-12 00:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:44:04] Production.INFO: ==13068== Lock acquired, processing the job...
[2025-01-12 00:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 00:44:04] Production.INFO: ==13070== Lock acquired, processing the job...
[2025-01-12 00:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:44:04] Production.INFO: count ==21
[2025-01-12 00:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 00:44:04] Production.INFO: count ==21
[2025-01-12 00:44:04] Production.INFO: ==13072== Lock acquired, processing the job...
[2025-01-12 00:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228004') start
[2025-01-12 00:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:44:04] Production.INFO: Account Balance Start.
[2025-01-12 00:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:44:04] Production.INFO: 117
[2025-01-12 00:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228004') end
[2025-01-12 00:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:44:04] Production.INFO: 1
[2025-01-12 00:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:44:04] Production.INFO: ==13074== Releasing lock...
[2025-01-12 00:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:44:04] Production.INFO: ==13066== Releasing lock...
[2025-01-12 00:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:44:04] Production.INFO: Total Charge 0
[2025-01-12 00:44:04] Production.ERROR: done
[2025-01-12 00:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:44:04] Production.INFO: CreateAllLog End
[2025-01-12 00:44:05] Production.ERROR: done
[2025-01-12 00:44:05] Production.INFO: Account Balance End.
[2025-01-12 00:44:05] Production.ERROR: CronJobId end 12
[2025-01-12 00:44:05] Production.INFO: ==13070== Releasing lock...
[2025-01-12 00:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:44:05
[end_date_ymd] => 2025-01-12 00:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:44:05' and `end` < '2025-01-12 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-01-12 00:44:11] Production.ERROR: CronJobId end10
[2025-01-12 00:44:11] Production.INFO: ==13068== Releasing lock...
[2025-01-12 00:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:44:13] Production.INFO: call_cost start
[2025-01-12 00:44:13] Production.INFO: call_cost end
[2025-01-12 00:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:44:14] Production.INFO: ==13064== Releasing lock...
[2025-01-12 00:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:44:19] Production.INFO: count ==396
[2025-01-12 00:44:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:44:05 - End Time 2025-01-12 00:44:05
[2025-01-12 00:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228007', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228007', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228007', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228007', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:44:19] Production.INFO: ProcessCDR(1,14228007,1,1,2)
[2025-01-12 00:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228007', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228007', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:44:22] Production.INFO: ==13072== Releasing lock...
[2025-01-12 00:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:44:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 05:45:02] Production.INFO: ==13138== Lock acquired, processing the job...
[2025-01-12 05:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:45:02] Production.INFO: neon service started
[2025-01-12 05:45:02] Production.INFO: neon service started
[2025-01-12 05:45:02] Production.INFO: ==13138== Releasing lock...
[2025-01-12 05:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:45:02] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-01-12 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:45:02] Production.INFO: ==13140== Releasing lock...
[2025-01-12 00:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:45:03] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-01-12 05:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:45:03] Production.INFO: ==13142== Releasing lock...
[2025-01-12 05:45:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:45:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:45:03] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-01-12 00:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:45:03] Production.INFO: ==13152== Lock acquired, processing the job...
[2025-01-12 00:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:45:03] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-01-12 00:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:45:04] Production.INFO: ==13148== Lock acquired, processing the job...
[2025-01-12 00:45:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:45:04] Production.INFO: ==13150== Lock acquired, processing the job...
[2025-01-12 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:45:04] Production.INFO: ==13154== Lock acquired, processing the job...
[2025-01-12 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:45:04] Production.INFO: Account Balance Start.
[2025-01-12 00:45:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:45:04] Production.INFO: 117
[2025-01-12 00:45:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:45:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:45:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:45:04] Production.INFO: count ==21
[2025-01-12 00:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:45:04] Production.INFO: count ==21
[2025-01-12 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228011') start
[2025-01-12 00:45:04] Production.ERROR: done
[2025-01-12 00:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228011') end
[2025-01-12 00:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:45:04] Production.INFO: 1
[2025-01-12 00:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:45:04] Production.INFO: Total Charge 0
[2025-01-12 00:45:04] Production.INFO: CreateAllLog End
[2025-01-12 00:45:04] Production.INFO: ==13154== Releasing lock...
[2025-01-12 00:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:45:04] Production.INFO: ==13146== Releasing lock...
[2025-01-12 00:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:45:04] Production.ERROR: done
[2025-01-12 00:45:04] Production.INFO: Account Balance End.
[2025-01-12 00:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:45:04] Production.INFO: ==13150== Releasing lock...
[2025-01-12 00:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:45:05
[end_date_ymd] => 2025-01-12 00:45:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:45:05' and `end` < '2025-01-12 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-01-12 00:45:11] Production.ERROR: CronJobId end10
[2025-01-12 00:45:11] Production.INFO: ==13148== Releasing lock...
[2025-01-12 00:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:45:14] Production.INFO: call_cost start
[2025-01-12 00:45:14] Production.INFO: call_cost end
[2025-01-12 00:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:45:15] Production.INFO: ==13144== Releasing lock...
[2025-01-12 00:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:45:18] Production.INFO: count ==398
[2025-01-12 00:45:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:45:05 - End Time 2025-01-12 00:45:05
[2025-01-12 00:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228012', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228012', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228012', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228012', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:45:18] Production.INFO: ProcessCDR(1,14228012,1,1,2)
[2025-01-12 00:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228012', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228012', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:45:22] Production.INFO: ==13152== Releasing lock...
[2025-01-12 00:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:45:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 05:46:01] Production.INFO: ==13216== Lock acquired, processing the job...
[2025-01-12 05:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:46:01] Production.INFO: neon service started
[2025-01-12 05:46:01] Production.INFO: neon service started
[2025-01-12 05:46:01] Production.INFO: ==13216== Releasing lock...
[2025-01-12 05:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:46:02] Production.INFO: ==13220== Lock acquired, processing the job...
[2025-01-12 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:46:02] Production.INFO: ==13220== Releasing lock...
[2025-01-12 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:46:02] Production.INFO: ==13218== Lock acquired, processing the job...
[2025-01-12 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:46:02] Production.INFO: ==13218== Releasing lock...
[2025-01-12 00:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:46:03] Production.INFO: ==13228== Lock acquired, processing the job...
[2025-01-12 00:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:46:03] Production.INFO: ==13231== Lock acquired, processing the job...
[2025-01-12 00:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:46:03] Production.INFO: ==13222== Lock acquired, processing the job...
[2025-01-12 00:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:46:03] Production.INFO: Account Balance Start.
[2025-01-12 00:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:46:03] Production.INFO: 117
[2025-01-12 00:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:46:03] Production.INFO: ==13224== Lock acquired, processing the job...
[2025-01-12 00:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:46:03] Production.INFO: ==13226== Lock acquired, processing the job...
[2025-01-12 00:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:46:03] Production.INFO: ==13235== Lock acquired, processing the job...
[2025-01-12 00:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:46:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:46:03] Production.INFO: Total Charge 0
[2025-01-12 00:46:03] Production.INFO: CreateAllLog End
[2025-01-12 00:46:03] Production.INFO: count ==21
[2025-01-12 00:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:46:03] Production.INFO: count ==21
[2025-01-12 00:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228016') start
[2025-01-12 00:46:03] Production.ERROR: done
[2025-01-12 00:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:46:04] Production.INFO: ==13224== Releasing lock...
[2025-01-12 00:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228016') end
[2025-01-12 00:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:46:04] Production.INFO: 1
[2025-01-12 00:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:46:04] Production.ERROR: done
[2025-01-12 00:46:04] Production.INFO: Account Balance End.
[2025-01-12 00:46:04] Production.INFO: ==13235== Releasing lock...
[2025-01-12 00:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:46:04] Production.INFO: ==13228== Releasing lock...
[2025-01-12 00:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:46:05
[end_date_ymd] => 2025-01-12 00:46:05
[RateCDR] => 1
)
[2025-01-12 00:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:46:05' and `end` < '2025-01-12 00:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:46:10] Production.ERROR: CronJobId end10
[2025-01-12 00:46:10] Production.INFO: ==13226== Releasing lock...
[2025-01-12 00:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:46:13] Production.INFO: call_cost start
[2025-01-12 00:46:13] Production.INFO: call_cost end
[2025-01-12 00:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:46:14] Production.INFO: ==13222== Releasing lock...
[2025-01-12 00:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:46:18] Production.INFO: count ==398
[2025-01-12 00:46:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:46:05 - End Time 2025-01-12 00:46:05
[2025-01-12 00:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228017', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228017', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228017', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228017', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:46:18] Production.INFO: ProcessCDR(1,14228017,1,1,2)
[2025-01-12 00:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228017', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228017', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:46:21] Production.INFO: ==13231== Releasing lock...
[2025-01-12 00:46:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:46:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 05:47:02] Production.INFO: ==13290== Lock acquired, processing the job...
[2025-01-12 05:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:47:02] Production.INFO: neon service started
[2025-01-12 05:47:02] Production.INFO: neon service started
[2025-01-12 05:47:02] Production.INFO: ==13290== Releasing lock...
[2025-01-12 05:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:47:02] Production.INFO: ==13292== Lock acquired, processing the job...
[2025-01-12 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:47:02] Production.INFO: ==13292== Releasing lock...
[2025-01-12 00:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:47:02] Production.INFO: ==13294== Lock acquired, processing the job...
[2025-01-12 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:47:03] Production.INFO: ==13294== Releasing lock...
[2025-01-12 05:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:47:03] Production.INFO: ==13302== Lock acquired, processing the job...
[2025-01-12 00:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:47:03] Production.INFO: ==13306== Lock acquired, processing the job...
[2025-01-12 00:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:47:03] Production.INFO: Account Balance Start.
[2025-01-12 00:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:47:03] Production.INFO: 117
[2025-01-12 00:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 00:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:47:03] Production.INFO: count ==21
[2025-01-12 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-01-12 00:47:03] Production.INFO: count ==21
[2025-01-12 00:47:03] Production.INFO: ==13296== Lock acquired, processing the job...
[2025-01-12 00:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:47:03] Production.INFO: ==13298== Lock acquired, processing the job...
[2025-01-12 00:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228019') start
[2025-01-12 00:47:04] Production.INFO: ==13300== Lock acquired, processing the job...
[2025-01-12 00:47:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:47:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228019') end
[2025-01-12 00:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:47:04] Production.INFO: 1
[2025-01-12 00:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:47:04] Production.INFO: ==13306== Releasing lock...
[2025-01-12 00:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:47:04] Production.INFO: ==13304== Lock acquired, processing the job...
[2025-01-12 00:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:47:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:47:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:47:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:47:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:47:04] Production.INFO: ==13298== Releasing lock...
[2025-01-12 00:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:47:04] Production.INFO: Total Charge 0
[2025-01-12 00:47:04] Production.ERROR: done
[2025-01-12 00:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:47:04] Production.INFO: CreateAllLog End
[2025-01-12 00:47:04] Production.ERROR: done
[2025-01-12 00:47:05] Production.INFO: Account Balance End.
[2025-01-12 00:47:05] Production.ERROR: CronJobId end 12
[2025-01-12 00:47:05] Production.INFO: ==13302== Releasing lock...
[2025-01-12 00:47:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:47:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:47:05
[end_date_ymd] => 2025-01-12 00:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:47:05' and `end` < '2025-01-12 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-01-12 00:47:11] Production.ERROR: CronJobId end10
[2025-01-12 00:47:11] Production.INFO: ==13300== Releasing lock...
[2025-01-12 00:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:47:13] Production.INFO: call_cost start
[2025-01-12 00:47:13] Production.INFO: call_cost end
[2025-01-12 00:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:47:14] Production.INFO: ==13296== Releasing lock...
[2025-01-12 00:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:47:19] Production.INFO: count ==400
[2025-01-12 00:47:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:47:05 - End Time 2025-01-12 00:47:05
[2025-01-12 00:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228022', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228022', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228022', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228022', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:47:19] Production.INFO: ProcessCDR(1,14228022,1,1,2)
[2025-01-12 00:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228022,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228022,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228022', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228022', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:47:22] Production.INFO: ==13304== Releasing lock...
[2025-01-12 00:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:47:22] Production.INFO: 31.5 MB #Memory Used#
[2025-01-12 05:48:01] Production.INFO: ==13363== Lock acquired, processing the job...
[2025-01-12 05:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:48:01] Production.INFO: neon service started
[2025-01-12 05:48:01] Production.INFO: neon service started
[2025-01-12 05:48:01] Production.INFO: ==13363== Releasing lock...
[2025-01-12 05:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:48:02] Production.INFO: ==13367== Lock acquired, processing the job...
[2025-01-12 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:48:02] Production.INFO: ==13367== Releasing lock...
[2025-01-12 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:48:02] Production.INFO: ==13365== Lock acquired, processing the job...
[2025-01-12 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:48:02] Production.INFO: ==13365== Releasing lock...
[2025-01-12 00:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:48:03] Production.INFO: ==13376== Lock acquired, processing the job...
[2025-01-12 00:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:48:03] Production.INFO: ==13370== Lock acquired, processing the job...
[2025-01-12 00:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:48:03] Production.INFO: ==13378== Lock acquired, processing the job...
[2025-01-12 00:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:48:03] Production.INFO: ==13372== Lock acquired, processing the job...
[2025-01-12 00:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:48:03] Production.INFO: ==13374== Lock acquired, processing the job...
[2025-01-12 00:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:48:03] Production.INFO: Account Balance Start.
[2025-01-12 00:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:48:03] Production.INFO: 117
[2025-01-12 00:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:48:03] Production.INFO: ==13380== Lock acquired, processing the job...
[2025-01-12 00:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:48:03] Production.INFO: count ==21
[2025-01-12 00:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:48:03] Production.ERROR: done
[2025-01-12 00:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:48:03] Production.INFO: count ==21
[2025-01-12 00:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228026') start
[2025-01-12 00:48:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:48:04] Production.ERROR: done
[2025-01-12 00:48:04] Production.INFO: Total Charge 0
[2025-01-12 00:48:04] Production.INFO: ==13372== Releasing lock...
[2025-01-12 00:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:48:04] Production.INFO: CreateAllLog End
[2025-01-12 00:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228026') end
[2025-01-12 00:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:48:04] Production.INFO: 1
[2025-01-12 00:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:48:04] Production.INFO: ==13380== Releasing lock...
[2025-01-12 00:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:48:04] Production.INFO: Account Balance End.
[2025-01-12 00:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:48:04] Production.INFO: ==13376== Releasing lock...
[2025-01-12 00:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:48:04
[end_date_ymd] => 2025-01-12 00:48:04
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:48:04' and `end` < '2025-01-12 00: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-01-12 00:48:11] Production.ERROR: CronJobId end10
[2025-01-12 00:48:11] Production.INFO: ==13374== Releasing lock...
[2025-01-12 00:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:48:13] Production.INFO: call_cost start
[2025-01-12 00:48:13] Production.INFO: call_cost end
[2025-01-12 00:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:48:14] Production.INFO: ==13370== Releasing lock...
[2025-01-12 00:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:48:18] Production.INFO: count ==401
[2025-01-12 00:48:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:48:04 - End Time 2025-01-12 00:48:04
[2025-01-12 00:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228027', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228027', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228027', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228027', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:48:18] Production.INFO: ProcessCDR(1,14228027,1,1,2)
[2025-01-12 00:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228027,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228027,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228027', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228027', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:48:22] Production.INFO: ==13378== Releasing lock...
[2025-01-12 00:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:48:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:49:02] Production.INFO: ==13443== Lock acquired, processing the job...
[2025-01-12 05:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:49:02] Production.INFO: neon service started
[2025-01-12 05:49:02] Production.INFO: neon service started
[2025-01-12 05:49:02] Production.INFO: ==13443== Releasing lock...
[2025-01-12 05:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:49:02] Production.INFO: ==13447== Lock acquired, processing the job...
[2025-01-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:49:02] Production.INFO: ==13447== Releasing lock...
[2025-01-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:49:02] Production.INFO: ==13445== Lock acquired, processing the job...
[2025-01-12 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:49:02] Production.INFO: ==13445== Releasing lock...
[2025-01-12 00:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:49:03] Production.INFO: ==13450== Lock acquired, processing the job...
[2025-01-12 00:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:49:03] Production.INFO: ==13452== Lock acquired, processing the job...
[2025-01-12 00:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:49:03] Production.INFO: ==13458== Lock acquired, processing the job...
[2025-01-12 00:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:49:04] Production.INFO: ==13456== Lock acquired, processing the job...
[2025-01-12 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:49:04] Production.INFO: ==13454== Lock acquired, processing the job...
[2025-01-12 00:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:49:04] Production.INFO: ==13452== Releasing lock...
[2025-01-12 00:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:49:04] Production.INFO: Account Balance Start.
[2025-01-12 00:49:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:49:04] Production.INFO: 117
[2025-01-12 00:49:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:49:04] Production.INFO: ==13460== Lock acquired, processing the job...
[2025-01-12 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:49:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:49:04] Production.ERROR: done
[2025-01-12 00:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:49:04] Production.INFO: count ==21
[2025-01-12 00:49:04] Production.ERROR: done
[2025-01-12 00:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:49:04] Production.INFO: count ==21
[2025-01-12 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228031') start
[2025-01-12 00:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:49:04] Production.INFO: Total Charge 0
[2025-01-12 00:49:04] Production.INFO: CreateAllLog End
[2025-01-12 00:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228031') end
[2025-01-12 00:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:49:04] Production.INFO: 1
[2025-01-12 00:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:49:04] Production.INFO: ==13460== Releasing lock...
[2025-01-12 00:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:49:04] Production.INFO: Account Balance End.
[2025-01-12 00:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:49:04] Production.INFO: ==13456== Releasing lock...
[2025-01-12 00:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:49:05
[end_date_ymd] => 2025-01-12 00:49:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:49:05' and `end` < '2025-01-12 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-01-12 00:49:10] Production.ERROR: CronJobId end10
[2025-01-12 00:49:10] Production.INFO: ==13454== Releasing lock...
[2025-01-12 00:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:49:13] Production.INFO: call_cost start
[2025-01-12 00:49:13] Production.INFO: call_cost end
[2025-01-12 00:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:49:14] Production.INFO: ==13450== Releasing lock...
[2025-01-12 00:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:49:18] Production.INFO: count ==400
[2025-01-12 00:49:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:49:05 - End Time 2025-01-12 00:49:05
[2025-01-12 00:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228032', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228032', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228032', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228032', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:49:18] Production.INFO: ProcessCDR(1,14228032,1,1,2)
[2025-01-12 00:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228032,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228032,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228032', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228032', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:49:21] Production.INFO: ==13458== Releasing lock...
[2025-01-12 00:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:49:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:50:01] Production.INFO: ==13518== Lock acquired, processing the job...
[2025-01-12 05:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:50:01] Production.INFO: neon service started
[2025-01-12 05:50:01] Production.INFO: neon service started
[2025-01-12 05:50:01] Production.INFO: ==13518== Releasing lock...
[2025-01-12 05:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:50:01] Production.INFO: ==13520== Lock acquired, processing the job...
[2025-01-12 00:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:50:02] Production.INFO: ==13522== Lock acquired, processing the job...
[2025-01-12 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:50:02] Production.INFO: ==13522== Releasing lock...
[2025-01-12 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:50:02] Production.INFO: ==13520== Releasing lock...
[2025-01-12 00:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:50:03] Production.INFO: ==13525== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 00:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 00:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 00:50:03] Production.INFO: ==13525== Releasing lock...
[2025-01-12 00:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 00:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 00:50:03] Production.INFO: ==13527== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:50:03] Production.INFO: ==13529== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:50:03] Production.INFO: ==13535== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:50:03] Production.INFO: ==13531== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:50:03] Production.INFO: ==13533== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:50:03] Production.INFO: ==13539== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:50:03] Production.INFO: ==13529== Releasing lock...
[2025-01-12 00:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:50:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:50:03] Production.INFO: ==13537== Lock acquired, processing the job...
[2025-01-12 00:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 00:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00: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-01-12 00:50:03] Production.INFO: Account Balance Start.
[2025-01-12 00:50:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:50:03] Production.INFO: 117
[2025-01-12 00:50:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:50:03] Production.INFO: count ==21
[2025-01-12 00:50:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:50:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:50:03] Production.INFO: count ==21
[2025-01-12 00:50:04] Production.ERROR: done
[2025-01-12 00:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228035') start
[2025-01-12 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:50:04] Production.ERROR: done
[2025-01-12 00:50:04] Production.INFO: Total Charge 0
[2025-01-12 00:50:04] Production.INFO: CreateAllLog End
[2025-01-12 00:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228035') end
[2025-01-12 00:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:50:04] Production.INFO: 1
[2025-01-12 00:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:50:04] Production.INFO: ==13539== Releasing lock...
[2025-01-12 00:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:50:04] Production.INFO: Account Balance End.
[2025-01-12 00:50:04] Production.ERROR: done
[2025-01-12 00:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:50:04] Production.INFO: ==13533== Releasing lock...
[2025-01-12 00:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 00:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228038', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 00:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:50:05
[end_date_ymd] => 2025-01-12 00:50:05
[RateCDR] => 1
)
[2025-01-12 00:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:50:05' and `end` < '2025-01-12 00:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228038', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 00:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 00:50:08] Production.INFO: ProcessCDR(1,14228038,1,1,2)
[2025-01-12 00:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228038,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228038,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:50:08] Production.INFO: ==13537== Releasing lock...
[2025-01-12 00:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 00:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 00:50:12] Production.ERROR: CronJobId end10
[2025-01-12 00:50:12] Production.INFO: ==13531== Releasing lock...
[2025-01-12 00:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:50:14] Production.INFO: call_cost start
[2025-01-12 00:50:14] Production.INFO: call_cost end
[2025-01-12 00:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:50:15] Production.INFO: ==13527== Releasing lock...
[2025-01-12 00:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:50:18] Production.INFO: count ==404
[2025-01-12 00:50:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:50:05 - End Time 2025-01-12 00:50:05
[2025-01-12 00:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228037', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228037', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228037', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228037', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:50:18] Production.INFO: ProcessCDR(1,14228037,1,1,2)
[2025-01-12 00:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228037,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228037,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228037', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228037', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:50:21] Production.INFO: ==13535== Releasing lock...
[2025-01-12 00:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:50:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 05:51:02] Production.INFO: ==13597== Lock acquired, processing the job...
[2025-01-12 05:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:51:02] Production.INFO: neon service started
[2025-01-12 05:51:02] Production.INFO: neon service started
[2025-01-12 05:51:02] Production.INFO: ==13597== Releasing lock...
[2025-01-12 05:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:51:02] Production.INFO: ==13599== Lock acquired, processing the job...
[2025-01-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:51:02] Production.INFO: ==13599== Releasing lock...
[2025-01-12 00:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:51:02] Production.INFO: ==13601== Lock acquired, processing the job...
[2025-01-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:51:02] Production.INFO: ==13601== Releasing lock...
[2025-01-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:51:03] Production.INFO: ==13604== Lock acquired, processing the job...
[2025-01-12 00:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:51:03] Production.INFO: ==13608== Lock acquired, processing the job...
[2025-01-12 00:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:51:03] Production.INFO: ==13612== Lock acquired, processing the job...
[2025-01-12 00:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:51:03] Production.INFO: ==13606== Lock acquired, processing the job...
[2025-01-12 00:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:51:03] Production.INFO: ==13610== Lock acquired, processing the job...
[2025-01-12 00:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:51:03] Production.INFO: ==13614== Lock acquired, processing the job...
[2025-01-12 00:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 00:51:03] Production.INFO: count ==21
[2025-01-12 00:51:03] Production.INFO: Account Balance Start.
[2025-01-12 00:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 00: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-01-12 00:51:04] Production.INFO: count ==21
[2025-01-12 00:51:04] Production.INFO: 117
[2025-01-12 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228041') start
[2025-01-12 00:51:04] Production.ERROR: done
[2025-01-12 00:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:51:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:51:04] Production.ERROR: done
[2025-01-12 00:51:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228041') end
[2025-01-12 00:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:51:04] Production.INFO: 1
[2025-01-12 00:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:51:04] Production.INFO: ==13614== Releasing lock...
[2025-01-12 00:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:51:04] Production.INFO: ==13606== Releasing lock...
[2025-01-12 00:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:51:04] Production.INFO: Total Charge 0
[2025-01-12 00:51:04] Production.INFO: CreateAllLog End
[2025-01-12 00:51:04] Production.INFO: Account Balance End.
[2025-01-12 00:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:51:04] Production.INFO: ==13610== Releasing lock...
[2025-01-12 00:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:51:05
[end_date_ymd] => 2025-01-12 00:51:05
[RateCDR] => 1
)
[2025-01-12 00:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:51:05' and `end` < '2025-01-12 00:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:51:11] Production.ERROR: CronJobId end10
[2025-01-12 00:51:11] Production.INFO: ==13608== Releasing lock...
[2025-01-12 00:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:51:14] Production.INFO: call_cost start
[2025-01-12 00:51:14] Production.INFO: call_cost end
[2025-01-12 00:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:51:15] Production.INFO: ==13604== Releasing lock...
[2025-01-12 00:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:51:18] Production.INFO: count ==430
[2025-01-12 00:51:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:51:05 - End Time 2025-01-12 00:51:05
[2025-01-12 00:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228043', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228043', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228043', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228043', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:51:18] Production.INFO: ProcessCDR(1,14228043,1,1,2)
[2025-01-12 00:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228043', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228043', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:51:22] Production.INFO: ==13612== Releasing lock...
[2025-01-12 00:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:51:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 05:52:01] Production.INFO: ==13671== Lock acquired, processing the job...
[2025-01-12 05:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:52:01] Production.INFO: neon service started
[2025-01-12 05:52:01] Production.INFO: neon service started
[2025-01-12 05:52:01] Production.INFO: ==13671== Releasing lock...
[2025-01-12 05:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:52:02] Production.INFO: ==13673== Lock acquired, processing the job...
[2025-01-12 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:52:02] Production.INFO: ==13675== Lock acquired, processing the job...
[2025-01-12 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:52:02] Production.INFO: ==13675== Releasing lock...
[2025-01-12 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:52:02] Production.INFO: ==13673== Releasing lock...
[2025-01-12 00:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:52:03] Production.INFO: ==13678== Lock acquired, processing the job...
[2025-01-12 00:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:52:03] Production.INFO: ==13680== Lock acquired, processing the job...
[2025-01-12 00:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:52:03] Production.INFO: ==13688== Lock acquired, processing the job...
[2025-01-12 00:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:52:03] Production.INFO: ==13682== Lock acquired, processing the job...
[2025-01-12 00:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:52:03] Production.INFO: ==13686== Lock acquired, processing the job...
[2025-01-12 00:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:52:03] Production.INFO: ==13684== Lock acquired, processing the job...
[2025-01-12 00:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 00:52:03] Production.INFO: count ==21
[2025-01-12 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-01-12 00:52:03] Production.INFO: count ==21
[2025-01-12 00:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228046') start
[2025-01-12 00:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:52:04] Production.INFO: ==13680== Releasing lock...
[2025-01-12 00:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:52:04] Production.INFO: Account Balance Start.
[2025-01-12 00:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228046') end
[2025-01-12 00:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:52:04] Production.INFO: 1
[2025-01-12 00:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:52:04] Production.INFO: 117
[2025-01-12 00:52:04] Production.INFO: ==13688== Releasing lock...
[2025-01-12 00:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:52:04] Production.ERROR: done
[2025-01-12 00:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:52:04] Production.INFO: Total Charge 0
[2025-01-12 00:52:04] Production.INFO: CreateAllLog End
[2025-01-12 00:52:04] Production.ERROR: done
[2025-01-12 00:52:04] Production.INFO: Account Balance End.
[2025-01-12 00:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:52:04] Production.INFO: ==13684== Releasing lock...
[2025-01-12 00:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:52:05
[end_date_ymd] => 2025-01-12 00:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:52:05' and `end` < '2025-01-12 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-01-12 00:52:10] Production.ERROR: CronJobId end10
[2025-01-12 00:52:10] Production.INFO: ==13682== Releasing lock...
[2025-01-12 00:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:52:13] Production.INFO: call_cost start
[2025-01-12 00:52:13] Production.INFO: call_cost end
[2025-01-12 00:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:52:14] Production.INFO: ==13678== Releasing lock...
[2025-01-12 00:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:52:19] Production.INFO: count ==434
[2025-01-12 00:52:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:52:05 - End Time 2025-01-12 00:52:05
[2025-01-12 00:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228048', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228048', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228048', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228048', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:52:19] Production.INFO: ProcessCDR(1,14228048,1,1,2)
[2025-01-12 00:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228048', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228048', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:52:23] Production.INFO: ==13686== Releasing lock...
[2025-01-12 00:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:52:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 05:53:02] Production.INFO: ==13751== Lock acquired, processing the job...
[2025-01-12 05:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:53:02] Production.INFO: neon service started
[2025-01-12 05:53:02] Production.INFO: neon service started
[2025-01-12 05:53:02] Production.INFO: ==13751== Releasing lock...
[2025-01-12 05:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:53:02] Production.INFO: ==13755== Lock acquired, processing the job...
[2025-01-12 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:53:02] Production.INFO: ==13755== Releasing lock...
[2025-01-12 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:53:02] Production.INFO: ==13753== Lock acquired, processing the job...
[2025-01-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:53:02] Production.INFO: ==13753== Releasing lock...
[2025-01-12 00:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:53:03] Production.INFO: ==13762== Lock acquired, processing the job...
[2025-01-12 00:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:53:03] Production.INFO: ==13760== Lock acquired, processing the job...
[2025-01-12 00:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:53:03] Production.INFO: ==13757== Lock acquired, processing the job...
[2025-01-12 00:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:53:03] Production.INFO: ==13764== Lock acquired, processing the job...
[2025-01-12 00:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:53:03] Production.INFO: Account Balance Start.
[2025-01-12 00:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:53:03] Production.INFO: 117
[2025-01-12 00:53:03] Production.INFO: ==13766== Lock acquired, processing the job...
[2025-01-12 00:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:53:04] Production.INFO: ==13768== Lock acquired, processing the job...
[2025-01-12 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:53:04] Production.INFO: Total Charge 0
[2025-01-12 00:53:04] Production.INFO: CreateAllLog End
[2025-01-12 00:53:04] Production.INFO: ==13760== Releasing lock...
[2025-01-12 00:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 00:53:04] Production.INFO: count ==21
[2025-01-12 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-01-12 00:53:04] Production.INFO: count ==21
[2025-01-12 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228052') start
[2025-01-12 00:53:04] Production.ERROR: done
[2025-01-12 00:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:53:04] Production.INFO: Account Balance End.
[2025-01-12 00:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228052') end
[2025-01-12 00:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:53:04] Production.INFO: 1
[2025-01-12 00:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:53:04] Production.INFO: ==13764== Releasing lock...
[2025-01-12 00:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:53:04] Production.ERROR: done
[2025-01-12 00:53:04] Production.INFO: ==13768== Releasing lock...
[2025-01-12 00:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:53:05
[end_date_ymd] => 2025-01-12 00:53:05
[RateCDR] => 1
)
[2025-01-12 00:53:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:53:05' and `end` < '2025-01-12 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-01-12 00:53:11] Production.ERROR: CronJobId end10
[2025-01-12 00:53:11] Production.INFO: ==13762== Releasing lock...
[2025-01-12 00:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:53:14] Production.INFO: call_cost start
[2025-01-12 00:53:14] Production.INFO: call_cost end
[2025-01-12 00:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:53:14] Production.INFO: ==13757== Releasing lock...
[2025-01-12 00:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:53:19] Production.INFO: count ==448
[2025-01-12 00:53:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:53:05 - End Time 2025-01-12 00:53:05
[2025-01-12 00:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228053', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228053', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228053', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228053', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:53:19] Production.INFO: ProcessCDR(1,14228053,1,1,2)
[2025-01-12 00:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228053', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228053', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:53:22] Production.INFO: ==13766== Releasing lock...
[2025-01-12 00:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:53:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 05:54:01] Production.INFO: ==13826== Lock acquired, processing the job...
[2025-01-12 05:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:54:01] Production.INFO: neon service started
[2025-01-12 05:54:01] Production.INFO: neon service started
[2025-01-12 05:54:01] Production.INFO: ==13826== Releasing lock...
[2025-01-12 05:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:54:01] Production.INFO: ==13830== Lock acquired, processing the job...
[2025-01-12 05:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:54:01] Production.INFO: ==13830== Releasing lock...
[2025-01-12 05:54:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:54:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:54:02] Production.INFO: ==13828== Lock acquired, processing the job...
[2025-01-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:54:02] Production.INFO: ==13828== Releasing lock...
[2025-01-12 00:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:54:03] Production.INFO: ==13839== Lock acquired, processing the job...
[2025-01-12 00:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:54:03] Production.INFO: Account Balance Start.
[2025-01-12 00:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:54:03] Production.INFO: 117
[2025-01-12 00:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:54:03] Production.INFO: ==13843== Lock acquired, processing the job...
[2025-01-12 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:54:03] Production.INFO: ==13835== Lock acquired, processing the job...
[2025-01-12 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:54:03] Production.INFO: ==13832== Lock acquired, processing the job...
[2025-01-12 00:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 00: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-01-12 00:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:54:03] Production.INFO: count ==21
[2025-01-12 00: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-01-12 00:54:03] Production.INFO: count ==21
[2025-01-12 00:54:03] Production.INFO: ==13841== Lock acquired, processing the job...
[2025-01-12 00:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:54:03] Production.INFO: ==13837== Lock acquired, processing the job...
[2025-01-12 00:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228055') start
[2025-01-12 00:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:54:03] Production.INFO: Total Charge 0
[2025-01-12 00:54:03] Production.INFO: CreateAllLog End
[2025-01-12 00:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228055') end
[2025-01-12 00:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:54:03] Production.INFO: 1
[2025-01-12 00:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:54:03] Production.INFO: ==13843== Releasing lock...
[2025-01-12 00:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:54:03] Production.INFO: ==13835== Releasing lock...
[2025-01-12 00:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:54:03] Production.ERROR: done
[2025-01-12 00:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:54:03] Production.INFO: Account Balance End.
[2025-01-12 00:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:54:04] Production.INFO: ==13839== Releasing lock...
[2025-01-12 00:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:54:04] Production.ERROR: done
[2025-01-12 00:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:54:05
[end_date_ymd] => 2025-01-12 00:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:54:05' and `end` < '2025-01-12 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-01-12 00:54:10] Production.ERROR: CronJobId end10
[2025-01-12 00:54:10] Production.INFO: ==13837== Releasing lock...
[2025-01-12 00:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:54:12] Production.INFO: call_cost start
[2025-01-12 00:54:12] Production.INFO: call_cost end
[2025-01-12 00:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:54:13] Production.INFO: ==13832== Releasing lock...
[2025-01-12 00:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:54:18] Production.INFO: count ==448
[2025-01-12 00:54:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:54:05 - End Time 2025-01-12 00:54:05
[2025-01-12 00:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228058', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228058', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228058', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228058', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:54:18] Production.INFO: ProcessCDR(1,14228058,1,1,2)
[2025-01-12 00:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228058', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228058', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:54:21] Production.INFO: ==13841== Releasing lock...
[2025-01-12 00:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:54:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 05:55:01] Production.INFO: ==13905== Lock acquired, processing the job...
[2025-01-12 05:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:55:01] Production.INFO: neon service started
[2025-01-12 05:55:02] Production.INFO: neon service started
[2025-01-12 05:55:02] Production.INFO: ==13905== Releasing lock...
[2025-01-12 05:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:55:02] Production.INFO: ==13907== Lock acquired, processing the job...
[2025-01-12 00:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:55:02] Production.INFO: ==13909== Lock acquired, processing the job...
[2025-01-12 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:55:02] Production.INFO: ==13909== Releasing lock...
[2025-01-12 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:55:03] Production.INFO: ==13907== Releasing lock...
[2025-01-12 00:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:55:03] Production.INFO: ==13918== Lock acquired, processing the job...
[2025-01-12 00:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:55:03] Production.INFO: Account Balance Start.
[2025-01-12 00:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:55:03] Production.INFO: 117
[2025-01-12 00:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:55:03] Production.INFO: ==13922== Lock acquired, processing the job...
[2025-01-12 00:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:55:04] Production.INFO: ==13912== Lock acquired, processing the job...
[2025-01-12 00:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 00:55:04] Production.INFO: ==13914== Lock acquired, processing the job...
[2025-01-12 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:55:04] Production.INFO: Total Charge 0
[2025-01-12 00:55:04] Production.INFO: CreateAllLog End
[2025-01-12 00:55:04] Production.INFO: count ==21
[2025-01-12 00:55:04] Production.INFO: ==13920== Lock acquired, processing the job...
[2025-01-12 00:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:55:04] Production.INFO: ==13916== Lock acquired, processing the job...
[2025-01-12 00:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 00:55:04] Production.INFO: count ==21
[2025-01-12 00:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228060') start
[2025-01-12 00:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228060') end
[2025-01-12 00:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:55:04] Production.INFO: 1
[2025-01-12 00:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:55:04] Production.INFO: Account Balance End.
[2025-01-12 00:55:04] Production.INFO: ==13922== Releasing lock...
[2025-01-12 00:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:55:04] Production.INFO: ==13918== Releasing lock...
[2025-01-12 00:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:55:04] Production.INFO: ==13914== Releasing lock...
[2025-01-12 00:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:55:04] Production.ERROR: done
[2025-01-12 00:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:55:04] Production.ERROR: done
[2025-01-12 00:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:55:05
[end_date_ymd] => 2025-01-12 00:55:05
[RateCDR] => 1
)
[2025-01-12 00:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:55:05' and `end` < '2025-01-12 00:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:55: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,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-01-12 00:55:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:55:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:55:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:55:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:55:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:55:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:55:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:55:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:55:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:55:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:55:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:55:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:55:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:55:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:55:11] Production.ERROR: CronJobId end10
[2025-01-12 00:55:11] Production.INFO: ==13916== Releasing lock...
[2025-01-12 00:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:55:12] Production.INFO: call_cost start
[2025-01-12 00:55:12] Production.INFO: call_cost end
[2025-01-12 00:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:55:13] Production.INFO: ==13912== Releasing lock...
[2025-01-12 00:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:55:18] Production.INFO: count ==443
[2025-01-12 00:55:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:55:05 - End Time 2025-01-12 00:55:05
[2025-01-12 00:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228063', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228063', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228063', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228063', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:55:18] Production.INFO: ProcessCDR(1,14228063,1,1,2)
[2025-01-12 00:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228063', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228063', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:55:22] Production.INFO: ==13920== Releasing lock...
[2025-01-12 00:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:55:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 05:56:01] Production.INFO: ==13983== Lock acquired, processing the job...
[2025-01-12 05:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:56:01] Production.INFO: neon service started
[2025-01-12 05:56:01] Production.INFO: neon service started
[2025-01-12 05:56:01] Production.INFO: ==13983== Releasing lock...
[2025-01-12 05:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:56:01] Production.INFO: ==13987== Lock acquired, processing the job...
[2025-01-12 05:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:56:01] Production.INFO: ==13987== Releasing lock...
[2025-01-12 05:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:56:01] Production.INFO: ==13985== Lock acquired, processing the job...
[2025-01-12 00:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:56:02] Production.INFO: ==13985== Releasing lock...
[2025-01-12 00:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:56:02] Production.INFO: ==13989== Lock acquired, processing the job...
[2025-01-12 00:56:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:56:03] Production.INFO: ==13993== Lock acquired, processing the job...
[2025-01-12 00:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:56:03] Production.INFO: ==13991== Lock acquired, processing the job...
[2025-01-12 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:56:03] Production.INFO: ==13995== Lock acquired, processing the job...
[2025-01-12 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:56:03] Production.INFO: ==13991== Releasing lock...
[2025-01-12 00:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:56:03] Production.INFO: Account Balance Start.
[2025-01-12 00:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:56:03] Production.INFO: 117
[2025-01-12 00:56:03] Production.INFO: ==13997== Lock acquired, processing the job...
[2025-01-12 00:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:56:03] Production.INFO: ==13999== Lock acquired, processing the job...
[2025-01-12 00:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:56:03] Production.INFO: Total Charge 0
[2025-01-12 00:56:03] Production.INFO: CreateAllLog End
[2025-01-12 00: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-01-12 00:56:03] Production.INFO: count ==21
[2025-01-12 00:56:03] Production.ERROR: done
[2025-01-12 00: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-01-12 00:56:03] Production.INFO: count ==21
[2025-01-12 00:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228067') start
[2025-01-12 00:56:03] Production.INFO: Account Balance End.
[2025-01-12 00:56:03] Production.ERROR: CronJobId end 12
[2025-01-12 00:56:03] Production.INFO: ==13995== Releasing lock...
[2025-01-12 00:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:56:03] Production.ERROR: done
[2025-01-12 00:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228067') end
[2025-01-12 00:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:56:03] Production.INFO: 1
[2025-01-12 00:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:56:04] Production.INFO: ==13999== Releasing lock...
[2025-01-12 00:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:56:04
[end_date_ymd] => 2025-01-12 00:56:04
[RateCDR] => 1
)
[2025-01-12 00: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-01-11 21:56:04' and `end` < '2025-01-12 00: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-01-12 00:56:10] Production.ERROR: CronJobId end10
[2025-01-12 00:56:10] Production.INFO: ==13993== Releasing lock...
[2025-01-12 00:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:56:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:56:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:56:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:56:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:56:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:56:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:56:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:56:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:56:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:56:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:56:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:56:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:56:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:56:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:56:12] Production.INFO: call_cost start
[2025-01-12 00:56:12] Production.INFO: call_cost end
[2025-01-12 00:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:56:13] Production.INFO: ==13989== Releasing lock...
[2025-01-12 00:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:56:18] Production.INFO: count ==442
[2025-01-12 00:56:18] Production.ERROR: pbx CDR StartTime 2025-01-11 21:56:04 - End Time 2025-01-12 00:56:04
[2025-01-12 00:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228068', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228068', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228068', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228068', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:56:18] Production.INFO: ProcessCDR(1,14228068,1,1,2)
[2025-01-12 00:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228068', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228068', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:56:21] Production.INFO: ==13997== Releasing lock...
[2025-01-12 00:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:56:21] Production.INFO: 32 MB #Memory Used#
[2025-01-12 05:57:01] Production.INFO: ==14060== Lock acquired, processing the job...
[2025-01-12 05:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:57:01] Production.INFO: neon service started
[2025-01-12 05:57:01] Production.INFO: neon service started
[2025-01-12 05:57:01] Production.INFO: ==14060== Releasing lock...
[2025-01-12 05:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:57:02] Production.INFO: ==14062== Lock acquired, processing the job...
[2025-01-12 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:57:02] Production.INFO: ==14064== Lock acquired, processing the job...
[2025-01-12 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:57:02] Production.INFO: ==14064== Releasing lock...
[2025-01-12 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:57:02] Production.INFO: ==14062== Releasing lock...
[2025-01-12 00:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:57:03] Production.INFO: ==14067== Lock acquired, processing the job...
[2025-01-12 00:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:57:03] Production.INFO: ==14073== Lock acquired, processing the job...
[2025-01-12 00:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:57:03] Production.INFO: ==14069== Lock acquired, processing the job...
[2025-01-12 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:57:03] Production.INFO: Account Balance Start.
[2025-01-12 00:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:57:03] Production.INFO: 117
[2025-01-12 00:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:57:03] Production.INFO: Total Charge 0
[2025-01-12 00:57:03] Production.INFO: ==14071== Lock acquired, processing the job...
[2025-01-12 00:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:57:03] Production.INFO: CreateAllLog End
[2025-01-12 00:57:03] Production.INFO: ==14069== Releasing lock...
[2025-01-12 00:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:57:04] Production.INFO: ==14075== Lock acquired, processing the job...
[2025-01-12 00:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:57:04] Production.INFO: ==14077== Lock acquired, processing the job...
[2025-01-12 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:57:04] Production.INFO: Account Balance End.
[2025-01-12 00:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:57:04] Production.INFO: ==14073== Releasing lock...
[2025-01-12 00:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:57:04] Production.ERROR: done
[2025-01-12 00:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 00:57:04] Production.INFO: count ==21
[2025-01-12 00:57:04] Production.ERROR: done
[2025-01-12 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-01-12 00:57:04] Production.INFO: count ==21
[2025-01-12 00:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228072') start
[2025-01-12 00:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228072') end
[2025-01-12 00:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:57:04] Production.INFO: 1
[2025-01-12 00:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:57:04] Production.INFO: ==14077== Releasing lock...
[2025-01-12 00:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:57:05
[end_date_ymd] => 2025-01-12 00:57:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:57:05' and `end` < '2025-01-12 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-01-12 00:57:10] Production.ERROR: CronJobId end10
[2025-01-12 00:57:10] Production.INFO: ==14071== Releasing lock...
[2025-01-12 00:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:57:13] Production.INFO: call_cost start
[2025-01-12 00:57:13] Production.INFO: call_cost end
[2025-01-12 00:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:57:14] Production.INFO: ==14067== Releasing lock...
[2025-01-12 00:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:57:18] Production.INFO: count ==459
[2025-01-12 00:57:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:57:05 - End Time 2025-01-12 00:57:05
[2025-01-12 00:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228073', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228073', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228073', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228073', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:57:19] Production.INFO: ProcessCDR(1,14228073,1,1,2)
[2025-01-12 00:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228073,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228073,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228073', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228073', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:57:22] Production.INFO: ==14075== Releasing lock...
[2025-01-12 00:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:57:22] Production.INFO: 32 MB #Memory Used#
[2025-01-12 05:58:02] Production.INFO: ==14136== Lock acquired, processing the job...
[2025-01-12 05:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:58:02] Production.INFO: neon service started
[2025-01-12 05:58:02] Production.INFO: neon service started
[2025-01-12 05:58:02] Production.INFO: ==14136== Releasing lock...
[2025-01-12 05:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:58:02] Production.INFO: ==14140== Lock acquired, processing the job...
[2025-01-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:58:02] Production.INFO: ==14140== Releasing lock...
[2025-01-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:58:02] Production.INFO: ==14138== Lock acquired, processing the job...
[2025-01-12 00:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:58:03] Production.INFO: ==14138== Releasing lock...
[2025-01-12 00:58:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:58:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 00:58:03] Production.INFO: ==14146== Lock acquired, processing the job...
[2025-01-12 00:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 00:58:03] Production.INFO: ==14153== Lock acquired, processing the job...
[2025-01-12 00:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:58:04] Production.INFO: ==14144== Lock acquired, processing the job...
[2025-01-12 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:58:04] Production.INFO: ==14142== Lock acquired, processing the job...
[2025-01-12 00:58:04] Production.INFO: count ==21
[2025-01-12 00:58:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:58:04] Production.INFO: count ==21
[2025-01-12 00:58:04] Production.INFO: ==14148== Lock acquired, processing the job...
[2025-01-12 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228074') start
[2025-01-12 00:58:04] Production.INFO: ==14150== Lock acquired, processing the job...
[2025-01-12 00:58:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228074') end
[2025-01-12 00:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:58:04] Production.INFO: 1
[2025-01-12 00:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:58:04] Production.INFO: Account Balance Start.
[2025-01-12 00:58:04] Production.INFO: CreateAllLog Start
[2025-01-12 00:58:04] Production.INFO: 117
[2025-01-12 00:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 00:58:04] Production.INFO: ==14153== Releasing lock...
[2025-01-12 00:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 00:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 00:58:04] Production.INFO: ==14144== Releasing lock...
[2025-01-12 00:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:58:04] Production.INFO: Total Charge 0
[2025-01-12 00:58:04] Production.INFO: CreateAllLog End
[2025-01-12 00:58:04] Production.ERROR: done
[2025-01-12 00:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:58:04] Production.INFO: Account Balance End.
[2025-01-12 00:58:04] Production.ERROR: done
[2025-01-12 00:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:58:04] Production.INFO: ==14148== Releasing lock...
[2025-01-12 00:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:58:05
[end_date_ymd] => 2025-01-12 00:58:05
[RateCDR] => 1
)
[2025-01-12 00:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 21:58:05' and `end` < '2025-01-12 00:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 00:58:11] Production.ERROR: CronJobId end10
[2025-01-12 00:58:11] Production.INFO: ==14146== Releasing lock...
[2025-01-12 00:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:58:13] Production.INFO: call_cost start
[2025-01-12 00:58:13] Production.INFO: call_cost end
[2025-01-12 00:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:58:14] Production.INFO: ==14142== Releasing lock...
[2025-01-12 00:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:58:20] Production.INFO: count ==462
[2025-01-12 00:58:20] Production.ERROR: pbx CDR StartTime 2025-01-11 21:58:05 - End Time 2025-01-12 00:58:05
[2025-01-12 00:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228078', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228078', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228078', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228078', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:58:20] Production.INFO: ProcessCDR(1,14228078,1,1,2)
[2025-01-12 00:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228078,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228078,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228078', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228078', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:58:23] Production.INFO: ==14150== Releasing lock...
[2025-01-12 00:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:58:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 05:59:01] Production.INFO: ==14252== Lock acquired, processing the job...
[2025-01-12 05:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 05:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 05:59:01] Production.INFO: neon service started
[2025-01-12 05:59:01] Production.INFO: neon service started
[2025-01-12 05:59:01] Production.INFO: ==14252== Releasing lock...
[2025-01-12 05:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 05:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 00:59:02] Production.INFO: ==14254== Lock acquired, processing the job...
[2025-01-12 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 00:59:02] Production.INFO: ==14254== Releasing lock...
[2025-01-12 00:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 00:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:59:02] Production.INFO: ==14256== Lock acquired, processing the job...
[2025-01-12 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:59:02] Production.INFO: ==14256== Releasing lock...
[2025-01-12 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 05:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 00:59:03] Production.INFO: ==14260== Lock acquired, processing the job...
[2025-01-12 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 00:59:03] Production.INFO: ==14269== Lock acquired, processing the job...
[2025-01-12 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 00:59:03] Production.INFO: ==14258== Lock acquired, processing the job...
[2025-01-12 00:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 00:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 00:59:03] Production.INFO: ==14264== Lock acquired, processing the job...
[2025-01-12 00:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 00:59:03] Production.INFO: ==14262== Lock acquired, processing the job...
[2025-01-12 00:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 00:59:03] Production.INFO: count ==21
[2025-01-12 00:59:03] Production.INFO: ==14266== Lock acquired, processing the job...
[2025-01-12 00:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 00:59:03] Production.INFO: ==14260== Releasing lock...
[2025-01-12 00:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 00:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 00:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 00:59:03] Production.INFO: count ==21
[2025-01-12 00:59:03] Production.INFO: Account Balance Start.
[2025-01-12 00:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 00:59:03] Production.INFO: 117
[2025-01-12 00:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 00:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 00:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 00:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228080') start
[2025-01-12 00:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 00:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228080') end
[2025-01-12 00:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 00:59:03] Production.INFO: 1
[2025-01-12 00:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 00:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:59:03] Production.INFO: ==14269== Releasing lock...
[2025-01-12 00:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 00:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 00:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 00:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 00:59:03] Production.INFO: Total Charge 0
[2025-01-12 00:59:03] Production.INFO: CreateAllLog End
[2025-01-12 00:59:04] Production.ERROR: done
[2025-01-12 00:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 00:59:04] Production.ERROR: done
[2025-01-12 00:59:04] Production.INFO: Account Balance End.
[2025-01-12 00:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 00:59:04] Production.INFO: ==14264== Releasing lock...
[2025-01-12 00:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 00:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 00:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 21:59:05
[end_date_ymd] => 2025-01-12 00:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 21:59:05' and `end` < '2025-01-12 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-01-12 00:59:10] Production.ERROR: CronJobId end10
[2025-01-12 00:59:10] Production.INFO: ==14262== Releasing lock...
[2025-01-12 00:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 00:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 00:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 00:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 00:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 00:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 00:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 00:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 00:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 00:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 00:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 00:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 00:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 00:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 00:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 00:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 00:59:13] Production.INFO: call_cost start
[2025-01-12 00:59:13] Production.INFO: call_cost end
[2025-01-12 00:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 00:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 00:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 00:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 00:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 00:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 00:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 00:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 00:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 00:59:13] Production.INFO: ==14258== Releasing lock...
[2025-01-12 00:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 00:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 00:59:19] Production.INFO: count ==459
[2025-01-12 00:59:19] Production.ERROR: pbx CDR StartTime 2025-01-11 21:59:05 - End Time 2025-01-12 00:59:05
[2025-01-12 00:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228083', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228083', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228083', 'tblTempVendorCDR_20' ) start
[2025-01-12 00:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228083', 'tblTempVendorCDR_20' ) end
[2025-01-12 00:59:19] Production.INFO: ProcessCDR(1,14228083,1,1,2)
[2025-01-12 00:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228083,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 00:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228083,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228083', 'tblTempUsageDetail_20' ) start
[2025-01-12 00:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228083', 'tblTempUsageDetail_20' ) end
[2025-01-12 00:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 00:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 00:59:22] Production.INFO: ==14266== Releasing lock...
[2025-01-12 00:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 00:59:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 06:00:02] Production.INFO: ==14325== Lock acquired, processing the job...
[2025-01-12 06:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:00:02] Production.INFO: neon service started
[2025-01-12 06:00:02] Production.INFO: neon service started
[2025-01-12 06:00:02] Production.INFO: ==14325== Releasing lock...
[2025-01-12 06:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:00:02] Production.INFO: ==14327== Lock acquired, processing the job...
[2025-01-12 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:00:02] Production.INFO: ==14329== Lock acquired, processing the job...
[2025-01-12 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:00:02] Production.INFO: ==14327== Releasing lock...
[2025-01-12 01:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:00:02] Production.INFO: ==14329== Releasing lock...
[2025-01-12 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:00:03] Production.INFO: ==14332== Lock acquired, processing the job...
[2025-01-12 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 01:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 01:00:03] Production.INFO: ==14334== Lock acquired, processing the job...
[2025-01-12 01:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 01:00:03] Production.INFO: ==14332== Releasing lock...
[2025-01-12 01:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 01:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 01:00:03] Production.INFO: ==14338== Lock acquired, processing the job...
[2025-01-12 01:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:00:03] Production.INFO: ==14340== Lock acquired, processing the job...
[2025-01-12 01:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:00:04] Production.INFO: ==14336== Lock acquired, processing the job...
[2025-01-12 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:00:04] Production.INFO: Account Balance Start.
[2025-01-12 01:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:00:04] Production.INFO: 117
[2025-01-12 01:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:00:04] Production.INFO: ==14344== Lock acquired, processing the job...
[2025-01-12 01:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 01:00:04] Production.INFO: ==14342== Lock acquired, processing the job...
[2025-01-12 01:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:00:04] Production.INFO: ==14346== Lock acquired, processing the job...
[2025-01-12 01:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:00:04] Production.INFO: ==14336== Releasing lock...
[2025-01-12 01:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:00:04] Production.INFO: Total Charge 0
[2025-01-12 01:00:04] Production.INFO: CreateAllLog End
[2025-01-12 01:00:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:00:04] Production.INFO: count ==21
[2025-01-12 01:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228087') start
[2025-01-12 01:00:05] Production.ERROR: done
[2025-01-12 01:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228087') end
[2025-01-12 01:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:00:05] Production.INFO: 1
[2025-01-12 01:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:00:05] Production.ERROR: done
[2025-01-12 01:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:00:05] Production.INFO: ==14346== Releasing lock...
[2025-01-12 01:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:00:05] Production.INFO: Account Balance End.
[2025-01-12 01:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 01:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228088', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 01:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 01:00:05] Production.INFO: ==14340== Releasing lock...
[2025-01-12 01:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:00:05] Production.ERROR: done
[2025-01-12 01:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:00:06
[end_date_ymd] => 2025-01-12 01:00:06
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:00:06' and `end` < '2025-01-12 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-01-12 01:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228088', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 01:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 01:00:09] Production.INFO: ProcessCDR(1,14228088,1,1,2)
[2025-01-12 01:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228088,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:00:09] Production.INFO: ==14344== Releasing lock...
[2025-01-12 01:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 01:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 01:00: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: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-01-12 01:00:13] Production.ERROR: CronJobId end10
[2025-01-12 01:00:13] Production.INFO: ==14338== Releasing lock...
[2025-01-12 01:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:00:15] Production.INFO: call_cost start
[2025-01-12 01:00:15] Production.INFO: call_cost end
[2025-01-12 01:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:00:15] Production.INFO: ==14334== Releasing lock...
[2025-01-12 01:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:00:20] Production.INFO: count ==467
[2025-01-12 01:00:21] Production.ERROR: pbx CDR StartTime 2025-01-11 22:00:06 - End Time 2025-01-12 01:00:06
[2025-01-12 01:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228089', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228089', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228089', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228089', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:00:21] Production.INFO: ProcessCDR(1,14228089,1,1,2)
[2025-01-12 01:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228089', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228089', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:00:24] Production.INFO: ==14342== Releasing lock...
[2025-01-12 01:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:00:24] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 06:01:01] Production.INFO: ==14408== Lock acquired, processing the job...
[2025-01-12 06:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:01:01] Production.INFO: neon service started
[2025-01-12 06:01:01] Production.INFO: neon service started
[2025-01-12 06:01:01] Production.INFO: ==14408== Releasing lock...
[2025-01-12 06:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:01:02] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-01-12 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:01:02] Production.INFO: ==14425== Lock acquired, processing the job...
[2025-01-12 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:01:02] Production.INFO: ==14425== Releasing lock...
[2025-01-12 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:01:02] Production.INFO: ==14423== Releasing lock...
[2025-01-12 01:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:01:03] Production.INFO: ==14427== Lock acquired, processing the job...
[2025-01-12 01:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:01:03] Production.INFO: ==14429== Lock acquired, processing the job...
[2025-01-12 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:01:03] Production.INFO: ==14436== Lock acquired, processing the job...
[2025-01-12 01:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:01:03] Production.INFO: ==14431== Lock acquired, processing the job...
[2025-01-12 01:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:01:03] Production.INFO: ==14434== Lock acquired, processing the job...
[2025-01-12 01:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:01:03] Production.INFO: ==14438== Lock acquired, processing the job...
[2025-01-12 01:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:01:03] Production.INFO: ==14429== Releasing lock...
[2025-01-12 01:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:01:03] Production.INFO: Account Balance Start.
[2025-01-12 01:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:01:03] Production.INFO: 117
[2025-01-12 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-01-12 01:01:03] Production.ERROR: done
[2025-01-12 01:01:03] Production.INFO: count ==21
[2025-01-12 01:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:01:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:01:04] Production.INFO: count ==21
[2025-01-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228093') start
[2025-01-12 01:01:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:01:04] Production.ERROR: done
[2025-01-12 01:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228093') end
[2025-01-12 01:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:01:04] Production.INFO: 1
[2025-01-12 01:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:01:04] Production.INFO: ==14438== Releasing lock...
[2025-01-12 01:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:01:04] Production.INFO: Total Charge 0
[2025-01-12 01:01:04] Production.INFO: CreateAllLog End
[2025-01-12 01:01:04] Production.INFO: Account Balance End.
[2025-01-12 01:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:01:04] Production.INFO: ==14434== Releasing lock...
[2025-01-12 01:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:01:05
[end_date_ymd] => 2025-01-12 01:01:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:01:05' and `end` < '2025-01-12 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-01-12 01:01:12] Production.ERROR: CronJobId end10
[2025-01-12 01:01:12] Production.INFO: ==14431== Releasing lock...
[2025-01-12 01:01:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:01:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:01:14] Production.INFO: call_cost start
[2025-01-12 01:01:14] Production.INFO: call_cost end
[2025-01-12 01:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:01:15] Production.INFO: ==14427== Releasing lock...
[2025-01-12 01:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:01:18] Production.INFO: count ==487
[2025-01-12 01:01:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:01:05 - End Time 2025-01-12 01:01:05
[2025-01-12 01:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228094', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228094', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228094', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228094', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:01:18] Production.INFO: ProcessCDR(1,14228094,1,1,2)
[2025-01-12 01:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228094', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228094', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:01:22] Production.INFO: ==14436== Releasing lock...
[2025-01-12 01:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:01:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:02:02] Production.INFO: ==14490== Lock acquired, processing the job...
[2025-01-12 06:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:02:02] Production.INFO: neon service started
[2025-01-12 06:02:02] Production.INFO: neon service started
[2025-01-12 06:02:02] Production.INFO: ==14490== Releasing lock...
[2025-01-12 06:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:02:02] Production.INFO: ==14492== Lock acquired, processing the job...
[2025-01-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:02:02] Production.INFO: ==14492== Releasing lock...
[2025-01-12 01:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:02:02] Production.INFO: ==14494== Lock acquired, processing the job...
[2025-01-12 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:02:02] Production.INFO: ==14494== Releasing lock...
[2025-01-12 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:02:03] Production.INFO: ==14497== Lock acquired, processing the job...
[2025-01-12 01:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:02:03] Production.INFO: ==14501== Lock acquired, processing the job...
[2025-01-12 01:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:02:03] Production.INFO: ==14503== Lock acquired, processing the job...
[2025-01-12 01:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:02:03] Production.INFO: ==14499== Lock acquired, processing the job...
[2025-01-12 01:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:02:03] Production.INFO: Account Balance Start.
[2025-01-12 01:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:02:03] Production.INFO: 117
[2025-01-12 01:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:02:03] Production.INFO: ==14505== Lock acquired, processing the job...
[2025-01-12 01:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:02:04] Production.INFO: ==14507== Lock acquired, processing the job...
[2025-01-12 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:02:04] Production.INFO: ==14499== Releasing lock...
[2025-01-12 01:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:02:04] Production.INFO: Total Charge 0
[2025-01-12 01:02:04] Production.INFO: CreateAllLog End
[2025-01-12 01:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:02:04] Production.INFO: count ==21
[2025-01-12 01:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:02:04] Production.INFO: count ==21
[2025-01-12 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228098') start
[2025-01-12 01:02:04] Production.ERROR: done
[2025-01-12 01:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:02:04] Production.INFO: Account Balance End.
[2025-01-12 01:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:02:04] Production.INFO: ==14503== Releasing lock...
[2025-01-12 01:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:02:04] Production.ERROR: done
[2025-01-12 01:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228098') end
[2025-01-12 01:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:02:04] Production.INFO: 1
[2025-01-12 01:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:02:04] Production.INFO: ==14507== Releasing lock...
[2025-01-12 01:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:02:05
[end_date_ymd] => 2025-01-12 01:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:02:05' and `end` < '2025-01-12 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-01-12 01:02:10] Production.ERROR: CronJobId end10
[2025-01-12 01:02:10] Production.INFO: ==14501== Releasing lock...
[2025-01-12 01:02:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:02:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:02:13] Production.INFO: call_cost start
[2025-01-12 01:02:13] Production.INFO: call_cost end
[2025-01-12 01:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:02:14] Production.INFO: ==14497== Releasing lock...
[2025-01-12 01:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:02:19] Production.INFO: count ==487
[2025-01-12 01:02:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:02:05 - End Time 2025-01-12 01:02:05
[2025-01-12 01:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228099', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228099', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228099', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228099', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:02:20] Production.INFO: ProcessCDR(1,14228099,1,1,2)
[2025-01-12 01:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228099', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228099', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:02:23] Production.INFO: ==14505== Releasing lock...
[2025-01-12 01:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:02:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:03:01] Production.INFO: ==14568== Lock acquired, processing the job...
[2025-01-12 06:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:03:01] Production.INFO: neon service started
[2025-01-12 06:03:01] Production.INFO: neon service started
[2025-01-12 06:03:01] Production.INFO: ==14568== Releasing lock...
[2025-01-12 06:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:03:01] Production.INFO: ==14570== Lock acquired, processing the job...
[2025-01-12 01:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:03:02] Production.INFO: ==14570== Releasing lock...
[2025-01-12 01:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:03:02] Production.INFO: ==14572== Lock acquired, processing the job...
[2025-01-12 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:03:02] Production.INFO: ==14572== Releasing lock...
[2025-01-12 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:03:02] Production.INFO: ==14580== Lock acquired, processing the job...
[2025-01-12 01:03:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:03:03] Production.INFO: ==14576== Lock acquired, processing the job...
[2025-01-12 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:03:03] Production.INFO: Account Balance Start.
[2025-01-12 01:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:03:03] Production.INFO: 117
[2025-01-12 01:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:03:03] Production.INFO: ==14574== Lock acquired, processing the job...
[2025-01-12 01:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:03:03] Production.INFO: ==14578== Lock acquired, processing the job...
[2025-01-12 01:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:03:03] Production.INFO: Total Charge 0
[2025-01-12 01:03:03] Production.INFO: ==14582== Lock acquired, processing the job...
[2025-01-12 01:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:03:03] Production.INFO: CreateAllLog End
[2025-01-12 01:03:03] Production.INFO: ==14576== Releasing lock...
[2025-01-12 01:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:03:03] Production.INFO: ==14584== Lock acquired, processing the job...
[2025-01-12 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:03:03] Production.INFO: Account Balance End.
[2025-01-12 01:03:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:03:03] Production.INFO: ==14580== Releasing lock...
[2025-01-12 01:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 01:03:03] Production.INFO: count ==21
[2025-01-12 01:03:03] Production.ERROR: done
[2025-01-12 01:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 01:03:03] Production.INFO: count ==21
[2025-01-12 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228103') start
[2025-01-12 01:03:03] Production.ERROR: done
[2025-01-12 01:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228103') end
[2025-01-12 01:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:03:03] Production.INFO: 1
[2025-01-12 01:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:03:03] Production.INFO: ==14584== Releasing lock...
[2025-01-12 01:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:03:04
[end_date_ymd] => 2025-01-12 01:03:04
[RateCDR] => 1
)
[2025-01-12 01:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:03:04' and `end` < '2025-01-12 01:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:03:11] Production.ERROR: CronJobId end10
[2025-01-12 01:03:11] Production.INFO: ==14578== Releasing lock...
[2025-01-12 01:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:03:13] Production.INFO: call_cost start
[2025-01-12 01:03:13] Production.INFO: call_cost end
[2025-01-12 01:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:03:13] Production.INFO: ==14574== Releasing lock...
[2025-01-12 01:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:03:19] Production.INFO: count ==487
[2025-01-12 01:03:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:03:04 - End Time 2025-01-12 01:03:04
[2025-01-12 01:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228104', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228104', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228104', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228104', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:03:19] Production.INFO: ProcessCDR(1,14228104,1,1,2)
[2025-01-12 01:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228104', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228104', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:03:22] Production.INFO: ==14582== Releasing lock...
[2025-01-12 01:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:03:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:04:01] Production.INFO: ==14639== Lock acquired, processing the job...
[2025-01-12 06:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:04:01] Production.INFO: neon service started
[2025-01-12 06:04:01] Production.INFO: neon service started
[2025-01-12 06:04:01] Production.INFO: ==14639== Releasing lock...
[2025-01-12 06:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:04:02] Production.INFO: ==14643== Lock acquired, processing the job...
[2025-01-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:04:02] Production.INFO: ==14643== Releasing lock...
[2025-01-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:04:02] Production.INFO: ==14641== Lock acquired, processing the job...
[2025-01-12 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:04:02] Production.INFO: ==14641== Releasing lock...
[2025-01-12 01:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:04:03] Production.INFO: ==14650== Lock acquired, processing the job...
[2025-01-12 01:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:04:03] Production.INFO: ==14646== Lock acquired, processing the job...
[2025-01-12 01:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:04:03] Production.INFO: ==14654== Lock acquired, processing the job...
[2025-01-12 01:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:04:03] Production.INFO: ==14648== Lock acquired, processing the job...
[2025-01-12 01:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:04:03] Production.INFO: ==14652== Lock acquired, processing the job...
[2025-01-12 01:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:04:03] Production.INFO: Account Balance Start.
[2025-01-12 01:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:04:03] Production.INFO: 117
[2025-01-12 01:04:03] Production.INFO: ==14656== Lock acquired, processing the job...
[2025-01-12 01:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:04:03] Production.ERROR: done
[2025-01-12 01:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:04:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:04:04] Production.INFO: count ==21
[2025-01-12 01:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:04:04] Production.INFO: count ==21
[2025-01-12 01:04:04] Production.ERROR: done
[2025-01-12 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228108') start
[2025-01-12 01:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:04:04] Production.INFO: Total Charge 0
[2025-01-12 01:04:04] Production.INFO: ==14648== Releasing lock...
[2025-01-12 01:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:04:04] Production.INFO: CreateAllLog End
[2025-01-12 01:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228108') end
[2025-01-12 01:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:04:04] Production.INFO: 1
[2025-01-12 01:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:04:04] Production.INFO: ==14656== Releasing lock...
[2025-01-12 01:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:04:04] Production.INFO: Account Balance End.
[2025-01-12 01:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:04:04] Production.INFO: ==14652== Releasing lock...
[2025-01-12 01:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:04:05
[end_date_ymd] => 2025-01-12 01:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:04:05' and `end` < '2025-01-12 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-01-12 01:04:10] Production.ERROR: CronJobId end10
[2025-01-12 01:04:10] Production.INFO: ==14650== Releasing lock...
[2025-01-12 01:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:04:12] Production.INFO: call_cost start
[2025-01-12 01:04:12] Production.INFO: call_cost end
[2025-01-12 01:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:04:13] Production.INFO: ==14646== Releasing lock...
[2025-01-12 01:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:04:18] Production.INFO: count ==487
[2025-01-12 01:04:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:04:05 - End Time 2025-01-12 01:04:05
[2025-01-12 01:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228109', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228109', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228109', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228109', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:04:18] Production.INFO: ProcessCDR(1,14228109,1,1,2)
[2025-01-12 01:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228109', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228109', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:04:22] Production.INFO: ==14654== Releasing lock...
[2025-01-12 01:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:04:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:05:02] Production.INFO: ==14712== Lock acquired, processing the job...
[2025-01-12 06:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:05:02] Production.INFO: neon service started
[2025-01-12 06:05:02] Production.INFO: neon service started
[2025-01-12 06:05:02] Production.INFO: ==14712== Releasing lock...
[2025-01-12 06:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:05:03] Production.INFO: ==14714== Lock acquired, processing the job...
[2025-01-12 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:05:03] Production.INFO: ==14716== Lock acquired, processing the job...
[2025-01-12 06:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:05:03] Production.INFO: ==14716== Releasing lock...
[2025-01-12 06:05:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:05:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:05:03] Production.INFO: ==14714== Releasing lock...
[2025-01-12 01:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:05:04] Production.INFO: ==14719== Lock acquired, processing the job...
[2025-01-12 01:05:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:05:04] Production.INFO: ==14723== Lock acquired, processing the job...
[2025-01-12 01:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:05:04] Production.INFO: ==14727== Lock acquired, processing the job...
[2025-01-12 01:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:05:04] Production.INFO: ==14721== Lock acquired, processing the job...
[2025-01-12 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:05:04] Production.INFO: ==14725== Lock acquired, processing the job...
[2025-01-12 01:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:05:04] Production.INFO: ==14729== Lock acquired, processing the job...
[2025-01-12 01:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:05:04] Production.INFO: Account Balance Start.
[2025-01-12 01:05:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:05:04] Production.INFO: 117
[2025-01-12 01:05:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:05:04] Production.INFO: ==14721== Releasing lock...
[2025-01-12 01:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:05:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:05:04] Production.INFO: count ==21
[2025-01-12 01:05:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:05:04] Production.INFO: count ==21
[2025-01-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228113') start
[2025-01-12 01:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:05:04] Production.ERROR: done
[2025-01-12 01:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:05:05] Production.INFO: Reseller ==> 0
[2025-01-12 01:05:05] Production.INFO: Total Charge 0
[2025-01-12 01:05:05] Production.INFO: CreateAllLog End
[2025-01-12 01:05:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228113') end
[2025-01-12 01:05:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:05:05] Production.INFO: 1
[2025-01-12 01:05:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:05:05] Production.ERROR: done
[2025-01-12 01:05:05] Production.INFO: ==14729== Releasing lock...
[2025-01-12 01:05:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:05:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:05:05] Production.INFO: Account Balance End.
[2025-01-12 01:05:05] Production.ERROR: CronJobId end 12
[2025-01-12 01:05:05] Production.INFO: ==14725== Releasing lock...
[2025-01-12 01:05:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:05:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:05:05
[end_date_ymd] => 2025-01-12 01:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:05:05' and `end` < '2025-01-12 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-01-12 01:05:12] Production.ERROR: CronJobId end10
[2025-01-12 01:05:12] Production.INFO: ==14723== Releasing lock...
[2025-01-12 01:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:05:13] Production.INFO: call_cost start
[2025-01-12 01:05:13] Production.INFO: call_cost end
[2025-01-12 01:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:05:14] Production.INFO: ==14719== Releasing lock...
[2025-01-12 01:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:05:20] Production.INFO: count ==486
[2025-01-12 01:05:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:05:05 - End Time 2025-01-12 01:05:05
[2025-01-12 01:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228114', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228114', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228114', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228114', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:05:20] Production.INFO: ProcessCDR(1,14228114,1,1,2)
[2025-01-12 01:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228114', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228114', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:05:23] Production.INFO: ==14727== Releasing lock...
[2025-01-12 01:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:05:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:06:01] Production.INFO: ==14787== Lock acquired, processing the job...
[2025-01-12 06:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:06:01] Production.INFO: neon service started
[2025-01-12 06:06:01] Production.INFO: neon service started
[2025-01-12 06:06:01] Production.INFO: ==14787== Releasing lock...
[2025-01-12 06:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:06:02] Production.INFO: ==14789== Lock acquired, processing the job...
[2025-01-12 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:06:02] Production.INFO: ==14789== Releasing lock...
[2025-01-12 01:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:06:02] Production.INFO: ==14791== Lock acquired, processing the job...
[2025-01-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:06:02] Production.INFO: ==14791== Releasing lock...
[2025-01-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:06:03] Production.INFO: ==14803== Lock acquired, processing the job...
[2025-01-12 01:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:06:03] Production.INFO: ==14793== Lock acquired, processing the job...
[2025-01-12 01:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:06:03] Production.INFO: ==14795== Lock acquired, processing the job...
[2025-01-12 01:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:06:03] Production.INFO: ==14801== Lock acquired, processing the job...
[2025-01-12 01:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:06:03] Production.INFO: ==14797== Lock acquired, processing the job...
[2025-01-12 01:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:06:03] Production.INFO: ==14799== Lock acquired, processing the job...
[2025-01-12 01:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 01:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:06:03] Production.INFO: Account Balance Start.
[2025-01-12 01:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:06:03] Production.INFO: 117
[2025-01-12 01:06:03] Production.INFO: count ==21
[2025-01-12 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-01-12 01:06:03] Production.INFO: count ==21
[2025-01-12 01:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228116') start
[2025-01-12 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:06:04] Production.ERROR: done
[2025-01-12 01:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:06:04] Production.INFO: ==14795== Releasing lock...
[2025-01-12 01:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228116') end
[2025-01-12 01:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:06:04] Production.INFO: 1
[2025-01-12 01:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:06:04] Production.ERROR: done
[2025-01-12 01:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:06:04] Production.INFO: ==14803== Releasing lock...
[2025-01-12 01:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:06:04] Production.INFO: Total Charge 0
[2025-01-12 01:06:04] Production.INFO: CreateAllLog End
[2025-01-12 01:06:04] Production.INFO: Account Balance End.
[2025-01-12 01:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:06:04] Production.INFO: ==14799== Releasing lock...
[2025-01-12 01:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:06:04
[end_date_ymd] => 2025-01-12 01:06:04
[RateCDR] => 1
)
[2025-01-12 01:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:06:04' and `end` < '2025-01-12 01:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:06:10] Production.ERROR: CronJobId end10
[2025-01-12 01:06:10] Production.INFO: ==14797== Releasing lock...
[2025-01-12 01:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:06:13] Production.INFO: call_cost start
[2025-01-12 01:06:13] Production.INFO: call_cost end
[2025-01-12 01:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:06:14] Production.INFO: ==14793== Releasing lock...
[2025-01-12 01:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:06:19] Production.INFO: count ==485
[2025-01-12 01:06:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:06:04 - End Time 2025-01-12 01:06:04
[2025-01-12 01:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228119', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228119', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228119', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228119', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:06:19] Production.INFO: ProcessCDR(1,14228119,1,1,2)
[2025-01-12 01:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228119,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228119,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228119', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228119', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:06:22] Production.INFO: ==14801== Releasing lock...
[2025-01-12 01:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:06:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 06:07:01] Production.INFO: ==14862== Lock acquired, processing the job...
[2025-01-12 06:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:07:01] Production.INFO: neon service started
[2025-01-12 06:07:01] Production.INFO: neon service started
[2025-01-12 06:07:01] Production.INFO: ==14862== Releasing lock...
[2025-01-12 06:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:07:01] Production.INFO: ==14866== Lock acquired, processing the job...
[2025-01-12 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:07:01] Production.INFO: ==14866== Releasing lock...
[2025-01-12 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:07:01] Production.INFO: ==14864== Lock acquired, processing the job...
[2025-01-12 01:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:07:02] Production.INFO: ==14864== Releasing lock...
[2025-01-12 01:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:07:02] Production.INFO: ==14874== Lock acquired, processing the job...
[2025-01-12 01:07:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:07:02] Production.INFO: ==14876== Lock acquired, processing the job...
[2025-01-12 01:07:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:07:03] Production.INFO: Account Balance Start.
[2025-01-12 01:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:07:03] Production.INFO: 117
[2025-01-12 01:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:07:03] Production.INFO: ==14870== Lock acquired, processing the job...
[2025-01-12 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:07:03] Production.INFO: ==14868== Lock acquired, processing the job...
[2025-01-12 01:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:07:03] Production.INFO: ==14872== Lock acquired, processing the job...
[2025-01-12 01:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:07:03] Production.INFO: ==14878== Lock acquired, processing the job...
[2025-01-12 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:07:03] Production.INFO: count ==21
[2025-01-12 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-01-12 01:07:03] Production.INFO: count ==21
[2025-01-12 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228122') start
[2025-01-12 01:07:03] Production.INFO: Total Charge 0
[2025-01-12 01:07:03] Production.INFO: CreateAllLog End
[2025-01-12 01:07:03] Production.ERROR: done
[2025-01-12 01:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228122') end
[2025-01-12 01:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:07:03] Production.INFO: 1
[2025-01-12 01:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:07:03] Production.INFO: ==14878== Releasing lock...
[2025-01-12 01:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:07:03] Production.INFO: ==14870== Releasing lock...
[2025-01-12 01:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:07:03] Production.ERROR: done
[2025-01-12 01:07:03] Production.INFO: Account Balance End.
[2025-01-12 01:07:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:07:03] Production.INFO: ==14874== Releasing lock...
[2025-01-12 01:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:07:04
[end_date_ymd] => 2025-01-12 01:07:04
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:07:04' and `end` < '2025-01-12 01: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-01-12 01:07:09] Production.ERROR: CronJobId end10
[2025-01-12 01:07:09] Production.INFO: ==14872== Releasing lock...
[2025-01-12 01:07:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:07:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:07:13] Production.INFO: call_cost start
[2025-01-12 01:07:13] Production.INFO: call_cost end
[2025-01-12 01:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:07:13] Production.INFO: ==14868== Releasing lock...
[2025-01-12 01:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:07:17] Production.INFO: count ==485
[2025-01-12 01:07:17] Production.ERROR: pbx CDR StartTime 2025-01-11 22:07:04 - End Time 2025-01-12 01:07:04
[2025-01-12 01:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228124', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228124', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228124', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228124', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:07:17] Production.INFO: ProcessCDR(1,14228124,1,1,2)
[2025-01-12 01:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228124,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228124,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228124', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228124', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:07:22] Production.INFO: ==14876== Releasing lock...
[2025-01-12 01:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:07:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:08:01] Production.INFO: ==14937== Lock acquired, processing the job...
[2025-01-12 06:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:08:01] Production.INFO: neon service started
[2025-01-12 06:08:01] Production.INFO: neon service started
[2025-01-12 06:08:01] Production.INFO: ==14937== Releasing lock...
[2025-01-12 06:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:08:02] Production.INFO: ==14939== Lock acquired, processing the job...
[2025-01-12 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:08:02] Production.INFO: ==14939== Releasing lock...
[2025-01-12 01:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:08:02] Production.INFO: ==14941== Lock acquired, processing the job...
[2025-01-12 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:08:02] Production.INFO: ==14941== Releasing lock...
[2025-01-12 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:08:03] Production.INFO: ==14948== Lock acquired, processing the job...
[2025-01-12 01:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:08:03] Production.INFO: ==14952== Lock acquired, processing the job...
[2025-01-12 01:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:08:03] Production.INFO: ==14944== Lock acquired, processing the job...
[2025-01-12 01:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:08:03] Production.INFO: ==14946== Lock acquired, processing the job...
[2025-01-12 01:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:08:03] Production.INFO: ==14950== Lock acquired, processing the job...
[2025-01-12 01:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:08:03] Production.INFO: ==14954== Lock acquired, processing the job...
[2025-01-12 01:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 01:08:03] Production.INFO: Account Balance Start.
[2025-01-12 01:08:03] Production.INFO: count ==21
[2025-01-12 01:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:08:03] Production.INFO: 117
[2025-01-12 01:08:03] Production.ERROR: done
[2025-01-12 01:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 01:08:03] Production.INFO: count ==21
[2025-01-12 01:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228126') start
[2025-01-12 01:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:08:04] Production.ERROR: done
[2025-01-12 01:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228126') end
[2025-01-12 01:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:08:04] Production.INFO: 1
[2025-01-12 01:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:08:04] Production.INFO: ==14954== Releasing lock...
[2025-01-12 01:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:08:04] Production.INFO: Total Charge 0
[2025-01-12 01:08:04] Production.INFO: CreateAllLog End
[2025-01-12 01:08:04] Production.INFO: ==14946== Releasing lock...
[2025-01-12 01:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:08:04] Production.INFO: Account Balance End.
[2025-01-12 01:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:08:04] Production.INFO: ==14950== Releasing lock...
[2025-01-12 01:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:08:04
[end_date_ymd] => 2025-01-12 01:08:04
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:08:04' and `end` < '2025-01-12 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-01-12 01:08:11] Production.ERROR: CronJobId end10
[2025-01-12 01:08:11] Production.INFO: ==14948== Releasing lock...
[2025-01-12 01:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:08:13] Production.INFO: call_cost start
[2025-01-12 01:08:13] Production.INFO: call_cost end
[2025-01-12 01:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:08:14] Production.INFO: ==14944== Releasing lock...
[2025-01-12 01:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:08:19] Production.INFO: count ==484
[2025-01-12 01:08:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:08:04 - End Time 2025-01-12 01:08:04
[2025-01-12 01:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228129', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228129', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228129', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228129', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:08:19] Production.INFO: ProcessCDR(1,14228129,1,1,2)
[2025-01-12 01:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228129,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228129,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228129', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228129', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:08:22] Production.INFO: ==14952== Releasing lock...
[2025-01-12 01:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:08:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:09:02] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-01-12 06:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:09:02] Production.INFO: neon service started
[2025-01-12 06:09:02] Production.INFO: neon service started
[2025-01-12 06:09:02] Production.INFO: ==15015== Releasing lock...
[2025-01-12 06:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:09:02] Production.INFO: ==15017== Lock acquired, processing the job...
[2025-01-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:09:02] Production.INFO: ==15017== Releasing lock...
[2025-01-12 01:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:09:03] Production.INFO: ==15019== Lock acquired, processing the job...
[2025-01-12 06:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:09:03] Production.INFO: ==15019== Releasing lock...
[2025-01-12 06:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:09:03] Production.INFO: ==15027== Lock acquired, processing the job...
[2025-01-12 01:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:09:03] Production.INFO: Account Balance Start.
[2025-01-12 01:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:09:03] Production.INFO: 117
[2025-01-12 01:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:09:03] Production.INFO: ==15031== Lock acquired, processing the job...
[2025-01-12 01:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:09:03] Production.INFO: ==15021== Lock acquired, processing the job...
[2025-01-12 01:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:09:04] Production.INFO: ==15023== Lock acquired, processing the job...
[2025-01-12 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 01:09:04] Production.INFO: ==15025== Lock acquired, processing the job...
[2025-01-12 01:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:09:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:09:04] Production.INFO: count ==21
[2025-01-12 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228131') start
[2025-01-12 01:09:04] Production.INFO: Total Charge 0
[2025-01-12 01:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:09:04] Production.INFO: ==15029== Lock acquired, processing the job...
[2025-01-12 01:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:09:04] Production.INFO: CreateAllLog End
[2025-01-12 01:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228131') end
[2025-01-12 01:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:09:04] Production.INFO: 1
[2025-01-12 01:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:09:04] Production.INFO: Account Balance End.
[2025-01-12 01:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:09:04] Production.INFO: ==15027== Releasing lock...
[2025-01-12 01:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:09:04] Production.INFO: ==15031== Releasing lock...
[2025-01-12 01:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:09:04] Production.INFO: ==15023== Releasing lock...
[2025-01-12 01:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:09:04] Production.ERROR: done
[2025-01-12 01:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:09:04] Production.ERROR: done
[2025-01-12 01:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:09:05
[end_date_ymd] => 2025-01-12 01:09:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:09:05' and `end` < '2025-01-12 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-01-12 01:09:11] Production.ERROR: CronJobId end10
[2025-01-12 01:09:11] Production.INFO: ==15025== Releasing lock...
[2025-01-12 01:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:09:14] Production.INFO: call_cost start
[2025-01-12 01:09:14] Production.INFO: call_cost end
[2025-01-12 01:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:09:14] Production.INFO: ==15021== Releasing lock...
[2025-01-12 01:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:09:20] Production.INFO: count ==484
[2025-01-12 01:09:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:09:05 - End Time 2025-01-12 01:09:05
[2025-01-12 01:09:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228134', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228134', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228134', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:09:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228134', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:09:20] Production.INFO: ProcessCDR(1,14228134,1,1,2)
[2025-01-12 01:09:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228134,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228134,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228134', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228134', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:09:23] Production.INFO: ==15029== Releasing lock...
[2025-01-12 01:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:09:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:10:01] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-01-12 06:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:10:01] Production.INFO: neon service started
[2025-01-12 06:10:01] Production.INFO: neon service started
[2025-01-12 06:10:01] Production.INFO: ==15089== Releasing lock...
[2025-01-12 06:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:10:02] Production.INFO: ==15091== Lock acquired, processing the job...
[2025-01-12 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:10:02] Production.INFO: ==15091== Releasing lock...
[2025-01-12 01:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:10:02] Production.INFO: ==15093== Lock acquired, processing the job...
[2025-01-12 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:10:02] Production.INFO: ==15093== Releasing lock...
[2025-01-12 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:10:03] Production.INFO: ==15097== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:10:03] Production.INFO: ==15107== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 01:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:10:03] Production.INFO: ==15095== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 01:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 01:10:03] Production.ERROR: CronJob PID - 15097
[2025-01-12 01:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 01:10:03] Production.ERROR: CronJob ID - 5
[2025-01-12 01:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 01:10:00
[2025-01-12 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 01:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 01:10:03] Production.ERROR: CronJob PID - 15107
[2025-01-12 01:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 01:10:03] Production.ERROR: CronJob ID - 17
[2025-01-12 01:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 01:10:00
[2025-01-12 01:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 01:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 01:10:03] Production.INFO: ==15099== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 01:10:03] Production.INFO: ==15095== Releasing lock...
[2025-01-12 01:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 01:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 01:10:03] Production.INFO: ==15103== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:10:03] Production.INFO: ==15101== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:10:03] Production.INFO: ==15105== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:10:03] Production.INFO: ==15110== Lock acquired, processing the job...
[2025-01-12 01:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:10:03] Production.ERROR: done
[2025-01-12 01:10:04] Production.INFO: Account Balance Start.
[2025-01-12 01:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:10:04] Production.INFO: 117
[2025-01-12 01:10:04] Production.INFO: ==15099== Releasing lock...
[2025-01-12 01:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 01:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228139', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 01:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:10:04] Production.INFO: count ==21
[2025-01-12 01:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:10:04] Production.INFO: count ==21
[2025-01-12 01:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228137') start
[2025-01-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228137') end
[2025-01-12 01:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:10:04] Production.INFO: 1
[2025-01-12 01:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:10:04] Production.INFO: ==15110== Releasing lock...
[2025-01-12 01:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:10:04] Production.ERROR: done
[2025-01-12 01:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:10:04] Production.ERROR: done
[2025-01-12 01:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:10:04] Production.INFO: Total Charge 0
[2025-01-12 01:10:04] Production.INFO: CreateAllLog End
[2025-01-12 01:10:04] Production.INFO: Account Balance End.
[2025-01-12 01:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:10:04] Production.INFO: ==15103== Releasing lock...
[2025-01-12 01:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:10:05
[end_date_ymd] => 2025-01-12 01:10:05
[RateCDR] => 1
)
[2025-01-12 01:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:10:05' and `end` < '2025-01-12 01:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:10:06] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228139', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 01:10:06] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 01:10:06] Production.INFO: ProcessCDR(1,14228139,1,1,2)
[2025-01-12 01:10:06] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:10:06] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228139,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:10:06] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:10:06] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:10:07] Production.INFO: ==15107== Releasing lock...
[2025-01-12 01:10:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 01:10:07] Production.INFO: 26 MB #Memory Used#
[2025-01-12 01:10:12] Production.ERROR: CronJobId end10
[2025-01-12 01:10:12] Production.INFO: ==15101== Releasing lock...
[2025-01-12 01:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:10:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:10:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:10:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:10:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:10:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:10:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:10:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:10:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:10:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:10:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:10:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:10:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:10:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:10:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:10:14] Production.INFO: call_cost start
[2025-01-12 01:10:14] Production.INFO: call_cost end
[2025-01-12 01:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:10:15] Production.INFO: ==15097== Releasing lock...
[2025-01-12 01:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:10:18] Production.INFO: count ==487
[2025-01-12 01:10:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:10:05 - End Time 2025-01-12 01:10:05
[2025-01-12 01:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228140', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228140', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228140', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228140', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:10:18] Production.INFO: ProcessCDR(1,14228140,1,1,2)
[2025-01-12 01:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228140', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228140', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:10:21] Production.INFO: ==15105== Releasing lock...
[2025-01-12 01:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:10:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:11:02] Production.INFO: ==15186== Lock acquired, processing the job...
[2025-01-12 06:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:11:02] Production.INFO: neon service started
[2025-01-12 06:11:02] Production.INFO: neon service started
[2025-01-12 06:11:02] Production.INFO: ==15186== Releasing lock...
[2025-01-12 06:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:11:02] Production.INFO: ==15188== Lock acquired, processing the job...
[2025-01-12 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:11:02] Production.INFO: ==15188== Releasing lock...
[2025-01-12 01:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:11:02] Production.INFO: ==15190== Lock acquired, processing the job...
[2025-01-12 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:11:02] Production.INFO: ==15190== Releasing lock...
[2025-01-12 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:11:03] Production.INFO: ==15200== Lock acquired, processing the job...
[2025-01-12 01:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:11:03] Production.INFO: ==15192== Lock acquired, processing the job...
[2025-01-12 01:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:11:03] Production.ERROR: done
[2025-01-12 01:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:11:03] Production.INFO: ==15194== Lock acquired, processing the job...
[2025-01-12 01:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:11:03] Production.INFO: ==15196== Lock acquired, processing the job...
[2025-01-12 01:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:11:03] Production.INFO: ==15198== Lock acquired, processing the job...
[2025-01-12 01:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:11:03] Production.INFO: ==15202== Lock acquired, processing the job...
[2025-01-12 01:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:11:03] Production.ERROR: done
[2025-01-12 01:11:03] Production.INFO: Account Balance Start.
[2025-01-12 01:11:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:11:04] Production.INFO: 117
[2025-01-12 01:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:11:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:11:04] Production.INFO: count ==21
[2025-01-12 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228143') start
[2025-01-12 01:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:11:04] Production.INFO: ==15194== Releasing lock...
[2025-01-12 01:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228143') end
[2025-01-12 01:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:11:04] Production.INFO: 1
[2025-01-12 01:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:11:04] Production.INFO: ==15202== Releasing lock...
[2025-01-12 01:11:04] Production.INFO: Total Charge 0
[2025-01-12 01:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:11:04] Production.INFO: CreateAllLog End
[2025-01-12 01:11:04] Production.INFO: Account Balance End.
[2025-01-12 01:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:11:04] Production.INFO: ==15198== Releasing lock...
[2025-01-12 01:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:11:05
[end_date_ymd] => 2025-01-12 01:11:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:11:05' and `end` < '2025-01-12 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-01-12 01:11:11] Production.ERROR: CronJobId end10
[2025-01-12 01:11:11] Production.INFO: ==15196== Releasing lock...
[2025-01-12 01:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:11:13] Production.INFO: call_cost start
[2025-01-12 01:11:13] Production.INFO: call_cost end
[2025-01-12 01:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:11:14] Production.INFO: ==15192== Releasing lock...
[2025-01-12 01:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:11:18] Production.INFO: count ==495
[2025-01-12 01:11:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:11:05 - End Time 2025-01-12 01:11:05
[2025-01-12 01:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228145', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228145', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228145', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228145', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:11:18] Production.INFO: ProcessCDR(1,14228145,1,1,2)
[2025-01-12 01:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228145', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228145', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:11:21] Production.INFO: ==15200== Releasing lock...
[2025-01-12 01:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:11:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:12:01] Production.INFO: ==15278== Lock acquired, processing the job...
[2025-01-12 06:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:12:01] Production.INFO: neon service started
[2025-01-12 06:12:01] Production.INFO: neon service started
[2025-01-12 06:12:01] Production.INFO: ==15278== Releasing lock...
[2025-01-12 06:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:12:01] Production.INFO: ==15280== Lock acquired, processing the job...
[2025-01-12 01:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:12:02] Production.INFO: ==15280== Releasing lock...
[2025-01-12 01:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:12:02] Production.INFO: ==15282== Lock acquired, processing the job...
[2025-01-12 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:12:02] Production.INFO: ==15282== Releasing lock...
[2025-01-12 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:12:03] Production.INFO: ==15289== Lock acquired, processing the job...
[2025-01-12 01:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:12:03] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-01-12 01:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:12:03] Production.INFO: ==15287== Lock acquired, processing the job...
[2025-01-12 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:12:03] Production.INFO: ==15285== Lock acquired, processing the job...
[2025-01-12 01:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:12:03] Production.INFO: ==15291== Lock acquired, processing the job...
[2025-01-12 01:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:12:03] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-01-12 01:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:12:03] Production.INFO: Account Balance Start.
[2025-01-12 01:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:12:03] Production.INFO: 117
[2025-01-12 01:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:12:03] Production.ERROR: done
[2025-01-12 01:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:12:03] Production.INFO: count ==21
[2025-01-12 01:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:12:03] Production.ERROR: done
[2025-01-12 01:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 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-01-12 01:12:03] Production.INFO: count ==21
[2025-01-12 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228149') start
[2025-01-12 01:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:12:03] Production.INFO: ==15287== Releasing lock...
[2025-01-12 01:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:12:03] Production.INFO: Total Charge 0
[2025-01-12 01:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228149') end
[2025-01-12 01:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:12:03] Production.INFO: 1
[2025-01-12 01:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:12:03] Production.INFO: CreateAllLog End
[2025-01-12 01:12:04] Production.INFO: ==15295== Releasing lock...
[2025-01-12 01:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:12:04] Production.INFO: Account Balance End.
[2025-01-12 01:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:12:04] Production.INFO: ==15291== Releasing lock...
[2025-01-12 01:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:12:04
[end_date_ymd] => 2025-01-12 01:12:04
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:12:04' and `end` < '2025-01-12 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-01-12 01:12:11] Production.ERROR: CronJobId end10
[2025-01-12 01:12:11] Production.INFO: ==15289== Releasing lock...
[2025-01-12 01:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:12:13] Production.INFO: call_cost start
[2025-01-12 01:12:13] Production.INFO: call_cost end
[2025-01-12 01:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:12:14] Production.INFO: ==15285== Releasing lock...
[2025-01-12 01:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:12:19] Production.INFO: count ==495
[2025-01-12 01:12:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:12:04 - End Time 2025-01-12 01:12:04
[2025-01-12 01:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228150', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228150', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228150', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228150', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:12:19] Production.INFO: ProcessCDR(1,14228150,1,1,2)
[2025-01-12 01:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228150', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228150', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:12:22] Production.INFO: ==15293== Releasing lock...
[2025-01-12 01:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:12:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:13:01] Production.INFO: ==15373== Lock acquired, processing the job...
[2025-01-12 06:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:13:01] Production.INFO: neon service started
[2025-01-12 06:13:01] Production.INFO: neon service started
[2025-01-12 06:13:01] Production.INFO: ==15373== Releasing lock...
[2025-01-12 06:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:13:02] Production.INFO: ==15375== Lock acquired, processing the job...
[2025-01-12 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:13:02] Production.INFO: ==15377== Lock acquired, processing the job...
[2025-01-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:13:02] Production.INFO: ==15377== Releasing lock...
[2025-01-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:13:02] Production.INFO: ==15375== Releasing lock...
[2025-01-12 01:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:13:03] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-01-12 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:13:03] Production.INFO: ==15386== Lock acquired, processing the job...
[2025-01-12 01:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:13:03] Production.INFO: ==15390== Lock acquired, processing the job...
[2025-01-12 01:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:13:03] Production.INFO: Account Balance Start.
[2025-01-12 01:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:13:03] Production.INFO: 117
[2025-01-12 01:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:13:03] Production.INFO: ==15382== Releasing lock...
[2025-01-12 01:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:13:03] Production.INFO: count ==21
[2025-01-12 01:13:03] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-01-12 01:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:13:03] Production.INFO: count ==21
[2025-01-12 01:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228153') start
[2025-01-12 01:13:03] Production.INFO: ==15384== Lock acquired, processing the job...
[2025-01-12 01:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:13:03] Production.INFO: ==15388== Lock acquired, processing the job...
[2025-01-12 01:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228153') end
[2025-01-12 01:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:13:04] Production.INFO: 1
[2025-01-12 01:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:13:04] Production.INFO: ==15390== Releasing lock...
[2025-01-12 01:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:13:04] Production.INFO: Total Charge 0
[2025-01-12 01:13:04] Production.INFO: CreateAllLog End
[2025-01-12 01:13:04] Production.ERROR: done
[2025-01-12 01:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:13:04] Production.INFO: Account Balance End.
[2025-01-12 01:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:13:04] Production.INFO: ==15386== Releasing lock...
[2025-01-12 01:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:13:04] Production.ERROR: done
[2025-01-12 01:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:13:05
[end_date_ymd] => 2025-01-12 01:13:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:13:05' and `end` < '2025-01-12 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-01-12 01:13:12] Production.ERROR: CronJobId end10
[2025-01-12 01:13:12] Production.INFO: ==15384== Releasing lock...
[2025-01-12 01:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:13:13] Production.INFO: call_cost start
[2025-01-12 01:13:13] Production.INFO: call_cost end
[2025-01-12 01:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:13:14] Production.INFO: ==15380== Releasing lock...
[2025-01-12 01:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:13:18] Production.INFO: count ==492
[2025-01-12 01:13:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:13:05 - End Time 2025-01-12 01:13:05
[2025-01-12 01:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228155', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228155', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228155', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228155', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:13:18] Production.INFO: ProcessCDR(1,14228155,1,1,2)
[2025-01-12 01:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228155', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228155', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:13:22] Production.INFO: ==15388== Releasing lock...
[2025-01-12 01:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:13:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:14:01] Production.INFO: ==15503== Lock acquired, processing the job...
[2025-01-12 06:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:14:01] Production.INFO: neon service started
[2025-01-12 06:14:01] Production.INFO: neon service started
[2025-01-12 06:14:01] Production.INFO: ==15503== Releasing lock...
[2025-01-12 06:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:14:01] Production.INFO: ==15505== Lock acquired, processing the job...
[2025-01-12 01:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:14:02] Production.INFO: ==15505== Releasing lock...
[2025-01-12 01:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:14:02] Production.INFO: ==15507== Lock acquired, processing the job...
[2025-01-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:14:02] Production.INFO: ==15507== Releasing lock...
[2025-01-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:14:02] Production.INFO: ==15509== Lock acquired, processing the job...
[2025-01-12 01:14:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:14:03] Production.INFO: ==15519== Lock acquired, processing the job...
[2025-01-12 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:14:03] Production.INFO: ==15511== Lock acquired, processing the job...
[2025-01-12 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:14:03] Production.INFO: ==15513== Lock acquired, processing the job...
[2025-01-12 01:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:14:03] Production.INFO: ==15515== Lock acquired, processing the job...
[2025-01-12 01:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:14:03] Production.INFO: count ==21
[2025-01-12 01:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:14:03] Production.INFO: count ==21
[2025-01-12 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228156') start
[2025-01-12 01:14:03] Production.INFO: ==15517== Lock acquired, processing the job...
[2025-01-12 01:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:14:03] Production.INFO: Account Balance Start.
[2025-01-12 01:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:14:03] Production.INFO: 117
[2025-01-12 01:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228156') end
[2025-01-12 01:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:14:03] Production.INFO: 1
[2025-01-12 01:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:14:03] Production.INFO: ==15519== Releasing lock...
[2025-01-12 01:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:14:03] Production.INFO: ==15511== Releasing lock...
[2025-01-12 01:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:14:03] Production.INFO: Total Charge 0
[2025-01-12 01:14:03] Production.ERROR: done
[2025-01-12 01:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:14:03] Production.INFO: CreateAllLog End
[2025-01-12 01:14:03] Production.ERROR: done
[2025-01-12 01:14:04] Production.INFO: Account Balance End.
[2025-01-12 01:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:14:04] Production.INFO: ==15515== Releasing lock...
[2025-01-12 01:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:14:04
[end_date_ymd] => 2025-01-12 01:14:04
[RateCDR] => 1
)
[2025-01-12 01:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:14:04' and `end` < '2025-01-12 01:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:14:11] Production.ERROR: CronJobId end10
[2025-01-12 01:14:11] Production.INFO: ==15513== Releasing lock...
[2025-01-12 01:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:14:12] Production.INFO: call_cost start
[2025-01-12 01:14:12] Production.INFO: call_cost end
[2025-01-12 01:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:14:13] Production.INFO: ==15509== Releasing lock...
[2025-01-12 01:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:14:17] Production.INFO: count ==492
[2025-01-12 01:14:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:14:04 - End Time 2025-01-12 01:14:04
[2025-01-12 01:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228160', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228160', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228160', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228160', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:14:18] Production.INFO: ProcessCDR(1,14228160,1,1,2)
[2025-01-12 01:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228160', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228160', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:14:21] Production.INFO: ==15517== Releasing lock...
[2025-01-12 01:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:14:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:15:01] Production.INFO: ==15592== Lock acquired, processing the job...
[2025-01-12 06:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:15:01] Production.INFO: neon service started
[2025-01-12 06:15:01] Production.INFO: neon service started
[2025-01-12 06:15:01] Production.INFO: ==15592== Releasing lock...
[2025-01-12 06:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:15:02] Production.INFO: ==15594== Lock acquired, processing the job...
[2025-01-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:15:02] Production.INFO: ==15596== Lock acquired, processing the job...
[2025-01-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:15:02] Production.INFO: ==15596== Releasing lock...
[2025-01-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:15:02] Production.INFO: ==15594== Releasing lock...
[2025-01-12 01:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:15:03] Production.INFO: ==15603== Lock acquired, processing the job...
[2025-01-12 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:15:03] Production.INFO: ==15600== Lock acquired, processing the job...
[2025-01-12 01:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:15:03] Production.INFO: ==15611== Lock acquired, processing the job...
[2025-01-12 01:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:15:03] Production.INFO: ==15605== Lock acquired, processing the job...
[2025-01-12 01:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01: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-01-12 01:15:03] Production.INFO: ==15609== Lock acquired, processing the job...
[2025-01-12 01:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:15:03] Production.INFO: count ==21
[2025-01-12 01:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:15:03] Production.INFO: ==15607== Lock acquired, processing the job...
[2025-01-12 01:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01: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-01-12 01:15:03] Production.INFO: count ==21
[2025-01-12 01:15:03] Production.INFO: ==15603== Releasing lock...
[2025-01-12 01:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228162') start
[2025-01-12 01:15:03] Production.INFO: Account Balance Start.
[2025-01-12 01:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:15:03] Production.INFO: 117
[2025-01-12 01:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:15:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228162') end
[2025-01-12 01:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:15:04] Production.INFO: 1
[2025-01-12 01:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:15:04] Production.ERROR: done
[2025-01-12 01:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:15:04] Production.INFO: ==15611== Releasing lock...
[2025-01-12 01:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:15:04] Production.INFO: Total Charge 0
[2025-01-12 01:15:04] Production.INFO: CreateAllLog End
[2025-01-12 01:15:04] Production.ERROR: done
[2025-01-12 01:15:04] Production.INFO: Account Balance End.
[2025-01-12 01:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:15:04] Production.INFO: ==15607== Releasing lock...
[2025-01-12 01:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:15:05
[end_date_ymd] => 2025-01-12 01:15:05
[RateCDR] => 1
)
[2025-01-12 01:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:15:05' and `end` < '2025-01-12 01:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:15:11] Production.ERROR: CronJobId end10
[2025-01-12 01:15:11] Production.INFO: ==15605== Releasing lock...
[2025-01-12 01:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:15:14] Production.INFO: call_cost start
[2025-01-12 01:15:14] Production.INFO: call_cost end
[2025-01-12 01:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:15:15] Production.INFO: ==15600== Releasing lock...
[2025-01-12 01:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:15:18] Production.INFO: count ==492
[2025-01-12 01:15:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:15:05 - End Time 2025-01-12 01:15:05
[2025-01-12 01:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228165', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228165', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228165', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228165', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:15:18] Production.INFO: ProcessCDR(1,14228165,1,1,2)
[2025-01-12 01:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228165', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228165', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:15:21] Production.INFO: ==15609== Releasing lock...
[2025-01-12 01:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:15:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:16:02] Production.INFO: ==15683== Lock acquired, processing the job...
[2025-01-12 06:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:16:02] Production.INFO: neon service started
[2025-01-12 06:16:02] Production.INFO: neon service started
[2025-01-12 06:16:02] Production.INFO: ==15683== Releasing lock...
[2025-01-12 06:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:16:02] Production.INFO: ==15687== Lock acquired, processing the job...
[2025-01-12 01:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:16:02] Production.INFO: ==15689== Lock acquired, processing the job...
[2025-01-12 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:16:02] Production.INFO: ==15689== Releasing lock...
[2025-01-12 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:16:03] Production.INFO: ==15687== Releasing lock...
[2025-01-12 01:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:16:03] Production.INFO: ==15692== Lock acquired, processing the job...
[2025-01-12 01:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:16:03] Production.INFO: ==15694== Lock acquired, processing the job...
[2025-01-12 01:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:16:04] Production.INFO: ==15698== Lock acquired, processing the job...
[2025-01-12 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:16:04] Production.INFO: Account Balance Start.
[2025-01-12 01:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:16:04] Production.INFO: 117
[2025-01-12 01:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:16:04] Production.INFO: ==15696== Lock acquired, processing the job...
[2025-01-12 01:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:16:04] Production.INFO: ==15700== Lock acquired, processing the job...
[2025-01-12 01:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:16:04] Production.INFO: ==15694== Releasing lock...
[2025-01-12 01:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:16:04] Production.INFO: ==15702== Lock acquired, processing the job...
[2025-01-12 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:16:04] Production.INFO: Total Charge 0
[2025-01-12 01:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:16:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 01:16:04] Production.INFO: Account Balance End.
[2025-01-12 01:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:16:04] Production.INFO: ==15698== Releasing lock...
[2025-01-12 01:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:16:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:16:04] Production.INFO: count ==21
[2025-01-12 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228169') start
[2025-01-12 01:16:04] Production.ERROR: done
[2025-01-12 01:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228169') end
[2025-01-12 01:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:16:04] Production.INFO: 1
[2025-01-12 01:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:16:04] Production.INFO: ==15702== Releasing lock...
[2025-01-12 01:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:16:05] Production.ERROR: done
[2025-01-12 01:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:16:05
[end_date_ymd] => 2025-01-12 01:16:05
[RateCDR] => 1
)
[2025-01-12 01:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:16:05' and `end` < '2025-01-12 01:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:16:12] Production.ERROR: CronJobId end10
[2025-01-12 01:16:12] Production.INFO: ==15696== Releasing lock...
[2025-01-12 01:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:16:15] Production.INFO: call_cost start
[2025-01-12 01:16:15] Production.INFO: call_cost end
[2025-01-12 01:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:16:15] Production.INFO: ==15692== Releasing lock...
[2025-01-12 01:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:16:19] Production.INFO: count ==492
[2025-01-12 01:16:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:16:05 - End Time 2025-01-12 01:16:05
[2025-01-12 01:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228170', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228170', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228170', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228170', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:16:20] Production.INFO: ProcessCDR(1,14228170,1,1,2)
[2025-01-12 01:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228170,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228170,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228170', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228170', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:16:23] Production.INFO: ==15700== Releasing lock...
[2025-01-12 01:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:16:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:17:01] Production.INFO: ==15775== Lock acquired, processing the job...
[2025-01-12 06:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:17:01] Production.INFO: neon service started
[2025-01-12 06:17:01] Production.INFO: neon service started
[2025-01-12 06:17:01] Production.INFO: ==15775== Releasing lock...
[2025-01-12 06:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:17:02] Production.INFO: ==15777== Lock acquired, processing the job...
[2025-01-12 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:17:02] Production.INFO: ==15779== Lock acquired, processing the job...
[2025-01-12 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:17:02] Production.INFO: ==15779== Releasing lock...
[2025-01-12 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:17:02] Production.INFO: ==15777== Releasing lock...
[2025-01-12 01:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:17:03] Production.INFO: ==15790== Lock acquired, processing the job...
[2025-01-12 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:17:03] Production.INFO: Account Balance Start.
[2025-01-12 01:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:17:03] Production.INFO: 117
[2025-01-12 01:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:17:03] Production.INFO: ==15794== Lock acquired, processing the job...
[2025-01-12 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 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-01-12 01:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:17:03] Production.INFO: ==15784== Lock acquired, processing the job...
[2025-01-12 01:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:17:03] Production.INFO: ==15788== Lock acquired, processing the job...
[2025-01-12 01:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:17:03] Production.INFO: count ==21
[2025-01-12 01:17:03] Production.INFO: Total Charge 0
[2025-01-12 01:17:03] Production.INFO: ==15786== Lock acquired, processing the job...
[2025-01-12 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 01:17:03] Production.INFO: count ==21
[2025-01-12 01:17:03] Production.INFO: CreateAllLog End
[2025-01-12 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228172') start
[2025-01-12 01:17:03] Production.INFO: ==15792== Lock acquired, processing the job...
[2025-01-12 01:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:17:03] Production.INFO: Account Balance End.
[2025-01-12 01:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228172') end
[2025-01-12 01:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:17:03] Production.INFO: 1
[2025-01-12 01:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:17:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:17:03] Production.INFO: ==15790== Releasing lock...
[2025-01-12 01:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:17:03] Production.INFO: ==15794== Releasing lock...
[2025-01-12 01:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:17:03] Production.INFO: ==15786== Releasing lock...
[2025-01-12 01:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:17:04] Production.ERROR: done
[2025-01-12 01:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:17:04] Production.ERROR: done
[2025-01-12 01:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:17:05
[end_date_ymd] => 2025-01-12 01:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:17:05' and `end` < '2025-01-12 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-01-12 01:17:11] Production.ERROR: CronJobId end10
[2025-01-12 01:17:11] Production.INFO: ==15788== Releasing lock...
[2025-01-12 01:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:17:14] Production.INFO: call_cost start
[2025-01-12 01:17:14] Production.INFO: call_cost end
[2025-01-12 01:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:17:15] Production.INFO: ==15784== Releasing lock...
[2025-01-12 01:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:17:18] Production.INFO: count ==491
[2025-01-12 01:17:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:17:05 - End Time 2025-01-12 01:17:05
[2025-01-12 01:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228175', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228175', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228175', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228175', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:17:18] Production.INFO: ProcessCDR(1,14228175,1,1,2)
[2025-01-12 01:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228175,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228175,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228175', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228175', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:17:22] Production.INFO: ==15792== Releasing lock...
[2025-01-12 01:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:17:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:18:02] Production.INFO: ==15872== Lock acquired, processing the job...
[2025-01-12 06:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:18:02] Production.INFO: neon service started
[2025-01-12 06:18:02] Production.INFO: neon service started
[2025-01-12 06:18:02] Production.INFO: ==15872== Releasing lock...
[2025-01-12 06:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:18:02] Production.INFO: ==15874== Lock acquired, processing the job...
[2025-01-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:18:02] Production.INFO: ==15874== Releasing lock...
[2025-01-12 01:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:18:02] Production.INFO: ==15876== Lock acquired, processing the job...
[2025-01-12 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:18:02] Production.INFO: ==15876== Releasing lock...
[2025-01-12 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:18:03] Production.INFO: ==15880== Lock acquired, processing the job...
[2025-01-12 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:18:03] Production.INFO: ==15882== Lock acquired, processing the job...
[2025-01-12 01:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:18:03] Production.INFO: ==15878== Lock acquired, processing the job...
[2025-01-12 01:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:18:03] Production.INFO: ==15884== Lock acquired, processing the job...
[2025-01-12 01:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:18:03] Production.INFO: ==15886== Lock acquired, processing the job...
[2025-01-12 01:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:18:03] Production.INFO: ==15889== Lock acquired, processing the job...
[2025-01-12 01:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:18:03] Production.INFO: ==15880== Releasing lock...
[2025-01-12 01:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:18:04] Production.INFO: Account Balance Start.
[2025-01-12 01:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:18:04] Production.INFO: 117
[2025-01-12 01:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:18:04] Production.INFO: count ==21
[2025-01-12 01:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:18:04] Production.INFO: count ==21
[2025-01-12 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228179') start
[2025-01-12 01:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228179') end
[2025-01-12 01:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:18:04] Production.INFO: 1
[2025-01-12 01:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:18:04] Production.ERROR: done
[2025-01-12 01:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:18:04] Production.INFO: Total Charge 0
[2025-01-12 01:18:04] Production.INFO: ==15889== Releasing lock...
[2025-01-12 01:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:18:04] Production.INFO: CreateAllLog End
[2025-01-12 01:18:04] Production.ERROR: done
[2025-01-12 01:18:04] Production.INFO: Account Balance End.
[2025-01-12 01:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:18:04] Production.INFO: ==15884== Releasing lock...
[2025-01-12 01:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:18:05
[end_date_ymd] => 2025-01-12 01:18:05
[RateCDR] => 1
)
[2025-01-12 01:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:18:05' and `end` < '2025-01-12 01:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:18:11] Production.ERROR: CronJobId end10
[2025-01-12 01:18:11] Production.INFO: ==15882== Releasing lock...
[2025-01-12 01:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:18:13] Production.INFO: call_cost start
[2025-01-12 01:18:13] Production.INFO: call_cost end
[2025-01-12 01:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:18:14] Production.INFO: ==15878== Releasing lock...
[2025-01-12 01:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:18:21] Production.INFO: count ==490
[2025-01-12 01:18:21] Production.ERROR: pbx CDR StartTime 2025-01-11 22:18:05 - End Time 2025-01-12 01:18:05
[2025-01-12 01:18:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228180', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228180', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228180', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:18:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228180', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:18:21] Production.INFO: ProcessCDR(1,14228180,1,1,2)
[2025-01-12 01:18:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228180,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228180,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228180', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228180', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:18:24] Production.INFO: ==15886== Releasing lock...
[2025-01-12 01:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:18:24] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 06:19:01] Production.INFO: ==15966== Lock acquired, processing the job...
[2025-01-12 06:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:19:01] Production.INFO: neon service started
[2025-01-12 06:19:01] Production.INFO: neon service started
[2025-01-12 06:19:01] Production.INFO: ==15966== Releasing lock...
[2025-01-12 06:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:19:02] Production.INFO: ==15968== Lock acquired, processing the job...
[2025-01-12 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:19:02] Production.INFO: ==15970== Lock acquired, processing the job...
[2025-01-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:19:02] Production.INFO: ==15970== Releasing lock...
[2025-01-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:19:02] Production.INFO: ==15968== Releasing lock...
[2025-01-12 01:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:19:03] Production.INFO: ==15973== Lock acquired, processing the job...
[2025-01-12 01:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:19:03] Production.INFO: ==15975== Lock acquired, processing the job...
[2025-01-12 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:19:03] Production.INFO: ==15981== Lock acquired, processing the job...
[2025-01-12 01:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:19:03] Production.INFO: ==15977== Lock acquired, processing the job...
[2025-01-12 01:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:19:03] Production.INFO: ==15979== Lock acquired, processing the job...
[2025-01-12 01:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:19:03] Production.INFO: ==15983== Lock acquired, processing the job...
[2025-01-12 01:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:19:03] Production.ERROR: done
[2025-01-12 01:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:19:03] Production.INFO: Account Balance Start.
[2025-01-12 01:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:19:03] Production.INFO: 117
[2025-01-12 01:19:03] Production.INFO: ==15975== Releasing lock...
[2025-01-12 01:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:19:03] Production.INFO: count ==21
[2025-01-12 01:19:03] Production.ERROR: done
[2025-01-12 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-01-12 01:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:19:03] Production.INFO: count ==21
[2025-01-12 01:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228184') start
[2025-01-12 01:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:19:03] Production.INFO: Total Charge 0
[2025-01-12 01:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228184') end
[2025-01-12 01:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:19:04] Production.INFO: 1
[2025-01-12 01:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:19:04] Production.INFO: CreateAllLog End
[2025-01-12 01:19:04] Production.INFO: ==15983== Releasing lock...
[2025-01-12 01:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:19:04] Production.INFO: Account Balance End.
[2025-01-12 01:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:19:04] Production.INFO: ==15979== Releasing lock...
[2025-01-12 01:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:19:05
[end_date_ymd] => 2025-01-12 01:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:19:05' and `end` < '2025-01-12 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-01-12 01:19:11] Production.ERROR: CronJobId end10
[2025-01-12 01:19:11] Production.INFO: ==15977== Releasing lock...
[2025-01-12 01:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:19:13] Production.INFO: call_cost start
[2025-01-12 01:19:13] Production.INFO: call_cost end
[2025-01-12 01:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:19:14] Production.INFO: ==15973== Releasing lock...
[2025-01-12 01:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:19:18] Production.INFO: count ==491
[2025-01-12 01:19:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:19:05 - End Time 2025-01-12 01:19:05
[2025-01-12 01:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228185', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228185', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228185', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228185', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:19:18] Production.INFO: ProcessCDR(1,14228185,1,1,2)
[2025-01-12 01:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228185,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228185,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228185', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228185', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:19:21] Production.INFO: ==15981== Releasing lock...
[2025-01-12 01:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:19:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:20:02] Production.INFO: ==16057== Lock acquired, processing the job...
[2025-01-12 06:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:20:02] Production.INFO: neon service started
[2025-01-12 06:20:02] Production.INFO: neon service started
[2025-01-12 06:20:02] Production.INFO: ==16057== Releasing lock...
[2025-01-12 06:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:20:02] Production.INFO: ==16059== Lock acquired, processing the job...
[2025-01-12 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:20:02] Production.INFO: ==16059== Releasing lock...
[2025-01-12 01:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:20:02] Production.INFO: ==16061== Lock acquired, processing the job...
[2025-01-12 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:20:02] Production.INFO: ==16061== Releasing lock...
[2025-01-12 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:20:03] Production.INFO: ==16063== Lock acquired, processing the job...
[2025-01-12 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 01:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 01:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 01:20:03] Production.INFO: ==16063== Releasing lock...
[2025-01-12 01:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 01:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 01:20:03] Production.INFO: ==16067== Lock acquired, processing the job...
[2025-01-12 01:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:20:03] Production.INFO: ==16065== Lock acquired, processing the job...
[2025-01-12 01:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:20:03] Production.INFO: ==16069== Lock acquired, processing the job...
[2025-01-12 01:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:20:03] Production.INFO: ==16071== Lock acquired, processing the job...
[2025-01-12 01:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:20:04] Production.INFO: ==16073== Lock acquired, processing the job...
[2025-01-12 01:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:20:04] Production.INFO: ==16076== Lock acquired, processing the job...
[2025-01-12 01:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 01:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:20:04] Production.INFO: Account Balance Start.
[2025-01-12 01:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:20:04] Production.INFO: 117
[2025-01-12 01:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:20:04] Production.INFO: ==16078== Lock acquired, processing the job...
[2025-01-12 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:20:04] Production.INFO: ==16067== Releasing lock...
[2025-01-12 01:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:20:04] Production.ERROR: done
[2025-01-12 01:20:04] Production.INFO: Total Charge 0
[2025-01-12 01:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:20:04] Production.INFO: count ==21
[2025-01-12 01:20:04] Production.INFO: CreateAllLog End
[2025-01-12 01:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:20:04] Production.INFO: count ==21
[2025-01-12 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228189') start
[2025-01-12 01:20:04] Production.ERROR: done
[2025-01-12 01:20:04] Production.ERROR: done
[2025-01-12 01:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228189') end
[2025-01-12 01:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:20:04] Production.INFO: 1
[2025-01-12 01:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 01:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228190', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 01:20:04] Production.INFO: Account Balance End.
[2025-01-12 01:20:04] Production.INFO: ==16078== Releasing lock...
[2025-01-12 01:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:20:04] Production.INFO: ==16071== Releasing lock...
[2025-01-12 01:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:20:06
[end_date_ymd] => 2025-01-12 01:20:06
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:20:06' and `end` < '2025-01-12 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-01-12 01:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228190', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 01:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 01:20:08] Production.INFO: ProcessCDR(1,14228190,1,1,2)
[2025-01-12 01:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228190,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:20:08] Production.INFO: ==16076== Releasing lock...
[2025-01-12 01:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 01:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 01:20:12] Production.ERROR: CronJobId end10
[2025-01-12 01:20:12] Production.INFO: ==16069== Releasing lock...
[2025-01-12 01:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:20:15] Production.INFO: call_cost start
[2025-01-12 01:20:15] Production.INFO: call_cost end
[2025-01-12 01:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:20:15] Production.INFO: ==16065== Releasing lock...
[2025-01-12 01:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:20:19] Production.INFO: count ==504
[2025-01-12 01:20:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:20:06 - End Time 2025-01-12 01:20:06
[2025-01-12 01:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228191', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228191', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228191', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228191', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:20:19] Production.INFO: ProcessCDR(1,14228191,1,1,2)
[2025-01-12 01:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228191', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228191', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:20:22] Production.INFO: ==16073== Releasing lock...
[2025-01-12 01:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:20:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:21:01] Production.INFO: ==16152== Lock acquired, processing the job...
[2025-01-12 06:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:21:01] Production.INFO: neon service started
[2025-01-12 06:21:01] Production.INFO: neon service started
[2025-01-12 06:21:01] Production.INFO: ==16152== Releasing lock...
[2025-01-12 06:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:21:01] Production.INFO: ==16154== Lock acquired, processing the job...
[2025-01-12 01:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:21:02] Production.INFO: ==16154== Releasing lock...
[2025-01-12 01:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:21:02] Production.INFO: ==16156== Lock acquired, processing the job...
[2025-01-12 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:21:02] Production.INFO: ==16156== Releasing lock...
[2025-01-12 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:21:02] Production.INFO: ==16161== Lock acquired, processing the job...
[2025-01-12 01:21:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:21:02] Production.INFO: ==16163== Lock acquired, processing the job...
[2025-01-12 01:21:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:21:02] Production.INFO: ==16165== Lock acquired, processing the job...
[2025-01-12 01:21:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:21:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:21:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:21:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:21:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:21:03] Production.INFO: Account Balance Start.
[2025-01-12 01:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:21:03] Production.INFO: 117
[2025-01-12 01:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:21:03] Production.INFO: ==16161== Releasing lock...
[2025-01-12 01:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:21:03] Production.INFO: ==16159== Lock acquired, processing the job...
[2025-01-12 01:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:21:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:21:03] Production.INFO: Total Charge 0
[2025-01-12 01:21:03] Production.INFO: CreateAllLog End
[2025-01-12 01:21:03] Production.INFO: ==16167== Lock acquired, processing the job...
[2025-01-12 01:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:21:03] Production.INFO: ==16169== Lock acquired, processing the job...
[2025-01-12 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:21:03] Production.INFO: Account Balance End.
[2025-01-12 01: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-01-12 01:21:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:21:03] Production.INFO: ==16165== Releasing lock...
[2025-01-12 01:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:21:03] Production.INFO: count ==21
[2025-01-12 01: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-01-12 01:21:03] Production.INFO: count ==21
[2025-01-12 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228195') start
[2025-01-12 01:21:03] Production.ERROR: done
[2025-01-12 01:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228195') end
[2025-01-12 01:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:21:03] Production.INFO: 1
[2025-01-12 01:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:21:03] Production.INFO: ==16169== Releasing lock...
[2025-01-12 01:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:21:03] Production.ERROR: done
[2025-01-12 01:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:21:04
[end_date_ymd] => 2025-01-12 01:21:04
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:21:04' and `end` < '2025-01-12 01: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-01-12 01:21:10] Production.ERROR: CronJobId end10
[2025-01-12 01:21:10] Production.INFO: ==16163== Releasing lock...
[2025-01-12 01:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:21:12] Production.INFO: call_cost start
[2025-01-12 01:21:12] Production.INFO: call_cost end
[2025-01-12 01:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:21:13] Production.INFO: ==16159== Releasing lock...
[2025-01-12 01:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:21:19] Production.INFO: count ==521
[2025-01-12 01:21:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:21:04 - End Time 2025-01-12 01:21:04
[2025-01-12 01:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228196', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228196', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228196', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228196', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:21:19] Production.INFO: ProcessCDR(1,14228196,1,1,2)
[2025-01-12 01:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228196', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228196', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:21:23] Production.INFO: ==16167== Releasing lock...
[2025-01-12 01:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:21:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:22:01] Production.INFO: ==16247== Lock acquired, processing the job...
[2025-01-12 06:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:22:01] Production.INFO: neon service started
[2025-01-12 06:22:01] Production.INFO: neon service started
[2025-01-12 06:22:01] Production.INFO: ==16247== Releasing lock...
[2025-01-12 06:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:22:02] Production.INFO: ==16249== Lock acquired, processing the job...
[2025-01-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:22:02] Production.INFO: ==16251== Lock acquired, processing the job...
[2025-01-12 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:22:02] Production.INFO: ==16251== Releasing lock...
[2025-01-12 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:22:02] Production.INFO: ==16249== Releasing lock...
[2025-01-12 01:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:22:03] Production.INFO: ==16253== Lock acquired, processing the job...
[2025-01-12 01:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:22:03] Production.INFO: ==16255== Lock acquired, processing the job...
[2025-01-12 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:22:03] Production.INFO: ==16263== Lock acquired, processing the job...
[2025-01-12 01:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:22:03] Production.INFO: ==16257== Lock acquired, processing the job...
[2025-01-12 01:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:22:03] Production.INFO: ==16259== Lock acquired, processing the job...
[2025-01-12 01:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:22:03] Production.INFO: ==16255== Releasing lock...
[2025-01-12 01:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 01:22:03] Production.INFO: ==16261== Lock acquired, processing the job...
[2025-01-12 01:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:22:03] Production.INFO: count ==21
[2025-01-12 01:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 01:22:03] Production.INFO: count ==21
[2025-01-12 01:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228199') start
[2025-01-12 01:22:03] Production.INFO: Account Balance Start.
[2025-01-12 01:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:22:03] Production.INFO: 117
[2025-01-12 01:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228199') end
[2025-01-12 01:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:22:04] Production.INFO: 1
[2025-01-12 01:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:22:04] Production.INFO: ==16263== Releasing lock...
[2025-01-12 01:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:22:04] Production.INFO: Total Charge 0
[2025-01-12 01:22:04] Production.INFO: CreateAllLog End
[2025-01-12 01:22:04] Production.ERROR: done
[2025-01-12 01:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:22:04] Production.ERROR: done
[2025-01-12 01:22:04] Production.INFO: Account Balance End.
[2025-01-12 01:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:22:04] Production.INFO: ==16259== Releasing lock...
[2025-01-12 01:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:22:05
[end_date_ymd] => 2025-01-12 01:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:22:05' and `end` < '2025-01-12 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-01-12 01:22:12] Production.ERROR: CronJobId end10
[2025-01-12 01:22:12] Production.INFO: ==16257== Releasing lock...
[2025-01-12 01:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:22:13] Production.INFO: call_cost start
[2025-01-12 01:22:13] Production.INFO: call_cost end
[2025-01-12 01:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:22:14] Production.INFO: ==16253== Releasing lock...
[2025-01-12 01:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:22:18] Production.INFO: count ==521
[2025-01-12 01:22:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:22:05 - End Time 2025-01-12 01:22:05
[2025-01-12 01:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228201', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228201', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228201', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228201', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:22:18] Production.INFO: ProcessCDR(1,14228201,1,1,2)
[2025-01-12 01:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228201', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228201', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:22:21] Production.INFO: ==16261== Releasing lock...
[2025-01-12 01:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:22:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:23:01] Production.INFO: ==16337== Lock acquired, processing the job...
[2025-01-12 06:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:23:01] Production.INFO: neon service started
[2025-01-12 06:23:01] Production.INFO: neon service started
[2025-01-12 06:23:01] Production.INFO: ==16337== Releasing lock...
[2025-01-12 06:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:23:01] Production.INFO: ==16341== Lock acquired, processing the job...
[2025-01-12 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:23:01] Production.INFO: ==16341== Releasing lock...
[2025-01-12 06:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:23:01] Production.INFO: ==16339== Lock acquired, processing the job...
[2025-01-12 01:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:23:02] Production.INFO: ==16339== Releasing lock...
[2025-01-12 01:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:23:03] Production.INFO: ==16346== Lock acquired, processing the job...
[2025-01-12 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:23:03] Production.INFO: ==16352== Lock acquired, processing the job...
[2025-01-12 01:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:23:03] Production.INFO: ==16350== Lock acquired, processing the job...
[2025-01-12 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:23:03] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-01-12 01:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:23:03] Production.INFO: ==16348== Lock acquired, processing the job...
[2025-01-12 01:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:23:03] Production.INFO: Account Balance Start.
[2025-01-12 01:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:23:03] Production.INFO: 117
[2025-01-12 01:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:23:03] Production.INFO: ==16354== Lock acquired, processing the job...
[2025-01-12 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:23:03] Production.INFO: ==16346== Releasing lock...
[2025-01-12 01:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:23:03] Production.INFO: count ==21
[2025-01-12 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-01-12 01:23:03] Production.ERROR: done
[2025-01-12 01:23:03] Production.INFO: count ==21
[2025-01-12 01:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228205') start
[2025-01-12 01:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:23:03] Production.INFO: Total Charge 0
[2025-01-12 01:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228205') end
[2025-01-12 01:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:23:03] Production.INFO: 1
[2025-01-12 01:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:23:03] Production.INFO: CreateAllLog End
[2025-01-12 01:23:03] Production.ERROR: done
[2025-01-12 01:23:03] Production.INFO: ==16354== Releasing lock...
[2025-01-12 01:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:23:03] Production.INFO: Account Balance End.
[2025-01-12 01:23:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:23:03] Production.INFO: ==16350== Releasing lock...
[2025-01-12 01:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:23:04
[end_date_ymd] => 2025-01-12 01:23:04
[RateCDR] => 1
)
[2025-01-12 01:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:23:04' and `end` < '2025-01-12 01:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:23:10] Production.ERROR: CronJobId end10
[2025-01-12 01:23:10] Production.INFO: ==16348== Releasing lock...
[2025-01-12 01:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:23:13] Production.INFO: call_cost start
[2025-01-12 01:23:13] Production.INFO: call_cost end
[2025-01-12 01:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:23:14] Production.INFO: ==16344== Releasing lock...
[2025-01-12 01:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:23:18] Production.INFO: count ==521
[2025-01-12 01:23:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:23:04 - End Time 2025-01-12 01:23:04
[2025-01-12 01:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228206', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228206', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228206', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228206', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:23:18] Production.INFO: ProcessCDR(1,14228206,1,1,2)
[2025-01-12 01:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228206,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228206,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228206', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228206', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:23:21] Production.INFO: ==16352== Releasing lock...
[2025-01-12 01:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:23:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:24:01] Production.INFO: ==16430== Lock acquired, processing the job...
[2025-01-12 06:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:24:01] Production.INFO: neon service started
[2025-01-12 06:24:01] Production.INFO: neon service started
[2025-01-12 06:24:01] Production.INFO: ==16430== Releasing lock...
[2025-01-12 06:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:24:02] Production.INFO: ==16432== Lock acquired, processing the job...
[2025-01-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:24:02] Production.INFO: ==16434== Lock acquired, processing the job...
[2025-01-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:24:02] Production.INFO: ==16434== Releasing lock...
[2025-01-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:24:02] Production.INFO: ==16432== Releasing lock...
[2025-01-12 01:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:24:03] Production.INFO: ==16441== Lock acquired, processing the job...
[2025-01-12 01:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:24:03] Production.INFO: ==16445== Lock acquired, processing the job...
[2025-01-12 01:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:24:03] Production.INFO: ==16437== Lock acquired, processing the job...
[2025-01-12 01:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:24:03] Production.INFO: ==16439== Lock acquired, processing the job...
[2025-01-12 01:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:24:04] Production.INFO: ==16443== Lock acquired, processing the job...
[2025-01-12 01:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:24:04] Production.INFO: ==16447== Lock acquired, processing the job...
[2025-01-12 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:24:04] Production.INFO: Account Balance Start.
[2025-01-12 01:24:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:24:04] Production.INFO: 117
[2025-01-12 01:24:04] Production.ERROR: done
[2025-01-12 01:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:24:04] Production.INFO: count ==21
[2025-01-12 01:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:24:04] Production.INFO: count ==21
[2025-01-12 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228209') start
[2025-01-12 01:24:04] Production.ERROR: done
[2025-01-12 01:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:24:04] Production.INFO: Total Charge 0
[2025-01-12 01:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228209') end
[2025-01-12 01:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:24:04] Production.INFO: 1
[2025-01-12 01:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:24:04] Production.INFO: CreateAllLog End
[2025-01-12 01:24:04] Production.INFO: ==16439== Releasing lock...
[2025-01-12 01:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:24:04] Production.INFO: ==16447== Releasing lock...
[2025-01-12 01:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:24:04] Production.INFO: Account Balance End.
[2025-01-12 01:24:05] Production.ERROR: CronJobId end 12
[2025-01-12 01:24:05] Production.INFO: ==16443== Releasing lock...
[2025-01-12 01:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:24:05
[end_date_ymd] => 2025-01-12 01:24:05
[RateCDR] => 1
)
[2025-01-12 01:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:24:05' and `end` < '2025-01-12 01:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:24:11] Production.ERROR: CronJobId end10
[2025-01-12 01:24:11] Production.INFO: ==16441== Releasing lock...
[2025-01-12 01:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:24:14] Production.INFO: call_cost start
[2025-01-12 01:24:14] Production.INFO: call_cost end
[2025-01-12 01:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:24:15] Production.INFO: ==16437== Releasing lock...
[2025-01-12 01:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:24:19] Production.INFO: count ==521
[2025-01-12 01:24:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:24:05 - End Time 2025-01-12 01:24:05
[2025-01-12 01:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228211', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228211', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228211', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228211', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:24:19] Production.INFO: ProcessCDR(1,14228211,1,1,2)
[2025-01-12 01:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228211', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228211', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:24:22] Production.INFO: ==16445== Releasing lock...
[2025-01-12 01:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:24:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:25:01] Production.INFO: ==16524== Lock acquired, processing the job...
[2025-01-12 06:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:25:01] Production.INFO: neon service started
[2025-01-12 06:25:01] Production.INFO: neon service started
[2025-01-12 06:25:01] Production.INFO: ==16524== Releasing lock...
[2025-01-12 06:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:25:01] Production.INFO: ==16526== Lock acquired, processing the job...
[2025-01-12 01:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:25:02] Production.INFO: ==16526== Releasing lock...
[2025-01-12 01:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:25:02] Production.INFO: ==16528== Lock acquired, processing the job...
[2025-01-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:25:02] Production.INFO: ==16528== Releasing lock...
[2025-01-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:25:02] Production.INFO: ==16530== Lock acquired, processing the job...
[2025-01-12 01:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:25:02] Production.INFO: ==16540== Lock acquired, processing the job...
[2025-01-12 01:25:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 01:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:25:03] Production.INFO: count ==21
[2025-01-12 01:25:03] Production.INFO: ==16532== Lock acquired, processing the job...
[2025-01-12 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 01:25:03] Production.INFO: ==16534== Lock acquired, processing the job...
[2025-01-12 01:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:25:03] Production.INFO: count ==21
[2025-01-12 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228212') start
[2025-01-12 01:25:03] Production.INFO: ==16536== Lock acquired, processing the job...
[2025-01-12 01:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:25:03] Production.INFO: ==16538== Lock acquired, processing the job...
[2025-01-12 01:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:25:03] Production.INFO: Account Balance Start.
[2025-01-12 01:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:25:03] Production.INFO: 117
[2025-01-12 01:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228212') end
[2025-01-12 01:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:25:03] Production.INFO: 1
[2025-01-12 01:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:25:03] Production.INFO: ==16540== Releasing lock...
[2025-01-12 01:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:25:03] Production.ERROR: done
[2025-01-12 01:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:25:03] Production.INFO: ==16532== Releasing lock...
[2025-01-12 01:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:25:03] Production.INFO: Total Charge 0
[2025-01-12 01:25:03] Production.INFO: CreateAllLog End
[2025-01-12 01:25:03] Production.ERROR: done
[2025-01-12 01:25:04] Production.INFO: Account Balance End.
[2025-01-12 01:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:25:04] Production.INFO: ==16536== Releasing lock...
[2025-01-12 01:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:25:04
[end_date_ymd] => 2025-01-12 01:25:04
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:25:04' and `end` < '2025-01-12 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-01-12 01:25:10] Production.ERROR: CronJobId end10
[2025-01-12 01:25:10] Production.INFO: ==16534== Releasing lock...
[2025-01-12 01:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:25:12] Production.INFO: call_cost start
[2025-01-12 01:25:12] Production.INFO: call_cost end
[2025-01-12 01:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:25:13] Production.INFO: ==16530== Releasing lock...
[2025-01-12 01:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:25:18] Production.INFO: count ==522
[2025-01-12 01:25:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:25:04 - End Time 2025-01-12 01:25:04
[2025-01-12 01:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228216', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228216', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228216', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228216', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:25:18] Production.INFO: ProcessCDR(1,14228216,1,1,2)
[2025-01-12 01:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228216', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228216', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:25:22] Production.INFO: ==16538== Releasing lock...
[2025-01-12 01:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:25:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:26:01] Production.INFO: ==16618== Lock acquired, processing the job...
[2025-01-12 06:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:26:01] Production.INFO: neon service started
[2025-01-12 06:26:01] Production.INFO: neon service started
[2025-01-12 06:26:01] Production.INFO: ==16618== Releasing lock...
[2025-01-12 06:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:26:02] Production.INFO: ==16620== Lock acquired, processing the job...
[2025-01-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:26:02] Production.INFO: ==16622== Lock acquired, processing the job...
[2025-01-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:26:02] Production.INFO: ==16622== Releasing lock...
[2025-01-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:26:02] Production.INFO: ==16620== Releasing lock...
[2025-01-12 01:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:26:03] Production.INFO: ==16631== Lock acquired, processing the job...
[2025-01-12 01:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:26:03] Production.INFO: ==16635== Lock acquired, processing the job...
[2025-01-12 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:26:03] Production.INFO: Account Balance Start.
[2025-01-12 01:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:26:03] Production.INFO: 117
[2025-01-12 01:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:26:03] Production.INFO: count ==21
[2025-01-12 01: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-01-12 01:26:03] Production.INFO: count ==21
[2025-01-12 01:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228218') start
[2025-01-12 01:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:26:03] Production.INFO: ==16625== Lock acquired, processing the job...
[2025-01-12 01:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228218') end
[2025-01-12 01:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:26:03] Production.INFO: 1
[2025-01-12 01:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:26:03] Production.INFO: ==16635== Releasing lock...
[2025-01-12 01:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:26:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:26:03] Production.INFO: ==16627== Lock acquired, processing the job...
[2025-01-12 01:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:26:03] Production.INFO: ==16629== Lock acquired, processing the job...
[2025-01-12 01:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:26:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:26:03] Production.INFO: Total Charge 0
[2025-01-12 01:26:03] Production.INFO: ==16633== Lock acquired, processing the job...
[2025-01-12 01:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:26:03] Production.INFO: CreateAllLog End
[2025-01-12 01:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:26:04] Production.INFO: Account Balance End.
[2025-01-12 01:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:26:04] Production.INFO: ==16631== Releasing lock...
[2025-01-12 01:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:26:04] Production.ERROR: done
[2025-01-12 01:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:26:04] Production.INFO: ==16627== Releasing lock...
[2025-01-12 01:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:26:04] Production.ERROR: done
[2025-01-12 01:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:26:05
[end_date_ymd] => 2025-01-12 01:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:26:05' and `end` < '2025-01-12 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-01-12 01:26:12] Production.ERROR: CronJobId end10
[2025-01-12 01:26:12] Production.INFO: ==16629== Releasing lock...
[2025-01-12 01:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:26:14] Production.INFO: call_cost start
[2025-01-12 01:26:14] Production.INFO: call_cost end
[2025-01-12 01:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:26:14] Production.INFO: ==16625== Releasing lock...
[2025-01-12 01:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:26:19] Production.INFO: count ==522
[2025-01-12 01:26:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:26:05 - End Time 2025-01-12 01:26:05
[2025-01-12 01:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228221', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228221', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228221', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228221', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:26:19] Production.INFO: ProcessCDR(1,14228221,1,1,2)
[2025-01-12 01:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228221,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228221,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228221', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228221', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:26:23] Production.INFO: ==16633== Releasing lock...
[2025-01-12 01:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:26:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:27:02] Production.INFO: ==16711== Lock acquired, processing the job...
[2025-01-12 06:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:27:02] Production.INFO: neon service started
[2025-01-12 06:27:02] Production.INFO: neon service started
[2025-01-12 06:27:02] Production.INFO: ==16711== Releasing lock...
[2025-01-12 06:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:27:02] Production.INFO: ==16715== Lock acquired, processing the job...
[2025-01-12 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:27:02] Production.INFO: ==16715== Releasing lock...
[2025-01-12 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:27:02] Production.INFO: ==16713== Lock acquired, processing the job...
[2025-01-12 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:27:02] Production.INFO: ==16713== Releasing lock...
[2025-01-12 01:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:27:03] Production.INFO: ==16725== Lock acquired, processing the job...
[2025-01-12 01:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:27:03] Production.INFO: ==16727== Lock acquired, processing the job...
[2025-01-12 01:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:27:03] Production.INFO: ==16718== Lock acquired, processing the job...
[2025-01-12 01:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:27:03] Production.INFO: Account Balance Start.
[2025-01-12 01:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:27:03] Production.INFO: 117
[2025-01-12 01:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:27:03] Production.INFO: ==16720== Lock acquired, processing the job...
[2025-01-12 01:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:27:03] Production.INFO: ==16722== Lock acquired, processing the job...
[2025-01-12 01:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:27:04] Production.INFO: ==16729== Lock acquired, processing the job...
[2025-01-12 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:27:04] Production.ERROR: done
[2025-01-12 01:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 01: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-01-12 01:27:04] Production.INFO: Total Charge 0
[2025-01-12 01:27:04] Production.INFO: CreateAllLog End
[2025-01-12 01:27:04] Production.INFO: count ==21
[2025-01-12 01: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-01-12 01:27:04] Production.INFO: count ==21
[2025-01-12 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228225') start
[2025-01-12 01:27:04] Production.ERROR: done
[2025-01-12 01:27:04] Production.INFO: ==16720== Releasing lock...
[2025-01-12 01:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228225') end
[2025-01-12 01:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:27:04] Production.INFO: 1
[2025-01-12 01:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:27:04] Production.INFO: ==16729== Releasing lock...
[2025-01-12 01:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:27:04] Production.INFO: Account Balance End.
[2025-01-12 01:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:27:04] Production.INFO: ==16725== Releasing lock...
[2025-01-12 01:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:27:05
[end_date_ymd] => 2025-01-12 01:27:05
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:27:05' and `end` < '2025-01-12 01: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-01-12 01:27:11] Production.ERROR: CronJobId end10
[2025-01-12 01:27:11] Production.INFO: ==16722== Releasing lock...
[2025-01-12 01:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:27:14] Production.INFO: call_cost start
[2025-01-12 01:27:14] Production.INFO: call_cost end
[2025-01-12 01:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:27:14] Production.INFO: ==16718== Releasing lock...
[2025-01-12 01:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:27:20] Production.INFO: count ==522
[2025-01-12 01:27:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:27:05 - End Time 2025-01-12 01:27:05
[2025-01-12 01:27:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228226', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228226', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228226', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:27:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228226', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:27:20] Production.INFO: ProcessCDR(1,14228226,1,1,2)
[2025-01-12 01:27:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:27:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228226,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:27:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:27:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228226,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228226', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228226', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:27:24] Production.INFO: ==16727== Releasing lock...
[2025-01-12 01:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:27:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:28:01] Production.INFO: ==16799== Lock acquired, processing the job...
[2025-01-12 06:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:28:01] Production.INFO: neon service started
[2025-01-12 06:28:01] Production.INFO: neon service started
[2025-01-12 06:28:01] Production.INFO: ==16799== Releasing lock...
[2025-01-12 06:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:28:01] Production.INFO: ==16803== Lock acquired, processing the job...
[2025-01-12 06:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:28:02] Production.INFO: ==16803== Releasing lock...
[2025-01-12 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:28:02] Production.INFO: ==16801== Lock acquired, processing the job...
[2025-01-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:28:02] Production.INFO: ==16801== Releasing lock...
[2025-01-12 01:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:28:03] Production.INFO: ==16806== Lock acquired, processing the job...
[2025-01-12 01:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:28:03] Production.INFO: ==16808== Lock acquired, processing the job...
[2025-01-12 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:28:03] Production.INFO: ==16812== Lock acquired, processing the job...
[2025-01-12 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:28:03] Production.INFO: Account Balance Start.
[2025-01-12 01:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:28:03] Production.INFO: 117
[2025-01-12 01:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:28:03] Production.INFO: ==16808== Releasing lock...
[2025-01-12 01:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:28:03] Production.INFO: Total Charge 0
[2025-01-12 01:28:03] Production.INFO: ==16810== Lock acquired, processing the job...
[2025-01-12 01:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:28:03] Production.INFO: CreateAllLog End
[2025-01-12 01:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:28:03] Production.INFO: ==16814== Lock acquired, processing the job...
[2025-01-12 01:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:28:03] Production.INFO: Account Balance End.
[2025-01-12 01:28:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:28:03] Production.INFO: ==16812== Releasing lock...
[2025-01-12 01:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:28:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:28:03] Production.INFO: ==16816== Lock acquired, processing the job...
[2025-01-12 01:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:28:03] Production.ERROR: done
[2025-01-12 01:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:28:04] Production.ERROR: done
[2025-01-12 01:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:28:04] Production.INFO: count ==21
[2025-01-12 01:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:28:04] Production.INFO: count ==21
[2025-01-12 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228230') start
[2025-01-12 01:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228230') end
[2025-01-12 01:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:28:04] Production.INFO: 1
[2025-01-12 01:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:28:04] Production.INFO: ==16816== Releasing lock...
[2025-01-12 01:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:28:05
[end_date_ymd] => 2025-01-12 01:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:28:05' and `end` < '2025-01-12 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-01-12 01:28:11] Production.ERROR: CronJobId end10
[2025-01-12 01:28:11] Production.INFO: ==16810== Releasing lock...
[2025-01-12 01:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:28:13] Production.INFO: call_cost start
[2025-01-12 01:28:13] Production.INFO: call_cost end
[2025-01-12 01:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:28:14] Production.INFO: ==16806== Releasing lock...
[2025-01-12 01:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:28:18] Production.INFO: count ==523
[2025-01-12 01:28:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:28:05 - End Time 2025-01-12 01:28:05
[2025-01-12 01:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228231', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228231', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228231', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228231', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:28:18] Production.INFO: ProcessCDR(1,14228231,1,1,2)
[2025-01-12 01:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228231,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228231,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228231', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228231', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:28:22] Production.INFO: ==16814== Releasing lock...
[2025-01-12 01:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:28:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:29:01] Production.INFO: ==16879== Lock acquired, processing the job...
[2025-01-12 06:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:29:01] Production.INFO: neon service started
[2025-01-12 06:29:02] Production.INFO: neon service started
[2025-01-12 06:29:02] Production.INFO: ==16879== Releasing lock...
[2025-01-12 06:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:29:02] Production.INFO: ==16881== Lock acquired, processing the job...
[2025-01-12 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:29:02] Production.INFO: ==16881== Releasing lock...
[2025-01-12 01:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:29:02] Production.INFO: ==16883== Lock acquired, processing the job...
[2025-01-12 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:29:02] Production.INFO: ==16883== Releasing lock...
[2025-01-12 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:29:03] Production.INFO: ==16886== Lock acquired, processing the job...
[2025-01-12 01:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:29:03] Production.INFO: ==16888== Lock acquired, processing the job...
[2025-01-12 01:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:29:03] Production.INFO: ==16890== Lock acquired, processing the job...
[2025-01-12 01:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:29:03] Production.INFO: ==16892== Lock acquired, processing the job...
[2025-01-12 01:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:29:03] Production.INFO: ==16894== Lock acquired, processing the job...
[2025-01-12 01:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:29:03] Production.INFO: ==16896== Lock acquired, processing the job...
[2025-01-12 01:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:29:03] Production.INFO: Account Balance Start.
[2025-01-12 01:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 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-01-12 01:29:03] Production.INFO: 117
[2025-01-12 01:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:29:03] Production.INFO: count ==21
[2025-01-12 01:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 01:29:03] Production.INFO: count ==21
[2025-01-12 01:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:29:04] Production.INFO: ==16888== Releasing lock...
[2025-01-12 01:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:29:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228234') start
[2025-01-12 01:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228234') end
[2025-01-12 01:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:29:04] Production.INFO: 1
[2025-01-12 01:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:29:04] Production.INFO: Total Charge 0
[2025-01-12 01:29:04] Production.INFO: ==16896== Releasing lock...
[2025-01-12 01:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:29:04] Production.INFO: CreateAllLog End
[2025-01-12 01:29:04] Production.ERROR: done
[2025-01-12 01:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:29:04] Production.INFO: Account Balance End.
[2025-01-12 01:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:29:04] Production.INFO: ==16892== Releasing lock...
[2025-01-12 01:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:29:04] Production.ERROR: done
[2025-01-12 01:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:29:05
[end_date_ymd] => 2025-01-12 01:29:05
[RateCDR] => 1
)
[2025-01-12 01:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:29:05' and `end` < '2025-01-12 01:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:29:12] Production.ERROR: CronJobId end10
[2025-01-12 01:29:12] Production.INFO: ==16890== Releasing lock...
[2025-01-12 01:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:29:12] Production.INFO: call_cost start
[2025-01-12 01:29:12] Production.INFO: call_cost end
[2025-01-12 01:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:29:13] Production.INFO: ==16886== Releasing lock...
[2025-01-12 01:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:29:18] Production.INFO: count ==525
[2025-01-12 01:29:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:29:05 - End Time 2025-01-12 01:29:05
[2025-01-12 01:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228236', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228236', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228236', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228236', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:29:18] Production.INFO: ProcessCDR(1,14228236,1,1,2)
[2025-01-12 01:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228236,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228236,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228236', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228236', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:29:23] Production.INFO: ==16894== Releasing lock...
[2025-01-12 01:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:29:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:30:01] Production.INFO: ==16999== Lock acquired, processing the job...
[2025-01-12 06:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:30:01] Production.INFO: neon service started
[2025-01-12 06:30:01] Production.INFO: neon service started
[2025-01-12 06:30:01] Production.INFO: ==16999== Releasing lock...
[2025-01-12 06:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:30:01] Production.INFO: ==17003== Lock acquired, processing the job...
[2025-01-12 06:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:30:01] Production.INFO: ==17003== Releasing lock...
[2025-01-12 06:30:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:30:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:30:02] Production.INFO: ==17001== Lock acquired, processing the job...
[2025-01-12 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:30:02] Production.INFO: ==17001== Releasing lock...
[2025-01-12 01:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:30:03] Production.INFO: ==17005== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 01:30:03] Production.INFO: ==17007== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 01:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 01:30:03] Production.INFO: ==17005== Releasing lock...
[2025-01-12 01:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 01:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 01:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:30:03] Production.INFO: ==17009== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:30:03] Production.INFO: ==17013== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:30:03] Production.INFO: ==17016== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:30:03] Production.INFO: ==17011== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:30:03] Production.INFO: Account Balance Start.
[2025-01-12 01:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:30:03] Production.INFO: 117
[2025-01-12 01:30:03] Production.INFO: ==17018== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 01:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:30:03] Production.INFO: ==17020== Lock acquired, processing the job...
[2025-01-12 01:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:30:03] Production.INFO: ==17009== Releasing lock...
[2025-01-12 01:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:30:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:30:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:30:04] Production.ERROR: done
[2025-01-12 01:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:30:04] Production.INFO: Total Charge 0
[2025-01-12 01:30:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 01:30:04] Production.INFO: count ==21
[2025-01-12 01:30:04] Production.ERROR: done
[2025-01-12 01:30:04] Production.ERROR: done
[2025-01-12 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-01-12 01:30:04] Production.INFO: count ==21
[2025-01-12 01:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 01:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228241', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228240') start
[2025-01-12 01:30:04] Production.INFO: Account Balance End.
[2025-01-12 01:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228240') end
[2025-01-12 01:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:30:04] Production.INFO: 1
[2025-01-12 01:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:30:04] Production.INFO: ==17013== Releasing lock...
[2025-01-12 01:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:30:04] Production.INFO: ==17020== Releasing lock...
[2025-01-12 01:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:30:05
[end_date_ymd] => 2025-01-12 01:30:05
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:30:05' and `end` < '2025-01-12 01: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-01-12 01:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228241', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 01:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 01:30:08] Production.INFO: ProcessCDR(1,14228241,1,1,2)
[2025-01-12 01:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228241,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228241,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:30:08] Production.INFO: ==17018== Releasing lock...
[2025-01-12 01:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 01:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 01:30:12] Production.ERROR: CronJobId end10
[2025-01-12 01:30:12] Production.INFO: ==17011== Releasing lock...
[2025-01-12 01:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:30:15] Production.INFO: call_cost start
[2025-01-12 01:30:15] Production.INFO: call_cost end
[2025-01-12 01:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:30:15] Production.INFO: ==17007== Releasing lock...
[2025-01-12 01:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:30:18] Production.INFO: count ==534
[2025-01-12 01:30:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:30:05 - End Time 2025-01-12 01:30:05
[2025-01-12 01:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228242', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228242', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228242', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228242', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:30:18] Production.INFO: ProcessCDR(1,14228242,1,1,2)
[2025-01-12 01:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228242', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228242', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:30:23] Production.INFO: ==17016== Releasing lock...
[2025-01-12 01:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:30:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:31:01] Production.INFO: ==17081== Lock acquired, processing the job...
[2025-01-12 06:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:31:01] Production.INFO: neon service started
[2025-01-12 06:31:01] Production.INFO: neon service started
[2025-01-12 06:31:01] Production.INFO: ==17081== Releasing lock...
[2025-01-12 06:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:31:02] Production.INFO: ==17083== Lock acquired, processing the job...
[2025-01-12 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:31:02] Production.INFO: ==17083== Releasing lock...
[2025-01-12 01:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:31:02] Production.INFO: ==17085== Lock acquired, processing the job...
[2025-01-12 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:31:02] Production.INFO: ==17085== Releasing lock...
[2025-01-12 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:31:03] Production.INFO: ==17093== Lock acquired, processing the job...
[2025-01-12 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:31:03] Production.INFO: ==17097== Lock acquired, processing the job...
[2025-01-12 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:31:03] Production.INFO: ==17087== Lock acquired, processing the job...
[2025-01-12 01:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:31:03] Production.INFO: ==17089== Lock acquired, processing the job...
[2025-01-12 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:31:03] Production.INFO: Account Balance Start.
[2025-01-12 01:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:31:03] Production.INFO: 117
[2025-01-12 01:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:31:03] Production.INFO: ==17091== Lock acquired, processing the job...
[2025-01-12 01:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:31:03] Production.INFO: count ==21
[2025-01-12 01:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:31:03] Production.INFO: ==17095== Lock acquired, processing the job...
[2025-01-12 01:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:31:03] Production.INFO: count ==21
[2025-01-12 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228244') start
[2025-01-12 01:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:31:03] Production.INFO: Total Charge 0
[2025-01-12 01:31:03] Production.INFO: CreateAllLog End
[2025-01-12 01:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228244') end
[2025-01-12 01:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:31:03] Production.INFO: 1
[2025-01-12 01:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:31:03] Production.INFO: ==17097== Releasing lock...
[2025-01-12 01:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:31:03] Production.INFO: Account Balance End.
[2025-01-12 01:31:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:31:03] Production.INFO: ==17093== Releasing lock...
[2025-01-12 01:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:31:03] Production.INFO: ==17089== Releasing lock...
[2025-01-12 01:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:31:03] Production.ERROR: done
[2025-01-12 01:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:31:04] Production.ERROR: done
[2025-01-12 01:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:31:05
[end_date_ymd] => 2025-01-12 01:31:05
[RateCDR] => 1
)
[2025-01-12 01:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:31:05' and `end` < '2025-01-12 01:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:31:11] Production.ERROR: CronJobId end10
[2025-01-12 01:31:11] Production.INFO: ==17091== Releasing lock...
[2025-01-12 01:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:31:13] Production.INFO: call_cost start
[2025-01-12 01:31:13] Production.INFO: call_cost end
[2025-01-12 01:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:31:14] Production.INFO: ==17087== Releasing lock...
[2025-01-12 01:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:31:19] Production.INFO: count ==546
[2025-01-12 01:31:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:31:05 - End Time 2025-01-12 01:31:05
[2025-01-12 01:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228247', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228247', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228247', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228247', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:31:19] Production.INFO: ProcessCDR(1,14228247,1,1,2)
[2025-01-12 01:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:31:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:31:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228247', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228247', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:31:22] Production.INFO: ==17095== Releasing lock...
[2025-01-12 01:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:31:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:32:02] Production.INFO: ==17157== Lock acquired, processing the job...
[2025-01-12 06:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:32:02] Production.INFO: neon service started
[2025-01-12 06:32:02] Production.INFO: neon service started
[2025-01-12 06:32:02] Production.INFO: ==17157== Releasing lock...
[2025-01-12 06:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:32:02] Production.INFO: ==17159== Lock acquired, processing the job...
[2025-01-12 01:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:32:02] Production.INFO: ==17161== Lock acquired, processing the job...
[2025-01-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:32:02] Production.INFO: ==17161== Releasing lock...
[2025-01-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:32:03] Production.INFO: ==17159== Releasing lock...
[2025-01-12 01:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:32:03] Production.INFO: ==17164== Lock acquired, processing the job...
[2025-01-12 01:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:32:03] Production.INFO: ==17166== Lock acquired, processing the job...
[2025-01-12 01:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:32:04] Production.INFO: ==17170== Lock acquired, processing the job...
[2025-01-12 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:32:04] Production.INFO: Account Balance Start.
[2025-01-12 01:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:32:04] Production.INFO: 117
[2025-01-12 01:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:32:04] Production.INFO: ==17168== Lock acquired, processing the job...
[2025-01-12 01:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:32:04] Production.INFO: ==17166== Releasing lock...
[2025-01-12 01:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:32:04] Production.INFO: ==17172== Lock acquired, processing the job...
[2025-01-12 01:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:32:04] Production.INFO: Total Charge 0
[2025-01-12 01:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:32:04] Production.INFO: CreateAllLog End
[2025-01-12 01:32:04] Production.INFO: ==17174== Lock acquired, processing the job...
[2025-01-12 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:32:04] Production.INFO: Account Balance End.
[2025-01-12 01:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:32:04] Production.INFO: ==17170== Releasing lock...
[2025-01-12 01:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01: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-01-12 01:32:04] Production.ERROR: done
[2025-01-12 01:32:04] Production.INFO: count ==21
[2025-01-12 01:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01: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-01-12 01:32:04] Production.INFO: count ==21
[2025-01-12 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228251') start
[2025-01-12 01:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228251') end
[2025-01-12 01:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:32:04] Production.INFO: 1
[2025-01-12 01:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:32:04] Production.INFO: ==17174== Releasing lock...
[2025-01-12 01:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:32:04] Production.ERROR: done
[2025-01-12 01:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:32:05
[end_date_ymd] => 2025-01-12 01:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:32:05' and `end` < '2025-01-12 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-01-12 01:32:11] Production.ERROR: CronJobId end10
[2025-01-12 01:32:11] Production.INFO: ==17168== Releasing lock...
[2025-01-12 01:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:32:13] Production.INFO: call_cost start
[2025-01-12 01:32:13] Production.INFO: call_cost end
[2025-01-12 01:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:32:14] Production.INFO: ==17164== Releasing lock...
[2025-01-12 01:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:32:20] Production.INFO: count ==546
[2025-01-12 01:32:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:32:05 - End Time 2025-01-12 01:32:05
[2025-01-12 01:32:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228252', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228252', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228252', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228252', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:32:20] Production.INFO: ProcessCDR(1,14228252,1,1,2)
[2025-01-12 01:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228252', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228252', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:32:23] Production.INFO: ==17172== Releasing lock...
[2025-01-12 01:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:32:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:33:01] Production.INFO: ==17235== Lock acquired, processing the job...
[2025-01-12 06:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:33:01] Production.INFO: neon service started
[2025-01-12 06:33:01] Production.INFO: neon service started
[2025-01-12 06:33:01] Production.INFO: ==17235== Releasing lock...
[2025-01-12 06:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:33:01] Production.INFO: ==17237== Lock acquired, processing the job...
[2025-01-12 01:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:33:02] Production.INFO: ==17237== Releasing lock...
[2025-01-12 01:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:33:02] Production.INFO: ==17239== Lock acquired, processing the job...
[2025-01-12 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:33:02] Production.INFO: ==17239== Releasing lock...
[2025-01-12 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:33:03] Production.INFO: ==17245== Lock acquired, processing the job...
[2025-01-12 01:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:33:03] Production.INFO: ==17241== Lock acquired, processing the job...
[2025-01-12 01:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:33:03] Production.INFO: ==17243== Lock acquired, processing the job...
[2025-01-12 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:33:03] Production.INFO: ==17251== Lock acquired, processing the job...
[2025-01-12 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:33:03] Production.INFO: ==17247== Lock acquired, processing the job...
[2025-01-12 01:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:33:03] Production.INFO: ==17249== Lock acquired, processing the job...
[2025-01-12 01:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:33:03] Production.INFO: Account Balance Start.
[2025-01-12 01:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:33:03] Production.INFO: 117
[2025-01-12 01: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-01-12 01:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:33:03] Production.INFO: count ==21
[2025-01-12 01: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-01-12 01:33:03] Production.INFO: count ==21
[2025-01-12 01:33:03] Production.INFO: ==17243== Releasing lock...
[2025-01-12 01:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228256') start
[2025-01-12 01:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228256') end
[2025-01-12 01:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:33:03] Production.INFO: 1
[2025-01-12 01:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:33:03] Production.ERROR: done
[2025-01-12 01:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:33:03] Production.INFO: Total Charge 0
[2025-01-12 01:33:03] Production.INFO: CreateAllLog End
[2025-01-12 01:33:03] Production.INFO: ==17251== Releasing lock...
[2025-01-12 01:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:33:03] Production.ERROR: done
[2025-01-12 01:33:04] Production.INFO: Account Balance End.
[2025-01-12 01:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:33:04] Production.INFO: ==17247== Releasing lock...
[2025-01-12 01:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:33:05
[end_date_ymd] => 2025-01-12 01:33:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:33:05' and `end` < '2025-01-12 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-01-12 01:33:10] Production.ERROR: CronJobId end10
[2025-01-12 01:33:10] Production.INFO: ==17245== Releasing lock...
[2025-01-12 01:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:33:13] Production.INFO: call_cost start
[2025-01-12 01:33:13] Production.INFO: call_cost end
[2025-01-12 01:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:33:14] Production.INFO: ==17241== Releasing lock...
[2025-01-12 01:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:33:20] Production.INFO: count ==546
[2025-01-12 01:33:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:33:05 - End Time 2025-01-12 01:33:05
[2025-01-12 01:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228257', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228257', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228257', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228257', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:33:20] Production.INFO: ProcessCDR(1,14228257,1,1,2)
[2025-01-12 01:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228257', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228257', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:33:23] Production.INFO: ==17249== Releasing lock...
[2025-01-12 01:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:33:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:34:02] Production.INFO: ==17308== Lock acquired, processing the job...
[2025-01-12 06:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:34:02] Production.INFO: neon service started
[2025-01-12 06:34:02] Production.INFO: neon service started
[2025-01-12 06:34:02] Production.INFO: ==17308== Releasing lock...
[2025-01-12 06:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:34:02] Production.INFO: ==17310== Lock acquired, processing the job...
[2025-01-12 01:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:34:02] Production.INFO: ==17312== Lock acquired, processing the job...
[2025-01-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:34:02] Production.INFO: ==17312== Releasing lock...
[2025-01-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:34:03] Production.INFO: ==17310== Releasing lock...
[2025-01-12 01:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:34:03] Production.INFO: ==17315== Lock acquired, processing the job...
[2025-01-12 01:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:34:03] Production.INFO: ==17317== Lock acquired, processing the job...
[2025-01-12 01:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:34:03] Production.INFO: ==17321== Lock acquired, processing the job...
[2025-01-12 01:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:34:04] Production.INFO: ==17319== Lock acquired, processing the job...
[2025-01-12 01:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:34:04] Production.INFO: Account Balance Start.
[2025-01-12 01:34:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:34:04] Production.INFO: 117
[2025-01-12 01:34:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:34:04] Production.INFO: ==17323== Lock acquired, processing the job...
[2025-01-12 01:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:34:04] Production.INFO: ==17317== Releasing lock...
[2025-01-12 01:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:34:04] Production.INFO: Total Charge 0
[2025-01-12 01:34:04] Production.INFO: ==17325== Lock acquired, processing the job...
[2025-01-12 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:34:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 01:34:04] Production.INFO: Account Balance End.
[2025-01-12 01:34:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:34:04] Production.INFO: ==17321== Releasing lock...
[2025-01-12 01:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:34:04] Production.INFO: count ==21
[2025-01-12 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228261') start
[2025-01-12 01:34:04] Production.ERROR: done
[2025-01-12 01:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228261') end
[2025-01-12 01:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:34:04] Production.INFO: 1
[2025-01-12 01:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:34:04] Production.INFO: ==17325== Releasing lock...
[2025-01-12 01:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:34:05] Production.ERROR: done
[2025-01-12 01:34:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:34:06
[end_date_ymd] => 2025-01-12 01:34:06
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:34:06' and `end` < '2025-01-12 01: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-01-12 01:34:11] Production.ERROR: CronJobId end10
[2025-01-12 01:34:11] Production.INFO: ==17319== Releasing lock...
[2025-01-12 01:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:34:13] Production.INFO: call_cost start
[2025-01-12 01:34:13] Production.INFO: call_cost end
[2025-01-12 01:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:34:14] Production.INFO: ==17315== Releasing lock...
[2025-01-12 01:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:34:20] Production.INFO: count ==545
[2025-01-12 01:34:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:34:06 - End Time 2025-01-12 01:34:06
[2025-01-12 01:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228262', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228262', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228262', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228262', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:34:20] Production.INFO: ProcessCDR(1,14228262,1,1,2)
[2025-01-12 01:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:34:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228262', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:34:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228262', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:34:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:34:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:34:24] Production.INFO: ==17323== Releasing lock...
[2025-01-12 01:34:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:34:24] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:35:01] Production.INFO: ==17383== Lock acquired, processing the job...
[2025-01-12 06:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:35:01] Production.INFO: neon service started
[2025-01-12 06:35:01] Production.INFO: neon service started
[2025-01-12 06:35:01] Production.INFO: ==17383== Releasing lock...
[2025-01-12 06:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:35:01] Production.INFO: ==17387== Lock acquired, processing the job...
[2025-01-12 06:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:35:01] Production.INFO: ==17387== Releasing lock...
[2025-01-12 06:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:35:02] Production.INFO: ==17385== Lock acquired, processing the job...
[2025-01-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:35:02] Production.INFO: ==17385== Releasing lock...
[2025-01-12 01:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:35:03] Production.INFO: ==17389== Lock acquired, processing the job...
[2025-01-12 01:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:35:03] Production.INFO: ==17391== Lock acquired, processing the job...
[2025-01-12 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:35:03] Production.INFO: ==17398== Lock acquired, processing the job...
[2025-01-12 01:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:35:03] Production.INFO: ==17391== Releasing lock...
[2025-01-12 01:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:35:03] Production.INFO: ==17400== Lock acquired, processing the job...
[2025-01-12 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:35:03] Production.INFO: ==17393== Lock acquired, processing the job...
[2025-01-12 01:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:35:03] Production.INFO: ==17395== Lock acquired, processing the job...
[2025-01-12 01:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:35:03] Production.ERROR: done
[2025-01-12 01:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:35:03] Production.INFO: count ==21
[2025-01-12 01:35:03] Production.INFO: Account Balance Start.
[2025-01-12 01:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:35:03] Production.INFO: 117
[2025-01-12 01: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-01-12 01:35:03] Production.INFO: count ==21
[2025-01-12 01:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228265') start
[2025-01-12 01:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:35:03] Production.ERROR: done
[2025-01-12 01:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228265') end
[2025-01-12 01:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:35:03] Production.INFO: 1
[2025-01-12 01:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:35:03] Production.INFO: ==17400== Releasing lock...
[2025-01-12 01:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:35:03] Production.INFO: Total Charge 0
[2025-01-12 01:35:03] Production.INFO: CreateAllLog End
[2025-01-12 01:35:03] Production.INFO: Account Balance End.
[2025-01-12 01:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:35:04] Production.INFO: ==17395== Releasing lock...
[2025-01-12 01:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:35:04
[end_date_ymd] => 2025-01-12 01:35:04
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:35:04' and `end` < '2025-01-12 01: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-01-12 01:35:10] Production.ERROR: CronJobId end10
[2025-01-12 01:35:10] Production.INFO: ==17393== Releasing lock...
[2025-01-12 01:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:35:12] Production.INFO: call_cost start
[2025-01-12 01:35:12] Production.INFO: call_cost end
[2025-01-12 01:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:35:13] Production.INFO: ==17389== Releasing lock...
[2025-01-12 01:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:35:19] Production.INFO: count ==542
[2025-01-12 01:35:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:35:04 - End Time 2025-01-12 01:35:04
[2025-01-12 01:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228267', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228267', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228267', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228267', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:35:19] Production.INFO: ProcessCDR(1,14228267,1,1,2)
[2025-01-12 01:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228267', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228267', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:35:22] Production.INFO: ==17398== Releasing lock...
[2025-01-12 01:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:35:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:36:01] Production.INFO: ==17456== Lock acquired, processing the job...
[2025-01-12 06:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:36:01] Production.INFO: neon service started
[2025-01-12 06:36:02] Production.INFO: neon service started
[2025-01-12 06:36:02] Production.INFO: ==17456== Releasing lock...
[2025-01-12 06:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:36:02] Production.INFO: ==17458== Lock acquired, processing the job...
[2025-01-12 01:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:36:02] Production.INFO: ==17460== Lock acquired, processing the job...
[2025-01-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:36:02] Production.INFO: ==17460== Releasing lock...
[2025-01-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:36:03] Production.INFO: ==17458== Releasing lock...
[2025-01-12 01:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:36:03] Production.INFO: ==17465== Lock acquired, processing the job...
[2025-01-12 01:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:36:03] Production.INFO: ==17467== Lock acquired, processing the job...
[2025-01-12 01:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:36:03] Production.INFO: ==17469== Lock acquired, processing the job...
[2025-01-12 01:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:36:03] Production.INFO: ==17463== Lock acquired, processing the job...
[2025-01-12 01:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:36:03] Production.INFO: Account Balance Start.
[2025-01-12 01:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:36:03] Production.INFO: 117
[2025-01-12 01:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:36:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:36:04] Production.INFO: ==17471== Lock acquired, processing the job...
[2025-01-12 01:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:36:04] Production.INFO: ==17473== Lock acquired, processing the job...
[2025-01-12 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:36:04] Production.INFO: ==17465== Releasing lock...
[2025-01-12 01:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:36:04] Production.INFO: Total Charge 0
[2025-01-12 01:36:04] Production.INFO: count ==21
[2025-01-12 01:36:04] Production.INFO: CreateAllLog End
[2025-01-12 01:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:36:04] Production.INFO: count ==21
[2025-01-12 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228271') start
[2025-01-12 01:36:04] Production.ERROR: done
[2025-01-12 01:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228271') end
[2025-01-12 01:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:36:04] Production.INFO: 1
[2025-01-12 01:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:36:04] Production.ERROR: done
[2025-01-12 01:36:04] Production.INFO: ==17473== Releasing lock...
[2025-01-12 01:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:36:04] Production.INFO: Account Balance End.
[2025-01-12 01:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:36:04] Production.INFO: ==17469== Releasing lock...
[2025-01-12 01:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:36:05
[end_date_ymd] => 2025-01-12 01:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:36:05' and `end` < '2025-01-12 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-01-12 01:36:10] Production.ERROR: CronJobId end10
[2025-01-12 01:36:10] Production.INFO: ==17467== Releasing lock...
[2025-01-12 01:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:36:13] Production.INFO: call_cost start
[2025-01-12 01:36:13] Production.INFO: call_cost end
[2025-01-12 01:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:36:14] Production.INFO: ==17463== Releasing lock...
[2025-01-12 01:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:36:21] Production.INFO: count ==541
[2025-01-12 01:36:21] Production.ERROR: pbx CDR StartTime 2025-01-11 22:36:05 - End Time 2025-01-12 01:36:05
[2025-01-12 01:36:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228272', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228272', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228272', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:36:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228272', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:36:21] Production.INFO: ProcessCDR(1,14228272,1,1,2)
[2025-01-12 01:36:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228272,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228272,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228272', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228272', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:36:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:36:24] Production.INFO: ==17471== Releasing lock...
[2025-01-12 01:36:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:36:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:37:01] Production.INFO: ==17527== Lock acquired, processing the job...
[2025-01-12 06:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:37:01] Production.INFO: neon service started
[2025-01-12 06:37:01] Production.INFO: neon service started
[2025-01-12 06:37:01] Production.INFO: ==17527== Releasing lock...
[2025-01-12 06:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:37:01] Production.INFO: ==17531== Lock acquired, processing the job...
[2025-01-12 06:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:37:01] Production.INFO: ==17531== Releasing lock...
[2025-01-12 06:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:37:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:37:01] Production.INFO: ==17529== Lock acquired, processing the job...
[2025-01-12 01:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:37:02] Production.INFO: ==17529== Releasing lock...
[2025-01-12 01:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:37:03] Production.INFO: ==17540== Lock acquired, processing the job...
[2025-01-12 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:37:03] Production.INFO: Account Balance Start.
[2025-01-12 01:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:37:03] Production.INFO: 117
[2025-01-12 01:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:37:03] Production.INFO: ==17544== Lock acquired, processing the job...
[2025-01-12 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:37:03] Production.INFO: ==17534== Lock acquired, processing the job...
[2025-01-12 01:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:37:03] Production.INFO: ==17536== Lock acquired, processing the job...
[2025-01-12 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:37:03] Production.INFO: ==17542== Lock acquired, processing the job...
[2025-01-12 01:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:37:03] Production.INFO: ==17538== Lock acquired, processing the job...
[2025-01-12 01:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 01: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-01-12 01:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:37:03] Production.INFO: count ==21
[2025-01-12 01:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01: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-01-12 01:37:03] Production.INFO: count ==21
[2025-01-12 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228274') start
[2025-01-12 01:37:03] Production.INFO: Total Charge 0
[2025-01-12 01:37:03] Production.INFO: CreateAllLog End
[2025-01-12 01:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228274') end
[2025-01-12 01:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:37:03] Production.INFO: 1
[2025-01-12 01:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:37:03] Production.INFO: ==17544== Releasing lock...
[2025-01-12 01:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:37:03] Production.ERROR: done
[2025-01-12 01:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:37:03] Production.INFO: ==17536== Releasing lock...
[2025-01-12 01:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:37:03] Production.INFO: Account Balance End.
[2025-01-12 01:37:03] Production.ERROR: done
[2025-01-12 01:37:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:37:03] Production.INFO: ==17540== Releasing lock...
[2025-01-12 01:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:37:04
[end_date_ymd] => 2025-01-12 01:37:04
[RateCDR] => 1
)
[2025-01-12 01:37: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-01-11 22:37:04' and `end` < '2025-01-12 01:37: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-01-12 01:37:10] Production.ERROR: CronJobId end10
[2025-01-12 01:37:10] Production.INFO: ==17538== Releasing lock...
[2025-01-12 01:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:37:12] Production.INFO: call_cost start
[2025-01-12 01:37:12] Production.INFO: call_cost end
[2025-01-12 01:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:37:13] Production.INFO: ==17534== Releasing lock...
[2025-01-12 01:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:37:18] Production.INFO: count ==540
[2025-01-12 01:37:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:37:04 - End Time 2025-01-12 01:37:04
[2025-01-12 01:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228277', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228277', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228277', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228277', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:37:18] Production.INFO: ProcessCDR(1,14228277,1,1,2)
[2025-01-12 01:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228277,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228277,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228277', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228277', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:37:21] Production.INFO: ==17542== Releasing lock...
[2025-01-12 01:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:37:21] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:38:01] Production.INFO: ==17601== Lock acquired, processing the job...
[2025-01-12 06:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:38:01] Production.INFO: neon service started
[2025-01-12 06:38:01] Production.INFO: neon service started
[2025-01-12 06:38:01] Production.INFO: ==17601== Releasing lock...
[2025-01-12 06:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:38:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 01:38:02] Production.INFO: ==17603== Lock acquired, processing the job...
[2025-01-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:38:02] Production.INFO: ==17605== Lock acquired, processing the job...
[2025-01-12 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:38:02] Production.INFO: ==17605== Releasing lock...
[2025-01-12 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:38:02] Production.INFO: ==17603== Releasing lock...
[2025-01-12 01:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:38:03] Production.INFO: ==17610== Lock acquired, processing the job...
[2025-01-12 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:38:03] Production.INFO: ==17614== Lock acquired, processing the job...
[2025-01-12 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:38:03] Production.INFO: Account Balance Start.
[2025-01-12 01:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:38:03] Production.INFO: 117
[2025-01-12 01:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:38:03] Production.INFO: ==17610== Releasing lock...
[2025-01-12 01:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:38:03] Production.INFO: Total Charge 0
[2025-01-12 01:38:03] Production.INFO: CreateAllLog End
[2025-01-12 01:38:03] Production.INFO: ==17618== Lock acquired, processing the job...
[2025-01-12 01:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:38:03] Production.INFO: Account Balance End.
[2025-01-12 01:38:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:38:03] Production.INFO: ==17614== Releasing lock...
[2025-01-12 01:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:38:03] Production.INFO: ==17608== Lock acquired, processing the job...
[2025-01-12 01:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:38:03] Production.INFO: ==17612== Lock acquired, processing the job...
[2025-01-12 01:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 01:38:03] Production.INFO: ==17616== Lock acquired, processing the job...
[2025-01-12 01:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:38:03] Production.INFO: count ==21
[2025-01-12 01:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 01:38:03] Production.INFO: count ==21
[2025-01-12 01:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228280') start
[2025-01-12 01:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228280') end
[2025-01-12 01:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:38:04] Production.INFO: 1
[2025-01-12 01:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:38:04] Production.INFO: ==17618== Releasing lock...
[2025-01-12 01:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:38:04] Production.ERROR: done
[2025-01-12 01:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:38:04] Production.ERROR: done
[2025-01-12 01:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:38:05
[end_date_ymd] => 2025-01-12 01:38:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:38:05' and `end` < '2025-01-12 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-01-12 01:38:11] Production.ERROR: CronJobId end10
[2025-01-12 01:38:11] Production.INFO: ==17612== Releasing lock...
[2025-01-12 01:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:38:13] Production.INFO: call_cost start
[2025-01-12 01:38:13] Production.INFO: call_cost end
[2025-01-12 01:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:38:13] Production.INFO: ==17608== Releasing lock...
[2025-01-12 01:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:38:19] Production.INFO: count ==538
[2025-01-12 01:38:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:38:05 - End Time 2025-01-12 01:38:05
[2025-01-12 01:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228282', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228282', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228282', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228282', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:38:19] Production.INFO: ProcessCDR(1,14228282,1,1,2)
[2025-01-12 01:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228282,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228282,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228282', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228282', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:38:22] Production.INFO: ==17616== Releasing lock...
[2025-01-12 01:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:38:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 06:39:01] Production.INFO: ==17673== Lock acquired, processing the job...
[2025-01-12 06:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:39:01] Production.INFO: neon service started
[2025-01-12 06:39:01] Production.INFO: neon service started
[2025-01-12 06:39:01] Production.INFO: ==17673== Releasing lock...
[2025-01-12 06:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:39:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:39:01] Production.INFO: ==17677== Lock acquired, processing the job...
[2025-01-12 06:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:39:01] Production.INFO: ==17677== Releasing lock...
[2025-01-12 06:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:39:01] Production.INFO: ==17675== Lock acquired, processing the job...
[2025-01-12 01:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:39:02] Production.INFO: ==17675== Releasing lock...
[2025-01-12 01:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:39:02] Production.INFO: ==17679== Lock acquired, processing the job...
[2025-01-12 01:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:39:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:39:02] Production.INFO: ==17681== Lock acquired, processing the job...
[2025-01-12 01:39:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:39:02] Production.INFO: ==17688== Lock acquired, processing the job...
[2025-01-12 01:39:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:39:03] Production.INFO: ==17684== Lock acquired, processing the job...
[2025-01-12 01:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:39:03] Production.INFO: ==17686== Lock acquired, processing the job...
[2025-01-12 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:39:03] Production.INFO: ==17690== Lock acquired, processing the job...
[2025-01-12 01:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:39:03] Production.INFO: Account Balance Start.
[2025-01-12 01:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:39:03] Production.INFO: 117
[2025-01-12 01:39:03] Production.ERROR: done
[2025-01-12 01:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 01: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-01-12 01:39:03] Production.INFO: ==17681== Releasing lock...
[2025-01-12 01:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:39:03] Production.INFO: count ==21
[2025-01-12 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 01: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-01-12 01:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:39:03] Production.INFO: count ==21
[2025-01-12 01:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228285') start
[2025-01-12 01:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228285') end
[2025-01-12 01:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:39:03] Production.INFO: 1
[2025-01-12 01:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:39:03] Production.INFO: ==17690== Releasing lock...
[2025-01-12 01:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:39:03] Production.ERROR: done
[2025-01-12 01:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:39:03] Production.INFO: Total Charge 0
[2025-01-12 01:39:03] Production.INFO: CreateAllLog End
[2025-01-12 01:39:03] Production.INFO: Account Balance End.
[2025-01-12 01:39:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:39:03] Production.INFO: ==17686== Releasing lock...
[2025-01-12 01:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:39:04
[end_date_ymd] => 2025-01-12 01:39:04
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:39:04' and `end` < '2025-01-12 01: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-01-12 01:39:10] Production.ERROR: CronJobId end10
[2025-01-12 01:39:10] Production.INFO: ==17684== Releasing lock...
[2025-01-12 01:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:39:12] Production.INFO: call_cost start
[2025-01-12 01:39:12] Production.INFO: call_cost end
[2025-01-12 01:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:39:13] Production.INFO: ==17679== Releasing lock...
[2025-01-12 01:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:39:17] Production.INFO: count ==539
[2025-01-12 01:39:17] Production.ERROR: pbx CDR StartTime 2025-01-11 22:39:04 - End Time 2025-01-12 01:39:04
[2025-01-12 01:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228287', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228287', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228287', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228287', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:39:18] Production.INFO: ProcessCDR(1,14228287,1,1,2)
[2025-01-12 01:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:39:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228287,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:39:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228287,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228287', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228287', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:39:21] Production.INFO: ==17688== Releasing lock...
[2025-01-12 01:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:39:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:40:01] Production.INFO: ==17747== Lock acquired, processing the job...
[2025-01-12 06:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:40:01] Production.INFO: neon service started
[2025-01-12 06:40:01] Production.INFO: neon service started
[2025-01-12 06:40:01] Production.INFO: ==17747== Releasing lock...
[2025-01-12 06:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:40:02] Production.INFO: ==17749== Lock acquired, processing the job...
[2025-01-12 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:40:02] Production.INFO: ==17751== Lock acquired, processing the job...
[2025-01-12 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:40:02] Production.INFO: ==17751== Releasing lock...
[2025-01-12 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:40:02] Production.INFO: ==17749== Releasing lock...
[2025-01-12 01:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:40:03] Production.INFO: ==17753== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 01:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 01:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 01:40:03] Production.INFO: ==17753== Releasing lock...
[2025-01-12 01:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 01:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 01:40:03] Production.INFO: ==17755== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:40:03] Production.INFO: ==17764== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:40:03] Production.INFO: ==17757== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:40:03] Production.INFO: ==17766== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 01:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:40:03] Production.INFO: ==17761== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:40:03] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:40:03] Production.INFO: ==17768== Lock acquired, processing the job...
[2025-01-12 01:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:40:03] Production.ERROR: done
[2025-01-12 01:40:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:40:04] Production.INFO: Account Balance Start.
[2025-01-12 01:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:40:04] Production.INFO: 117
[2025-01-12 01:40:04] Production.INFO: ==17757== Releasing lock...
[2025-01-12 01:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 01:40:04] Production.ERROR: done
[2025-01-12 01:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:40:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:40:04] Production.INFO: count ==21
[2025-01-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228291') start
[2025-01-12 01:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:40:04] Production.ERROR: done
[2025-01-12 01:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228291') end
[2025-01-12 01:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:40:04] Production.INFO: 1
[2025-01-12 01:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:40:04] Production.INFO: ==17768== Releasing lock...
[2025-01-12 01:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:40:04] Production.INFO: Total Charge 0
[2025-01-12 01:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 01:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228293', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 01:40:04] Production.INFO: CreateAllLog End
[2025-01-12 01:40:04] Production.INFO: Account Balance End.
[2025-01-12 01:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:40:04] Production.INFO: ==17761== Releasing lock...
[2025-01-12 01:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:40:05
[end_date_ymd] => 2025-01-12 01:40:05
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:40:05' and `end` < '2025-01-12 01: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-01-12 01:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228293', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 01:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 01:40:08] Production.INFO: ProcessCDR(1,14228293,1,1,2)
[2025-01-12 01:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228293,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228293,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:40:08] Production.INFO: ==17766== Releasing lock...
[2025-01-12 01:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 01:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 01:40:12] Production.ERROR: CronJobId end10
[2025-01-12 01:40:12] Production.INFO: ==17759== Releasing lock...
[2025-01-12 01:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:40:14] Production.INFO: call_cost start
[2025-01-12 01:40:14] Production.INFO: call_cost end
[2025-01-12 01:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:40:15] Production.INFO: ==17755== Releasing lock...
[2025-01-12 01:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:40:18] Production.INFO: count ==543
[2025-01-12 01:40:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:40:05 - End Time 2025-01-12 01:40:05
[2025-01-12 01:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228292', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228292', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228292', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228292', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:40:18] Production.INFO: ProcessCDR(1,14228292,1,1,2)
[2025-01-12 01:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228292,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228292,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228292', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228292', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:40:21] Production.INFO: ==17764== Releasing lock...
[2025-01-12 01:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:40:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:41:02] Production.INFO: ==17823== Lock acquired, processing the job...
[2025-01-12 06:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:41:02] Production.INFO: neon service started
[2025-01-12 06:41:02] Production.INFO: neon service started
[2025-01-12 06:41:02] Production.INFO: ==17823== Releasing lock...
[2025-01-12 06:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:41:02] Production.INFO: ==17825== Lock acquired, processing the job...
[2025-01-12 01:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:41:02] Production.INFO: ==17827== Lock acquired, processing the job...
[2025-01-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:41:02] Production.INFO: ==17827== Releasing lock...
[2025-01-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:41:03] Production.INFO: ==17825== Releasing lock...
[2025-01-12 01:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:41:03] Production.INFO: ==17830== Lock acquired, processing the job...
[2025-01-12 01:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:41:03] Production.INFO: ==17832== Lock acquired, processing the job...
[2025-01-12 01:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:41:03] Production.INFO: ==17838== Lock acquired, processing the job...
[2025-01-12 01:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:41:04] Production.INFO: ==17834== Lock acquired, processing the job...
[2025-01-12 01:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:41:04] Production.INFO: ==17836== Lock acquired, processing the job...
[2025-01-12 01:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:41:04] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-01-12 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:41:04] Production.INFO: Account Balance Start.
[2025-01-12 01:41:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:41:04] Production.INFO: 117
[2025-01-12 01:41:04] Production.INFO: ==17832== Releasing lock...
[2025-01-12 01:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:41:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 01:41:04] Production.ERROR: done
[2025-01-12 01:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:41:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:41:04] Production.INFO: count ==21
[2025-01-12 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228297') start
[2025-01-12 01:41:04] Production.ERROR: done
[2025-01-12 01:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228297') end
[2025-01-12 01:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:41:04] Production.INFO: 1
[2025-01-12 01:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:41:04] Production.INFO: ==17840== Releasing lock...
[2025-01-12 01:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:41:04] Production.INFO: Total Charge 0
[2025-01-12 01:41:04] Production.INFO: CreateAllLog End
[2025-01-12 01:41:05] Production.INFO: Account Balance End.
[2025-01-12 01:41:05] Production.ERROR: CronJobId end 12
[2025-01-12 01:41:05] Production.INFO: ==17836== Releasing lock...
[2025-01-12 01:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:41:05
[end_date_ymd] => 2025-01-12 01:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:41:05' and `end` < '2025-01-12 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-01-12 01:41:11] Production.ERROR: CronJobId end10
[2025-01-12 01:41:11] Production.INFO: ==17834== Releasing lock...
[2025-01-12 01:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:41:13] Production.INFO: call_cost start
[2025-01-12 01:41:13] Production.INFO: call_cost end
[2025-01-12 01:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:41:14] Production.INFO: ==17830== Releasing lock...
[2025-01-12 01:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:41:18] Production.INFO: count ==569
[2025-01-12 01:41:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:41:05 - End Time 2025-01-12 01:41:05
[2025-01-12 01:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228298', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228298', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228298', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228298', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:41:18] Production.INFO: ProcessCDR(1,14228298,1,1,2)
[2025-01-12 01:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228298', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228298', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:41:21] Production.INFO: ==17838== Releasing lock...
[2025-01-12 01:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:41:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 06:42:01] Production.INFO: ==17893== Lock acquired, processing the job...
[2025-01-12 06:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:42:01] Production.INFO: neon service started
[2025-01-12 06:42:01] Production.INFO: neon service started
[2025-01-12 06:42:01] Production.INFO: ==17893== Releasing lock...
[2025-01-12 06:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:42:02] Production.INFO: ==17895== Lock acquired, processing the job...
[2025-01-12 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:42:02] Production.INFO: ==17895== Releasing lock...
[2025-01-12 01:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:42:02] Production.INFO: ==17897== Lock acquired, processing the job...
[2025-01-12 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:42:02] Production.INFO: ==17897== Releasing lock...
[2025-01-12 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:42:03] Production.INFO: ==17900== Lock acquired, processing the job...
[2025-01-12 01:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:42:03] Production.INFO: ==17904== Lock acquired, processing the job...
[2025-01-12 01:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:42:03] Production.INFO: ==17906== Lock acquired, processing the job...
[2025-01-12 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:42:03] Production.INFO: Account Balance Start.
[2025-01-12 01:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:42:03] Production.INFO: 117
[2025-01-12 01:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:42:03] Production.INFO: ==17902== Lock acquired, processing the job...
[2025-01-12 01:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:42:03] Production.INFO: ==17908== Lock acquired, processing the job...
[2025-01-12 01:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:42:03] Production.INFO: Total Charge 0
[2025-01-12 01:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:42:03] Production.INFO: CreateAllLog End
[2025-01-12 01:42:03] Production.INFO: ==17910== Lock acquired, processing the job...
[2025-01-12 01:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 01:42:03] Production.INFO: count ==21
[2025-01-12 01:42:03] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 01:42:03] Production.INFO: count ==21
[2025-01-12 01:42:03] Production.ERROR: done
[2025-01-12 01:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228302') start
[2025-01-12 01:42:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:42:03] Production.INFO: ==17906== Releasing lock...
[2025-01-12 01:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:42:04] Production.INFO: ==17902== Releasing lock...
[2025-01-12 01:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:42:04] Production.ERROR: done
[2025-01-12 01:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228302') end
[2025-01-12 01:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:42:04] Production.INFO: 1
[2025-01-12 01:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:42:04] Production.INFO: ==17910== Releasing lock...
[2025-01-12 01:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:42:05
[end_date_ymd] => 2025-01-12 01:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:42:05' and `end` < '2025-01-12 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-01-12 01:42:10] Production.ERROR: CronJobId end10
[2025-01-12 01:42:10] Production.INFO: ==17904== Releasing lock...
[2025-01-12 01:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:42:13] Production.INFO: call_cost start
[2025-01-12 01:42:13] Production.INFO: call_cost end
[2025-01-12 01:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:42:14] Production.INFO: ==17900== Releasing lock...
[2025-01-12 01:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:42:18] Production.INFO: count ==566
[2025-01-12 01:42:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:42:05 - End Time 2025-01-12 01:42:05
[2025-01-12 01:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228303', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228303', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228303', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228303', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:42:18] Production.INFO: ProcessCDR(1,14228303,1,1,2)
[2025-01-12 01:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228303', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228303', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:42:21] Production.INFO: ==17908== Releasing lock...
[2025-01-12 01:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:42:21] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:43:02] Production.INFO: ==17967== Lock acquired, processing the job...
[2025-01-12 06:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:43:02] Production.INFO: neon service started
[2025-01-12 06:43:02] Production.INFO: neon service started
[2025-01-12 06:43:02] Production.INFO: ==17967== Releasing lock...
[2025-01-12 06:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:43:02] Production.INFO: ==17969== Lock acquired, processing the job...
[2025-01-12 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:43:02] Production.INFO: ==17969== Releasing lock...
[2025-01-12 01:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:43:02] Production.INFO: ==17971== Lock acquired, processing the job...
[2025-01-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:43:02] Production.INFO: ==17971== Releasing lock...
[2025-01-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:43:03] Production.INFO: ==17973== Lock acquired, processing the job...
[2025-01-12 01:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:43:03] Production.INFO: ==17975== Lock acquired, processing the job...
[2025-01-12 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:43:03] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-01-12 01:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:43:03] Production.INFO: ==17982== Lock acquired, processing the job...
[2025-01-12 01:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:43:03] Production.INFO: ==17980== Lock acquired, processing the job...
[2025-01-12 01:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:43:03] Production.INFO: ==17984== Lock acquired, processing the job...
[2025-01-12 01:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:43:03] Production.INFO: ==17975== Releasing lock...
[2025-01-12 01:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:43:03] Production.INFO: Account Balance Start.
[2025-01-12 01:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:43:03] Production.INFO: 117
[2025-01-12 01:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:43:04] Production.ERROR: done
[2025-01-12 01:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 01:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:43:04] Production.INFO: count ==21
[2025-01-12 01:43:04] Production.INFO: Total Charge 0
[2025-01-12 01:43:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 01:43:04] Production.INFO: count ==21
[2025-01-12 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228307') start
[2025-01-12 01:43:04] Production.ERROR: done
[2025-01-12 01:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228307') end
[2025-01-12 01:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:43:04] Production.INFO: 1
[2025-01-12 01:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:43:04] Production.INFO: Account Balance End.
[2025-01-12 01:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:43:04] Production.INFO: ==17980== Releasing lock...
[2025-01-12 01:43:04] Production.INFO: ==17984== Releasing lock...
[2025-01-12 01:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:43:05
[end_date_ymd] => 2025-01-12 01:43:05
[RateCDR] => 1
)
[2025-01-12 01:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:43:05' and `end` < '2025-01-12 01:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:43:10] Production.ERROR: CronJobId end10
[2025-01-12 01:43:10] Production.INFO: ==17978== Releasing lock...
[2025-01-12 01:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:43:12] Production.INFO: call_cost start
[2025-01-12 01:43:12] Production.INFO: call_cost end
[2025-01-12 01:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:43:13] Production.INFO: ==17973== Releasing lock...
[2025-01-12 01:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:43:21] Production.INFO: count ==565
[2025-01-12 01:43:21] Production.ERROR: pbx CDR StartTime 2025-01-11 22:43:05 - End Time 2025-01-12 01:43:05
[2025-01-12 01:43:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228308', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228308', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228308', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:43:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228308', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:43:21] Production.INFO: ProcessCDR(1,14228308,1,1,2)
[2025-01-12 01:43:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:43:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:43:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:43:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228308', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:43:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228308', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:43:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:43:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:43:25] Production.INFO: ==17982== Releasing lock...
[2025-01-12 01:43:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:43:25] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 06:44:01] Production.INFO: ==18038== Lock acquired, processing the job...
[2025-01-12 06:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:44:01] Production.INFO: neon service started
[2025-01-12 06:44:01] Production.INFO: neon service started
[2025-01-12 06:44:01] Production.INFO: ==18038== Releasing lock...
[2025-01-12 06:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:44:01] Production.INFO: ==18041== Lock acquired, processing the job...
[2025-01-12 01:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:44:02] Production.INFO: ==18041== Releasing lock...
[2025-01-12 01:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:44:02] Production.INFO: ==18043== Lock acquired, processing the job...
[2025-01-12 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:44:02] Production.INFO: ==18043== Releasing lock...
[2025-01-12 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:44:03] Production.INFO: ==18045== Lock acquired, processing the job...
[2025-01-12 01:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:44:03] Production.INFO: ==18049== Lock acquired, processing the job...
[2025-01-12 01:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:44:03] Production.INFO: ==18053== Lock acquired, processing the job...
[2025-01-12 01:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:44:03] Production.INFO: ==18047== Lock acquired, processing the job...
[2025-01-12 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:44:03] Production.INFO: ==18051== Lock acquired, processing the job...
[2025-01-12 01:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:44:03] Production.INFO: ==18055== Lock acquired, processing the job...
[2025-01-12 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:44:03] Production.INFO: Account Balance Start.
[2025-01-12 01:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:44:03] Production.INFO: 117
[2025-01-12 01:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 01: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-01-12 01:44:03] Production.INFO: count ==21
[2025-01-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 01: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-01-12 01:44:03] Production.INFO: count ==21
[2025-01-12 01:44:03] Production.ERROR: done
[2025-01-12 01:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228311') start
[2025-01-12 01:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:44:03] Production.INFO: ==18047== Releasing lock...
[2025-01-12 01:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:44:03] Production.ERROR: done
[2025-01-12 01:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228311') end
[2025-01-12 01:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:44:03] Production.INFO: 1
[2025-01-12 01:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:44:03] Production.INFO: Total Charge 0
[2025-01-12 01:44:03] Production.INFO: ==18055== Releasing lock...
[2025-01-12 01:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:44:03] Production.INFO: CreateAllLog End
[2025-01-12 01:44:04] Production.INFO: Account Balance End.
[2025-01-12 01:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:44:04] Production.INFO: ==18051== Releasing lock...
[2025-01-12 01:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:44:04
[end_date_ymd] => 2025-01-12 01:44:04
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:44:04' and `end` < '2025-01-12 01: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-01-12 01:44:10] Production.ERROR: CronJobId end10
[2025-01-12 01:44:10] Production.INFO: ==18049== Releasing lock...
[2025-01-12 01:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:44:12] Production.INFO: call_cost start
[2025-01-12 01:44:12] Production.INFO: call_cost end
[2025-01-12 01:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:44:13] Production.INFO: ==18045== Releasing lock...
[2025-01-12 01:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:44:18] Production.INFO: count ==565
[2025-01-12 01:44:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:44:04 - End Time 2025-01-12 01:44:04
[2025-01-12 01:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228313', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228313', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228313', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228313', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:44:18] Production.INFO: ProcessCDR(1,14228313,1,1,2)
[2025-01-12 01:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228313', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228313', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:44:22] Production.INFO: ==18053== Releasing lock...
[2025-01-12 01:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:44:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 06:45:01] Production.INFO: ==18110== Lock acquired, processing the job...
[2025-01-12 06:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:45:01] Production.INFO: neon service started
[2025-01-12 06:45:01] Production.INFO: neon service started
[2025-01-12 06:45:01] Production.INFO: ==18110== Releasing lock...
[2025-01-12 06:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:45:02] Production.INFO: ==18123== Lock acquired, processing the job...
[2025-01-12 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:45:02] Production.INFO: ==18126== Lock acquired, processing the job...
[2025-01-12 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:45:02] Production.INFO: ==18126== Releasing lock...
[2025-01-12 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:45:02] Production.INFO: ==18123== Releasing lock...
[2025-01-12 01:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:45:03] Production.INFO: ==18156== Lock acquired, processing the job...
[2025-01-12 01:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:45:03] Production.INFO: ==18158== Lock acquired, processing the job...
[2025-01-12 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:45:03] Production.INFO: ==18162== Lock acquired, processing the job...
[2025-01-12 01:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:45:03] Production.INFO: ==18160== Lock acquired, processing the job...
[2025-01-12 01:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:45:03] Production.INFO: Account Balance Start.
[2025-01-12 01:45:03] Production.INFO: ==18158== Releasing lock...
[2025-01-12 01:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:45:03] Production.INFO: 117
[2025-01-12 01:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:45:03] Production.INFO: ==18164== Lock acquired, processing the job...
[2025-01-12 01:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:45:04] Production.INFO: ==18166== Lock acquired, processing the job...
[2025-01-12 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:45:04] Production.INFO: Total Charge 0
[2025-01-12 01:45:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 01:45:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:45:04] Production.INFO: count ==21
[2025-01-12 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228317') start
[2025-01-12 01:45:04] Production.INFO: Account Balance End.
[2025-01-12 01:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:45:04] Production.INFO: ==18162== Releasing lock...
[2025-01-12 01:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:45:04] Production.ERROR: done
[2025-01-12 01:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228317') end
[2025-01-12 01:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:45:04] Production.INFO: 1
[2025-01-12 01:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:45:04] Production.INFO: ==18166== Releasing lock...
[2025-01-12 01:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:45:04] Production.ERROR: done
[2025-01-12 01:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:45:05
[end_date_ymd] => 2025-01-12 01:45:05
[RateCDR] => 1
)
[2025-01-12 01:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:45:05' and `end` < '2025-01-12 01:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:45:10] Production.ERROR: CronJobId end10
[2025-01-12 01:45:10] Production.INFO: ==18160== Releasing lock...
[2025-01-12 01:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:45:12] Production.INFO: call_cost start
[2025-01-12 01:45:12] Production.INFO: call_cost end
[2025-01-12 01:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:45:13] Production.INFO: ==18156== Releasing lock...
[2025-01-12 01:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:45:20] Production.INFO: count ==565
[2025-01-12 01:45:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:45:05 - End Time 2025-01-12 01:45:05
[2025-01-12 01:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228318', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228318', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228318', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228318', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:45:20] Production.INFO: ProcessCDR(1,14228318,1,1,2)
[2025-01-12 01:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228318', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228318', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:45:24] Production.INFO: ==18164== Releasing lock...
[2025-01-12 01:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:45:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 06:46:01] Production.INFO: ==18222== Lock acquired, processing the job...
[2025-01-12 06:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:46:01] Production.INFO: neon service started
[2025-01-12 06:46:01] Production.INFO: neon service started
[2025-01-12 06:46:01] Production.INFO: ==18222== Releasing lock...
[2025-01-12 06:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:46:01] Production.INFO: ==18224== Lock acquired, processing the job...
[2025-01-12 01:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:46:02] Production.INFO: ==18224== Releasing lock...
[2025-01-12 01:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:46:02] Production.INFO: ==18226== Lock acquired, processing the job...
[2025-01-12 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:46:02] Production.INFO: ==18226== Releasing lock...
[2025-01-12 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:46:02] Production.INFO: ==18232== Lock acquired, processing the job...
[2025-01-12 01:46:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:46:02] Production.INFO: ==18236== Lock acquired, processing the job...
[2025-01-12 01:46:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:46:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:46:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:46:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:46:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:46:02] Production.INFO: ==18228== Lock acquired, processing the job...
[2025-01-12 01:46:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:46:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:46:03] Production.INFO: ==18230== Lock acquired, processing the job...
[2025-01-12 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:46:03] Production.INFO: ==18234== Lock acquired, processing the job...
[2025-01-12 01:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:46:03] Production.INFO: ==18239== Lock acquired, processing the job...
[2025-01-12 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:46:03] Production.INFO: Account Balance Start.
[2025-01-12 01:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:46:03] Production.INFO: 117
[2025-01-12 01:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:46:03] Production.INFO: count ==21
[2025-01-12 01:46:03] Production.ERROR: done
[2025-01-12 01:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:46:03] Production.INFO: ==18230== Releasing lock...
[2025-01-12 01:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01: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-01-12 01:46:03] Production.INFO: count ==21
[2025-01-12 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228321') start
[2025-01-12 01:46:03] Production.ERROR: done
[2025-01-12 01:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228321') end
[2025-01-12 01:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:46:03] Production.INFO: 1
[2025-01-12 01:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:46:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:46:03] Production.INFO: ==18239== Releasing lock...
[2025-01-12 01:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:46:03] Production.INFO: Total Charge 0
[2025-01-12 01:46:03] Production.INFO: CreateAllLog End
[2025-01-12 01:46:04] Production.INFO: Account Balance End.
[2025-01-12 01:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:46:04] Production.INFO: ==18234== Releasing lock...
[2025-01-12 01:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:46:04
[end_date_ymd] => 2025-01-12 01:46:04
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:46:04' and `end` < '2025-01-12 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-01-12 01:46:10] Production.ERROR: CronJobId end10
[2025-01-12 01:46:10] Production.INFO: ==18232== Releasing lock...
[2025-01-12 01:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:46:12] Production.INFO: call_cost start
[2025-01-12 01:46:12] Production.INFO: call_cost end
[2025-01-12 01:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:46:13] Production.INFO: ==18228== Releasing lock...
[2025-01-12 01:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:46:21] Production.INFO: count ==566
[2025-01-12 01:46:21] Production.ERROR: pbx CDR StartTime 2025-01-11 22:46:04 - End Time 2025-01-12 01:46:04
[2025-01-12 01:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228323', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228323', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228323', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228323', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:46:21] Production.INFO: ProcessCDR(1,14228323,1,1,2)
[2025-01-12 01:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:46:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228323,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:46:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:46:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228323,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228323', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:46:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228323', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:46:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:46:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:46:25] Production.INFO: ==18236== Releasing lock...
[2025-01-12 01:46:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:46:25] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:47:01] Production.INFO: ==18297== Lock acquired, processing the job...
[2025-01-12 06:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:47:01] Production.INFO: neon service started
[2025-01-12 06:47:01] Production.INFO: neon service started
[2025-01-12 06:47:01] Production.INFO: ==18297== Releasing lock...
[2025-01-12 06:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:47:02] Production.INFO: ==18299== Lock acquired, processing the job...
[2025-01-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:47:02] Production.INFO: ==18299== Releasing lock...
[2025-01-12 01:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:47:02] Production.INFO: ==18301== Lock acquired, processing the job...
[2025-01-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:47:02] Production.INFO: ==18301== Releasing lock...
[2025-01-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:47:03] Production.INFO: ==18311== Lock acquired, processing the job...
[2025-01-12 01:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:47:03] Production.INFO: ==18313== Lock acquired, processing the job...
[2025-01-12 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:47:03] Production.INFO: ==18303== Lock acquired, processing the job...
[2025-01-12 01:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01: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-01-12 01:47:03] Production.INFO: ==18305== Lock acquired, processing the job...
[2025-01-12 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:47:03] Production.INFO: count ==21
[2025-01-12 01:47:03] Production.INFO: ==18307== Lock acquired, processing the job...
[2025-01-12 01:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01: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-01-12 01:47:03] Production.INFO: count ==21
[2025-01-12 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228324') start
[2025-01-12 01:47:03] Production.INFO: ==18309== Lock acquired, processing the job...
[2025-01-12 01:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:47:03] Production.ERROR: done
[2025-01-12 01:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228324') end
[2025-01-12 01:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:47:03] Production.INFO: 1
[2025-01-12 01:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:47:03] Production.INFO: Account Balance Start.
[2025-01-12 01:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:47:03] Production.INFO: 117
[2025-01-12 01:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:47:03] Production.INFO: ==18313== Releasing lock...
[2025-01-12 01:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:47:03] Production.ERROR: done
[2025-01-12 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:47:03] Production.INFO: ==18305== Releasing lock...
[2025-01-12 01:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:47:03] Production.INFO: Total Charge 0
[2025-01-12 01:47:03] Production.INFO: CreateAllLog End
[2025-01-12 01:47:04] Production.INFO: Account Balance End.
[2025-01-12 01:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:47:04] Production.INFO: ==18309== Releasing lock...
[2025-01-12 01:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:47:04
[end_date_ymd] => 2025-01-12 01:47:04
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:47:04' and `end` < '2025-01-12 01: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-01-12 01:47:10] Production.ERROR: CronJobId end10
[2025-01-12 01:47:10] Production.INFO: ==18307== Releasing lock...
[2025-01-12 01:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:47:12] Production.INFO: call_cost start
[2025-01-12 01:47:12] Production.INFO: call_cost end
[2025-01-12 01:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:47:13] Production.INFO: ==18303== Releasing lock...
[2025-01-12 01:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:47:17] Production.INFO: count ==565
[2025-01-12 01:47:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:47:04 - End Time 2025-01-12 01:47:04
[2025-01-12 01:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228328', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228328', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228328', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228328', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:47:18] Production.INFO: ProcessCDR(1,14228328,1,1,2)
[2025-01-12 01:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228328,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228328,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228328', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228328', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:47:21] Production.INFO: ==18311== Releasing lock...
[2025-01-12 01:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:47:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 06:48:02] Production.INFO: ==18369== Lock acquired, processing the job...
[2025-01-12 06:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:48:02] Production.INFO: neon service started
[2025-01-12 06:48:02] Production.INFO: neon service started
[2025-01-12 06:48:02] Production.INFO: ==18369== Releasing lock...
[2025-01-12 06:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:48:02] Production.INFO: ==18373== Lock acquired, processing the job...
[2025-01-12 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:48:02] Production.INFO: ==18373== Releasing lock...
[2025-01-12 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:48:02] Production.INFO: ==18371== Lock acquired, processing the job...
[2025-01-12 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:48:02] Production.INFO: ==18371== Releasing lock...
[2025-01-12 01:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:48:03] Production.INFO: ==18376== Lock acquired, processing the job...
[2025-01-12 01:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:48:03] Production.INFO: ==18384== Lock acquired, processing the job...
[2025-01-12 01:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:48:03] Production.INFO: ==18378== Lock acquired, processing the job...
[2025-01-12 01:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:48:04] Production.INFO: ==18380== Lock acquired, processing the job...
[2025-01-12 01:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:48:04] Production.INFO: ==18382== Lock acquired, processing the job...
[2025-01-12 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:48:04] Production.INFO: ==18386== Lock acquired, processing the job...
[2025-01-12 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:48:04] Production.INFO: Account Balance Start.
[2025-01-12 01:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:48:04] Production.INFO: 117
[2025-01-12 01:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:48:04] Production.ERROR: done
[2025-01-12 01:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 01: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-01-12 01:48:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:48:04] Production.INFO: count ==21
[2025-01-12 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228332') start
[2025-01-12 01:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228332') end
[2025-01-12 01:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:48:04] Production.INFO: 1
[2025-01-12 01:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:48:04] Production.ERROR: done
[2025-01-12 01:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:48:04] Production.INFO: ==18386== Releasing lock...
[2025-01-12 01:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:48:04] Production.INFO: ==18378== Releasing lock...
[2025-01-12 01:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:48:04] Production.INFO: Total Charge 0
[2025-01-12 01:48:04] Production.INFO: CreateAllLog End
[2025-01-12 01:48:04] Production.INFO: Account Balance End.
[2025-01-12 01:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:48:04] Production.INFO: ==18382== Releasing lock...
[2025-01-12 01:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:48:05
[end_date_ymd] => 2025-01-12 01:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:48:05' and `end` < '2025-01-12 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-01-12 01:48:11] Production.ERROR: CronJobId end10
[2025-01-12 01:48:11] Production.INFO: ==18380== Releasing lock...
[2025-01-12 01:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:48:13] Production.INFO: call_cost start
[2025-01-12 01:48:13] Production.INFO: call_cost end
[2025-01-12 01:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:48:14] Production.INFO: ==18376== Releasing lock...
[2025-01-12 01:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:48:21] Production.INFO: count ==565
[2025-01-12 01:48:21] Production.ERROR: pbx CDR StartTime 2025-01-11 22:48:05 - End Time 2025-01-12 01:48:05
[2025-01-12 01:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228333', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228333', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228333', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228333', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:48:21] Production.INFO: ProcessCDR(1,14228333,1,1,2)
[2025-01-12 01:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228333,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228333,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228333', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228333', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:48:24] Production.INFO: ==18384== Releasing lock...
[2025-01-12 01:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:48:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 06:49:01] Production.INFO: ==18439== Lock acquired, processing the job...
[2025-01-12 06:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:49:01] Production.INFO: neon service started
[2025-01-12 06:49:01] Production.INFO: neon service started
[2025-01-12 06:49:01] Production.INFO: ==18439== Releasing lock...
[2025-01-12 06:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:49:02] Production.INFO: ==18442== Lock acquired, processing the job...
[2025-01-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:49:02] Production.INFO: ==18444== Lock acquired, processing the job...
[2025-01-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:49:02] Production.INFO: ==18444== Releasing lock...
[2025-01-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:49:02] Production.INFO: ==18442== Releasing lock...
[2025-01-12 01:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:49:03] Production.INFO: ==18448== Lock acquired, processing the job...
[2025-01-12 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:49:03] Production.INFO: ==18450== Lock acquired, processing the job...
[2025-01-12 01:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:49:03] Production.INFO: ==18452== Lock acquired, processing the job...
[2025-01-12 01:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:49:03] Production.INFO: ==18446== Lock acquired, processing the job...
[2025-01-12 01:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:49:03] Production.INFO: Account Balance Start.
[2025-01-12 01:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:49:03] Production.INFO: 117
[2025-01-12 01:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:49:03] Production.INFO: ==18454== Lock acquired, processing the job...
[2025-01-12 01:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:49:03] Production.INFO: ==18448== Releasing lock...
[2025-01-12 01:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:49:03] Production.INFO: Total Charge 0
[2025-01-12 01:49:03] Production.INFO: ==18456== Lock acquired, processing the job...
[2025-01-12 01:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:49:03] Production.INFO: CreateAllLog End
[2025-01-12 01:49:03] Production.ERROR: done
[2025-01-12 01:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 01:49:04] Production.ERROR: done
[2025-01-12 01:49:04] Production.INFO: Account Balance End.
[2025-01-12 01:49:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:49:04] Production.INFO: count ==21
[2025-01-12 01:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:49:04] Production.INFO: ==18452== Releasing lock...
[2025-01-12 01:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228337') start
[2025-01-12 01:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228337') end
[2025-01-12 01:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:49:04] Production.INFO: 1
[2025-01-12 01:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:49:04] Production.INFO: ==18456== Releasing lock...
[2025-01-12 01:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:49:05
[end_date_ymd] => 2025-01-12 01:49:05
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:49:05' and `end` < '2025-01-12 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-01-12 01:49:10] Production.ERROR: CronJobId end10
[2025-01-12 01:49:10] Production.INFO: ==18450== Releasing lock...
[2025-01-12 01:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:49:12] Production.INFO: call_cost start
[2025-01-12 01:49:12] Production.INFO: call_cost end
[2025-01-12 01:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:49:13] Production.INFO: ==18446== Releasing lock...
[2025-01-12 01:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:49:20] Production.INFO: count ==562
[2025-01-12 01:49:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:49:05 - End Time 2025-01-12 01:49:05
[2025-01-12 01:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228338', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228338', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228338', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228338', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:49:20] Production.INFO: ProcessCDR(1,14228338,1,1,2)
[2025-01-12 01:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228338,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228338,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228338', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228338', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:49:23] Production.INFO: ==18454== Releasing lock...
[2025-01-12 01:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:49:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:50:02] Production.INFO: ==18511== Lock acquired, processing the job...
[2025-01-12 06:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:50:02] Production.INFO: neon service started
[2025-01-12 06:50:02] Production.INFO: neon service started
[2025-01-12 06:50:02] Production.INFO: ==18511== Releasing lock...
[2025-01-12 06:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:50:02] Production.INFO: ==18514== Lock acquired, processing the job...
[2025-01-12 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:50:02] Production.INFO: ==18514== Releasing lock...
[2025-01-12 01:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:50:02] Production.INFO: ==18516== Lock acquired, processing the job...
[2025-01-12 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:50:03] Production.INFO: ==18516== Releasing lock...
[2025-01-12 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:50:03] Production.INFO: ==18518== Lock acquired, processing the job...
[2025-01-12 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 01:50:03] Production.INFO: ==18528== Lock acquired, processing the job...
[2025-01-12 01:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 01:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 01:50:03] Production.INFO: ==18518== Releasing lock...
[2025-01-12 01:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 01:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 01:50:04] Production.INFO: ==18530== Lock acquired, processing the job...
[2025-01-12 01:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:50:04] Production.INFO: ==18520== Lock acquired, processing the job...
[2025-01-12 01:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:50:04] Production.INFO: ==18522== Lock acquired, processing the job...
[2025-01-12 01:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:50:04] Production.INFO: ==18532== Lock acquired, processing the job...
[2025-01-12 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:50:04] Production.INFO: ==18524== Lock acquired, processing the job...
[2025-01-12 01:50:04] Production.INFO: ==18526== Lock acquired, processing the job...
[2025-01-12 01:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:50:04] Production.ERROR: done
[2025-01-12 01:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:50:04] Production.ERROR: done
[2025-01-12 01:50:04] Production.INFO: Account Balance Start.
[2025-01-12 01:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:50:04] Production.INFO: 117
[2025-01-12 01:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 01:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228343', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 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-01-12 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:50:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:50:04] Production.INFO: count ==21
[2025-01-12 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228341') start
[2025-01-12 01:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:50:04] Production.ERROR: done
[2025-01-12 01:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228341') end
[2025-01-12 01:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:50:04] Production.INFO: 1
[2025-01-12 01:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:50:04] Production.INFO: ==18532== Releasing lock...
[2025-01-12 01:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:50:04] Production.INFO: Total Charge 0
[2025-01-12 01:50:04] Production.INFO: CreateAllLog End
[2025-01-12 01:50:05] Production.INFO: ==18522== Releasing lock...
[2025-01-12 01:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:50:05] Production.INFO: Account Balance End.
[2025-01-12 01:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 01:50:05] Production.INFO: ==18526== Releasing lock...
[2025-01-12 01:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:50:05
[end_date_ymd] => 2025-01-12 01:50:05
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:50:05' and `end` < '2025-01-12 01: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-01-12 01:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228343', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 01:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 01:50:08] Production.INFO: ProcessCDR(1,14228343,1,1,2)
[2025-01-12 01:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228343,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:50:08] Production.INFO: ==18530== Releasing lock...
[2025-01-12 01:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 01:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 01:50:12] Production.ERROR: CronJobId end10
[2025-01-12 01:50:12] Production.INFO: ==18524== Releasing lock...
[2025-01-12 01:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:50:15] Production.INFO: call_cost start
[2025-01-12 01:50:15] Production.INFO: call_cost end
[2025-01-12 01:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:50:16] Production.INFO: ==18520== Releasing lock...
[2025-01-12 01:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:50:19] Production.INFO: count ==569
[2025-01-12 01:50:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:50:05 - End Time 2025-01-12 01:50:05
[2025-01-12 01:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228344', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228344', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228344', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228344', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:50:19] Production.INFO: ProcessCDR(1,14228344,1,1,2)
[2025-01-12 01:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228344', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228344', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:50:23] Production.INFO: ==18528== Releasing lock...
[2025-01-12 01:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:50:23] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:51:01] Production.INFO: ==18584== Lock acquired, processing the job...
[2025-01-12 06:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:51:01] Production.INFO: neon service started
[2025-01-12 06:51:01] Production.INFO: neon service started
[2025-01-12 06:51:01] Production.INFO: ==18584== Releasing lock...
[2025-01-12 06:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:51:01] Production.INFO: ==18586== Lock acquired, processing the job...
[2025-01-12 01:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:51:02] Production.INFO: ==18586== Releasing lock...
[2025-01-12 01:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:51:02] Production.INFO: ==18588== Lock acquired, processing the job...
[2025-01-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:51:02] Production.INFO: ==18588== Releasing lock...
[2025-01-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:51:02] Production.INFO: ==18591== Lock acquired, processing the job...
[2025-01-12 01:51:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:51:03] Production.INFO: ==18593== Lock acquired, processing the job...
[2025-01-12 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:51:03] Production.INFO: ==18597== Lock acquired, processing the job...
[2025-01-12 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:51:03] Production.INFO: ==18595== Lock acquired, processing the job...
[2025-01-12 01:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:51:03] Production.INFO: Account Balance Start.
[2025-01-12 01:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:51:03] Production.INFO: 117
[2025-01-12 01:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:51:03] Production.INFO: ==18599== Lock acquired, processing the job...
[2025-01-12 01:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:51:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:51:03] Production.INFO: ==18601== Lock acquired, processing the job...
[2025-01-12 01:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:51:03] Production.INFO: ==18593== Releasing lock...
[2025-01-12 01:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:51:03] Production.INFO: Total Charge 0
[2025-01-12 01:51:03] Production.INFO: CreateAllLog End
[2025-01-12 01:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:51:03] Production.INFO: Account Balance End.
[2025-01-12 01:51:03] Production.INFO: count ==21
[2025-01-12 01: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-01-12 01:51:03] Production.ERROR: done
[2025-01-12 01:51:03] Production.INFO: count ==21
[2025-01-12 01:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:51:03] Production.ERROR: CronJobId end 12
[2025-01-12 01:51:03] Production.INFO: ==18597== Releasing lock...
[2025-01-12 01:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228348') start
[2025-01-12 01:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228348') end
[2025-01-12 01:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:51:03] Production.INFO: 1
[2025-01-12 01:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:51:04] Production.ERROR: done
[2025-01-12 01:51:04] Production.INFO: ==18601== Releasing lock...
[2025-01-12 01:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:51:04
[end_date_ymd] => 2025-01-12 01:51:04
[RateCDR] => 1
)
[2025-01-12 01: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-01-11 22:51:04' and `end` < '2025-01-12 01: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-01-12 01:51:10] Production.ERROR: CronJobId end10
[2025-01-12 01:51:10] Production.INFO: ==18595== Releasing lock...
[2025-01-12 01:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:51:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:51:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:51:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:51:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:51:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:51:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:51:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:51:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:51:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:51:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:51:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:51:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:51:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:51:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:51:12] Production.INFO: call_cost start
[2025-01-12 01:51:12] Production.INFO: call_cost end
[2025-01-12 01:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:51:13] Production.INFO: ==18591== Releasing lock...
[2025-01-12 01:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:51:21] Production.INFO: count ==579
[2025-01-12 01:51:21] Production.ERROR: pbx CDR StartTime 2025-01-11 22:51:04 - End Time 2025-01-12 01:51:04
[2025-01-12 01:51:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228349', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228349', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228349', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:51:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228349', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:51:21] Production.INFO: ProcessCDR(1,14228349,1,1,2)
[2025-01-12 01:51:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:51:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228349', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:51:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228349', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:51:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:51:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:51:25] Production.INFO: ==18599== Releasing lock...
[2025-01-12 01:51:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:51:25] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:52:02] Production.INFO: ==18658== Lock acquired, processing the job...
[2025-01-12 06:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:52:02] Production.INFO: neon service started
[2025-01-12 06:52:02] Production.INFO: neon service started
[2025-01-12 06:52:02] Production.INFO: ==18658== Releasing lock...
[2025-01-12 06:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:52:02] Production.INFO: ==18660== Lock acquired, processing the job...
[2025-01-12 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:52:02] Production.INFO: ==18660== Releasing lock...
[2025-01-12 01:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:52:02] Production.INFO: ==18662== Lock acquired, processing the job...
[2025-01-12 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:52:02] Production.INFO: ==18662== Releasing lock...
[2025-01-12 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:52:03] Production.INFO: ==18673== Lock acquired, processing the job...
[2025-01-12 01:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:52:03] Production.INFO: ==18669== Lock acquired, processing the job...
[2025-01-12 01:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:52:03] Production.INFO: ==18665== Lock acquired, processing the job...
[2025-01-12 01:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:52:03] Production.INFO: ==18667== Lock acquired, processing the job...
[2025-01-12 01:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:52:03] Production.INFO: ==18671== Lock acquired, processing the job...
[2025-01-12 01:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:52:04] Production.INFO: Account Balance Start.
[2025-01-12 01:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:52:04] Production.INFO: 117
[2025-01-12 01:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:52:04] Production.INFO: ==18675== Lock acquired, processing the job...
[2025-01-12 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:52:04] Production.ERROR: done
[2025-01-12 01:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:52:04] Production.ERROR: done
[2025-01-12 01: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-01-12 01:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:52:04] Production.INFO: count ==21
[2025-01-12 01: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-01-12 01:52:04] Production.INFO: count ==21
[2025-01-12 01:52:04] Production.INFO: ==18667== Releasing lock...
[2025-01-12 01:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228353') start
[2025-01-12 01:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:52:04] Production.INFO: Total Charge 0
[2025-01-12 01:52:04] Production.INFO: CreateAllLog End
[2025-01-12 01:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228353') end
[2025-01-12 01:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:52:04] Production.INFO: 1
[2025-01-12 01:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:52:04] Production.INFO: ==18675== Releasing lock...
[2025-01-12 01:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:52:04] Production.INFO: Account Balance End.
[2025-01-12 01:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:52:04] Production.INFO: ==18671== Releasing lock...
[2025-01-12 01:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:52:05
[end_date_ymd] => 2025-01-12 01:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:52:05' and `end` < '2025-01-12 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-01-12 01:52:11] Production.ERROR: CronJobId end10
[2025-01-12 01:52:11] Production.INFO: ==18669== Releasing lock...
[2025-01-12 01:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:52:14] Production.INFO: call_cost start
[2025-01-12 01:52:14] Production.INFO: call_cost end
[2025-01-12 01:52:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:52:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:52:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:52:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:52:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:52:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:52:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:52:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:52:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:52:15] Production.INFO: ==18665== Releasing lock...
[2025-01-12 01:52:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:52:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:52:18] Production.INFO: count ==579
[2025-01-12 01:52:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:52:05 - End Time 2025-01-12 01:52:05
[2025-01-12 01:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228354', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228354', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228354', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228354', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:52:18] Production.INFO: ProcessCDR(1,14228354,1,1,2)
[2025-01-12 01:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228354', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228354', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:52:21] Production.INFO: ==18673== Releasing lock...
[2025-01-12 01:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:52:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 06:53:01] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-12 06:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:53:01] Production.INFO: neon service started
[2025-01-12 06:53:01] Production.INFO: neon service started
[2025-01-12 06:53:01] Production.INFO: ==18733== Releasing lock...
[2025-01-12 06:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:53:01] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-01-12 01:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:53:02] Production.INFO: ==18735== Releasing lock...
[2025-01-12 01:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:53:02] Production.INFO: ==18737== Lock acquired, processing the job...
[2025-01-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:53:02] Production.INFO: ==18737== Releasing lock...
[2025-01-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:53:02] Production.INFO: ==18739== Lock acquired, processing the job...
[2025-01-12 01:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:53:02] Production.INFO: ==18741== Lock acquired, processing the job...
[2025-01-12 01:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:53:03] Production.INFO: ==18749== Lock acquired, processing the job...
[2025-01-12 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:53:03] Production.INFO: ==18743== Lock acquired, processing the job...
[2025-01-12 01:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01: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-01-12 01:53:03] Production.INFO: ==18745== Lock acquired, processing the job...
[2025-01-12 01:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:53:03] Production.INFO: ==18747== Lock acquired, processing the job...
[2025-01-12 01:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:53:03] Production.INFO: count ==21
[2025-01-12 01: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-01-12 01:53:03] Production.INFO: count ==21
[2025-01-12 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228357') start
[2025-01-12 01:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:53:03] Production.INFO: Account Balance Start.
[2025-01-12 01:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:53:03] Production.INFO: 117
[2025-01-12 01:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228357') end
[2025-01-12 01:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:53:03] Production.INFO: 1
[2025-01-12 01:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:53:03] Production.INFO: ==18749== Releasing lock...
[2025-01-12 01:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:53:03] Production.INFO: ==18741== Releasing lock...
[2025-01-12 01:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:53:03] Production.ERROR: done
[2025-01-12 01:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:53:03] Production.ERROR: done
[2025-01-12 01:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:53:03] Production.INFO: Total Charge 0
[2025-01-12 01:53:03] Production.INFO: CreateAllLog End
[2025-01-12 01:53:04] Production.INFO: Account Balance End.
[2025-01-12 01:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:53:04] Production.INFO: ==18745== Releasing lock...
[2025-01-12 01:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:53:04
[end_date_ymd] => 2025-01-12 01:53:04
[RateCDR] => 1
)
[2025-01-12 01:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:53:04' and `end` < '2025-01-12 01:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:53:10] Production.ERROR: CronJobId end10
[2025-01-12 01:53:10] Production.INFO: ==18743== Releasing lock...
[2025-01-12 01:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:53:12] Production.INFO: call_cost start
[2025-01-12 01:53:12] Production.INFO: call_cost end
[2025-01-12 01:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:53:13] Production.INFO: ==18739== Releasing lock...
[2025-01-12 01:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:53:19] Production.INFO: count ==582
[2025-01-12 01:53:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:53:04 - End Time 2025-01-12 01:53:04
[2025-01-12 01:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228359', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228359', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228359', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228359', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:53:19] Production.INFO: ProcessCDR(1,14228359,1,1,2)
[2025-01-12 01:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228359', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228359', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:53:22] Production.INFO: ==18747== Releasing lock...
[2025-01-12 01:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:53:22] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:54:01] Production.INFO: ==18804== Lock acquired, processing the job...
[2025-01-12 06:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:54:01] Production.INFO: neon service started
[2025-01-12 06:54:01] Production.INFO: neon service started
[2025-01-12 06:54:01] Production.INFO: ==18804== Releasing lock...
[2025-01-12 06:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:54:02] Production.INFO: ==18806== Lock acquired, processing the job...
[2025-01-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:54:02] Production.INFO: ==18806== Releasing lock...
[2025-01-12 01:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:54:02] Production.INFO: ==18808== Lock acquired, processing the job...
[2025-01-12 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:54:02] Production.INFO: ==18808== Releasing lock...
[2025-01-12 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:54:03] Production.INFO: ==18810== Lock acquired, processing the job...
[2025-01-12 01:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:54:03] Production.INFO: ==18814== Lock acquired, processing the job...
[2025-01-12 01:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:54:03] Production.INFO: ==18818== Lock acquired, processing the job...
[2025-01-12 01:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:54:03] Production.INFO: ==18812== Lock acquired, processing the job...
[2025-01-12 01:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:54:03] Production.INFO: ==18816== Lock acquired, processing the job...
[2025-01-12 01:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:54:03] Production.INFO: ==18820== Lock acquired, processing the job...
[2025-01-12 01:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:54:03] Production.ERROR: done
[2025-01-12 01:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:54:04] Production.INFO: Account Balance Start.
[2025-01-12 01:54:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:54:04] Production.INFO: 117
[2025-01-12 01:54:04] Production.INFO: Date 2025-01-08
[2025-01-12 01: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-01-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:54:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:54:04] Production.INFO: count ==21
[2025-01-12 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228362') start
[2025-01-12 01:54:04] Production.ERROR: done
[2025-01-12 01:54:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:54:04] Production.INFO: ==18812== Releasing lock...
[2025-01-12 01:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228362') end
[2025-01-12 01:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:54:04] Production.INFO: 1
[2025-01-12 01:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:54:04] Production.INFO: ==18820== Releasing lock...
[2025-01-12 01:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:54:04] Production.INFO: Total Charge 0
[2025-01-12 01:54:04] Production.INFO: CreateAllLog End
[2025-01-12 01:54:04] Production.INFO: Account Balance End.
[2025-01-12 01:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:54:04] Production.INFO: ==18816== Releasing lock...
[2025-01-12 01:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:54:05
[end_date_ymd] => 2025-01-12 01:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:54:05' and `end` < '2025-01-12 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-01-12 01:54:11] Production.ERROR: CronJobId end10
[2025-01-12 01:54:11] Production.INFO: ==18814== Releasing lock...
[2025-01-12 01:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:54:13] Production.INFO: call_cost start
[2025-01-12 01:54:13] Production.INFO: call_cost end
[2025-01-12 01:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:54:14] Production.INFO: ==18810== Releasing lock...
[2025-01-12 01:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:54:20] Production.INFO: count ==582
[2025-01-12 01:54:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:54:05 - End Time 2025-01-12 01:54:05
[2025-01-12 01:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228364', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228364', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228364', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228364', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:54:20] Production.INFO: ProcessCDR(1,14228364,1,1,2)
[2025-01-12 01:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228364', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228364', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:54:23] Production.INFO: ==18818== Releasing lock...
[2025-01-12 01:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:54:23] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:55:02] Production.INFO: ==18877== Lock acquired, processing the job...
[2025-01-12 06:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:55:02] Production.INFO: neon service started
[2025-01-12 06:55:02] Production.INFO: neon service started
[2025-01-12 06:55:02] Production.INFO: ==18877== Releasing lock...
[2025-01-12 06:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:55:02] Production.INFO: ==18879== Lock acquired, processing the job...
[2025-01-12 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:55:02] Production.INFO: ==18879== Releasing lock...
[2025-01-12 01:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:55:03] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-01-12 06:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:55:03] Production.INFO: ==18881== Releasing lock...
[2025-01-12 06:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:55:03] Production.INFO: ==18887== Lock acquired, processing the job...
[2025-01-12 01:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:55:03] Production.INFO: ==18891== Lock acquired, processing the job...
[2025-01-12 01:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:55:03] Production.INFO: ==18883== Lock acquired, processing the job...
[2025-01-12 01:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:55:03] Production.INFO: ==18885== Lock acquired, processing the job...
[2025-01-12 01:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:55:03] Production.INFO: ==18889== Lock acquired, processing the job...
[2025-01-12 01:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:55:04] Production.INFO: ==18893== Lock acquired, processing the job...
[2025-01-12 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:55:04] Production.INFO: Account Balance Start.
[2025-01-12 01:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 01:55:04] Production.INFO: 117
[2025-01-12 01:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:55:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:55:04] Production.INFO: count ==21
[2025-01-12 01:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:55:04] Production.ERROR: done
[2025-01-12 01:55:04] Production.INFO: ==18885== Releasing lock...
[2025-01-12 01:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228368') start
[2025-01-12 01:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:55:04] Production.INFO: Total Charge 0
[2025-01-12 01:55:04] Production.INFO: CreateAllLog End
[2025-01-12 01:55:04] Production.ERROR: done
[2025-01-12 01:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228368') end
[2025-01-12 01:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:55:04] Production.INFO: 1
[2025-01-12 01:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:55:04] Production.INFO: ==18893== Releasing lock...
[2025-01-12 01:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:55:04] Production.INFO: Account Balance End.
[2025-01-12 01:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:55:04] Production.INFO: ==18889== Releasing lock...
[2025-01-12 01:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:55:05
[end_date_ymd] => 2025-01-12 01:55:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:55:05' and `end` < '2025-01-12 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-01-12 01:55:11] Production.ERROR: CronJobId end10
[2025-01-12 01:55:11] Production.INFO: ==18887== Releasing lock...
[2025-01-12 01:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:55:14] Production.INFO: call_cost start
[2025-01-12 01:55:14] Production.INFO: call_cost end
[2025-01-12 01:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:55:15] Production.INFO: ==18883== Releasing lock...
[2025-01-12 01:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:55:19] Production.INFO: count ==582
[2025-01-12 01:55:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:55:05 - End Time 2025-01-12 01:55:05
[2025-01-12 01:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228369', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228369', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228369', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228369', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:55:20] Production.INFO: ProcessCDR(1,14228369,1,1,2)
[2025-01-12 01:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228369', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228369', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:55:23] Production.INFO: ==18891== Releasing lock...
[2025-01-12 01:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:55:23] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:56:01] Production.INFO: ==18947== Lock acquired, processing the job...
[2025-01-12 06:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:56:01] Production.INFO: neon service started
[2025-01-12 06:56:01] Production.INFO: neon service started
[2025-01-12 06:56:01] Production.INFO: ==18947== Releasing lock...
[2025-01-12 06:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:56:02] Production.INFO: ==18949== Lock acquired, processing the job...
[2025-01-12 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:56:02] Production.INFO: ==18951== Lock acquired, processing the job...
[2025-01-12 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 01:56:02] Production.INFO: ==18949== Releasing lock...
[2025-01-12 01:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:56:02] Production.INFO: ==18951== Releasing lock...
[2025-01-12 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:56:03] Production.INFO: ==18953== Lock acquired, processing the job...
[2025-01-12 01:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:56:03] Production.INFO: ==18956== Lock acquired, processing the job...
[2025-01-12 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:56:03] Production.INFO: ==18958== Lock acquired, processing the job...
[2025-01-12 01:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:56:03] Production.INFO: ==18960== Lock acquired, processing the job...
[2025-01-12 01:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:56:03] Production.INFO: ==18962== Lock acquired, processing the job...
[2025-01-12 01:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:56:03] Production.INFO: Account Balance Start.
[2025-01-12 01:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:56:03] Production.INFO: 117
[2025-01-12 01:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:56:03] Production.INFO: ==18956== Releasing lock...
[2025-01-12 01:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:56:03] Production.INFO: ==18964== Lock acquired, processing the job...
[2025-01-12 01:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:56:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 01:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 01:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:56:04] Production.INFO: Total Charge 0
[2025-01-12 01:56:04] Production.INFO: CreateAllLog End
[2025-01-12 01:56:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:56:04] Production.INFO: count ==21
[2025-01-12 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228373') start
[2025-01-12 01:56:04] Production.ERROR: done
[2025-01-12 01:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228373') end
[2025-01-12 01:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:56:04] Production.INFO: 1
[2025-01-12 01:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:56:04] Production.INFO: ==18964== Releasing lock...
[2025-01-12 01:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:56:04] Production.INFO: Account Balance End.
[2025-01-12 01:56:04] Production.ERROR: done
[2025-01-12 01:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:56:04] Production.INFO: ==18960== Releasing lock...
[2025-01-12 01:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:56:05
[end_date_ymd] => 2025-01-12 01:56:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:56:05' and `end` < '2025-01-12 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-01-12 01:56:11] Production.ERROR: CronJobId end10
[2025-01-12 01:56:11] Production.INFO: ==18958== Releasing lock...
[2025-01-12 01:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:56:13] Production.INFO: call_cost start
[2025-01-12 01:56:13] Production.INFO: call_cost end
[2025-01-12 01:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:56:13] Production.INFO: ==18953== Releasing lock...
[2025-01-12 01:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:56:19] Production.INFO: count ==582
[2025-01-12 01:56:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:56:05 - End Time 2025-01-12 01:56:05
[2025-01-12 01:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228374', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228374', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228374', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228374', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:56:19] Production.INFO: ProcessCDR(1,14228374,1,1,2)
[2025-01-12 01:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228374', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228374', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:56:22] Production.INFO: ==18962== Releasing lock...
[2025-01-12 01:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:56:22] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:57:02] Production.INFO: ==19019== Lock acquired, processing the job...
[2025-01-12 06:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:57:02] Production.INFO: neon service started
[2025-01-12 06:57:02] Production.INFO: neon service started
[2025-01-12 06:57:02] Production.INFO: ==19019== Releasing lock...
[2025-01-12 06:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:57:02] Production.INFO: ==19021== Lock acquired, processing the job...
[2025-01-12 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:57:02] Production.INFO: ==19021== Releasing lock...
[2025-01-12 01:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:57:03] Production.INFO: ==19023== Lock acquired, processing the job...
[2025-01-12 06:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:57:03] Production.INFO: ==19023== Releasing lock...
[2025-01-12 06:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:57:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:57:03] Production.INFO: ==19030== Lock acquired, processing the job...
[2025-01-12 01:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:57:03] Production.INFO: ==19026== Lock acquired, processing the job...
[2025-01-12 01:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:57:03] Production.INFO: ==19032== Lock acquired, processing the job...
[2025-01-12 01:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:57:03] Production.INFO: ==19028== Lock acquired, processing the job...
[2025-01-12 01:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:57:03] Production.INFO: Account Balance Start.
[2025-01-12 01:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:57:03] Production.INFO: 117
[2025-01-12 01:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:57:04] Production.INFO: ==19034== Lock acquired, processing the job...
[2025-01-12 01:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:57:04] Production.INFO: ==19036== Lock acquired, processing the job...
[2025-01-12 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:57:04] Production.INFO: count ==21
[2025-01-12 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-01-12 01:57:04] Production.INFO: count ==21
[2025-01-12 01:57:04] Production.INFO: ==19028== Releasing lock...
[2025-01-12 01:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228378') start
[2025-01-12 01:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228378') end
[2025-01-12 01:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:57:04] Production.INFO: 1
[2025-01-12 01:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:57:04] Production.ERROR: done
[2025-01-12 01:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:57:04] Production.INFO: ==19036== Releasing lock...
[2025-01-12 01:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:57:04] Production.INFO: Total Charge 0
[2025-01-12 01:57:04] Production.INFO: CreateAllLog End
[2025-01-12 01:57:04] Production.ERROR: done
[2025-01-12 01:57:04] Production.INFO: Account Balance End.
[2025-01-12 01:57:05] Production.ERROR: CronJobId end 12
[2025-01-12 01:57:05] Production.INFO: ==19032== Releasing lock...
[2025-01-12 01:57:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:57:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:57:05
[end_date_ymd] => 2025-01-12 01:57:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:57:05' and `end` < '2025-01-12 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-01-12 01:57:11] Production.ERROR: CronJobId end10
[2025-01-12 01:57:11] Production.INFO: ==19030== Releasing lock...
[2025-01-12 01:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:57:13] Production.INFO: call_cost start
[2025-01-12 01:57:13] Production.INFO: call_cost end
[2025-01-12 01:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:57:14] Production.INFO: ==19026== Releasing lock...
[2025-01-12 01:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:57:20] Production.INFO: count ==582
[2025-01-12 01:57:20] Production.ERROR: pbx CDR StartTime 2025-01-11 22:57:05 - End Time 2025-01-12 01:57:05
[2025-01-12 01:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228379', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228379', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228379', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228379', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:57:20] Production.INFO: ProcessCDR(1,14228379,1,1,2)
[2025-01-12 01:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228379,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228379,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228379', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228379', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:57:23] Production.INFO: ==19034== Releasing lock...
[2025-01-12 01:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:57:23] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:58:01] Production.INFO: ==19091== Lock acquired, processing the job...
[2025-01-12 06:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:58:01] Production.INFO: neon service started
[2025-01-12 06:58:01] Production.INFO: neon service started
[2025-01-12 06:58:01] Production.INFO: ==19091== Releasing lock...
[2025-01-12 06:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:58:01] Production.INFO: ==19093== Lock acquired, processing the job...
[2025-01-12 01:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 01:58:02] Production.INFO: ==19093== Releasing lock...
[2025-01-12 01:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:58:02] Production.INFO: ==19095== Lock acquired, processing the job...
[2025-01-12 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:58:02] Production.INFO: ==19095== Releasing lock...
[2025-01-12 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:58:03] Production.INFO: ==19104== Lock acquired, processing the job...
[2025-01-12 01:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:58:03] Production.INFO: Account Balance Start.
[2025-01-12 01:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 01:58:03] Production.INFO: ==19098== Lock acquired, processing the job...
[2025-01-12 01:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:58:03] Production.INFO: 117
[2025-01-12 01:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 01:58:03] Production.INFO: ==19106== Lock acquired, processing the job...
[2025-01-12 01:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:58:03] Production.INFO: ==19100== Lock acquired, processing the job...
[2025-01-12 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 01:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:58:03] Production.INFO: ==19102== Lock acquired, processing the job...
[2025-01-12 01:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 01:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 01:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:58:03] Production.INFO: ==19108== Lock acquired, processing the job...
[2025-01-12 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 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-01-12 01:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 01:58:03] Production.INFO: count ==21
[2025-01-12 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-01-12 01:58:03] Production.INFO: count ==21
[2025-01-12 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228383') start
[2025-01-12 01:58:03] Production.ERROR: done
[2025-01-12 01:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:58:03] Production.INFO: ==19100== Releasing lock...
[2025-01-12 01:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:58:03] Production.INFO: Total Charge 0
[2025-01-12 01:58:03] Production.INFO: CreateAllLog End
[2025-01-12 01:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228383') end
[2025-01-12 01:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:58:03] Production.INFO: 1
[2025-01-12 01:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:58:03] Production.INFO: ==19108== Releasing lock...
[2025-01-12 01:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:58:04] Production.ERROR: done
[2025-01-12 01:58:04] Production.INFO: Account Balance End.
[2025-01-12 01:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:58:04] Production.INFO: ==19104== Releasing lock...
[2025-01-12 01:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:58:05
[end_date_ymd] => 2025-01-12 01:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 22:58:05' and `end` < '2025-01-12 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-01-12 01:58:12] Production.ERROR: CronJobId end10
[2025-01-12 01:58:12] Production.INFO: ==19102== Releasing lock...
[2025-01-12 01:58:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:58:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:58:13] Production.INFO: call_cost start
[2025-01-12 01:58:13] Production.INFO: call_cost end
[2025-01-12 01:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:58:14] Production.INFO: ==19098== Releasing lock...
[2025-01-12 01:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:58:19] Production.INFO: count ==582
[2025-01-12 01:58:19] Production.ERROR: pbx CDR StartTime 2025-01-11 22:58:05 - End Time 2025-01-12 01:58:05
[2025-01-12 01:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228384', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228384', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228384', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228384', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:58:19] Production.INFO: ProcessCDR(1,14228384,1,1,2)
[2025-01-12 01:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228384,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228384,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228384', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228384', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:58:22] Production.INFO: ==19106== Releasing lock...
[2025-01-12 01:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:58:22] Production.INFO: 33 MB #Memory Used#
[2025-01-12 06:59:01] Production.INFO: ==19163== Lock acquired, processing the job...
[2025-01-12 06:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 06:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 06:59:02] Production.INFO: neon service started
[2025-01-12 06:59:02] Production.INFO: neon service started
[2025-01-12 06:59:02] Production.INFO: ==19163== Releasing lock...
[2025-01-12 06:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 06:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 01:59:02] Production.INFO: ==19165== Lock acquired, processing the job...
[2025-01-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:59:02] Production.INFO: ==19167== Lock acquired, processing the job...
[2025-01-12 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:59:02] Production.INFO: ==19167== Releasing lock...
[2025-01-12 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 06:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 01:59:02] Production.INFO: ==19165== Releasing lock...
[2025-01-12 01:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 01:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 01:59:03] Production.INFO: ==19170== Lock acquired, processing the job...
[2025-01-12 01:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 01:59:03] Production.INFO: ==19178== Lock acquired, processing the job...
[2025-01-12 01:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 01:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 01:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 01:59:03] Production.INFO: ==19172== Lock acquired, processing the job...
[2025-01-12 01:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 01:59:03] Production.INFO: ==19174== Lock acquired, processing the job...
[2025-01-12 01:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 01:59:03] Production.INFO: ==19176== Lock acquired, processing the job...
[2025-01-12 01:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 01:59:03] Production.INFO: ==19180== Lock acquired, processing the job...
[2025-01-12 01:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 01:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 01:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 01:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 01:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 01:59:03] Production.ERROR: done
[2025-01-12 01:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 01:59:03] Production.INFO: Account Balance Start.
[2025-01-12 01:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 01: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-01-12 01:59:03] Production.INFO: 117
[2025-01-12 01:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 01:59:04] Production.INFO: count ==21
[2025-01-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 01:59:04] Production.INFO: count ==21
[2025-01-12 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228387') start
[2025-01-12 01:59:04] Production.ERROR: done
[2025-01-12 01:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228387') end
[2025-01-12 01:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 01:59:04] Production.INFO: 1
[2025-01-12 01:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 01:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 01:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 01:59:04] Production.INFO: Total Charge 0
[2025-01-12 01:59:04] Production.INFO: ==19172== Releasing lock...
[2025-01-12 01:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 01:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 01:59:04] Production.INFO: CreateAllLog End
[2025-01-12 01:59:04] Production.INFO: ==19180== Releasing lock...
[2025-01-12 01:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 01:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 01:59:04] Production.INFO: Account Balance End.
[2025-01-12 01:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 01:59:04] Production.INFO: ==19176== Releasing lock...
[2025-01-12 01:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 01:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 01:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 22:59:05
[end_date_ymd] => 2025-01-12 01:59:05
[RateCDR] => 1
)
[2025-01-12 01:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 22:59:05' and `end` < '2025-01-12 01:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 01:59:11] Production.ERROR: CronJobId end10
[2025-01-12 01:59:11] Production.INFO: ==19174== Releasing lock...
[2025-01-12 01:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 01:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 01:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 01:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 01:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 01:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 01:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 01:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 01:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 01:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 01:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 01:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 01:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 01:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 01:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 01:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 01:59:14] Production.INFO: call_cost start
[2025-01-12 01:59:14] Production.INFO: call_cost end
[2025-01-12 01:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 01:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 01:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 01:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 01:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 01:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 01:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 01:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 01:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 01:59:14] Production.INFO: ==19170== Releasing lock...
[2025-01-12 01:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 01:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 01:59:18] Production.INFO: count ==580
[2025-01-12 01:59:18] Production.ERROR: pbx CDR StartTime 2025-01-11 22:59:05 - End Time 2025-01-12 01:59:05
[2025-01-12 01:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228389', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228389', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228389', 'tblTempVendorCDR_20' ) start
[2025-01-12 01:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228389', 'tblTempVendorCDR_20' ) end
[2025-01-12 01:59:18] Production.INFO: ProcessCDR(1,14228389,1,1,2)
[2025-01-12 01:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228389,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 01:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228389,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228389', 'tblTempUsageDetail_20' ) start
[2025-01-12 01:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228389', 'tblTempUsageDetail_20' ) end
[2025-01-12 01:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 01:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 01:59:21] Production.INFO: ==19178== Releasing lock...
[2025-01-12 01:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 01:59:21] Production.INFO: 33 MB #Memory Used#
[2025-01-12 07:00:01] Production.INFO: ==19235== Lock acquired, processing the job...
[2025-01-12 07:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:00:01] Production.INFO: neon service started
[2025-01-12 07:00:01] Production.INFO: neon service started
[2025-01-12 07:00:01] Production.INFO: ==19235== Releasing lock...
[2025-01-12 07:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:00:02] Production.INFO: ==19239== Lock acquired, processing the job...
[2025-01-12 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:00:02] Production.INFO: ==19237== Lock acquired, processing the job...
[2025-01-12 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:00:02] Production.INFO: ==19239== Releasing lock...
[2025-01-12 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:00:02] Production.INFO: ==19237== Releasing lock...
[2025-01-12 02:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:00:03] Production.INFO: ==19242== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 02:00:03] Production.INFO: ==19244== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Starts#
[2025-01-12 02:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 02:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 02:00:03] Production.ERROR: CronJob PID - 19244
[2025-01-12 02:00:03] Production.ERROR: CronJob Title - Server CleanUP
[2025-01-12 02:00:03] Production.ERROR: CronJob ID - 4
[2025-01-12 02:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 02:00:00
[2025-01-12 02:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 02:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 02:00:03] Production.INFO: ==19246== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:00:03] Production.INFO: ==19250== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 02:00:03] Production.INFO: ==19242== Releasing lock...
[2025-01-12 02:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 02:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:00:03] Production.INFO: ==19254== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:00:03] Production.INFO: ==19259== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:00:03] Production.INFO: ==19248== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:00:03] Production.INFO: ==19256== Lock acquired, processing the job...
[2025-01-12 02:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 02: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-01-12 02:00:04] Production.INFO: ==19252== Lock acquired, processing the job...
[2025-01-12 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:00:04] Production.INFO: count ==21
[2025-01-12 02:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 02:00:04] Production.INFO: count ==21
[2025-01-12 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228391') start
[2025-01-12 02:00:04] Production.INFO: Account Balance Start.
[2025-01-12 02:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:00:04] Production.INFO: 117
[2025-01-12 02:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:00:04] Production.ERROR: done
[2025-01-12 02:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228391') end
[2025-01-12 02:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:00:04] Production.INFO: 1
[2025-01-12 02:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:00:04] Production.INFO: ==19259== Releasing lock...
[2025-01-12 02:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:00:04] Production.ERROR: done
[2025-01-12 02:00:04] Production.ERROR: done
[2025-01-12 02:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 02:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228394', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 02:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:00:04] Production.INFO: Total Charge 0
[2025-01-12 02:00:04] Production.INFO: CreateAllLog End
[2025-01-12 02:00:04] Production.INFO: ==19248== Releasing lock...
[2025-01-12 02:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:00:04] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-12 02:00:04] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.4G 13G 10% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 35G 16G 69% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-12 02:00:04] Production.INFO: Delete Storage Log Start
[2025-01-12 02:00:04] Production.INFO: Front End Delete Storage Log Start
[2025-01-12 02:00:04] Production.INFO: Account Balance End.
[2025-01-12 02:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:00:04] Production.INFO: ==19252== Releasing lock...
[2025-01-12 02:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:00:05] Production.INFO: find /var/www/html/onswitch.neon/app/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-12 02:00:05] Production.INFO: Front End Delete Storage Log End
[2025-01-12 02:00:05] Production.INFO: Back End(Service) Delete Storage Log Start
[2025-01-12 02:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:00:05
[end_date_ymd] => 2025-01-12 02:00:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:00:05' and `end` < '2025-01-12 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-01-12 02:00:07] Production.INFO: find /var/www/html/onswitch.neon.service/storage/logs -maxdepth 1 -name "*.log" -mtime +31 -type f -exec rm {} \;
[2025-01-12 02:00:07] Production.INFO: Back End(Service) Delete Storage Log End
[2025-01-12 02:00:07] Production.INFO: Delete Storage Log End
[2025-01-12 02:00:07] Production.INFO: Delete Temp Files Start
[2025-01-12 02:00:07] Production.INFO: find /var/www/tmp* -maxdepth 1 -mtime +3 -type f -exec rm {} \;
[2025-01-12 02:00:07] Production.INFO: Delete Temp Files End
[2025-01-12 02:00:07] Production.INFO: Delete CDR File Start
[2025-01-12 02:00:07] Production.INFO: Delete CDR File End
[2025-01-12 02:00:08] Production.INFO: Disk FileSystem - df -Ph | awk '{printf "%-35s%-10s%-10s%-10s%-10s%s\n",$1,$2,$3,$4,$5,$6}'
[2025-01-12 02:00:08] Production.INFO: output
Filesystem Size Used Avail Use% Mounted
devtmpfs 15G 4.0K 15G 1% /dev
tmpfs 15G 0 15G 0% /dev/shm
tmpfs 15G 1.4G 13G 10% /run
tmpfs 15G 0 15G 0% /sys/fs/cgroup
/dev/sda1 50G 35G 16G 69% /
/dev/loop0 64M 64M 0 100% /var/lib/snapd/snap/core20/2379
/dev/loop4 104M 104M 0 100% /var/lib/snapd/snap/core/16928
/dev/loop5 105M 105M 0 100% /var/lib/snapd/snap/core/17200
/dev/sdb1 79G 26G 50G 34% /mysql
/dev/loop6 64M 64M 0 100% /var/lib/snapd/snap/core20/2434
/dev/loop1 67M 67M 0 100% /var/lib/snapd/snap/core24/609
/dev/loop3 53M 53M 0 100% /var/lib/snapd/snap/certbot/4193
/dev/loop2 56M 56M 0 100% /var/lib/snapd/snap/certbot/4325
tmpfs 2.9G 0 2.9G 0% /run/user/0
[2025-01-12 02:00:08] Production.ERROR: CronJobId end 4
[2025-01-12 02:00:08] Production.INFO: ==19244== Releasing lock...
[2025-01-12 02:00:08] Production.INFO: servercleanup-command-servercleanup-companyid-1-cronjobid-4 #Stops#
[2025-01-12 02:00:08] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 02:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228394', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 02:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 02:00:09] Production.INFO: ProcessCDR(1,14228394,1,1,2)
[2025-01-12 02:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228394,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:00:09] Production.INFO: ==19256== Releasing lock...
[2025-01-12 02:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 02:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 02:00:14] Production.ERROR: CronJobId end10
[2025-01-12 02:00:14] Production.INFO: ==19250== Releasing lock...
[2025-01-12 02:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:00:15] Production.INFO: call_cost start
[2025-01-12 02:00:15] Production.INFO: call_cost end
[2025-01-12 02:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:00:16] Production.INFO: ==19246== Releasing lock...
[2025-01-12 02:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:00:19] Production.INFO: count ==587
[2025-01-12 02:00:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:00:05 - End Time 2025-01-12 02:00:05
[2025-01-12 02:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228395', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228395', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228395', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228395', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:00:19] Production.INFO: ProcessCDR(1,14228395,1,1,2)
[2025-01-12 02:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228395', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228395', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:00:22] Production.INFO: ==19254== Releasing lock...
[2025-01-12 02:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:00:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:01:01] Production.INFO: ==19450== Lock acquired, processing the job...
[2025-01-12 07:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:01:01] Production.INFO: neon service started
[2025-01-12 07:01:01] Production.INFO: neon service started
[2025-01-12 07:01:01] Production.INFO: ==19450== Releasing lock...
[2025-01-12 07:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:01:02] Production.INFO: ==19456== Lock acquired, processing the job...
[2025-01-12 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:01:02] Production.INFO: ==19458== Lock acquired, processing the job...
[2025-01-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:01:02] Production.INFO: ==19456== Releasing lock...
[2025-01-12 02:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:01:02] Production.INFO: ==19458== Releasing lock...
[2025-01-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:01:03] Production.INFO: ==19469== Lock acquired, processing the job...
[2025-01-12 02:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:01:03] Production.INFO: ==19471== Lock acquired, processing the job...
[2025-01-12 02:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:01:03] Production.INFO: ==19461== Lock acquired, processing the job...
[2025-01-12 02:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:01:03] Production.INFO: ==19463== Lock acquired, processing the job...
[2025-01-12 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:01:03] Production.INFO: ==19465== Lock acquired, processing the job...
[2025-01-12 02:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:01:03] Production.INFO: ==19467== Lock acquired, processing the job...
[2025-01-12 02:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:01:03] Production.ERROR: done
[2025-01-12 02:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 02:01:03] Production.INFO: Account Balance Start.
[2025-01-12 02:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:01:03] Production.INFO: 117
[2025-01-12 02:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:01:03] Production.INFO: count ==21
[2025-01-12 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-01-12 02:01:03] Production.INFO: count ==21
[2025-01-12 02:01:03] Production.ERROR: done
[2025-01-12 02:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228396') start
[2025-01-12 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:01:03] Production.INFO: ==19463== Releasing lock...
[2025-01-12 02:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:01:04] Production.INFO: Total Charge 0
[2025-01-12 02:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228396') end
[2025-01-12 02:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:01:04] Production.INFO: 1
[2025-01-12 02:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:01:04] Production.INFO: CreateAllLog End
[2025-01-12 02:01:04] Production.INFO: ==19471== Releasing lock...
[2025-01-12 02:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:01:04] Production.INFO: Account Balance End.
[2025-01-12 02:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:01:04] Production.INFO: ==19467== Releasing lock...
[2025-01-12 02:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:01:04
[end_date_ymd] => 2025-01-12 02:01:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:01:04' and `end` < '2025-01-12 02: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-01-12 02:01:10] Production.ERROR: CronJobId end10
[2025-01-12 02:01:10] Production.INFO: ==19465== Releasing lock...
[2025-01-12 02:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:01:13] Production.INFO: call_cost start
[2025-01-12 02:01:13] Production.INFO: call_cost end
[2025-01-12 02:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:01:14] Production.INFO: ==19461== Releasing lock...
[2025-01-12 02:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:01:18] Production.INFO: count ==597
[2025-01-12 02:01:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:01:04 - End Time 2025-01-12 02:01:04
[2025-01-12 02:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228400', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228400', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228400', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228400', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:01:18] Production.INFO: ProcessCDR(1,14228400,1,1,2)
[2025-01-12 02:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228400', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228400', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:01:21] Production.INFO: ==19469== Releasing lock...
[2025-01-12 02:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:01:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:02:02] Production.INFO: ==19528== Lock acquired, processing the job...
[2025-01-12 07:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:02:02] Production.INFO: neon service started
[2025-01-12 07:02:02] Production.INFO: neon service started
[2025-01-12 07:02:02] Production.INFO: ==19528== Releasing lock...
[2025-01-12 07:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:02:02] Production.INFO: ==19533== Lock acquired, processing the job...
[2025-01-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:02:02] Production.INFO: ==19531== Lock acquired, processing the job...
[2025-01-12 02:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:02:02] Production.INFO: ==19533== Releasing lock...
[2025-01-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:02:03] Production.INFO: ==19531== Releasing lock...
[2025-01-12 02:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:02:03] Production.INFO: ==19535== Lock acquired, processing the job...
[2025-01-12 02:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:02:04] Production.INFO: ==19539== Lock acquired, processing the job...
[2025-01-12 02:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:02:04] Production.INFO: ==19537== Lock acquired, processing the job...
[2025-01-12 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:02:04] Production.INFO: ==19543== Lock acquired, processing the job...
[2025-01-12 02:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:02:04] Production.INFO: ==19541== Lock acquired, processing the job...
[2025-01-12 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:02:04] Production.INFO: ==19545== Lock acquired, processing the job...
[2025-01-12 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:02:04] Production.INFO: Account Balance Start.
[2025-01-12 02:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:02:04] Production.INFO: 117
[2025-01-12 02:02:04] Production.INFO: ==19537== Releasing lock...
[2025-01-12 02:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:02:04] Production.INFO: count ==21
[2025-01-12 02:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:02:04] Production.INFO: count ==21
[2025-01-12 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228404') start
[2025-01-12 02:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:02:04] Production.ERROR: done
[2025-01-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:02:04] Production.ERROR: done
[2025-01-12 02:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228404') end
[2025-01-12 02:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:02:04] Production.INFO: 1
[2025-01-12 02:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:02:04] Production.INFO: Total Charge 0
[2025-01-12 02:02:04] Production.INFO: ==19545== Releasing lock...
[2025-01-12 02:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:02:04] Production.INFO: CreateAllLog End
[2025-01-12 02:02:04] Production.INFO: Account Balance End.
[2025-01-12 02:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:02:04] Production.INFO: ==19541== Releasing lock...
[2025-01-12 02:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:02:05
[end_date_ymd] => 2025-01-12 02:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:02:05' and `end` < '2025-01-12 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-01-12 02:02:11] Production.ERROR: CronJobId end10
[2025-01-12 02:02:11] Production.INFO: ==19539== Releasing lock...
[2025-01-12 02:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:02:13] Production.INFO: call_cost start
[2025-01-12 02:02:13] Production.INFO: call_cost end
[2025-01-12 02:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:02:14] Production.INFO: ==19535== Releasing lock...
[2025-01-12 02:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:02:20] Production.INFO: count ==597
[2025-01-12 02:02:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:02:05 - End Time 2025-01-12 02:02:05
[2025-01-12 02:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228405', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228405', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228405', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228405', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:02:20] Production.INFO: ProcessCDR(1,14228405,1,1,2)
[2025-01-12 02:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:02:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:02:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:02:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228405', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:02:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228405', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:02:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:02:25] Production.INFO: ==19543== Releasing lock...
[2025-01-12 02:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:02:25] Production.INFO: 33 MB #Memory Used#
[2025-01-12 07:03:01] Production.INFO: ==19600== Lock acquired, processing the job...
[2025-01-12 07:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:03:01] Production.INFO: neon service started
[2025-01-12 07:03:01] Production.INFO: neon service started
[2025-01-12 07:03:01] Production.INFO: ==19600== Releasing lock...
[2025-01-12 07:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:03:02] Production.INFO: ==19602== Lock acquired, processing the job...
[2025-01-12 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:03:02] Production.INFO: ==19602== Releasing lock...
[2025-01-12 02:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:03:02] Production.INFO: ==19604== Lock acquired, processing the job...
[2025-01-12 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:03:02] Production.INFO: ==19604== Releasing lock...
[2025-01-12 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:03:03] Production.INFO: ==19609== Lock acquired, processing the job...
[2025-01-12 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:03:03] Production.INFO: ==19607== Lock acquired, processing the job...
[2025-01-12 02:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:03:03] Production.INFO: ==19615== Lock acquired, processing the job...
[2025-01-12 02:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:03:03] Production.INFO: ==19611== Lock acquired, processing the job...
[2025-01-12 02:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:03:03] Production.INFO: ==19613== Lock acquired, processing the job...
[2025-01-12 02:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:03:03] Production.INFO: ==19617== Lock acquired, processing the job...
[2025-01-12 02:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:03:03] Production.INFO: ==19609== Releasing lock...
[2025-01-12 02:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:03:03] Production.INFO: Account Balance Start.
[2025-01-12 02:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:03:03] Production.INFO: 117
[2025-01-12 02:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:03:03] Production.ERROR: done
[2025-01-12 02:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:03:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:03:03] Production.INFO: count ==21
[2025-01-12 02:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228409') start
[2025-01-12 02:03:03] Production.ERROR: done
[2025-01-12 02:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:03:03] Production.INFO: Total Charge 0
[2025-01-12 02:03:03] Production.INFO: CreateAllLog End
[2025-01-12 02:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228409') end
[2025-01-12 02:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:03:03] Production.INFO: 1
[2025-01-12 02:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:03:04] Production.INFO: ==19617== Releasing lock...
[2025-01-12 02:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:03:04] Production.INFO: Account Balance End.
[2025-01-12 02:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:03:04] Production.INFO: ==19613== Releasing lock...
[2025-01-12 02:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:03:04
[end_date_ymd] => 2025-01-12 02:03:04
[RateCDR] => 1
)
[2025-01-12 02:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:03:04' and `end` < '2025-01-12 02:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:03:11] Production.ERROR: CronJobId end10
[2025-01-12 02:03:11] Production.INFO: ==19611== Releasing lock...
[2025-01-12 02:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:03:13] Production.INFO: call_cost start
[2025-01-12 02:03:13] Production.INFO: call_cost end
[2025-01-12 02:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:03:14] Production.INFO: ==19607== Releasing lock...
[2025-01-12 02:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:03:18] Production.INFO: count ==598
[2025-01-12 02:03:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:03:04 - End Time 2025-01-12 02:03:04
[2025-01-12 02:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228410', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228410', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228410', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228410', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:03:18] Production.INFO: ProcessCDR(1,14228410,1,1,2)
[2025-01-12 02:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228410', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228410', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:03:22] Production.INFO: ==19615== Releasing lock...
[2025-01-12 02:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:03:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:04:02] Production.INFO: ==19674== Lock acquired, processing the job...
[2025-01-12 07:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:04:02] Production.INFO: neon service started
[2025-01-12 07:04:02] Production.INFO: neon service started
[2025-01-12 07:04:02] Production.INFO: ==19674== Releasing lock...
[2025-01-12 07:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:04:02] Production.INFO: ==19676== Lock acquired, processing the job...
[2025-01-12 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:04:02] Production.INFO: ==19676== Releasing lock...
[2025-01-12 02:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:04:03] Production.INFO: ==19678== Lock acquired, processing the job...
[2025-01-12 07:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:04:03] Production.INFO: ==19678== Releasing lock...
[2025-01-12 07:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:04:03] Production.INFO: ==19685== Lock acquired, processing the job...
[2025-01-12 02:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:04:03] Production.INFO: ==19681== Lock acquired, processing the job...
[2025-01-12 02:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:04:03] Production.INFO: ==19691== Lock acquired, processing the job...
[2025-01-12 02:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:04:03] Production.INFO: ==19683== Lock acquired, processing the job...
[2025-01-12 02:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:04:03] Production.INFO: ==19687== Lock acquired, processing the job...
[2025-01-12 02:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02: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-01-12 02:04:04] Production.INFO: ==19689== Lock acquired, processing the job...
[2025-01-12 02:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:04:04] Production.INFO: count ==21
[2025-01-12 02:04:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:04:04] Production.INFO: count ==21
[2025-01-12 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228412') start
[2025-01-12 02:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:04:04] Production.INFO: Account Balance Start.
[2025-01-12 02:04:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:04:04] Production.INFO: 117
[2025-01-12 02:04:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:04:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228412') end
[2025-01-12 02:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:04:04] Production.INFO: 1
[2025-01-12 02:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:04:04] Production.INFO: ==19691== Releasing lock...
[2025-01-12 02:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:04:04] Production.INFO: ==19683== Releasing lock...
[2025-01-12 02:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:04:04] Production.ERROR: done
[2025-01-12 02:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:04:04] Production.ERROR: done
[2025-01-12 02:04:04] Production.INFO: Total Charge 0
[2025-01-12 02:04:04] Production.INFO: CreateAllLog End
[2025-01-12 02:04:04] Production.INFO: Account Balance End.
[2025-01-12 02:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:04:04] Production.INFO: ==19687== Releasing lock...
[2025-01-12 02:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:04:05
[end_date_ymd] => 2025-01-12 02:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:04:05' and `end` < '2025-01-12 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-01-12 02:04:12] Production.ERROR: CronJobId end10
[2025-01-12 02:04:12] Production.INFO: ==19685== Releasing lock...
[2025-01-12 02:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:04:14] Production.INFO: call_cost start
[2025-01-12 02:04:14] Production.INFO: call_cost end
[2025-01-12 02:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:04:15] Production.INFO: ==19681== Releasing lock...
[2025-01-12 02:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:04:18] Production.INFO: count ==598
[2025-01-12 02:04:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:04:05 - End Time 2025-01-12 02:04:05
[2025-01-12 02:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228415', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228415', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228415', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228415', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:04:18] Production.INFO: ProcessCDR(1,14228415,1,1,2)
[2025-01-12 02:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228415', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228415', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:04:22] Production.INFO: ==19689== Releasing lock...
[2025-01-12 02:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:04:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:05:01] Production.INFO: ==19745== Lock acquired, processing the job...
[2025-01-12 07:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:05:01] Production.INFO: neon service started
[2025-01-12 07:05:01] Production.INFO: neon service started
[2025-01-12 07:05:01] Production.INFO: ==19745== Releasing lock...
[2025-01-12 07:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:05:01] Production.INFO: ==19747== Lock acquired, processing the job...
[2025-01-12 02:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:05:02] Production.INFO: ==19749== Lock acquired, processing the job...
[2025-01-12 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:05:02] Production.INFO: ==19747== Releasing lock...
[2025-01-12 02:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:05:02] Production.INFO: ==19749== Releasing lock...
[2025-01-12 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:05:03] Production.INFO: ==19754== Lock acquired, processing the job...
[2025-01-12 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:05:03] Production.INFO: ==19756== Lock acquired, processing the job...
[2025-01-12 02:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:05:03] Production.INFO: ==19752== Lock acquired, processing the job...
[2025-01-12 02:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:05:03] Production.INFO: ==19760== Lock acquired, processing the job...
[2025-01-12 02:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:05:03] Production.INFO: ==19758== Lock acquired, processing the job...
[2025-01-12 02:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:05:03] Production.INFO: ==19754== Releasing lock...
[2025-01-12 02:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:05:03] Production.INFO: ==19762== Lock acquired, processing the job...
[2025-01-12 02:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:05:03] Production.ERROR: done
[2025-01-12 02:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:05:03] Production.INFO: Account Balance Start.
[2025-01-12 02:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:05:03] Production.INFO: 117
[2025-01-12 02: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-01-12 02:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:05:03] Production.INFO: count ==21
[2025-01-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:05:03] Production.ERROR: done
[2025-01-12 02:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:05:03] Production.INFO: count ==21
[2025-01-12 02:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228418') start
[2025-01-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:05:03] Production.INFO: Total Charge 0
[2025-01-12 02:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228418') end
[2025-01-12 02:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:05:04] Production.INFO: 1
[2025-01-12 02:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:05:04] Production.INFO: CreateAllLog End
[2025-01-12 02:05:04] Production.INFO: ==19762== Releasing lock...
[2025-01-12 02:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:05:04] Production.INFO: Account Balance End.
[2025-01-12 02:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:05:04] Production.INFO: ==19758== Releasing lock...
[2025-01-12 02:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:05:04
[end_date_ymd] => 2025-01-12 02:05:04
[RateCDR] => 1
)
[2025-01-12 02:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:05:04' and `end` < '2025-01-12 02:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:05:10] Production.ERROR: CronJobId end10
[2025-01-12 02:05:10] Production.INFO: ==19756== Releasing lock...
[2025-01-12 02:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:05:12] Production.INFO: call_cost start
[2025-01-12 02:05:12] Production.INFO: call_cost end
[2025-01-12 02:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:05:13] Production.INFO: ==19752== Releasing lock...
[2025-01-12 02:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:05:17] Production.INFO: count ==598
[2025-01-12 02:05:17] Production.ERROR: pbx CDR StartTime 2025-01-11 23:05:04 - End Time 2025-01-12 02:05:04
[2025-01-12 02:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228420', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228420', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228420', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228420', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:05:18] Production.INFO: ProcessCDR(1,14228420,1,1,2)
[2025-01-12 02:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228420', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228420', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:05:21] Production.INFO: ==19760== Releasing lock...
[2025-01-12 02:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:05:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:06:02] Production.INFO: ==19816== Lock acquired, processing the job...
[2025-01-12 07:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:06:02] Production.INFO: neon service started
[2025-01-12 07:06:02] Production.INFO: neon service started
[2025-01-12 07:06:02] Production.INFO: ==19816== Releasing lock...
[2025-01-12 07:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:06:02] Production.INFO: ==19819== Lock acquired, processing the job...
[2025-01-12 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:06:02] Production.INFO: ==19819== Releasing lock...
[2025-01-12 02:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:06:02] Production.INFO: ==19821== Lock acquired, processing the job...
[2025-01-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:06:02] Production.INFO: ==19821== Releasing lock...
[2025-01-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:06:03] Production.INFO: ==19823== Lock acquired, processing the job...
[2025-01-12 02:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:06:03] Production.INFO: ==19827== Lock acquired, processing the job...
[2025-01-12 02:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:06:03] Production.INFO: ==19829== Lock acquired, processing the job...
[2025-01-12 02:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:06:03] Production.INFO: ==19825== Lock acquired, processing the job...
[2025-01-12 02:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:06:03] Production.INFO: Account Balance Start.
[2025-01-12 02:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:06:03] Production.INFO: 117
[2025-01-12 02:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:06:04] Production.INFO: Total Charge 0
[2025-01-12 02:06:04] Production.INFO: ==19825== Releasing lock...
[2025-01-12 02:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:06:04] Production.INFO: CreateAllLog End
[2025-01-12 02:06:04] Production.INFO: ==19831== Lock acquired, processing the job...
[2025-01-12 02:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:06:04] Production.INFO: ==19833== Lock acquired, processing the job...
[2025-01-12 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 02:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:06:04] Production.INFO: Account Balance End.
[2025-01-12 02:06:04] Production.INFO: count ==21
[2025-01-12 02:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:06:04] Production.INFO: ==19829== Releasing lock...
[2025-01-12 02:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 02:06:04] Production.INFO: count ==21
[2025-01-12 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228424') start
[2025-01-12 02:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228424') end
[2025-01-12 02:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:06:04] Production.INFO: 1
[2025-01-12 02:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:06:04] Production.INFO: ==19833== Releasing lock...
[2025-01-12 02:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:06:04] Production.ERROR: done
[2025-01-12 02:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:06:04] Production.ERROR: done
[2025-01-12 02:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:06:05
[end_date_ymd] => 2025-01-12 02:06:05
[RateCDR] => 1
)
[2025-01-12 02:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:06:05' and `end` < '2025-01-12 02:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:06: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-01-12 02:06:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:06:10] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:06:10] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:06:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:06:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:06:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:06:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:06:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:06:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:06:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:06:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:06:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:06:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:06:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:06:10] Production.INFO: call_cost start
[2025-01-12 02:06:10] Production.INFO: call_cost end
[2025-01-12 02:06:10] Production.ERROR: CronJobId end10
[2025-01-12 02:06:10] Production.INFO: ==19827== Releasing lock...
[2025-01-12 02:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:06:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:06:11] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:06:11] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:06:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:06:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:06:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:06:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:06:11] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:06:11] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:06:11] Production.INFO: ==19823== Releasing lock...
[2025-01-12 02:06:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:06:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:06:21] Production.INFO: count ==596
[2025-01-12 02:06:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:06:05 - End Time 2025-01-12 02:06:05
[2025-01-12 02:06:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228425', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228425', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228425', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:06:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228425', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:06:21] Production.INFO: ProcessCDR(1,14228425,1,1,2)
[2025-01-12 02:06:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:06:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228425,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:06:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:06:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228425,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228425', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:06:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228425', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:06:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:06:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:06:25] Production.INFO: ==19831== Releasing lock...
[2025-01-12 02:06:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:06:25] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:07:01] Production.INFO: ==19888== Lock acquired, processing the job...
[2025-01-12 07:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:07:01] Production.INFO: neon service started
[2025-01-12 07:07:01] Production.INFO: neon service started
[2025-01-12 07:07:01] Production.INFO: ==19888== Releasing lock...
[2025-01-12 07:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:07:01] Production.INFO: ==19890== Lock acquired, processing the job...
[2025-01-12 02:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:07:02] Production.INFO: ==19890== Releasing lock...
[2025-01-12 02:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:07:02] Production.INFO: ==19892== Lock acquired, processing the job...
[2025-01-12 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:07:02] Production.INFO: ==19892== Releasing lock...
[2025-01-12 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:07:02] Production.INFO: ==19894== Lock acquired, processing the job...
[2025-01-12 02:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:07:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:07:02] Production.INFO: ==19898== Lock acquired, processing the job...
[2025-01-12 02:07:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:07:03] Production.INFO: ==19900== Lock acquired, processing the job...
[2025-01-12 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:07:03] Production.INFO: Account Balance Start.
[2025-01-12 02:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:07:03] Production.INFO: 117
[2025-01-12 02:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:07:03] Production.INFO: ==19896== Lock acquired, processing the job...
[2025-01-12 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:07:03] Production.INFO: ==19902== Lock acquired, processing the job...
[2025-01-12 02:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:07:03] Production.INFO: Total Charge 0
[2025-01-12 02:07:03] Production.INFO: CreateAllLog End
[2025-01-12 02:07:03] Production.INFO: ==19904== Lock acquired, processing the job...
[2025-01-12 02:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02: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-01-12 02:07:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:07:03] Production.INFO: count ==21
[2025-01-12 02:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228429') start
[2025-01-12 02:07:03] Production.INFO: ==19896== Releasing lock...
[2025-01-12 02:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:07:03] Production.INFO: Account Balance End.
[2025-01-12 02:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228429') end
[2025-01-12 02:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:07:03] Production.INFO: 1
[2025-01-12 02:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:07:03] Production.ERROR: done
[2025-01-12 02:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:07:03] Production.ERROR: CronJobId end 12
[2025-01-12 02:07:03] Production.INFO: ==19900== Releasing lock...
[2025-01-12 02:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:07:03] Production.INFO: ==19904== Releasing lock...
[2025-01-12 02:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:07:03] Production.ERROR: done
[2025-01-12 02:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:07:04
[end_date_ymd] => 2025-01-12 02:07:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:07:04' and `end` < '2025-01-12 02: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-01-12 02:07:10] Production.ERROR: CronJobId end10
[2025-01-12 02:07:10] Production.INFO: ==19898== Releasing lock...
[2025-01-12 02:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:07:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:07:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:07:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:07:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:07:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:07:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:07:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:07:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:07:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:07:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:07:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:07:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:07:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:07:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:07:12] Production.INFO: call_cost start
[2025-01-12 02:07:12] Production.INFO: call_cost end
[2025-01-12 02:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:07:13] Production.INFO: ==19894== Releasing lock...
[2025-01-12 02:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:07:18] Production.INFO: count ==594
[2025-01-12 02:07:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:07:04 - End Time 2025-01-12 02:07:04
[2025-01-12 02:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228430', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228430', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228430', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228430', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:07:18] Production.INFO: ProcessCDR(1,14228430,1,1,2)
[2025-01-12 02:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228430,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228430,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228430', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228430', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:07:21] Production.INFO: ==19902== Releasing lock...
[2025-01-12 02:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:07:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 07:08:01] Production.INFO: ==19961== Lock acquired, processing the job...
[2025-01-12 07:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:08:01] Production.INFO: neon service started
[2025-01-12 07:08:01] Production.INFO: neon service started
[2025-01-12 07:08:01] Production.INFO: ==19961== Releasing lock...
[2025-01-12 07:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:08:02] Production.INFO: ==19965== Lock acquired, processing the job...
[2025-01-12 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:08:02] Production.INFO: ==19965== Releasing lock...
[2025-01-12 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:08:02] Production.INFO: ==19963== Lock acquired, processing the job...
[2025-01-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:08:02] Production.INFO: ==19963== Releasing lock...
[2025-01-12 02:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:08:03] Production.INFO: ==19971== Lock acquired, processing the job...
[2025-01-12 02:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:08:03] Production.INFO: ==19975== Lock acquired, processing the job...
[2025-01-12 02:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:08:03] Production.INFO: ==19967== Lock acquired, processing the job...
[2025-01-12 02:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:08:03] Production.INFO: ==19969== Lock acquired, processing the job...
[2025-01-12 02:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:08:03] Production.INFO: ==19973== Lock acquired, processing the job...
[2025-01-12 02:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:08:03] Production.INFO: ==19977== Lock acquired, processing the job...
[2025-01-12 02:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:08:03] Production.INFO: Account Balance Start.
[2025-01-12 02:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:08:03] Production.INFO: 117
[2025-01-12 02:08:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:08:04] Production.ERROR: done
[2025-01-12 02:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:08:04] Production.INFO: count ==21
[2025-01-12 02:08:04] Production.ERROR: done
[2025-01-12 02: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-01-12 02:08:04] Production.INFO: count ==21
[2025-01-12 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228434') start
[2025-01-12 02:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:08:04] Production.INFO: Total Charge 0
[2025-01-12 02:08:04] Production.INFO: CreateAllLog End
[2025-01-12 02:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228434') end
[2025-01-12 02:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:08:04] Production.INFO: 1
[2025-01-12 02:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:08:04] Production.INFO: ==19969== Releasing lock...
[2025-01-12 02:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:08:04] Production.INFO: Account Balance End.
[2025-01-12 02:08:04] Production.INFO: ==19977== Releasing lock...
[2025-01-12 02:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:08:04] Production.INFO: ==19973== Releasing lock...
[2025-01-12 02:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:08:05
[end_date_ymd] => 2025-01-12 02:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:08:05' and `end` < '2025-01-12 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-01-12 02:08: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-01-12 02:08:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:08:10] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:08:10] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:08:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:08:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:08:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:08:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:08:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:08:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:08:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:08:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:08:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:08:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:08:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:08:11] Production.INFO: call_cost start
[2025-01-12 02:08:11] Production.INFO: call_cost end
[2025-01-12 02:08:11] Production.ERROR: CronJobId end10
[2025-01-12 02:08:11] Production.INFO: ==19971== Releasing lock...
[2025-01-12 02:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:08:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:08:11] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:08:11] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:08:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:08:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:08:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:08:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:08:11] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:08:11] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:08:11] Production.INFO: ==19967== Releasing lock...
[2025-01-12 02:08:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:08:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:08:18] Production.INFO: count ==592
[2025-01-12 02:08:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:08:05 - End Time 2025-01-12 02:08:05
[2025-01-12 02:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228435', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228435', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228435', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228435', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:08:18] Production.INFO: ProcessCDR(1,14228435,1,1,2)
[2025-01-12 02:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228435,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228435,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228435', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228435', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:08:21] Production.INFO: ==19975== Releasing lock...
[2025-01-12 02:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:08:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:09:02] Production.INFO: ==20032== Lock acquired, processing the job...
[2025-01-12 07:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:09:02] Production.INFO: neon service started
[2025-01-12 07:09:02] Production.INFO: neon service started
[2025-01-12 07:09:02] Production.INFO: ==20032== Releasing lock...
[2025-01-12 07:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:09:03] Production.INFO: ==20034== Lock acquired, processing the job...
[2025-01-12 02:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:09:03] Production.INFO: ==20036== Lock acquired, processing the job...
[2025-01-12 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:09:03] Production.INFO: ==20036== Releasing lock...
[2025-01-12 07:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:09:03] Production.INFO: ==20034== Releasing lock...
[2025-01-12 02:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:09:04] Production.INFO: ==20041== Lock acquired, processing the job...
[2025-01-12 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:09:04] Production.INFO: ==20047== Lock acquired, processing the job...
[2025-01-12 02:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:09:04] Production.INFO: ==20039== Lock acquired, processing the job...
[2025-01-12 02:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:09:04] Production.INFO: ==20043== Lock acquired, processing the job...
[2025-01-12 02:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:09:04] Production.INFO: ==20045== Lock acquired, processing the job...
[2025-01-12 02:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:09:04] Production.INFO: ==20049== Lock acquired, processing the job...
[2025-01-12 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:09:04] Production.INFO: ==20041== Releasing lock...
[2025-01-12 02:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 02:09:04] Production.INFO: Account Balance Start.
[2025-01-12 02:09:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:09:04] Production.INFO: 117
[2025-01-12 02:09:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:09:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:09:04] Production.INFO: count ==21
[2025-01-12 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228438') start
[2025-01-12 02:09:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228438') end
[2025-01-12 02:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:09:04] Production.INFO: 1
[2025-01-12 02:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:09:04] Production.INFO: ==20049== Releasing lock...
[2025-01-12 02:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:09:04] Production.ERROR: done
[2025-01-12 02:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:09:04] Production.INFO: Total Charge 0
[2025-01-12 02:09:04] Production.INFO: CreateAllLog End
[2025-01-12 02:09:04] Production.ERROR: done
[2025-01-12 02:09:04] Production.INFO: Account Balance End.
[2025-01-12 02:09:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:09:05] Production.INFO: ==20045== Releasing lock...
[2025-01-12 02:09:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:09:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:09:05
[end_date_ymd] => 2025-01-12 02:09:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:09:05' and `end` < '2025-01-12 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-01-12 02:09:11] Production.ERROR: CronJobId end10
[2025-01-12 02:09:11] Production.INFO: ==20043== Releasing lock...
[2025-01-12 02:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:09:13] Production.INFO: call_cost start
[2025-01-12 02:09:13] Production.INFO: call_cost end
[2025-01-12 02:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:09:14] Production.INFO: ==20039== Releasing lock...
[2025-01-12 02:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:09:21] Production.INFO: count ==590
[2025-01-12 02:09:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:09:05 - End Time 2025-01-12 02:09:05
[2025-01-12 02:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228440', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228440', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228440', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228440', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:09:21] Production.INFO: ProcessCDR(1,14228440,1,1,2)
[2025-01-12 02:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228440,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228440,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228440', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228440', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:09:24] Production.INFO: ==20047== Releasing lock...
[2025-01-12 02:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:09:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 07:10:01] Production.INFO: ==20106== Lock acquired, processing the job...
[2025-01-12 07:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:10:01] Production.INFO: neon service started
[2025-01-12 07:10:01] Production.INFO: neon service started
[2025-01-12 07:10:01] Production.INFO: ==20106== Releasing lock...
[2025-01-12 07:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:10:02] Production.INFO: ==20108== Lock acquired, processing the job...
[2025-01-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:10:02] Production.INFO: ==20110== Lock acquired, processing the job...
[2025-01-12 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:10:02] Production.INFO: ==20108== Releasing lock...
[2025-01-12 02:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:10:02] Production.INFO: ==20110== Releasing lock...
[2025-01-12 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:10:03] Production.INFO: ==20118== Lock acquired, processing the job...
[2025-01-12 02:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:10:03] Production.INFO: ==20112== Lock acquired, processing the job...
[2025-01-12 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 02:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:10:03] Production.INFO: ==20114== Lock acquired, processing the job...
[2025-01-12 02:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:10:03] Production.INFO: ==20122== Lock acquired, processing the job...
[2025-01-12 02:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 02:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 02:10:03] Production.ERROR: CronJob PID - 20118
[2025-01-12 02:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 02:10:03] Production.ERROR: CronJob ID - 10
[2025-01-12 02:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 02:10:00
[2025-01-12 02:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 02:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 02:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 02:10:03] Production.ERROR: CronJob PID - 20122
[2025-01-12 02:10:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 02:10:03] Production.ERROR: CronJob ID - 16
[2025-01-12 02:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 02:10:00
[2025-01-12 02:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 02:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 02:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:10:03] Production.INFO: ==20127== Lock acquired, processing the job...
[2025-01-12 02:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 02:10:03] Production.INFO: ==20112== Releasing lock...
[2025-01-12 02:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 02:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:10:03] Production.INFO: ==20116== Lock acquired, processing the job...
[2025-01-12 02:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02: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-01-12 02:10:03] Production.INFO: ==20125== Lock acquired, processing the job...
[2025-01-12 02:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 02:10:03] Production.INFO: count ==21
[2025-01-12 02:10:04] Production.INFO: ==20120== Lock acquired, processing the job...
[2025-01-12 02:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:10:04] Production.INFO: count ==21
[2025-01-12 02:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228441') start
[2025-01-12 02:10:04] Production.ERROR: done
[2025-01-12 02:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228441') end
[2025-01-12 02:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:10:04] Production.INFO: 1
[2025-01-12 02:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:10:04] Production.ERROR: done
[2025-01-12 02:10:04] Production.INFO: ==20127== Releasing lock...
[2025-01-12 02:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:10:04] Production.INFO: Account Balance Start.
[2025-01-12 02:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:10:04] Production.INFO: 117
[2025-01-12 02:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:10:04] Production.INFO: ==20116== Releasing lock...
[2025-01-12 02:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:10:04] Production.ERROR: done
[2025-01-12 02:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 02:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228446', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 02:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:10:04] Production.INFO: Total Charge 0
[2025-01-12 02:10:04] Production.INFO: CreateAllLog End
[2025-01-12 02:10:05] Production.INFO: Account Balance End.
[2025-01-12 02:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:10:05] Production.INFO: ==20120== Releasing lock...
[2025-01-12 02:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:10:05
[end_date_ymd] => 2025-01-12 02:10:05
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:10:05' and `end` < '2025-01-12 02: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-01-12 02:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228446', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 02:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 02:10:08] Production.INFO: ProcessCDR(1,14228446,1,1,2)
[2025-01-12 02:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228446,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228446,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:10:08] Production.INFO: ==20125== Releasing lock...
[2025-01-12 02:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 02:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 02:10:12] Production.ERROR: CronJobId end10
[2025-01-12 02:10:12] Production.INFO: ==20118== Releasing lock...
[2025-01-12 02:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:10:14] Production.INFO: call_cost start
[2025-01-12 02:10:14] Production.INFO: call_cost end
[2025-01-12 02:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:10:15] Production.INFO: ==20114== Releasing lock...
[2025-01-12 02:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:10:18] Production.INFO: count ==596
[2025-01-12 02:10:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:10:05 - End Time 2025-01-12 02:10:05
[2025-01-12 02:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228445', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228445', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228445', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228445', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:10:18] Production.INFO: ProcessCDR(1,14228445,1,1,2)
[2025-01-12 02:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228445,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228445,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228445', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228445', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:10:22] Production.INFO: ==20122== Releasing lock...
[2025-01-12 02:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:10:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:11:02] Production.INFO: ==20182== Lock acquired, processing the job...
[2025-01-12 07:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:11:02] Production.INFO: neon service started
[2025-01-12 07:11:02] Production.INFO: neon service started
[2025-01-12 07:11:02] Production.INFO: ==20182== Releasing lock...
[2025-01-12 07:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:11:02] Production.INFO: ==20184== Lock acquired, processing the job...
[2025-01-12 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:11:02] Production.INFO: ==20184== Releasing lock...
[2025-01-12 02:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:11:02] Production.INFO: ==20186== Lock acquired, processing the job...
[2025-01-12 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:11:03] Production.INFO: ==20186== Releasing lock...
[2025-01-12 07:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:11:03] Production.INFO: ==20197== Lock acquired, processing the job...
[2025-01-12 02:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:11:03] Production.INFO: ==20199== Lock acquired, processing the job...
[2025-01-12 02:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:11:03] Production.INFO: ==20189== Lock acquired, processing the job...
[2025-01-12 02:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:11:03] Production.INFO: ==20191== Lock acquired, processing the job...
[2025-01-12 02:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:11:04] Production.INFO: ==20193== Lock acquired, processing the job...
[2025-01-12 02:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 02:11:04] Production.INFO: ==20195== Lock acquired, processing the job...
[2025-01-12 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:11:04] Production.INFO: count ==21
[2025-01-12 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228447') start
[2025-01-12 02:11:04] Production.INFO: Account Balance Start.
[2025-01-12 02:11:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:11:04] Production.INFO: 117
[2025-01-12 02:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:11:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228447') end
[2025-01-12 02:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:11:04] Production.INFO: 1
[2025-01-12 02:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:11:04] Production.ERROR: done
[2025-01-12 02:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:11:04] Production.INFO: ==20199== Releasing lock...
[2025-01-12 02:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:11:04] Production.INFO: ==20191== Releasing lock...
[2025-01-12 02:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:11:04] Production.ERROR: done
[2025-01-12 02:11:04] Production.INFO: Total Charge 0
[2025-01-12 02:11:04] Production.INFO: CreateAllLog End
[2025-01-12 02:11:04] Production.INFO: Account Balance End.
[2025-01-12 02:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:11:04] Production.INFO: ==20195== Releasing lock...
[2025-01-12 02:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:11:05
[end_date_ymd] => 2025-01-12 02:11:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:11:05' and `end` < '2025-01-12 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-01-12 02:11:11] Production.ERROR: CronJobId end10
[2025-01-12 02:11:11] Production.INFO: ==20193== Releasing lock...
[2025-01-12 02:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:11:13] Production.INFO: call_cost start
[2025-01-12 02:11:13] Production.INFO: call_cost end
[2025-01-12 02:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:11:14] Production.INFO: ==20189== Releasing lock...
[2025-01-12 02:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:11:18] Production.INFO: count ==612
[2025-01-12 02:11:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:11:05 - End Time 2025-01-12 02:11:05
[2025-01-12 02:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228451', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228451', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228451', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228451', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:11:18] Production.INFO: ProcessCDR(1,14228451,1,1,2)
[2025-01-12 02:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228451', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228451', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:11:21] Production.INFO: ==20197== Releasing lock...
[2025-01-12 02:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:11:21] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 07:12:01] Production.INFO: ==20254== Lock acquired, processing the job...
[2025-01-12 07:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:12:01] Production.INFO: neon service started
[2025-01-12 07:12:01] Production.INFO: neon service started
[2025-01-12 07:12:01] Production.INFO: ==20254== Releasing lock...
[2025-01-12 07:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:12:01] Production.INFO: ==20256== Lock acquired, processing the job...
[2025-01-12 02:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:12:02] Production.INFO: ==20256== Releasing lock...
[2025-01-12 02:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:12:02] Production.INFO: ==20258== Lock acquired, processing the job...
[2025-01-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:12:02] Production.INFO: ==20258== Releasing lock...
[2025-01-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:12:03] Production.INFO: ==20270== Lock acquired, processing the job...
[2025-01-12 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:12:03] Production.INFO: ==20268== Lock acquired, processing the job...
[2025-01-12 02:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:12:03] Production.INFO: count ==21
[2025-01-12 02:12:03] Production.INFO: ==20260== Lock acquired, processing the job...
[2025-01-12 02:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:12:03] Production.INFO: count ==21
[2025-01-12 02:12:03] Production.INFO: ==20264== Lock acquired, processing the job...
[2025-01-12 02:12:03] Production.INFO: ==20262== Lock acquired, processing the job...
[2025-01-12 02:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228452') start
[2025-01-12 02:12:03] Production.INFO: ==20266== Lock acquired, processing the job...
[2025-01-12 02:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228452') end
[2025-01-12 02:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:12:03] Production.INFO: 1
[2025-01-12 02:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:12:03] Production.INFO: Account Balance Start.
[2025-01-12 02:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:12:03] Production.INFO: 117
[2025-01-12 02:12:03] Production.INFO: ==20270== Releasing lock...
[2025-01-12 02:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:12:03] Production.ERROR: done
[2025-01-12 02:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:12:03] Production.ERROR: done
[2025-01-12 02:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:12:03] Production.INFO: ==20262== Releasing lock...
[2025-01-12 02:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:12:03] Production.INFO: Total Charge 0
[2025-01-12 02:12:03] Production.INFO: CreateAllLog End
[2025-01-12 02:12:04] Production.INFO: Account Balance End.
[2025-01-12 02:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:12:04] Production.INFO: ==20266== Releasing lock...
[2025-01-12 02:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:12:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:12:04
[end_date_ymd] => 2025-01-12 02:12:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:12:04' and `end` < '2025-01-12 02: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-01-12 02:12:10] Production.ERROR: CronJobId end10
[2025-01-12 02:12:10] Production.INFO: ==20264== Releasing lock...
[2025-01-12 02:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:12:13] Production.INFO: call_cost start
[2025-01-12 02:12:13] Production.INFO: call_cost end
[2025-01-12 02:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:12:14] Production.INFO: ==20260== Releasing lock...
[2025-01-12 02:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:12:20] Production.INFO: count ==611
[2025-01-12 02:12:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:12:04 - End Time 2025-01-12 02:12:04
[2025-01-12 02:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228456', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228456', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228456', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228456', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:12:20] Production.INFO: ProcessCDR(1,14228456,1,1,2)
[2025-01-12 02:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228456', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228456', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:12:23] Production.INFO: ==20268== Releasing lock...
[2025-01-12 02:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:12:23] Production.INFO: 33 MB #Memory Used#
[2025-01-12 07:13:02] Production.INFO: ==20327== Lock acquired, processing the job...
[2025-01-12 07:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:13:02] Production.INFO: neon service started
[2025-01-12 07:13:02] Production.INFO: neon service started
[2025-01-12 07:13:02] Production.INFO: ==20327== Releasing lock...
[2025-01-12 07:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:13:02] Production.INFO: ==20329== Lock acquired, processing the job...
[2025-01-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:13:02] Production.INFO: ==20329== Releasing lock...
[2025-01-12 02:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:13:02] Production.INFO: ==20331== Lock acquired, processing the job...
[2025-01-12 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:13:03] Production.INFO: ==20331== Releasing lock...
[2025-01-12 07:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:13:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:13:03] Production.INFO: ==20333== Lock acquired, processing the job...
[2025-01-12 02:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:13:03] Production.INFO: ==20337== Lock acquired, processing the job...
[2025-01-12 02:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:13:03] Production.INFO: ==20339== Lock acquired, processing the job...
[2025-01-12 02:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:13:03] Production.INFO: Account Balance Start.
[2025-01-12 02:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:13:03] Production.INFO: 117
[2025-01-12 02:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:13:03] Production.INFO: ==20335== Lock acquired, processing the job...
[2025-01-12 02:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:13:03] Production.INFO: ==20341== Lock acquired, processing the job...
[2025-01-12 02:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:13:03] Production.INFO: ==20343== Lock acquired, processing the job...
[2025-01-12 02:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:13:03] Production.INFO: Total Charge 0
[2025-01-12 02:13:03] Production.INFO: CreateAllLog End
[2025-01-12 02:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02: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-01-12 02:13:04] Production.INFO: count ==21
[2025-01-12 02:13:04] Production.INFO: ==20335== Releasing lock...
[2025-01-12 02:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:13:04] Production.INFO: Account Balance End.
[2025-01-12 02:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:13:04] Production.INFO: count ==21
[2025-01-12 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228460') start
[2025-01-12 02:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:13:04] Production.INFO: ==20339== Releasing lock...
[2025-01-12 02:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:13:04] Production.ERROR: done
[2025-01-12 02:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228460') end
[2025-01-12 02:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:13:04] Production.INFO: 1
[2025-01-12 02:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:13:04] Production.INFO: ==20343== Releasing lock...
[2025-01-12 02:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:13:04] Production.ERROR: done
[2025-01-12 02:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:13:05
[end_date_ymd] => 2025-01-12 02:13:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:13:05' and `end` < '2025-01-12 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-01-12 02:13:11] Production.ERROR: CronJobId end10
[2025-01-12 02:13:11] Production.INFO: ==20337== Releasing lock...
[2025-01-12 02:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:13:13] Production.INFO: call_cost start
[2025-01-12 02:13:13] Production.INFO: call_cost end
[2025-01-12 02:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:13:14] Production.INFO: ==20333== Releasing lock...
[2025-01-12 02:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:13:18] Production.INFO: count ==609
[2025-01-12 02:13:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:13:05 - End Time 2025-01-12 02:13:05
[2025-01-12 02:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228461', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228461', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228461', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228461', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:13:18] Production.INFO: ProcessCDR(1,14228461,1,1,2)
[2025-01-12 02:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228461', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228461', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:13:21] Production.INFO: ==20341== Releasing lock...
[2025-01-12 02:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:13:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:14:01] Production.INFO: ==20399== Lock acquired, processing the job...
[2025-01-12 07:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:14:01] Production.INFO: neon service started
[2025-01-12 07:14:01] Production.INFO: neon service started
[2025-01-12 07:14:01] Production.INFO: ==20399== Releasing lock...
[2025-01-12 07:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:14:01] Production.INFO: ==20403== Lock acquired, processing the job...
[2025-01-12 07:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:14:01] Production.INFO: ==20403== Releasing lock...
[2025-01-12 07:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:14:01] Production.INFO: ==20401== Lock acquired, processing the job...
[2025-01-12 02:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:14:02] Production.INFO: ==20401== Releasing lock...
[2025-01-12 02:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:14:03] Production.INFO: ==20409== Lock acquired, processing the job...
[2025-01-12 02:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:14:03] Production.INFO: ==20415== Lock acquired, processing the job...
[2025-01-12 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:14:03] Production.INFO: ==20407== Lock acquired, processing the job...
[2025-01-12 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:14:03] Production.INFO: ==20405== Lock acquired, processing the job...
[2025-01-12 02:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:14:03] Production.INFO: ==20413== Lock acquired, processing the job...
[2025-01-12 02:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:14:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:14:03] Production.INFO: count ==21
[2025-01-12 02:14:03] Production.INFO: ==20411== Lock acquired, processing the job...
[2025-01-12 02:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228462') start
[2025-01-12 02:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228462') end
[2025-01-12 02:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:14:03] Production.INFO: 1
[2025-01-12 02:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:14:03] Production.INFO: Account Balance Start.
[2025-01-12 02:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:14:03] Production.INFO: 117
[2025-01-12 02:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:14:03] Production.INFO: ==20415== Releasing lock...
[2025-01-12 02:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:14:03] Production.ERROR: done
[2025-01-12 02:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:14:03] Production.INFO: ==20407== Releasing lock...
[2025-01-12 02:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:14:03] Production.INFO: Total Charge 0
[2025-01-12 02:14:03] Production.ERROR: done
[2025-01-12 02:14:03] Production.INFO: CreateAllLog End
[2025-01-12 02:14:04] Production.INFO: Account Balance End.
[2025-01-12 02:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:14:04] Production.INFO: ==20411== Releasing lock...
[2025-01-12 02:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:14:04
[end_date_ymd] => 2025-01-12 02:14:04
[RateCDR] => 1
)
[2025-01-12 02:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:14:04' and `end` < '2025-01-12 02:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:14:11] Production.ERROR: CronJobId end10
[2025-01-12 02:14:11] Production.INFO: ==20409== Releasing lock...
[2025-01-12 02:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:14:13] Production.INFO: call_cost start
[2025-01-12 02:14:13] Production.INFO: call_cost end
[2025-01-12 02:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:14:14] Production.INFO: ==20405== Releasing lock...
[2025-01-12 02:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:14:17] Production.INFO: count ==609
[2025-01-12 02:14:17] Production.ERROR: pbx CDR StartTime 2025-01-11 23:14:04 - End Time 2025-01-12 02:14:04
[2025-01-12 02:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228466', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228466', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228466', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228466', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:14:17] Production.INFO: ProcessCDR(1,14228466,1,1,2)
[2025-01-12 02:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228466', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228466', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:14:21] Production.INFO: ==20413== Releasing lock...
[2025-01-12 02:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:14:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:15:01] Production.INFO: ==20474== Lock acquired, processing the job...
[2025-01-12 07:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:15:01] Production.INFO: neon service started
[2025-01-12 07:15:01] Production.INFO: neon service started
[2025-01-12 07:15:01] Production.INFO: ==20474== Releasing lock...
[2025-01-12 07:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:15:02] Production.INFO: ==20477== Lock acquired, processing the job...
[2025-01-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:15:02] Production.INFO: ==20479== Lock acquired, processing the job...
[2025-01-12 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:15:02] Production.INFO: ==20477== Releasing lock...
[2025-01-12 02:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:15:02] Production.INFO: ==20479== Releasing lock...
[2025-01-12 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:15:03] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-01-12 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:15:03] Production.INFO: ==20489== Lock acquired, processing the job...
[2025-01-12 02:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:15:03] Production.INFO: ==20481== Lock acquired, processing the job...
[2025-01-12 02:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:15:03] Production.INFO: ==20485== Lock acquired, processing the job...
[2025-01-12 02:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:15:03] Production.INFO: ==20487== Lock acquired, processing the job...
[2025-01-12 02:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:15:03] Production.INFO: ==20483== Releasing lock...
[2025-01-12 02:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:15:03] Production.INFO: ==20491== Lock acquired, processing the job...
[2025-01-12 02:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:15:03] Production.ERROR: done
[2025-01-12 02:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:15:03] Production.INFO: Account Balance Start.
[2025-01-12 02:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:15:03] Production.INFO: 117
[2025-01-12 02:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:15:03] Production.INFO: count ==21
[2025-01-12 02:15:03] Production.ERROR: done
[2025-01-12 02: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-01-12 02:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:15:03] Production.INFO: count ==21
[2025-01-12 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228470') start
[2025-01-12 02:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:15:04] Production.INFO: Total Charge 0
[2025-01-12 02:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228470') end
[2025-01-12 02:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:15:04] Production.INFO: 1
[2025-01-12 02:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:15:04] Production.INFO: CreateAllLog End
[2025-01-12 02:15:04] Production.INFO: ==20491== Releasing lock...
[2025-01-12 02:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:15:04] Production.INFO: Account Balance End.
[2025-01-12 02:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:15:04] Production.INFO: ==20487== Releasing lock...
[2025-01-12 02:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:15:04
[end_date_ymd] => 2025-01-12 02:15:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:15:04' and `end` < '2025-01-12 02: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-01-12 02:15:10] Production.ERROR: CronJobId end10
[2025-01-12 02:15:10] Production.INFO: ==20485== Releasing lock...
[2025-01-12 02:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:15:12] Production.INFO: call_cost start
[2025-01-12 02:15:12] Production.INFO: call_cost end
[2025-01-12 02:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:15:13] Production.INFO: ==20481== Releasing lock...
[2025-01-12 02:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:15:17] Production.INFO: count ==606
[2025-01-12 02:15:17] Production.ERROR: pbx CDR StartTime 2025-01-11 23:15:04 - End Time 2025-01-12 02:15:04
[2025-01-12 02:15:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228471', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228471', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228471', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:15:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228471', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:15:17] Production.INFO: ProcessCDR(1,14228471,1,1,2)
[2025-01-12 02:15:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228471', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228471', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:15:21] Production.INFO: ==20489== Releasing lock...
[2025-01-12 02:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:15:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:16:02] Production.INFO: ==20552== Lock acquired, processing the job...
[2025-01-12 07:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:16:02] Production.INFO: neon service started
[2025-01-12 07:16:02] Production.INFO: neon service started
[2025-01-12 07:16:02] Production.INFO: ==20552== Releasing lock...
[2025-01-12 07:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:16:02] Production.INFO: ==20554== Lock acquired, processing the job...
[2025-01-12 02:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:16:02] Production.INFO: ==20556== Lock acquired, processing the job...
[2025-01-12 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:16:02] Production.INFO: ==20556== Releasing lock...
[2025-01-12 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:16:03] Production.INFO: ==20554== Releasing lock...
[2025-01-12 02:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:16:03] Production.INFO: ==20559== Lock acquired, processing the job...
[2025-01-12 02:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:16:04] Production.INFO: ==20563== Lock acquired, processing the job...
[2025-01-12 02:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:16:04] Production.INFO: ==20567== Lock acquired, processing the job...
[2025-01-12 02:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:16:04] Production.INFO: ==20561== Lock acquired, processing the job...
[2025-01-12 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:16:04] Production.INFO: ==20565== Lock acquired, processing the job...
[2025-01-12 02:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:16:04] Production.INFO: ==20570== Lock acquired, processing the job...
[2025-01-12 02:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:16:04] Production.INFO: Account Balance Start.
[2025-01-12 02:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:16:04] Production.INFO: 117
[2025-01-12 02:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:16:04] Production.ERROR: done
[2025-01-12 02:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:16:04] Production.INFO: count ==21
[2025-01-12 02:16:04] Production.INFO: ==20561== Releasing lock...
[2025-01-12 02:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:16:04] Production.ERROR: done
[2025-01-12 02:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:16:04] Production.INFO: count ==21
[2025-01-12 02:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228475') start
[2025-01-12 02:16:05] Production.INFO: Date 2025-01-12
[2025-01-12 02:16:05] Production.INFO: Reseller ==> 0
[2025-01-12 02:16:05] Production.INFO: Total Charge 0
[2025-01-12 02:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228475') end
[2025-01-12 02:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:16:05] Production.INFO: 1
[2025-01-12 02:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:16:05] Production.INFO: CreateAllLog End
[2025-01-12 02:16:05] Production.INFO: ==20570== Releasing lock...
[2025-01-12 02:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:16:05] Production.INFO: Account Balance End.
[2025-01-12 02:16:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:16:05] Production.INFO: ==20565== Releasing lock...
[2025-01-12 02:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:16:06
[end_date_ymd] => 2025-01-12 02:16:06
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:16:06' and `end` < '2025-01-12 02: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-01-12 02:16:11] Production.ERROR: CronJobId end10
[2025-01-12 02:16:11] Production.INFO: ==20563== Releasing lock...
[2025-01-12 02:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:16:13] Production.INFO: call_cost start
[2025-01-12 02:16:13] Production.INFO: call_cost end
[2025-01-12 02:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:16:14] Production.INFO: ==20559== Releasing lock...
[2025-01-12 02:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:16:20] Production.INFO: count ==606
[2025-01-12 02:16:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:16:06 - End Time 2025-01-12 02:16:06
[2025-01-12 02:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228476', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228476', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228476', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228476', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:16:20] Production.INFO: ProcessCDR(1,14228476,1,1,2)
[2025-01-12 02:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:16:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:16:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228476', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228476', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:16:24] Production.INFO: ==20567== Releasing lock...
[2025-01-12 02:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:16:24] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:17:01] Production.INFO: ==20665== Lock acquired, processing the job...
[2025-01-12 07:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:17:01] Production.INFO: neon service started
[2025-01-12 07:17:01] Production.INFO: neon service started
[2025-01-12 07:17:01] Production.INFO: ==20665== Releasing lock...
[2025-01-12 07:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:17:02] Production.INFO: ==20667== Lock acquired, processing the job...
[2025-01-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:17:02] Production.INFO: ==20669== Lock acquired, processing the job...
[2025-01-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:17:02] Production.INFO: ==20669== Releasing lock...
[2025-01-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:17:02] Production.INFO: ==20667== Releasing lock...
[2025-01-12 02:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:17:03] Production.INFO: ==20672== Lock acquired, processing the job...
[2025-01-12 02:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:17:03] Production.INFO: ==20674== Lock acquired, processing the job...
[2025-01-12 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:17:03] Production.INFO: ==20680== Lock acquired, processing the job...
[2025-01-12 02:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:17:03] Production.INFO: ==20676== Lock acquired, processing the job...
[2025-01-12 02:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:17:03] Production.INFO: ==20674== Releasing lock...
[2025-01-12 02:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:17:03] Production.INFO: ==20678== Lock acquired, processing the job...
[2025-01-12 02:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:17:03] Production.INFO: ==20682== Lock acquired, processing the job...
[2025-01-12 02:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:17:03] Production.INFO: Account Balance Start.
[2025-01-12 02:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:17:03] Production.INFO: 117
[2025-01-12 02:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:17:04] Production.ERROR: done
[2025-01-12 02:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:17:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:17:04] Production.INFO: count ==21
[2025-01-12 02:17:04] Production.ERROR: done
[2025-01-12 02:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:17:04] Production.INFO: count ==21
[2025-01-12 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228480') start
[2025-01-12 02:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:17:04] Production.INFO: Total Charge 0
[2025-01-12 02:17:04] Production.INFO: CreateAllLog End
[2025-01-12 02:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228480') end
[2025-01-12 02:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:17:04] Production.INFO: 1
[2025-01-12 02:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:17:04] Production.INFO: ==20682== Releasing lock...
[2025-01-12 02:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:17:04] Production.INFO: Account Balance End.
[2025-01-12 02:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:17:04] Production.INFO: ==20678== Releasing lock...
[2025-01-12 02:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:17:05
[end_date_ymd] => 2025-01-12 02:17:05
[RateCDR] => 1
)
[2025-01-12 02:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:17:05' and `end` < '2025-01-12 02:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:17:10] Production.ERROR: CronJobId end10
[2025-01-12 02:17:10] Production.INFO: ==20676== Releasing lock...
[2025-01-12 02:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:17:12] Production.INFO: call_cost start
[2025-01-12 02:17:12] Production.INFO: call_cost end
[2025-01-12 02:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:17:13] Production.INFO: ==20672== Releasing lock...
[2025-01-12 02:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:17:18] Production.INFO: count ==607
[2025-01-12 02:17:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:17:05 - End Time 2025-01-12 02:17:05
[2025-01-12 02:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228481', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228481', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228481', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228481', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:17:18] Production.INFO: ProcessCDR(1,14228481,1,1,2)
[2025-01-12 02:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228481,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228481,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228481', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228481', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:17:23] Production.INFO: ==20680== Releasing lock...
[2025-01-12 02:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:17:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:18:02] Production.INFO: ==20738== Lock acquired, processing the job...
[2025-01-12 07:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:18:02] Production.INFO: neon service started
[2025-01-12 07:18:02] Production.INFO: neon service started
[2025-01-12 07:18:02] Production.INFO: ==20738== Releasing lock...
[2025-01-12 07:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:18:02] Production.INFO: ==20740== Lock acquired, processing the job...
[2025-01-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:18:02] Production.INFO: ==20740== Releasing lock...
[2025-01-12 02:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:18:02] Production.INFO: ==20742== Lock acquired, processing the job...
[2025-01-12 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:18:02] Production.INFO: ==20742== Releasing lock...
[2025-01-12 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:18:03] Production.INFO: ==20748== Lock acquired, processing the job...
[2025-01-12 02:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:18:03] Production.INFO: ==20754== Lock acquired, processing the job...
[2025-01-12 02:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:18:03] Production.INFO: ==20744== Lock acquired, processing the job...
[2025-01-12 02:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:18:03] Production.INFO: ==20746== Lock acquired, processing the job...
[2025-01-12 02:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:18:03] Production.INFO: count ==21
[2025-01-12 02:18:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:18:03] Production.INFO: ==20750== Lock acquired, processing the job...
[2025-01-12 02:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:18:03] Production.INFO: count ==21
[2025-01-12 02:18:03] Production.INFO: ==20752== Lock acquired, processing the job...
[2025-01-12 02:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228482') start
[2025-01-12 02:18:04] Production.INFO: Account Balance Start.
[2025-01-12 02:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:18:04] Production.INFO: 117
[2025-01-12 02:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228482') end
[2025-01-12 02:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:18:04] Production.INFO: 1
[2025-01-12 02:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:18:04] Production.ERROR: done
[2025-01-12 02:18:04] Production.INFO: ==20746== Releasing lock...
[2025-01-12 02:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:18:04] Production.INFO: ==20754== Releasing lock...
[2025-01-12 02:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:18:04] Production.INFO: Total Charge 0
[2025-01-12 02:18:04] Production.INFO: CreateAllLog End
[2025-01-12 02:18:04] Production.ERROR: done
[2025-01-12 02:18:04] Production.INFO: Account Balance End.
[2025-01-12 02:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:18:04] Production.INFO: ==20750== Releasing lock...
[2025-01-12 02:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:18:05
[end_date_ymd] => 2025-01-12 02:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:18:05' and `end` < '2025-01-12 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-01-12 02:18:12] Production.ERROR: CronJobId end10
[2025-01-12 02:18:12] Production.INFO: ==20748== Releasing lock...
[2025-01-12 02:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:18:14] Production.INFO: call_cost start
[2025-01-12 02:18:14] Production.INFO: call_cost end
[2025-01-12 02:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:18:15] Production.INFO: ==20744== Releasing lock...
[2025-01-12 02:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:18:19] Production.INFO: count ==603
[2025-01-12 02:18:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:18:05 - End Time 2025-01-12 02:18:05
[2025-01-12 02:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228486', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228486', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228486', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228486', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:18:19] Production.INFO: ProcessCDR(1,14228486,1,1,2)
[2025-01-12 02:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228486,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228486,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228486', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228486', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:18:23] Production.INFO: ==20752== Releasing lock...
[2025-01-12 02:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:18:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:19:01] Production.INFO: ==20812== Lock acquired, processing the job...
[2025-01-12 07:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:19:01] Production.INFO: neon service started
[2025-01-12 07:19:01] Production.INFO: neon service started
[2025-01-12 07:19:01] Production.INFO: ==20812== Releasing lock...
[2025-01-12 07:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:19:01] Production.INFO: ==20814== Lock acquired, processing the job...
[2025-01-12 02:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:19:02] Production.INFO: ==20814== Releasing lock...
[2025-01-12 02:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:19:02] Production.INFO: ==20816== Lock acquired, processing the job...
[2025-01-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:19:02] Production.INFO: ==20816== Releasing lock...
[2025-01-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:19:02] Production.INFO: ==20818== Lock acquired, processing the job...
[2025-01-12 02:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:19:02] Production.INFO: ==20822== Lock acquired, processing the job...
[2025-01-12 02:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:19:03] Production.INFO: ==20824== Lock acquired, processing the job...
[2025-01-12 02:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:19:03] Production.INFO: Account Balance Start.
[2025-01-12 02:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:19:03] Production.INFO: 117
[2025-01-12 02:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:19:03] Production.INFO: ==20820== Lock acquired, processing the job...
[2025-01-12 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:19:03] Production.INFO: ==20828== Lock acquired, processing the job...
[2025-01-12 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:19:03] Production.INFO: ==20826== Lock acquired, processing the job...
[2025-01-12 02:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:19:03] Production.INFO: Total Charge 0
[2025-01-12 02:19:03] Production.INFO: CreateAllLog End
[2025-01-12 02:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 02:19:03] Production.INFO: count ==21
[2025-01-12 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-01-12 02:19:03] Production.INFO: count ==21
[2025-01-12 02:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228490') start
[2025-01-12 02:19:03] Production.INFO: ==20820== Releasing lock...
[2025-01-12 02:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:19:03] Production.INFO: Account Balance End.
[2025-01-12 02:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228490') end
[2025-01-12 02:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:19:03] Production.INFO: 1
[2025-01-12 02:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:19:03] Production.ERROR: CronJobId end 12
[2025-01-12 02:19:03] Production.INFO: ==20824== Releasing lock...
[2025-01-12 02:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:19:03] Production.ERROR: done
[2025-01-12 02:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:19:03] Production.INFO: ==20828== Releasing lock...
[2025-01-12 02:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:19:04] Production.ERROR: done
[2025-01-12 02:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:19:04
[end_date_ymd] => 2025-01-12 02:19:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:19:04' and `end` < '2025-01-12 02: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-01-12 02:19:11] Production.ERROR: CronJobId end10
[2025-01-12 02:19:11] Production.INFO: ==20822== Releasing lock...
[2025-01-12 02:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:19:13] Production.INFO: call_cost start
[2025-01-12 02:19:13] Production.INFO: call_cost end
[2025-01-12 02:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:19:13] Production.INFO: ==20818== Releasing lock...
[2025-01-12 02:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:19:19] Production.INFO: count ==600
[2025-01-12 02:19:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:19:04 - End Time 2025-01-12 02:19:04
[2025-01-12 02:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228491', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228491', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228491', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228491', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:19:19] Production.INFO: ProcessCDR(1,14228491,1,1,2)
[2025-01-12 02:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228491,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228491,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228491', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228491', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:19:22] Production.INFO: ==20826== Releasing lock...
[2025-01-12 02:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:19:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:20:01] Production.INFO: ==20882== Lock acquired, processing the job...
[2025-01-12 07:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:20:01] Production.INFO: neon service started
[2025-01-12 07:20:01] Production.INFO: neon service started
[2025-01-12 07:20:01] Production.INFO: ==20882== Releasing lock...
[2025-01-12 07:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:20:02] Production.INFO: ==20886== Lock acquired, processing the job...
[2025-01-12 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:20:02] Production.INFO: ==20886== Releasing lock...
[2025-01-12 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:20:02] Production.INFO: ==20884== Lock acquired, processing the job...
[2025-01-12 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:20:02] Production.INFO: ==20884== Releasing lock...
[2025-01-12 02:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:20:03] Production.INFO: ==20889== Lock acquired, processing the job...
[2025-01-12 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 02:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 02:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 02:20:03] Production.INFO: ==20889== Releasing lock...
[2025-01-12 02:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 02:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:20:03] Production.INFO: ==20891== Lock acquired, processing the job...
[2025-01-12 02:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:20:03] Production.INFO: ==20895== Lock acquired, processing the job...
[2025-01-12 02:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:20:03] Production.INFO: ==20893== Lock acquired, processing the job...
[2025-01-12 02:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:20:03] Production.INFO: ==20903== Lock acquired, processing the job...
[2025-01-12 02:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 02:20:04] Production.INFO: ==20897== Lock acquired, processing the job...
[2025-01-12 02:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:20:04] Production.INFO: ==20899== Lock acquired, processing the job...
[2025-01-12 02:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:20:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:20:04] Production.INFO: count ==21
[2025-01-12 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228493') start
[2025-01-12 02:20:04] Production.INFO: ==20901== Lock acquired, processing the job...
[2025-01-12 02:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:20:04] Production.INFO: Account Balance Start.
[2025-01-12 02:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:20:04] Production.INFO: 117
[2025-01-12 02:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228493') end
[2025-01-12 02:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:20:04] Production.INFO: 1
[2025-01-12 02:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:20:04] Production.INFO: ==20903== Releasing lock...
[2025-01-12 02:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:20:04] Production.INFO: ==20893== Releasing lock...
[2025-01-12 02:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:20:04] Production.ERROR: done
[2025-01-12 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:20:04] Production.ERROR: done
[2025-01-12 02:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:20:04] Production.INFO: Total Charge 0
[2025-01-12 02:20:04] Production.INFO: CreateAllLog End
[2025-01-12 02:20:04] Production.ERROR: done
[2025-01-12 02:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 02:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228496', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 02:20:05] Production.INFO: Account Balance End.
[2025-01-12 02:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:20:05] Production.INFO: ==20897== Releasing lock...
[2025-01-12 02:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:20:06
[end_date_ymd] => 2025-01-12 02:20:06
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:20:06' and `end` < '2025-01-12 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-01-12 02:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228496', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 02:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 02:20:08] Production.INFO: ProcessCDR(1,14228496,1,1,2)
[2025-01-12 02:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228496,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:20:08] Production.INFO: ==20901== Releasing lock...
[2025-01-12 02:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 02:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 02:20:12] Production.ERROR: CronJobId end10
[2025-01-12 02:20:12] Production.INFO: ==20895== Releasing lock...
[2025-01-12 02:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:20:14] Production.INFO: call_cost start
[2025-01-12 02:20:14] Production.INFO: call_cost end
[2025-01-12 02:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:20:15] Production.INFO: ==20891== Releasing lock...
[2025-01-12 02:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:20:19] Production.INFO: count ==605
[2025-01-12 02:20:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:20:06 - End Time 2025-01-12 02:20:06
[2025-01-12 02:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228497', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228497', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228497', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228497', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:20:19] Production.INFO: ProcessCDR(1,14228497,1,1,2)
[2025-01-12 02:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228497', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228497', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:20:22] Production.INFO: ==20899== Releasing lock...
[2025-01-12 02:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:20:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:21:02] Production.INFO: ==20959== Lock acquired, processing the job...
[2025-01-12 07:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:21:02] Production.INFO: neon service started
[2025-01-12 07:21:02] Production.INFO: neon service started
[2025-01-12 07:21:02] Production.INFO: ==20959== Releasing lock...
[2025-01-12 07:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:21:02] Production.INFO: ==20963== Lock acquired, processing the job...
[2025-01-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:21:02] Production.INFO: ==20961== Lock acquired, processing the job...
[2025-01-12 02:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:21:02] Production.INFO: ==20963== Releasing lock...
[2025-01-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:21:03] Production.INFO: ==20961== Releasing lock...
[2025-01-12 02:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:21:03] Production.INFO: ==20966== Lock acquired, processing the job...
[2025-01-12 02:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:21:03] Production.INFO: ==20970== Lock acquired, processing the job...
[2025-01-12 02:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:21:03] Production.INFO: ==20972== Lock acquired, processing the job...
[2025-01-12 02:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:21:04] Production.INFO: Account Balance Start.
[2025-01-12 02:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:21:04] Production.INFO: 117
[2025-01-12 02:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:21:04] Production.INFO: Total Charge 0
[2025-01-12 02:21:04] Production.INFO: ==20968== Lock acquired, processing the job...
[2025-01-12 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:21:04] Production.INFO: CreateAllLog End
[2025-01-12 02:21:04] Production.INFO: ==20974== Lock acquired, processing the job...
[2025-01-12 02:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:21:04] Production.INFO: Account Balance End.
[2025-01-12 02:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:21:04] Production.INFO: ==20972== Releasing lock...
[2025-01-12 02:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:21:04] Production.INFO: ==20976== Lock acquired, processing the job...
[2025-01-12 02:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:21:04] Production.INFO: ==20968== Releasing lock...
[2025-01-12 02:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:21:04] Production.INFO: count ==21
[2025-01-12 02:21:04] Production.ERROR: done
[2025-01-12 02:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:21:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:21:04] Production.INFO: count ==21
[2025-01-12 02:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228501') start
[2025-01-12 02:21:04] Production.ERROR: done
[2025-01-12 02:21:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228501') end
[2025-01-12 02:21:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:21:05] Production.INFO: 1
[2025-01-12 02:21:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:21:05] Production.INFO: ==20976== Releasing lock...
[2025-01-12 02:21:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:21:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:21:05
[end_date_ymd] => 2025-01-12 02:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:21:05' and `end` < '2025-01-12 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-01-12 02:21:11] Production.ERROR: CronJobId end10
[2025-01-12 02:21:11] Production.INFO: ==20970== Releasing lock...
[2025-01-12 02:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:21:13] Production.INFO: call_cost start
[2025-01-12 02:21:13] Production.INFO: call_cost end
[2025-01-12 02:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:21:14] Production.INFO: ==20966== Releasing lock...
[2025-01-12 02:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:21:19] Production.INFO: count ==604
[2025-01-12 02:21:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:21:05 - End Time 2025-01-12 02:21:05
[2025-01-12 02:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228502', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228502', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228502', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228502', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:21:19] Production.INFO: ProcessCDR(1,14228502,1,1,2)
[2025-01-12 02:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228502', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228502', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:21:22] Production.INFO: ==20974== Releasing lock...
[2025-01-12 02:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:21:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:22:01] Production.INFO: ==21031== Lock acquired, processing the job...
[2025-01-12 07:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:22:01] Production.INFO: neon service started
[2025-01-12 07:22:01] Production.INFO: neon service started
[2025-01-12 07:22:01] Production.INFO: ==21031== Releasing lock...
[2025-01-12 07:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:22:02] Production.INFO: ==21035== Lock acquired, processing the job...
[2025-01-12 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:22:02] Production.INFO: ==21035== Releasing lock...
[2025-01-12 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:22:02] Production.INFO: ==21033== Lock acquired, processing the job...
[2025-01-12 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:22:02] Production.INFO: ==21033== Releasing lock...
[2025-01-12 02:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:22:03] Production.INFO: ==21038== Lock acquired, processing the job...
[2025-01-12 02:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:22:03] Production.INFO: ==21042== Lock acquired, processing the job...
[2025-01-12 02:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:22:03] Production.INFO: ==21044== Lock acquired, processing the job...
[2025-01-12 02:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:22:03] Production.INFO: ==21040== Lock acquired, processing the job...
[2025-01-12 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:22:03] Production.INFO: Account Balance Start.
[2025-01-12 02:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:22:03] Production.INFO: 117
[2025-01-12 02:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:22:03] Production.INFO: ==21046== Lock acquired, processing the job...
[2025-01-12 02:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:22:03] Production.INFO: Total Charge 0
[2025-01-12 02:22:03] Production.INFO: ==21048== Lock acquired, processing the job...
[2025-01-12 02:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:22:03] Production.INFO: CreateAllLog End
[2025-01-12 02:22:03] Production.INFO: ==21040== Releasing lock...
[2025-01-12 02:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 02:22:04] Production.ERROR: done
[2025-01-12 02:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:22:04] Production.INFO: Account Balance End.
[2025-01-12 02:22:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:22:04] Production.INFO: count ==21
[2025-01-12 02:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:22:04] Production.INFO: ==21044== Releasing lock...
[2025-01-12 02:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:22:04] Production.ERROR: done
[2025-01-12 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228506') start
[2025-01-12 02:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228506') end
[2025-01-12 02:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:22:04] Production.INFO: 1
[2025-01-12 02:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:22:04] Production.INFO: ==21048== Releasing lock...
[2025-01-12 02:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:22:05
[end_date_ymd] => 2025-01-12 02:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:22:05' and `end` < '2025-01-12 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-01-12 02:22:11] Production.ERROR: CronJobId end10
[2025-01-12 02:22:11] Production.INFO: ==21042== Releasing lock...
[2025-01-12 02:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:22:13] Production.INFO: call_cost start
[2025-01-12 02:22:13] Production.INFO: call_cost end
[2025-01-12 02:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:22:14] Production.INFO: ==21038== Releasing lock...
[2025-01-12 02:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:22:19] Production.INFO: count ==604
[2025-01-12 02:22:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:22:05 - End Time 2025-01-12 02:22:05
[2025-01-12 02:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228507', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228507', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228507', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228507', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:22:19] Production.INFO: ProcessCDR(1,14228507,1,1,2)
[2025-01-12 02:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228507', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228507', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:22:22] Production.INFO: ==21046== Releasing lock...
[2025-01-12 02:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:22:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:23:02] Production.INFO: ==21104== Lock acquired, processing the job...
[2025-01-12 07:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:23:02] Production.INFO: neon service started
[2025-01-12 07:23:02] Production.INFO: neon service started
[2025-01-12 07:23:02] Production.INFO: ==21104== Releasing lock...
[2025-01-12 07:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:23:02] Production.INFO: ==21106== Lock acquired, processing the job...
[2025-01-12 02:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:23:03] Production.INFO: ==21108== Lock acquired, processing the job...
[2025-01-12 07:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:23:03] Production.INFO: ==21108== Releasing lock...
[2025-01-12 07:23:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:23:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:23:03] Production.INFO: ==21106== Releasing lock...
[2025-01-12 02:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:23:04] Production.INFO: ==21121== Lock acquired, processing the job...
[2025-01-12 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:23:04] Production.INFO: ==21119== Lock acquired, processing the job...
[2025-01-12 02:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:23:04] Production.INFO: ==21111== Lock acquired, processing the job...
[2025-01-12 02:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02: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-01-12 02:23:04] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:23:04] Production.INFO: count ==21
[2025-01-12 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228508') start
[2025-01-12 02:23:04] Production.INFO: ==21113== Lock acquired, processing the job...
[2025-01-12 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:23:04] Production.INFO: ==21115== Lock acquired, processing the job...
[2025-01-12 02:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:23:04] Production.INFO: ==21117== Lock acquired, processing the job...
[2025-01-12 02:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228508') end
[2025-01-12 02:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:23:04] Production.INFO: 1
[2025-01-12 02:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:23:04] Production.INFO: Account Balance Start.
[2025-01-12 02:23:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:23:04] Production.INFO: 117
[2025-01-12 02:23:04] Production.ERROR: done
[2025-01-12 02:23:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:23:04] Production.INFO: ==21121== Releasing lock...
[2025-01-12 02:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:23:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:23:04] Production.ERROR: done
[2025-01-12 02:23:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:23:04] Production.INFO: ==21113== Releasing lock...
[2025-01-12 02:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:23:04] Production.INFO: Total Charge 0
[2025-01-12 02:23:04] Production.INFO: CreateAllLog End
[2025-01-12 02:23:05] Production.INFO: Account Balance End.
[2025-01-12 02:23:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:23:05] Production.INFO: ==21117== Releasing lock...
[2025-01-12 02:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:23:05
[end_date_ymd] => 2025-01-12 02:23:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:23:05' and `end` < '2025-01-12 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-01-12 02:23:12] Production.ERROR: CronJobId end10
[2025-01-12 02:23:12] Production.INFO: ==21115== Releasing lock...
[2025-01-12 02:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:23:13] Production.INFO: call_cost start
[2025-01-12 02:23:13] Production.INFO: call_cost end
[2025-01-12 02:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:23:14] Production.INFO: ==21111== Releasing lock...
[2025-01-12 02:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:23:18] Production.INFO: count ==604
[2025-01-12 02:23:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:23:05 - End Time 2025-01-12 02:23:05
[2025-01-12 02:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228512', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228512', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228512', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228512', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:23:19] Production.INFO: ProcessCDR(1,14228512,1,1,2)
[2025-01-12 02:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228512', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228512', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:23:22] Production.INFO: ==21119== Releasing lock...
[2025-01-12 02:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:23:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:24:01] Production.INFO: ==21175== Lock acquired, processing the job...
[2025-01-12 07:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:24:01] Production.INFO: neon service started
[2025-01-12 07:24:01] Production.INFO: neon service started
[2025-01-12 07:24:01] Production.INFO: ==21175== Releasing lock...
[2025-01-12 07:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:24:02] Production.INFO: ==21180== Lock acquired, processing the job...
[2025-01-12 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:24:02] Production.INFO: ==21180== Releasing lock...
[2025-01-12 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:24:02] Production.INFO: ==21178== Lock acquired, processing the job...
[2025-01-12 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:24:02] Production.INFO: ==21178== Releasing lock...
[2025-01-12 02:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:24:03] Production.INFO: ==21183== Lock acquired, processing the job...
[2025-01-12 02:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:24:03] Production.INFO: ==21185== Lock acquired, processing the job...
[2025-01-12 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:24:03] Production.INFO: ==21193== Lock acquired, processing the job...
[2025-01-12 02:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:24:03] Production.INFO: ==21185== Releasing lock...
[2025-01-12 02:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:24:03] Production.INFO: ==21187== Lock acquired, processing the job...
[2025-01-12 02:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:24:03] Production.INFO: ==21191== Lock acquired, processing the job...
[2025-01-12 02:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:24:03] Production.INFO: ==21189== Lock acquired, processing the job...
[2025-01-12 02:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02: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-01-12 02:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:24:04] Production.INFO: count ==21
[2025-01-12 02:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 02:24:04] Production.INFO: count ==21
[2025-01-12 02:24:04] Production.INFO: Account Balance Start.
[2025-01-12 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228515') start
[2025-01-12 02:24:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:24:04] Production.INFO: 117
[2025-01-12 02:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228515') end
[2025-01-12 02:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:24:04] Production.INFO: 1
[2025-01-12 02:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:24:04] Production.INFO: ==21193== Releasing lock...
[2025-01-12 02:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:24:04] Production.INFO: Total Charge 0
[2025-01-12 02:24:04] Production.INFO: CreateAllLog End
[2025-01-12 02:24:04] Production.ERROR: done
[2025-01-12 02:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:24:04] Production.INFO: Account Balance End.
[2025-01-12 02:24:04] Production.ERROR: done
[2025-01-12 02:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:24:04] Production.INFO: ==21189== Releasing lock...
[2025-01-12 02:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:24:05
[end_date_ymd] => 2025-01-12 02:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:24:05' and `end` < '2025-01-12 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-01-12 02:24:10] Production.ERROR: CronJobId end10
[2025-01-12 02:24:10] Production.INFO: ==21187== Releasing lock...
[2025-01-12 02:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:24:13] Production.INFO: call_cost start
[2025-01-12 02:24:13] Production.INFO: call_cost end
[2025-01-12 02:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:24:14] Production.INFO: ==21183== Releasing lock...
[2025-01-12 02:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:24:21] Production.INFO: count ==604
[2025-01-12 02:24:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:24:05 - End Time 2025-01-12 02:24:05
[2025-01-12 02:24:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228517', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228517', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228517', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:24:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228517', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:24:21] Production.INFO: ProcessCDR(1,14228517,1,1,2)
[2025-01-12 02:24:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:24:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:24:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228517', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228517', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:24:24] Production.INFO: ==21191== Releasing lock...
[2025-01-12 02:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:24:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:25:02] Production.INFO: ==21250== Lock acquired, processing the job...
[2025-01-12 07:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:25:02] Production.INFO: neon service started
[2025-01-12 07:25:02] Production.INFO: neon service started
[2025-01-12 07:25:02] Production.INFO: ==21250== Releasing lock...
[2025-01-12 07:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:25:02] Production.INFO: ==21252== Lock acquired, processing the job...
[2025-01-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:25:02] Production.INFO: ==21252== Releasing lock...
[2025-01-12 02:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:25:03] Production.INFO: ==21254== Lock acquired, processing the job...
[2025-01-12 07:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:25:03] Production.INFO: ==21254== Releasing lock...
[2025-01-12 07:25:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:25:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:25:03] Production.INFO: ==21264== Lock acquired, processing the job...
[2025-01-12 02:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:25:03] Production.INFO: ==21266== Lock acquired, processing the job...
[2025-01-12 02:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02: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-01-12 02:25:04] Production.INFO: ==21256== Lock acquired, processing the job...
[2025-01-12 02:25:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:25:04] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:25:04] Production.INFO: count ==21
[2025-01-12 02:25:04] Production.INFO: ==21258== Lock acquired, processing the job...
[2025-01-12 02:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:25:04] Production.INFO: ==21260== Lock acquired, processing the job...
[2025-01-12 02:25:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228518') start
[2025-01-12 02:25:04] Production.INFO: ==21262== Lock acquired, processing the job...
[2025-01-12 02:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:25:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:25:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:25:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:25:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:25:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228518') end
[2025-01-12 02:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:25:04] Production.INFO: 1
[2025-01-12 02:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:25:04] Production.INFO: ==21266== Releasing lock...
[2025-01-12 02:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:25:04] Production.ERROR: done
[2025-01-12 02:25:04] Production.INFO: Account Balance Start.
[2025-01-12 02:25:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:25:04] Production.INFO: 117
[2025-01-12 02:25:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:25:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:25:04] Production.ERROR: done
[2025-01-12 02:25:04] Production.INFO: ==21258== Releasing lock...
[2025-01-12 02:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:25:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:25:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:25:04] Production.INFO: Total Charge 0
[2025-01-12 02:25:05] Production.INFO: CreateAllLog End
[2025-01-12 02:25:05] Production.INFO: Account Balance End.
[2025-01-12 02:25:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:25:05] Production.INFO: ==21262== Releasing lock...
[2025-01-12 02:25:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:25:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:25:05
[end_date_ymd] => 2025-01-12 02:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:25:05' and `end` < '2025-01-12 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-01-12 02:25:11] Production.ERROR: CronJobId end10
[2025-01-12 02:25:11] Production.INFO: ==21260== Releasing lock...
[2025-01-12 02:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:25:13] Production.INFO: call_cost start
[2025-01-12 02:25:13] Production.INFO: call_cost end
[2025-01-12 02:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:25:14] Production.INFO: ==21256== Releasing lock...
[2025-01-12 02:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:25:18] Production.INFO: count ==604
[2025-01-12 02:25:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:25:05 - End Time 2025-01-12 02:25:05
[2025-01-12 02:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228522', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228522', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228522', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228522', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:25:18] Production.INFO: ProcessCDR(1,14228522,1,1,2)
[2025-01-12 02:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228522', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228522', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:25:22] Production.INFO: ==21264== Releasing lock...
[2025-01-12 02:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:25:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:26:01] Production.INFO: ==21323== Lock acquired, processing the job...
[2025-01-12 07:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:26:01] Production.INFO: neon service started
[2025-01-12 07:26:01] Production.INFO: neon service started
[2025-01-12 07:26:01] Production.INFO: ==21323== Releasing lock...
[2025-01-12 07:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:26:02] Production.INFO: ==21327== Lock acquired, processing the job...
[2025-01-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:26:02] Production.INFO: ==21327== Releasing lock...
[2025-01-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:26:02] Production.INFO: ==21325== Lock acquired, processing the job...
[2025-01-12 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:26:02] Production.INFO: ==21325== Releasing lock...
[2025-01-12 02:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:26:03] Production.INFO: ==21334== Lock acquired, processing the job...
[2025-01-12 02:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:26:03] Production.INFO: ==21332== Lock acquired, processing the job...
[2025-01-12 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:26:03] Production.INFO: ==21336== Lock acquired, processing the job...
[2025-01-12 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:26:03] Production.INFO: Account Balance Start.
[2025-01-12 02:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:26:03] Production.INFO: 117
[2025-01-12 02:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:26:03] Production.INFO: ==21330== Lock acquired, processing the job...
[2025-01-12 02:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:26:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:26:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:26:03] Production.INFO: ==21332== Releasing lock...
[2025-01-12 02:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:26:03] Production.INFO: ==21340== Lock acquired, processing the job...
[2025-01-12 02:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:26:03] Production.INFO: Total Charge 0
[2025-01-12 02:26:03] Production.INFO: ==21338== Lock acquired, processing the job...
[2025-01-12 02:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:26:03] Production.INFO: CreateAllLog End
[2025-01-12 02:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02: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-01-12 02:26:03] Production.INFO: Account Balance End.
[2025-01-12 02:26:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:26:03] Production.INFO: count ==21
[2025-01-12 02:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228526') start
[2025-01-12 02:26:03] Production.ERROR: CronJobId end 12
[2025-01-12 02:26:03] Production.INFO: ==21336== Releasing lock...
[2025-01-12 02:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:26:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228526') end
[2025-01-12 02:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:26:03] Production.INFO: 1
[2025-01-12 02:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:26:04] Production.ERROR: done
[2025-01-12 02:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:26:04] Production.INFO: ==21340== Releasing lock...
[2025-01-12 02:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:26:04] Production.ERROR: done
[2025-01-12 02:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:26:05
[end_date_ymd] => 2025-01-12 02:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:26:05' and `end` < '2025-01-12 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-01-12 02:26:10] Production.ERROR: CronJobId end10
[2025-01-12 02:26:10] Production.INFO: ==21334== Releasing lock...
[2025-01-12 02:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:26:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:26:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:26:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:26:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:26:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:26:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:26:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:26:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:26:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:26:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:26:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:26:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:26:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:26:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:26:12] Production.INFO: call_cost start
[2025-01-12 02:26:12] Production.INFO: call_cost end
[2025-01-12 02:26:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:26:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:26:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:26:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:26:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:26:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:26:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:26:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:26:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:26:13] Production.INFO: ==21330== Releasing lock...
[2025-01-12 02:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:26:20] Production.INFO: count ==604
[2025-01-12 02:26:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:26:05 - End Time 2025-01-12 02:26:05
[2025-01-12 02:26:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228527', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228527', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228527', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:26:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228527', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:26:20] Production.INFO: ProcessCDR(1,14228527,1,1,2)
[2025-01-12 02:26:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228527,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228527,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228527', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228527', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:26:23] Production.INFO: ==21338== Releasing lock...
[2025-01-12 02:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:26:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:27:02] Production.INFO: ==21396== Lock acquired, processing the job...
[2025-01-12 07:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:27:02] Production.INFO: neon service started
[2025-01-12 07:27:02] Production.INFO: neon service started
[2025-01-12 07:27:02] Production.INFO: ==21396== Releasing lock...
[2025-01-12 07:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:27:02] Production.INFO: ==21398== Lock acquired, processing the job...
[2025-01-12 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:27:02] Production.INFO: ==21398== Releasing lock...
[2025-01-12 02:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:27:02] Production.INFO: ==21400== Lock acquired, processing the job...
[2025-01-12 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:27:02] Production.INFO: ==21400== Releasing lock...
[2025-01-12 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:27:03] Production.INFO: ==21403== Lock acquired, processing the job...
[2025-01-12 02:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:27:03] Production.INFO: ==21405== Lock acquired, processing the job...
[2025-01-12 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:27:03] Production.INFO: ==21411== Lock acquired, processing the job...
[2025-01-12 02:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:27:03] Production.INFO: ==21407== Lock acquired, processing the job...
[2025-01-12 02:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:27:03] Production.INFO: ==21409== Lock acquired, processing the job...
[2025-01-12 02:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:27:03] Production.INFO: ==21413== Lock acquired, processing the job...
[2025-01-12 02:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:27:03] Production.INFO: ==21405== Releasing lock...
[2025-01-12 02:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:27:03] Production.INFO: Account Balance Start.
[2025-01-12 02:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:27:03] Production.INFO: 117
[2025-01-12 02:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:27:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:27:04] Production.INFO: count ==21
[2025-01-12 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228531') start
[2025-01-12 02:27:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:27:04] Production.ERROR: done
[2025-01-12 02:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228531') end
[2025-01-12 02:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:27:04] Production.INFO: 1
[2025-01-12 02:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:27:04] Production.ERROR: done
[2025-01-12 02:27:04] Production.INFO: ==21413== Releasing lock...
[2025-01-12 02:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:27:04] Production.INFO: Total Charge 0
[2025-01-12 02:27:04] Production.INFO: CreateAllLog End
[2025-01-12 02:27:04] Production.INFO: Account Balance End.
[2025-01-12 02:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:27:04] Production.INFO: ==21409== Releasing lock...
[2025-01-12 02:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:27:05
[end_date_ymd] => 2025-01-12 02:27:05
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:27:05' and `end` < '2025-01-12 02: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-01-12 02:27:11] Production.ERROR: CronJobId end10
[2025-01-12 02:27:11] Production.INFO: ==21407== Releasing lock...
[2025-01-12 02:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:27:12] Production.INFO: call_cost start
[2025-01-12 02:27:12] Production.INFO: call_cost end
[2025-01-12 02:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:27:13] Production.INFO: ==21403== Releasing lock...
[2025-01-12 02:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:27:18] Production.INFO: count ==604
[2025-01-12 02:27:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:27:05 - End Time 2025-01-12 02:27:05
[2025-01-12 02:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228532', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228532', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228532', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228532', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:27:18] Production.INFO: ProcessCDR(1,14228532,1,1,2)
[2025-01-12 02:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228532,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228532,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228532', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228532', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:27:22] Production.INFO: ==21411== Releasing lock...
[2025-01-12 02:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:27:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:28:01] Production.INFO: ==21465== Lock acquired, processing the job...
[2025-01-12 07:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:28:01] Production.INFO: neon service started
[2025-01-12 07:28:01] Production.INFO: neon service started
[2025-01-12 07:28:01] Production.INFO: ==21465== Releasing lock...
[2025-01-12 07:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:28:01] Production.INFO: ==21467== Lock acquired, processing the job...
[2025-01-12 02:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:28:02] Production.INFO: ==21467== Releasing lock...
[2025-01-12 02:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:28:02] Production.INFO: ==21469== Lock acquired, processing the job...
[2025-01-12 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:28:02] Production.INFO: ==21469== Releasing lock...
[2025-01-12 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:28:03] Production.INFO: ==21476== Lock acquired, processing the job...
[2025-01-12 02:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:28:03] Production.INFO: ==21482== Lock acquired, processing the job...
[2025-01-12 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:28:03] Production.INFO: ==21472== Lock acquired, processing the job...
[2025-01-12 02:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 02:28:03] Production.INFO: ==21474== Lock acquired, processing the job...
[2025-01-12 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:28:03] Production.INFO: count ==21
[2025-01-12 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-01-12 02:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:28:03] Production.INFO: count ==21
[2025-01-12 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228533') start
[2025-01-12 02:28:03] Production.INFO: ==21478== Lock acquired, processing the job...
[2025-01-12 02:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:28:03] Production.INFO: ==21480== Lock acquired, processing the job...
[2025-01-12 02:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228533') end
[2025-01-12 02:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:28:03] Production.INFO: 1
[2025-01-12 02:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:28:03] Production.INFO: ==21482== Releasing lock...
[2025-01-12 02:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:28:03] Production.INFO: Account Balance Start.
[2025-01-12 02:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:28:03] Production.INFO: 117
[2025-01-12 02:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:28:03] Production.INFO: ==21474== Releasing lock...
[2025-01-12 02:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:28:03] Production.INFO: Total Charge 0
[2025-01-12 02:28:03] Production.INFO: CreateAllLog End
[2025-01-12 02:28:03] Production.ERROR: done
[2025-01-12 02:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:28:04] Production.INFO: Account Balance End.
[2025-01-12 02:28:04] Production.ERROR: done
[2025-01-12 02:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:28:04] Production.INFO: ==21478== Releasing lock...
[2025-01-12 02:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:28:04
[end_date_ymd] => 2025-01-12 02:28:04
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:28:04' and `end` < '2025-01-12 02: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-01-12 02:28:10] Production.ERROR: CronJobId end10
[2025-01-12 02:28:10] Production.INFO: ==21476== Releasing lock...
[2025-01-12 02:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:28:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:28:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:28:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:28:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:28:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:28:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:28:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:28:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:28:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:28:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:28:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:28:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:28:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:28:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:28:12] Production.INFO: call_cost start
[2025-01-12 02:28:12] Production.INFO: call_cost end
[2025-01-12 02:28:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:28:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:28:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:28:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:28:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:28:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:28:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:28:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:28:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:28:12] Production.INFO: ==21472== Releasing lock...
[2025-01-12 02:28:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:28:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:28:19] Production.INFO: count ==603
[2025-01-12 02:28:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:28:04 - End Time 2025-01-12 02:28:04
[2025-01-12 02:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228537', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228537', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228537', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228537', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:28:19] Production.INFO: ProcessCDR(1,14228537,1,1,2)
[2025-01-12 02:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228537,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228537,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228537', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228537', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:28:22] Production.INFO: ==21480== Releasing lock...
[2025-01-12 02:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:28:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:29:01] Production.INFO: ==21539== Lock acquired, processing the job...
[2025-01-12 07:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:29:01] Production.INFO: neon service started
[2025-01-12 07:29:01] Production.INFO: neon service started
[2025-01-12 07:29:01] Production.INFO: ==21539== Releasing lock...
[2025-01-12 07:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:29:02] Production.INFO: ==21541== Lock acquired, processing the job...
[2025-01-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:29:02] Production.INFO: ==21541== Releasing lock...
[2025-01-12 02:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:29:02] Production.INFO: ==21543== Lock acquired, processing the job...
[2025-01-12 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:29:02] Production.INFO: ==21543== Releasing lock...
[2025-01-12 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:29:03] Production.INFO: ==21554== Lock acquired, processing the job...
[2025-01-12 02:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:29:03] Production.INFO: ==21556== Lock acquired, processing the job...
[2025-01-12 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:29:03] Production.INFO: ==21546== Lock acquired, processing the job...
[2025-01-12 02:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 02:29:03] Production.INFO: ==21548== Lock acquired, processing the job...
[2025-01-12 02:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:29:03] Production.INFO: ==21550== Lock acquired, processing the job...
[2025-01-12 02:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:29:03] Production.INFO: count ==21
[2025-01-12 02:29:03] Production.INFO: ==21552== Lock acquired, processing the job...
[2025-01-12 02:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 02:29:03] Production.INFO: count ==21
[2025-01-12 02:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:29:03] Production.ERROR: done
[2025-01-12 02:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228538') start
[2025-01-12 02:29:03] Production.INFO: Account Balance Start.
[2025-01-12 02:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:29:03] Production.INFO: 117
[2025-01-12 02:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228538') end
[2025-01-12 02:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:29:03] Production.INFO: 1
[2025-01-12 02:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:29:03] Production.INFO: ==21556== Releasing lock...
[2025-01-12 02:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:29:04] Production.ERROR: done
[2025-01-12 02:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:29:04] Production.INFO: Total Charge 0
[2025-01-12 02:29:04] Production.INFO: CreateAllLog End
[2025-01-12 02:29:04] Production.INFO: ==21548== Releasing lock...
[2025-01-12 02:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:29:04] Production.INFO: Account Balance End.
[2025-01-12 02:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:29:04] Production.INFO: ==21552== Releasing lock...
[2025-01-12 02:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:29:04
[end_date_ymd] => 2025-01-12 02:29:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:29:04' and `end` < '2025-01-12 02: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-01-12 02:29:10] Production.ERROR: CronJobId end10
[2025-01-12 02:29:10] Production.INFO: ==21550== Releasing lock...
[2025-01-12 02:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:29:12] Production.INFO: call_cost start
[2025-01-12 02:29:12] Production.INFO: call_cost end
[2025-01-12 02:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:29:13] Production.INFO: ==21546== Releasing lock...
[2025-01-12 02:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:29:18] Production.INFO: count ==603
[2025-01-12 02:29:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:29:04 - End Time 2025-01-12 02:29:04
[2025-01-12 02:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228542', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228542', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228542', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228542', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:29:18] Production.INFO: ProcessCDR(1,14228542,1,1,2)
[2025-01-12 02:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228542,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228542,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228542', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228542', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:29:21] Production.INFO: ==21554== Releasing lock...
[2025-01-12 02:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:29:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:30:01] Production.INFO: ==21615== Lock acquired, processing the job...
[2025-01-12 07:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:30:01] Production.INFO: neon service started
[2025-01-12 07:30:01] Production.INFO: neon service started
[2025-01-12 07:30:01] Production.INFO: ==21615== Releasing lock...
[2025-01-12 07:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:30:01] Production.INFO: ==21617== Lock acquired, processing the job...
[2025-01-12 02:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:30:02] Production.INFO: ==21619== Lock acquired, processing the job...
[2025-01-12 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:30:02] Production.INFO: ==21617== Releasing lock...
[2025-01-12 02:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:30:02] Production.INFO: ==21619== Releasing lock...
[2025-01-12 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:30:03] Production.INFO: ==21621== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 02:30:03] Production.INFO: ==21623== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 02:30:03] Production.INFO: ==21631== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:30:03] Production.INFO: ==21627== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 02:30:03] Production.INFO: ==21621== Releasing lock...
[2025-01-12 02:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 02:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:30:03] Production.INFO: ==21625== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:30:03] Production.INFO: ==21629== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:30:03] Production.INFO: ==21633== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 02:30:03] Production.INFO: ==21635== Lock acquired, processing the job...
[2025-01-12 02:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:30:03] Production.ERROR: done
[2025-01-12 02:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:30:03] Production.INFO: Account Balance Start.
[2025-01-12 02:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:30:03] Production.INFO: 117
[2025-01-12 02:30:03] Production.INFO: count ==21
[2025-01-12 02:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:30:03] Production.INFO: ==21625== Releasing lock...
[2025-01-12 02:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:30:03] Production.INFO: count ==21
[2025-01-12 02:30:03] Production.ERROR: done
[2025-01-12 02:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228545') start
[2025-01-12 02:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:30:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:30:04] Production.ERROR: done
[2025-01-12 02:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228545') end
[2025-01-12 02:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:30:04] Production.INFO: 1
[2025-01-12 02:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:30:04] Production.INFO: Total Charge 0
[2025-01-12 02:30:04] Production.INFO: CreateAllLog End
[2025-01-12 02:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 02:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228548', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 02:30:04] Production.INFO: ==21635== Releasing lock...
[2025-01-12 02:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:30:04] Production.INFO: Account Balance End.
[2025-01-12 02:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:30:04] Production.INFO: ==21629== Releasing lock...
[2025-01-12 02:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:30:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:30:04
[end_date_ymd] => 2025-01-12 02:30:04
[RateCDR] => 1
)
[2025-01-12 02:30: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-01-11 23:30:04' and `end` < '2025-01-12 02:30: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-01-12 02:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228548', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 02:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 02:30:08] Production.INFO: ProcessCDR(1,14228548,1,1,2)
[2025-01-12 02:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228548,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228548,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:30:08] Production.INFO: ==21633== Releasing lock...
[2025-01-12 02:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 02:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 02:30:11] Production.ERROR: CronJobId end10
[2025-01-12 02:30:11] Production.INFO: ==21627== Releasing lock...
[2025-01-12 02:30:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:30:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:30:13] Production.INFO: call_cost start
[2025-01-12 02:30:13] Production.INFO: call_cost end
[2025-01-12 02:30:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:30:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:30:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:30:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:30:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:30:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:30:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:30:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:30:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:30:14] Production.INFO: ==21623== Releasing lock...
[2025-01-12 02:30:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:30:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:30:19] Production.INFO: count ==606
[2025-01-12 02:30:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:30:04 - End Time 2025-01-12 02:30:04
[2025-01-12 02:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228547', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228547', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228547', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228547', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:30:19] Production.INFO: ProcessCDR(1,14228547,1,1,2)
[2025-01-12 02:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228547,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228547,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228547', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228547', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:30:22] Production.INFO: ==21631== Releasing lock...
[2025-01-12 02:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:30:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:31:01] Production.INFO: ==21690== Lock acquired, processing the job...
[2025-01-12 07:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:31:01] Production.INFO: neon service started
[2025-01-12 07:31:01] Production.INFO: neon service started
[2025-01-12 07:31:01] Production.INFO: ==21690== Releasing lock...
[2025-01-12 07:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:31:02] Production.INFO: ==21692== Lock acquired, processing the job...
[2025-01-12 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:31:02] Production.INFO: ==21692== Releasing lock...
[2025-01-12 02:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:31:02] Production.INFO: ==21694== Lock acquired, processing the job...
[2025-01-12 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:31:02] Production.INFO: ==21694== Releasing lock...
[2025-01-12 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:31:03] Production.INFO: ==21705== Lock acquired, processing the job...
[2025-01-12 02:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:31:03] Production.ERROR: done
[2025-01-12 02:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:31:03] Production.INFO: ==21707== Lock acquired, processing the job...
[2025-01-12 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:31:03] Production.INFO: ==21696== Lock acquired, processing the job...
[2025-01-12 02:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:31:03] Production.ERROR: done
[2025-01-12 02:31:03] Production.INFO: ==21698== Lock acquired, processing the job...
[2025-01-12 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:31:03] Production.INFO: ==21700== Lock acquired, processing the job...
[2025-01-12 02:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:31:03] Production.INFO: count ==21
[2025-01-12 02:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:31:03] Production.INFO: count ==21
[2025-01-12 02:31:03] Production.INFO: ==21703== Lock acquired, processing the job...
[2025-01-12 02:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228549') start
[2025-01-12 02:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228549') end
[2025-01-12 02:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:31:03] Production.INFO: 1
[2025-01-12 02:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:31:03] Production.INFO: Account Balance Start.
[2025-01-12 02:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:31:03] Production.INFO: 117
[2025-01-12 02:31:03] Production.INFO: ==21707== Releasing lock...
[2025-01-12 02:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:31:03] Production.INFO: ==21698== Releasing lock...
[2025-01-12 02:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:31:03] Production.INFO: Total Charge 0
[2025-01-12 02:31:04] Production.INFO: CreateAllLog End
[2025-01-12 02:31:04] Production.INFO: Account Balance End.
[2025-01-12 02:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:31:04] Production.INFO: ==21703== Releasing lock...
[2025-01-12 02:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:31:04
[end_date_ymd] => 2025-01-12 02:31:04
[RateCDR] => 1
)
[2025-01-12 02:31: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-01-11 23:31:04' and `end` < '2025-01-12 02:31: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-01-12 02:31:09] Production.ERROR: CronJobId end10
[2025-01-12 02:31:09] Production.INFO: ==21700== Releasing lock...
[2025-01-12 02:31:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:31:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:31:13] Production.INFO: call_cost start
[2025-01-12 02:31:13] Production.INFO: call_cost end
[2025-01-12 02:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:31:14] Production.INFO: ==21696== Releasing lock...
[2025-01-12 02:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:31:17] Production.INFO: count ==622
[2025-01-12 02:31:17] Production.ERROR: pbx CDR StartTime 2025-01-11 23:31:04 - End Time 2025-01-12 02:31:04
[2025-01-12 02:31:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228550', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228550', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228550', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:31:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228550', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:31:17] Production.INFO: ProcessCDR(1,14228550,1,1,2)
[2025-01-12 02:31:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:31:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228550,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:31:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228550,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228550', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228550', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:31:21] Production.INFO: ==21705== Releasing lock...
[2025-01-12 02:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:31:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:32:02] Production.INFO: ==21804== Lock acquired, processing the job...
[2025-01-12 07:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:32:02] Production.INFO: neon service started
[2025-01-12 07:32:02] Production.INFO: neon service started
[2025-01-12 07:32:02] Production.INFO: ==21804== Releasing lock...
[2025-01-12 07:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:32:02] Production.INFO: ==21806== Lock acquired, processing the job...
[2025-01-12 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:32:02] Production.INFO: ==21806== Releasing lock...
[2025-01-12 02:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:32:02] Production.INFO: ==21808== Lock acquired, processing the job...
[2025-01-12 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:32:02] Production.INFO: ==21808== Releasing lock...
[2025-01-12 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:32:03] Production.INFO: ==21816== Lock acquired, processing the job...
[2025-01-12 02:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:32:03] Production.INFO: ==21818== Lock acquired, processing the job...
[2025-01-12 02:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:32:03] Production.INFO: Account Balance Start.
[2025-01-12 02:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:32:03] Production.INFO: 117
[2025-01-12 02:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:32:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:32:03] Production.INFO: ==21810== Lock acquired, processing the job...
[2025-01-12 02:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:32:03] Production.INFO: ==21812== Lock acquired, processing the job...
[2025-01-12 02:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:32:04] Production.INFO: ==21814== Lock acquired, processing the job...
[2025-01-12 02:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:32:04] Production.INFO: ==21820== Lock acquired, processing the job...
[2025-01-12 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:32:04] Production.INFO: Total Charge 0
[2025-01-12 02:32:04] Production.INFO: CreateAllLog End
[2025-01-12 02:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:32:04] Production.ERROR: done
[2025-01-12 02:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 02:32:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:32:04] Production.INFO: count ==21
[2025-01-12 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228557') start
[2025-01-12 02:32:04] Production.ERROR: done
[2025-01-12 02:32:04] Production.INFO: ==21812== Releasing lock...
[2025-01-12 02:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228557') end
[2025-01-12 02:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:32:04] Production.INFO: 1
[2025-01-12 02:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:32:04] Production.INFO: ==21820== Releasing lock...
[2025-01-12 02:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:32:04] Production.INFO: Account Balance End.
[2025-01-12 02:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:32:04] Production.INFO: ==21816== Releasing lock...
[2025-01-12 02:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:32:05
[end_date_ymd] => 2025-01-12 02:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:32:05' and `end` < '2025-01-12 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-01-12 02:32:10] Production.ERROR: CronJobId end10
[2025-01-12 02:32:10] Production.INFO: ==21814== Releasing lock...
[2025-01-12 02:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:32:13] Production.INFO: call_cost start
[2025-01-12 02:32:13] Production.INFO: call_cost end
[2025-01-12 02:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:32:14] Production.INFO: ==21810== Releasing lock...
[2025-01-12 02:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:32:19] Production.INFO: count ==619
[2025-01-12 02:32:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:32:05 - End Time 2025-01-12 02:32:05
[2025-01-12 02:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228558', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228558', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228558', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:32:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228558', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:32:20] Production.INFO: ProcessCDR(1,14228558,1,1,2)
[2025-01-12 02:32:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228558', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228558', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:32:23] Production.INFO: ==21818== Releasing lock...
[2025-01-12 02:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:32:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:33:01] Production.INFO: ==21875== Lock acquired, processing the job...
[2025-01-12 07:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:33:01] Production.INFO: neon service started
[2025-01-12 07:33:01] Production.INFO: neon service started
[2025-01-12 07:33:01] Production.INFO: ==21875== Releasing lock...
[2025-01-12 07:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:33:02] Production.INFO: ==21877== Lock acquired, processing the job...
[2025-01-12 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:33:02] Production.INFO: ==21879== Lock acquired, processing the job...
[2025-01-12 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:33:02] Production.INFO: ==21879== Releasing lock...
[2025-01-12 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:33:02] Production.INFO: ==21877== Releasing lock...
[2025-01-12 02:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:33:03] Production.INFO: ==21882== Lock acquired, processing the job...
[2025-01-12 02:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:33:03] Production.INFO: ==21890== Lock acquired, processing the job...
[2025-01-12 02:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:33:03] Production.INFO: ==21884== Lock acquired, processing the job...
[2025-01-12 02:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:33:03] Production.INFO: ==21886== Lock acquired, processing the job...
[2025-01-12 02:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:33:03] Production.INFO: ==21888== Lock acquired, processing the job...
[2025-01-12 02:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:33:03] Production.INFO: ==21892== Lock acquired, processing the job...
[2025-01-12 02:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:33:03] Production.ERROR: done
[2025-01-12 02:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:33:03] Production.INFO: Account Balance Start.
[2025-01-12 02:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:33:03] Production.INFO: 117
[2025-01-12 02:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:33:03] Production.INFO: count ==21
[2025-01-12 02:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:33:03] Production.INFO: count ==21
[2025-01-12 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228562') start
[2025-01-12 02:33:04] Production.ERROR: done
[2025-01-12 02:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228562') end
[2025-01-12 02:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:33:04] Production.INFO: 1
[2025-01-12 02:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:33:04] Production.INFO: ==21892== Releasing lock...
[2025-01-12 02:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:33:04] Production.INFO: ==21884== Releasing lock...
[2025-01-12 02:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:33:04] Production.INFO: Total Charge 0
[2025-01-12 02:33:04] Production.INFO: CreateAllLog End
[2025-01-12 02:33:04] Production.INFO: Account Balance End.
[2025-01-12 02:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:33:04] Production.INFO: ==21888== Releasing lock...
[2025-01-12 02:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:33:04
[end_date_ymd] => 2025-01-12 02:33:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:33:04' and `end` < '2025-01-12 02: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-01-12 02:33:11] Production.ERROR: CronJobId end10
[2025-01-12 02:33:11] Production.INFO: ==21886== Releasing lock...
[2025-01-12 02:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:33:13] Production.INFO: call_cost start
[2025-01-12 02:33:13] Production.INFO: call_cost end
[2025-01-12 02:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:33:14] Production.INFO: ==21882== Releasing lock...
[2025-01-12 02:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:33:21] Production.INFO: count ==619
[2025-01-12 02:33:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:33:04 - End Time 2025-01-12 02:33:04
[2025-01-12 02:33:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228563', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228563', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228563', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:33:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228563', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:33:21] Production.INFO: ProcessCDR(1,14228563,1,1,2)
[2025-01-12 02:33:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:33:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228563', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228563', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:33:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:33:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:33:25] Production.INFO: ==21890== Releasing lock...
[2025-01-12 02:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:33:25] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:34:02] Production.INFO: ==21949== Lock acquired, processing the job...
[2025-01-12 07:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:34:02] Production.INFO: neon service started
[2025-01-12 07:34:02] Production.INFO: neon service started
[2025-01-12 07:34:02] Production.INFO: ==21949== Releasing lock...
[2025-01-12 07:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:34:02] Production.INFO: ==21951== Lock acquired, processing the job...
[2025-01-12 02:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:34:02] Production.INFO: ==21953== Lock acquired, processing the job...
[2025-01-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:34:02] Production.INFO: ==21953== Releasing lock...
[2025-01-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:34:03] Production.INFO: ==21951== Releasing lock...
[2025-01-12 02:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:34:03] Production.INFO: ==21960== Lock acquired, processing the job...
[2025-01-12 02:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:34:03] Production.INFO: ==21964== Lock acquired, processing the job...
[2025-01-12 02:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:34:04] Production.INFO: ==21956== Lock acquired, processing the job...
[2025-01-12 02:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:34:04] Production.INFO: ==21958== Lock acquired, processing the job...
[2025-01-12 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:34:04] Production.ERROR: done
[2025-01-12 02:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:34:04] Production.INFO: ==21962== Lock acquired, processing the job...
[2025-01-12 02:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:34:04] Production.INFO: ==21966== Lock acquired, processing the job...
[2025-01-12 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:34:04] Production.INFO: Account Balance Start.
[2025-01-12 02:34:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:34:04] Production.INFO: 117
[2025-01-12 02:34:04] Production.ERROR: done
[2025-01-12 02:34:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:34:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:34:04] Production.INFO: count ==21
[2025-01-12 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228567') start
[2025-01-12 02:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:34:04] Production.INFO: ==21958== Releasing lock...
[2025-01-12 02:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:34:04] Production.INFO: Total Charge 0
[2025-01-12 02:34:04] Production.INFO: CreateAllLog End
[2025-01-12 02:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228567') end
[2025-01-12 02:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:34:04] Production.INFO: 1
[2025-01-12 02:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:34:04] Production.INFO: ==21966== Releasing lock...
[2025-01-12 02:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:34:05] Production.INFO: Account Balance End.
[2025-01-12 02:34:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:34:05] Production.INFO: ==21962== Releasing lock...
[2025-01-12 02:34:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:34:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:34:05
[end_date_ymd] => 2025-01-12 02:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:34:05' and `end` < '2025-01-12 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-01-12 02:34:11] Production.ERROR: CronJobId end10
[2025-01-12 02:34:11] Production.INFO: ==21960== Releasing lock...
[2025-01-12 02:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:34:13] Production.INFO: call_cost start
[2025-01-12 02:34:13] Production.INFO: call_cost end
[2025-01-12 02:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:34:14] Production.INFO: ==21956== Releasing lock...
[2025-01-12 02:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:34:20] Production.INFO: count ==619
[2025-01-12 02:34:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:34:05 - End Time 2025-01-12 02:34:05
[2025-01-12 02:34:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228568', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228568', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228568', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:34:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228568', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:34:20] Production.INFO: ProcessCDR(1,14228568,1,1,2)
[2025-01-12 02:34:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228568', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228568', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:34:23] Production.INFO: ==21964== Releasing lock...
[2025-01-12 02:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:34:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:35:01] Production.INFO: ==22022== Lock acquired, processing the job...
[2025-01-12 07:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:35:01] Production.INFO: neon service started
[2025-01-12 07:35:01] Production.INFO: neon service started
[2025-01-12 07:35:01] Production.INFO: ==22022== Releasing lock...
[2025-01-12 07:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:35:01] Production.INFO: ==22024== Lock acquired, processing the job...
[2025-01-12 02:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:35:02] Production.INFO: ==22024== Releasing lock...
[2025-01-12 02:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:35:02] Production.INFO: ==22026== Lock acquired, processing the job...
[2025-01-12 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:35:02] Production.INFO: ==22026== Releasing lock...
[2025-01-12 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:35:03] Production.INFO: ==22034== Lock acquired, processing the job...
[2025-01-12 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:35:03] Production.INFO: ==22036== Lock acquired, processing the job...
[2025-01-12 02:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:35:03] Production.INFO: ==22028== Lock acquired, processing the job...
[2025-01-12 02:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:35:03] Production.INFO: ==22030== Lock acquired, processing the job...
[2025-01-12 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:35:03] Production.INFO: Account Balance Start.
[2025-01-12 02:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:35:03] Production.INFO: ==22032== Lock acquired, processing the job...
[2025-01-12 02:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:35:03] Production.INFO: 117
[2025-01-12 02:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:35:03] Production.INFO: ==22038== Lock acquired, processing the job...
[2025-01-12 02:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:35:03] Production.INFO: Total Charge 0
[2025-01-12 02:35:03] Production.INFO: CreateAllLog End
[2025-01-12 02:35:03] Production.ERROR: done
[2025-01-12 02:35:03] Production.INFO: ==22030== Releasing lock...
[2025-01-12 02:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:35:03] Production.INFO: Account Balance End.
[2025-01-12 02:35:03] Production.INFO: count ==21
[2025-01-12 02:35:03] Production.ERROR: done
[2025-01-12 02:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:35:03] Production.INFO: count ==21
[2025-01-12 02:35:03] Production.ERROR: CronJobId end 12
[2025-01-12 02:35:03] Production.INFO: ==22034== Releasing lock...
[2025-01-12 02:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228572') start
[2025-01-12 02:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228572') end
[2025-01-12 02:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:35:04] Production.INFO: 1
[2025-01-12 02:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:35:04] Production.INFO: ==22038== Releasing lock...
[2025-01-12 02:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:35:04
[end_date_ymd] => 2025-01-12 02:35:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:35:04' and `end` < '2025-01-12 02: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-01-12 02:35:11] Production.ERROR: CronJobId end10
[2025-01-12 02:35:11] Production.INFO: ==22032== Releasing lock...
[2025-01-12 02:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:35:13] Production.INFO: call_cost start
[2025-01-12 02:35:13] Production.INFO: call_cost end
[2025-01-12 02:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:35:14] Production.INFO: ==22028== Releasing lock...
[2025-01-12 02:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:35:18] Production.INFO: count ==619
[2025-01-12 02:35:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:35:04 - End Time 2025-01-12 02:35:04
[2025-01-12 02:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228573', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228573', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228573', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228573', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:35:18] Production.INFO: ProcessCDR(1,14228573,1,1,2)
[2025-01-12 02:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228573', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228573', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:35:21] Production.INFO: ==22036== Releasing lock...
[2025-01-12 02:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:35:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:36:02] Production.INFO: ==22093== Lock acquired, processing the job...
[2025-01-12 07:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:36:02] Production.INFO: neon service started
[2025-01-12 07:36:02] Production.INFO: neon service started
[2025-01-12 07:36:02] Production.INFO: ==22093== Releasing lock...
[2025-01-12 07:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:36:02] Production.INFO: ==22095== Lock acquired, processing the job...
[2025-01-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:36:02] Production.INFO: ==22095== Releasing lock...
[2025-01-12 02:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:36:02] Production.INFO: ==22097== Lock acquired, processing the job...
[2025-01-12 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:36:02] Production.INFO: ==22097== Releasing lock...
[2025-01-12 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:36:03] Production.INFO: ==22108== Lock acquired, processing the job...
[2025-01-12 02:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:36:03] Production.INFO: ==22099== Lock acquired, processing the job...
[2025-01-12 02:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:36:03] Production.INFO: ==22110== Lock acquired, processing the job...
[2025-01-12 02:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02: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-01-12 02:36:03] Production.INFO: count ==21
[2025-01-12 02:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02: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-01-12 02:36:03] Production.INFO: count ==21
[2025-01-12 02:36:03] Production.INFO: ==22106== Lock acquired, processing the job...
[2025-01-12 02:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228574') start
[2025-01-12 02:36:03] Production.INFO: ==22104== Lock acquired, processing the job...
[2025-01-12 02:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:36:03] Production.INFO: ==22102== Lock acquired, processing the job...
[2025-01-12 02:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228574') end
[2025-01-12 02:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:36:03] Production.INFO: 1
[2025-01-12 02:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:36:03] Production.INFO: Account Balance Start.
[2025-01-12 02:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:36:03] Production.INFO: 117
[2025-01-12 02:36:03] Production.INFO: ==22110== Releasing lock...
[2025-01-12 02:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:36:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:36:04] Production.ERROR: done
[2025-01-12 02:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:36:04] Production.INFO: Total Charge 0
[2025-01-12 02:36:04] Production.INFO: CreateAllLog End
[2025-01-12 02:36:04] Production.INFO: ==22102== Releasing lock...
[2025-01-12 02:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:36:04] Production.ERROR: done
[2025-01-12 02:36:04] Production.INFO: Account Balance End.
[2025-01-12 02:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:36:04] Production.INFO: ==22106== Releasing lock...
[2025-01-12 02:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:36:05
[end_date_ymd] => 2025-01-12 02:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:36:05' and `end` < '2025-01-12 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-01-12 02:36:11] Production.ERROR: CronJobId end10
[2025-01-12 02:36:11] Production.INFO: ==22104== Releasing lock...
[2025-01-12 02:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:36:13] Production.INFO: call_cost start
[2025-01-12 02:36:13] Production.INFO: call_cost end
[2025-01-12 02:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:36:14] Production.INFO: ==22099== Releasing lock...
[2025-01-12 02:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:36:18] Production.INFO: count ==619
[2025-01-12 02:36:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:36:05 - End Time 2025-01-12 02:36:05
[2025-01-12 02:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228578', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228578', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228578', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228578', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:36:18] Production.INFO: ProcessCDR(1,14228578,1,1,2)
[2025-01-12 02:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228578,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228578,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228578', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228578', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:36:21] Production.INFO: ==22108== Releasing lock...
[2025-01-12 02:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:36:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:37:01] Production.INFO: ==22166== Lock acquired, processing the job...
[2025-01-12 07:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:37:01] Production.INFO: neon service started
[2025-01-12 07:37:01] Production.INFO: neon service started
[2025-01-12 07:37:01] Production.INFO: ==22166== Releasing lock...
[2025-01-12 07:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:37:01] Production.INFO: ==22168== Lock acquired, processing the job...
[2025-01-12 02:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:37:02] Production.INFO: ==22168== Releasing lock...
[2025-01-12 02:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:37:02] Production.INFO: ==22170== Lock acquired, processing the job...
[2025-01-12 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:37:02] Production.INFO: ==22170== Releasing lock...
[2025-01-12 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:37:02] Production.INFO: ==22178== Lock acquired, processing the job...
[2025-01-12 02:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:37:03] Production.INFO: ==22183== Lock acquired, processing the job...
[2025-01-12 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:37:03] Production.INFO: Account Balance Start.
[2025-01-12 02:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:37:03] Production.INFO: 117
[2025-01-12 02:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:37:03] Production.INFO: ==22172== Lock acquired, processing the job...
[2025-01-12 02:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:37:03] Production.INFO: ==22174== Lock acquired, processing the job...
[2025-01-12 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:37:03] Production.INFO: count ==21
[2025-01-12 02:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:37:03] Production.INFO: ==22176== Lock acquired, processing the job...
[2025-01-12 02:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02: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-01-12 02:37:03] Production.INFO: count ==21
[2025-01-12 02:37:03] Production.INFO: ==22180== Lock acquired, processing the job...
[2025-01-12 02:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228580') start
[2025-01-12 02:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228580') end
[2025-01-12 02:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:37:03] Production.INFO: 1
[2025-01-12 02:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:37:03] Production.INFO: ==22183== Releasing lock...
[2025-01-12 02:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:37:03] Production.INFO: Total Charge 0
[2025-01-12 02:37:03] Production.INFO: CreateAllLog End
[2025-01-12 02:37:03] Production.ERROR: done
[2025-01-12 02:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:37:03] Production.INFO: ==22174== Releasing lock...
[2025-01-12 02:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:37:03] Production.INFO: Account Balance End.
[2025-01-12 02:37:03] Production.ERROR: done
[2025-01-12 02:37:03] Production.ERROR: CronJobId end 12
[2025-01-12 02:37:03] Production.INFO: ==22178== Releasing lock...
[2025-01-12 02:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:37:04
[end_date_ymd] => 2025-01-12 02:37:04
[RateCDR] => 1
)
[2025-01-12 02:37: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-01-11 23:37:04' and `end` < '2025-01-12 02:37: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-01-12 02:37:10] Production.ERROR: CronJobId end10
[2025-01-12 02:37:10] Production.INFO: ==22176== Releasing lock...
[2025-01-12 02:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:37:13] Production.INFO: call_cost start
[2025-01-12 02:37:13] Production.INFO: call_cost end
[2025-01-12 02:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:37:14] Production.INFO: ==22172== Releasing lock...
[2025-01-12 02:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:37:17] Production.INFO: count ==618
[2025-01-12 02:37:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:37:04 - End Time 2025-01-12 02:37:04
[2025-01-12 02:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228583', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228583', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228583', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228583', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:37:18] Production.INFO: ProcessCDR(1,14228583,1,1,2)
[2025-01-12 02:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228583,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228583,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228583', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228583', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:37:21] Production.INFO: ==22180== Releasing lock...
[2025-01-12 02:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:37:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:38:01] Production.INFO: ==22237== Lock acquired, processing the job...
[2025-01-12 07:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:38:01] Production.INFO: neon service started
[2025-01-12 07:38:01] Production.INFO: neon service started
[2025-01-12 07:38:01] Production.INFO: ==22237== Releasing lock...
[2025-01-12 07:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:38:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:38:02] Production.INFO: ==22239== Lock acquired, processing the job...
[2025-01-12 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:38:02] Production.INFO: ==22239== Releasing lock...
[2025-01-12 02:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:38:02] Production.INFO: ==22241== Lock acquired, processing the job...
[2025-01-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:38:02] Production.INFO: ==22241== Releasing lock...
[2025-01-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:38:03] Production.INFO: ==22249== Lock acquired, processing the job...
[2025-01-12 02:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:38:03] Production.INFO: ==22253== Lock acquired, processing the job...
[2025-01-12 02:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:38:03] Production.INFO: ==22243== Lock acquired, processing the job...
[2025-01-12 02:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:38:03] Production.INFO: Account Balance Start.
[2025-01-12 02:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:38:03] Production.INFO: 117
[2025-01-12 02:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:38:03] Production.INFO: ==22245== Lock acquired, processing the job...
[2025-01-12 02:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02: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-01-12 02:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:38:03] Production.INFO: count ==21
[2025-01-12 02:38:03] Production.INFO: ==22247== Lock acquired, processing the job...
[2025-01-12 02:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02: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-01-12 02:38:03] Production.INFO: count ==21
[2025-01-12 02:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:38:03] Production.INFO: ==22251== Lock acquired, processing the job...
[2025-01-12 02:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228585') start
[2025-01-12 02:38:03] Production.INFO: Total Charge 0
[2025-01-12 02:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:38:03] Production.INFO: CreateAllLog End
[2025-01-12 02:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228585') end
[2025-01-12 02:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:38:03] Production.INFO: 1
[2025-01-12 02:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:38:04] Production.INFO: ==22253== Releasing lock...
[2025-01-12 02:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:38:04] Production.INFO: Account Balance End.
[2025-01-12 02:38:04] Production.INFO: ==22245== Releasing lock...
[2025-01-12 02:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:38:04] Production.ERROR: done
[2025-01-12 02:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:38:04] Production.INFO: ==22249== Releasing lock...
[2025-01-12 02:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:38:04] Production.ERROR: done
[2025-01-12 02:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:38:05
[end_date_ymd] => 2025-01-12 02:38:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:38:05' and `end` < '2025-01-12 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-01-12 02:38:10] Production.ERROR: CronJobId end10
[2025-01-12 02:38:10] Production.INFO: ==22247== Releasing lock...
[2025-01-12 02:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:38:13] Production.INFO: call_cost start
[2025-01-12 02:38:13] Production.INFO: call_cost end
[2025-01-12 02:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:38:14] Production.INFO: ==22243== Releasing lock...
[2025-01-12 02:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:38:19] Production.INFO: count ==618
[2025-01-12 02:38:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:38:05 - End Time 2025-01-12 02:38:05
[2025-01-12 02:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228588', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228588', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228588', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228588', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:38:19] Production.INFO: ProcessCDR(1,14228588,1,1,2)
[2025-01-12 02:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228588,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228588,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228588', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228588', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:38:23] Production.INFO: ==22251== Releasing lock...
[2025-01-12 02:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:38:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:39:01] Production.INFO: ==22309== Lock acquired, processing the job...
[2025-01-12 07:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:39:01] Production.INFO: neon service started
[2025-01-12 07:39:01] Production.INFO: neon service started
[2025-01-12 07:39:01] Production.INFO: ==22309== Releasing lock...
[2025-01-12 07:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:39:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:39:02] Production.INFO: ==22311== Lock acquired, processing the job...
[2025-01-12 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:39:02] Production.INFO: ==22313== Lock acquired, processing the job...
[2025-01-12 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:39:02] Production.INFO: ==22313== Releasing lock...
[2025-01-12 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:39:02] Production.INFO: ==22311== Releasing lock...
[2025-01-12 02:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:39:03] Production.INFO: ==22316== Lock acquired, processing the job...
[2025-01-12 02:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:39:03] Production.INFO: ==22318== Lock acquired, processing the job...
[2025-01-12 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:39:03] Production.INFO: ==22322== Lock acquired, processing the job...
[2025-01-12 02:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:39:03] Production.INFO: ==22320== Lock acquired, processing the job...
[2025-01-12 02:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:39:03] Production.INFO: Account Balance Start.
[2025-01-12 02:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:39:03] Production.INFO: 117
[2025-01-12 02:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:39:03] Production.INFO: ==22318== Releasing lock...
[2025-01-12 02:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:39:03] Production.INFO: ==22324== Lock acquired, processing the job...
[2025-01-12 02:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:39:03] Production.INFO: Total Charge 0
[2025-01-12 02:39:03] Production.INFO: ==22326== Lock acquired, processing the job...
[2025-01-12 02:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:39:03] Production.INFO: CreateAllLog End
[2025-01-12 02:39:03] Production.INFO: Account Balance End.
[2025-01-12 02:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:39:03] Production.INFO: count ==21
[2025-01-12 02:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:39:03] Production.INFO: count ==21
[2025-01-12 02:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228592') start
[2025-01-12 02:39:04] Production.ERROR: done
[2025-01-12 02:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:39:04] Production.INFO: ==22322== Releasing lock...
[2025-01-12 02:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:39:04] Production.ERROR: done
[2025-01-12 02:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228592') end
[2025-01-12 02:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:39:04] Production.INFO: 1
[2025-01-12 02:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:39:04] Production.INFO: ==22326== Releasing lock...
[2025-01-12 02:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:39:04
[end_date_ymd] => 2025-01-12 02:39:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:39:04' and `end` < '2025-01-12 02: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-01-12 02:39:11] Production.ERROR: CronJobId end10
[2025-01-12 02:39:11] Production.INFO: ==22320== Releasing lock...
[2025-01-12 02:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:39:12] Production.INFO: call_cost start
[2025-01-12 02:39:12] Production.INFO: call_cost end
[2025-01-12 02:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:39:13] Production.INFO: ==22316== Releasing lock...
[2025-01-12 02:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:39:17] Production.INFO: count ==617
[2025-01-12 02:39:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:39:04 - End Time 2025-01-12 02:39:04
[2025-01-12 02:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228593', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228593', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228593', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228593', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:39:18] Production.INFO: ProcessCDR(1,14228593,1,1,2)
[2025-01-12 02:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228593,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228593,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228593', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228593', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:39:21] Production.INFO: ==22324== Releasing lock...
[2025-01-12 02:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:39:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:40:01] Production.INFO: ==22380== Lock acquired, processing the job...
[2025-01-12 07:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:40:01] Production.INFO: neon service started
[2025-01-12 07:40:01] Production.INFO: neon service started
[2025-01-12 07:40:01] Production.INFO: ==22380== Releasing lock...
[2025-01-12 07:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:40:02] Production.INFO: ==22383== Lock acquired, processing the job...
[2025-01-12 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:40:02] Production.INFO: ==22385== Lock acquired, processing the job...
[2025-01-12 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:40:02] Production.INFO: ==22385== Releasing lock...
[2025-01-12 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:40:02] Production.INFO: ==22383== Releasing lock...
[2025-01-12 02:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:40:03] Production.INFO: ==22387== Lock acquired, processing the job...
[2025-01-12 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 02:40:03] Production.INFO: ==22395== Lock acquired, processing the job...
[2025-01-12 02:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 02:40:03] Production.INFO: ==22389== Lock acquired, processing the job...
[2025-01-12 02:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 02:40:03] Production.INFO: ==22387== Releasing lock...
[2025-01-12 02:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 02:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:40:03] Production.INFO: Account Balance Start.
[2025-01-12 02:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:40:03] Production.INFO: 117
[2025-01-12 02:40:03] Production.INFO: ==22399== Lock acquired, processing the job...
[2025-01-12 02:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 02:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:40:03] Production.INFO: ==22391== Lock acquired, processing the job...
[2025-01-12 02:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:40:03] Production.INFO: ==22401== Lock acquired, processing the job...
[2025-01-12 02:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:40:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:40:03] Production.INFO: ==22393== Lock acquired, processing the job...
[2025-01-12 02:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:40:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:40:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:40:04] Production.INFO: ==22397== Lock acquired, processing the job...
[2025-01-12 02:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:40:04] Production.INFO: count ==21
[2025-01-12 02:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228597') start
[2025-01-12 02:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:40:04] Production.INFO: Total Charge 0
[2025-01-12 02:40:04] Production.INFO: CreateAllLog End
[2025-01-12 02:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228597') end
[2025-01-12 02:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:40:04] Production.INFO: 1
[2025-01-12 02:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:40:04] Production.INFO: ==22401== Releasing lock...
[2025-01-12 02:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:40:04] Production.INFO: ==22391== Releasing lock...
[2025-01-12 02:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:40:04] Production.ERROR: done
[2025-01-12 02:40:04] Production.INFO: Account Balance End.
[2025-01-12 02:40:04] Production.ERROR: done
[2025-01-12 02:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:40:04] Production.INFO: ==22395== Releasing lock...
[2025-01-12 02:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 02:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228598', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 02:40:04] Production.ERROR: done
[2025-01-12 02:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:40:05
[end_date_ymd] => 2025-01-12 02:40:05
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:40:05' and `end` < '2025-01-12 02: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-01-12 02:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228598', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 02:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 02:40:08] Production.INFO: ProcessCDR(1,14228598,1,1,2)
[2025-01-12 02:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228598,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:40:09] Production.INFO: ==22399== Releasing lock...
[2025-01-12 02:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 02:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 02:40:11] Production.ERROR: CronJobId end10
[2025-01-12 02:40:11] Production.INFO: ==22393== Releasing lock...
[2025-01-12 02:40:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:40:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:40:14] Production.INFO: call_cost start
[2025-01-12 02:40:14] Production.INFO: call_cost end
[2025-01-12 02:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:40:15] Production.INFO: ==22389== Releasing lock...
[2025-01-12 02:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:40:18] Production.INFO: count ==621
[2025-01-12 02:40:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:40:05 - End Time 2025-01-12 02:40:05
[2025-01-12 02:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228599', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228599', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228599', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228599', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:40:18] Production.INFO: ProcessCDR(1,14228599,1,1,2)
[2025-01-12 02:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228599', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228599', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:40:21] Production.INFO: ==22397== Releasing lock...
[2025-01-12 02:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:40:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:41:02] Production.INFO: ==22457== Lock acquired, processing the job...
[2025-01-12 07:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:41:02] Production.INFO: neon service started
[2025-01-12 07:41:02] Production.INFO: neon service started
[2025-01-12 07:41:02] Production.INFO: ==22457== Releasing lock...
[2025-01-12 07:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:41:02] Production.INFO: ==22459== Lock acquired, processing the job...
[2025-01-12 02:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:41:02] Production.INFO: ==22461== Lock acquired, processing the job...
[2025-01-12 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:41:02] Production.INFO: ==22461== Releasing lock...
[2025-01-12 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:41:03] Production.INFO: ==22459== Releasing lock...
[2025-01-12 02:41:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:41:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:41:03] Production.INFO: ==22464== Lock acquired, processing the job...
[2025-01-12 02:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:41:03] Production.INFO: ==22466== Lock acquired, processing the job...
[2025-01-12 02:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:41:03] Production.INFO: ==22472== Lock acquired, processing the job...
[2025-01-12 02:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:41:04] Production.INFO: ==22468== Lock acquired, processing the job...
[2025-01-12 02:41:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:41:04] Production.INFO: ==22470== Lock acquired, processing the job...
[2025-01-12 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:41:04] Production.INFO: ==22466== Releasing lock...
[2025-01-12 02:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:41:04] Production.INFO: ==22474== Lock acquired, processing the job...
[2025-01-12 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:41:04] Production.INFO: Account Balance Start.
[2025-01-12 02:41:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:41:04] Production.INFO: 117
[2025-01-12 02:41:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:41:04] Production.ERROR: done
[2025-01-12 02:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:41:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:41:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:41:04] Production.INFO: count ==21
[2025-01-12 02:41:04] Production.ERROR: done
[2025-01-12 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228603') start
[2025-01-12 02:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228603') end
[2025-01-12 02:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:41:04] Production.INFO: 1
[2025-01-12 02:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:41:04] Production.INFO: ==22474== Releasing lock...
[2025-01-12 02:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:41:04] Production.INFO: Total Charge 0
[2025-01-12 02:41:04] Production.INFO: CreateAllLog End
[2025-01-12 02:41:04] Production.INFO: Account Balance End.
[2025-01-12 02:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:41:04] Production.INFO: ==22470== Releasing lock...
[2025-01-12 02:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:41:05
[end_date_ymd] => 2025-01-12 02:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:41:05' and `end` < '2025-01-12 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-01-12 02:41:11] Production.ERROR: CronJobId end10
[2025-01-12 02:41:11] Production.INFO: ==22468== Releasing lock...
[2025-01-12 02:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:41:13] Production.INFO: call_cost start
[2025-01-12 02:41:13] Production.INFO: call_cost end
[2025-01-12 02:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:41:13] Production.INFO: ==22464== Releasing lock...
[2025-01-12 02:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:41:18] Production.INFO: count ==655
[2025-01-12 02:41:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:41:05 - End Time 2025-01-12 02:41:05
[2025-01-12 02:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228604', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228604', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228604', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228604', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:41:18] Production.INFO: ProcessCDR(1,14228604,1,1,2)
[2025-01-12 02:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:41:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228604', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:41:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228604', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:41:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:41:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:41:22] Production.INFO: ==22472== Releasing lock...
[2025-01-12 02:41:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:41:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:42:01] Production.INFO: ==22531== Lock acquired, processing the job...
[2025-01-12 07:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:42:01] Production.INFO: neon service started
[2025-01-12 07:42:01] Production.INFO: neon service started
[2025-01-12 07:42:01] Production.INFO: ==22531== Releasing lock...
[2025-01-12 07:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:42:02] Production.INFO: ==22535== Lock acquired, processing the job...
[2025-01-12 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:42:02] Production.INFO: ==22535== Releasing lock...
[2025-01-12 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:42:02] Production.INFO: ==22533== Lock acquired, processing the job...
[2025-01-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:42:02] Production.INFO: ==22533== Releasing lock...
[2025-01-12 02:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:42:03] Production.INFO: ==22538== Lock acquired, processing the job...
[2025-01-12 02:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:42:03] Production.INFO: ==22544== Lock acquired, processing the job...
[2025-01-12 02:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:42:03] Production.INFO: ==22540== Lock acquired, processing the job...
[2025-01-12 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:42:03] Production.INFO: ==22546== Lock acquired, processing the job...
[2025-01-12 02:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:42:03] Production.INFO: ==22542== Lock acquired, processing the job...
[2025-01-12 02:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:42:03] Production.INFO: Account Balance Start.
[2025-01-12 02:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:42:03] Production.INFO: 117
[2025-01-12 02:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:42:03] Production.INFO: ==22548== Lock acquired, processing the job...
[2025-01-12 02:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:42:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:42:03] Production.INFO: count ==21
[2025-01-12 02:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228608') start
[2025-01-12 02:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:42:03] Production.INFO: ==22540== Releasing lock...
[2025-01-12 02:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:42:03] Production.ERROR: done
[2025-01-12 02:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228608') end
[2025-01-12 02:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:42:03] Production.INFO: 1
[2025-01-12 02:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:42:03] Production.INFO: Total Charge 0
[2025-01-12 02:42:04] Production.INFO: CreateAllLog End
[2025-01-12 02:42:04] Production.INFO: ==22548== Releasing lock...
[2025-01-12 02:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:42:04] Production.ERROR: done
[2025-01-12 02:42:04] Production.INFO: Account Balance End.
[2025-01-12 02:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:42:04] Production.INFO: ==22544== Releasing lock...
[2025-01-12 02:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:42:05
[end_date_ymd] => 2025-01-12 02:42:05
[RateCDR] => 1
)
[2025-01-12 02:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:42:05' and `end` < '2025-01-12 02:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:42:11] Production.ERROR: CronJobId end10
[2025-01-12 02:42:11] Production.INFO: ==22542== Releasing lock...
[2025-01-12 02:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:42:14] Production.INFO: call_cost start
[2025-01-12 02:42:14] Production.INFO: call_cost end
[2025-01-12 02:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:42:15] Production.INFO: ==22538== Releasing lock...
[2025-01-12 02:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:42:20] Production.INFO: count ==658
[2025-01-12 02:42:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:42:05 - End Time 2025-01-12 02:42:05
[2025-01-12 02:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228609', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228609', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228609', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228609', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:42:21] Production.INFO: ProcessCDR(1,14228609,1,1,2)
[2025-01-12 02:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228609', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228609', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:42:24] Production.INFO: ==22546== Releasing lock...
[2025-01-12 02:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:42:24] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:43:02] Production.INFO: ==22603== Lock acquired, processing the job...
[2025-01-12 07:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:43:02] Production.INFO: neon service started
[2025-01-12 07:43:02] Production.INFO: neon service started
[2025-01-12 07:43:02] Production.INFO: ==22603== Releasing lock...
[2025-01-12 07:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:43:02] Production.INFO: ==22605== Lock acquired, processing the job...
[2025-01-12 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:43:02] Production.INFO: ==22605== Releasing lock...
[2025-01-12 02:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:43:02] Production.INFO: ==22607== Lock acquired, processing the job...
[2025-01-12 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:43:02] Production.INFO: ==22607== Releasing lock...
[2025-01-12 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:43:03] Production.INFO: ==22609== Lock acquired, processing the job...
[2025-01-12 02:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:43:03] Production.INFO: ==22613== Lock acquired, processing the job...
[2025-01-12 02:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:43:03] Production.INFO: ==22611== Lock acquired, processing the job...
[2025-01-12 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:43:03] Production.INFO: ==22615== Lock acquired, processing the job...
[2025-01-12 02:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:43:03] Production.INFO: ==22617== Lock acquired, processing the job...
[2025-01-12 02:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:43:03] Production.INFO: ==22619== Lock acquired, processing the job...
[2025-01-12 02:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:43:03] Production.INFO: Account Balance Start.
[2025-01-12 02:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:43:03] Production.INFO: 117
[2025-01-12 02:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:43:03] Production.INFO: ==22611== Releasing lock...
[2025-01-12 02:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:43:04] Production.INFO: Total Charge 0
[2025-01-12 02:43:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:43:04] Production.INFO: CreateAllLog End
[2025-01-12 02:43:04] Production.INFO: count ==21
[2025-01-12 02:43:04] Production.ERROR: done
[2025-01-12 02:43:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:43:04] Production.INFO: count ==21
[2025-01-12 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228613') start
[2025-01-12 02:43:04] Production.ERROR: done
[2025-01-12 02:43:04] Production.INFO: Account Balance End.
[2025-01-12 02:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:43:04] Production.INFO: ==22615== Releasing lock...
[2025-01-12 02:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228613') end
[2025-01-12 02:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:43:04] Production.INFO: 1
[2025-01-12 02:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:43:04] Production.INFO: ==22619== Releasing lock...
[2025-01-12 02:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:43:05
[end_date_ymd] => 2025-01-12 02:43:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:43:05' and `end` < '2025-01-12 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-01-12 02:43:12] Production.ERROR: CronJobId end10
[2025-01-12 02:43:12] Production.INFO: ==22613== Releasing lock...
[2025-01-12 02:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:43:14] Production.INFO: call_cost start
[2025-01-12 02:43:14] Production.INFO: call_cost end
[2025-01-12 02:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:43:14] Production.INFO: ==22609== Releasing lock...
[2025-01-12 02:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:43:18] Production.INFO: count ==658
[2025-01-12 02:43:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:43:05 - End Time 2025-01-12 02:43:05
[2025-01-12 02:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228614', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228614', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228614', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228614', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:43:18] Production.INFO: ProcessCDR(1,14228614,1,1,2)
[2025-01-12 02:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228614', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228614', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:43:21] Production.INFO: ==22617== Releasing lock...
[2025-01-12 02:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:43:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:44:01] Production.INFO: ==22678== Lock acquired, processing the job...
[2025-01-12 07:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:44:01] Production.INFO: neon service started
[2025-01-12 07:44:01] Production.INFO: neon service started
[2025-01-12 07:44:01] Production.INFO: ==22678== Releasing lock...
[2025-01-12 07:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:44:01] Production.INFO: ==22681== Lock acquired, processing the job...
[2025-01-12 02:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:44:02] Production.INFO: ==22681== Releasing lock...
[2025-01-12 02:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:44:02] Production.INFO: ==22683== Lock acquired, processing the job...
[2025-01-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:44:02] Production.INFO: ==22683== Releasing lock...
[2025-01-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:44:02] Production.INFO: ==22685== Lock acquired, processing the job...
[2025-01-12 02:44:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:44:02] Production.INFO: ==22687== Lock acquired, processing the job...
[2025-01-12 02:44:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:44:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:44:03] Production.INFO: ==22691== Lock acquired, processing the job...
[2025-01-12 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:44:03] Production.INFO: Account Balance Start.
[2025-01-12 02:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:44:03] Production.INFO: 117
[2025-01-12 02:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:44:03] Production.INFO: ==22687== Releasing lock...
[2025-01-12 02:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:44:03] Production.INFO: ==22689== Lock acquired, processing the job...
[2025-01-12 02:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:44:03] Production.INFO: Total Charge 0
[2025-01-12 02:44:03] Production.INFO: ==22693== Lock acquired, processing the job...
[2025-01-12 02:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:44:03] Production.INFO: CreateAllLog End
[2025-01-12 02:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:44:03] Production.INFO: Account Balance End.
[2025-01-12 02:44:03] Production.INFO: ==22695== Lock acquired, processing the job...
[2025-01-12 02:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:44:03] Production.ERROR: CronJobId end 12
[2025-01-12 02:44:03] Production.INFO: ==22691== Releasing lock...
[2025-01-12 02:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:44:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:44:03] Production.INFO: count ==21
[2025-01-12 02:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:44:03] Production.INFO: count ==21
[2025-01-12 02:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228618') start
[2025-01-12 02:44:03] Production.ERROR: done
[2025-01-12 02:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228618') end
[2025-01-12 02:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:44:03] Production.INFO: 1
[2025-01-12 02:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:44:04] Production.INFO: ==22695== Releasing lock...
[2025-01-12 02:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:44:04] Production.ERROR: done
[2025-01-12 02:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:44:05
[end_date_ymd] => 2025-01-12 02:44:05
[RateCDR] => 1
)
[2025-01-12 02:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:44:05' and `end` < '2025-01-12 02:44:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:44:10] Production.ERROR: CronJobId end10
[2025-01-12 02:44:10] Production.INFO: ==22689== Releasing lock...
[2025-01-12 02:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:44:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:44:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:44:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:44:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:44:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:44:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:44:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:44:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:44:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:44:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:44:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:44:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:44:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:44:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:44:12] Production.INFO: call_cost start
[2025-01-12 02:44:12] Production.INFO: call_cost end
[2025-01-12 02:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:44:13] Production.INFO: ==22685== Releasing lock...
[2025-01-12 02:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:44:18] Production.INFO: count ==658
[2025-01-12 02:44:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:44:05 - End Time 2025-01-12 02:44:05
[2025-01-12 02:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228619', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228619', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228619', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228619', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:44:18] Production.INFO: ProcessCDR(1,14228619,1,1,2)
[2025-01-12 02:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228619', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228619', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:44:21] Production.INFO: ==22693== Releasing lock...
[2025-01-12 02:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:44:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:45:01] Production.INFO: ==22755== Lock acquired, processing the job...
[2025-01-12 07:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:45:01] Production.INFO: neon service started
[2025-01-12 07:45:01] Production.INFO: neon service started
[2025-01-12 07:45:01] Production.INFO: ==22755== Releasing lock...
[2025-01-12 07:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:45:02] Production.INFO: ==22757== Lock acquired, processing the job...
[2025-01-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:45:02] Production.INFO: ==22757== Releasing lock...
[2025-01-12 02:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:45:02] Production.INFO: ==22759== Lock acquired, processing the job...
[2025-01-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:45:02] Production.INFO: ==22759== Releasing lock...
[2025-01-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:45:03] Production.INFO: ==22761== Lock acquired, processing the job...
[2025-01-12 02:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:45:03] Production.INFO: ==22769== Lock acquired, processing the job...
[2025-01-12 02:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:45:03] Production.INFO: ==22772== Lock acquired, processing the job...
[2025-01-12 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:45:03] Production.INFO: ==22763== Lock acquired, processing the job...
[2025-01-12 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:45:03] Production.INFO: ==22765== Lock acquired, processing the job...
[2025-01-12 02:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:45:03] Production.INFO: ==22767== Lock acquired, processing the job...
[2025-01-12 02:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 02:45:03] Production.INFO: count ==21
[2025-01-12 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-01-12 02:45:03] Production.INFO: count ==21
[2025-01-12 02:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228621') start
[2025-01-12 02:45:03] Production.INFO: Account Balance Start.
[2025-01-12 02:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:45:03] Production.INFO: 117
[2025-01-12 02:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:45:03] Production.ERROR: done
[2025-01-12 02:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228621') end
[2025-01-12 02:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:45:03] Production.INFO: 1
[2025-01-12 02:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:45:03] Production.ERROR: done
[2025-01-12 02:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:45:03] Production.INFO: ==22772== Releasing lock...
[2025-01-12 02:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:45:03] Production.INFO: Total Charge 0
[2025-01-12 02:45:03] Production.INFO: CreateAllLog End
[2025-01-12 02:45:03] Production.INFO: ==22763== Releasing lock...
[2025-01-12 02:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:45:04] Production.INFO: Account Balance End.
[2025-01-12 02:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:45:04] Production.INFO: ==22767== Releasing lock...
[2025-01-12 02:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:45:04
[end_date_ymd] => 2025-01-12 02:45:04
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:45:04' and `end` < '2025-01-12 02: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-01-12 02:45:11] Production.ERROR: CronJobId end10
[2025-01-12 02:45:11] Production.INFO: ==22765== Releasing lock...
[2025-01-12 02:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:45:13] Production.INFO: call_cost start
[2025-01-12 02:45:13] Production.INFO: call_cost end
[2025-01-12 02:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:45:14] Production.INFO: ==22761== Releasing lock...
[2025-01-12 02:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:45:18] Production.INFO: count ==658
[2025-01-12 02:45:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:45:04 - End Time 2025-01-12 02:45:04
[2025-01-12 02:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228624', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228624', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228624', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228624', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:45:18] Production.INFO: ProcessCDR(1,14228624,1,1,2)
[2025-01-12 02:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228624', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228624', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:45:21] Production.INFO: ==22769== Releasing lock...
[2025-01-12 02:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:45:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:46:02] Production.INFO: ==22828== Lock acquired, processing the job...
[2025-01-12 07:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:46:02] Production.INFO: neon service started
[2025-01-12 07:46:02] Production.INFO: neon service started
[2025-01-12 07:46:02] Production.INFO: ==22828== Releasing lock...
[2025-01-12 07:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:46:02] Production.INFO: ==22830== Lock acquired, processing the job...
[2025-01-12 02:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:46:03] Production.INFO: ==22832== Lock acquired, processing the job...
[2025-01-12 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:46:03] Production.INFO: ==22832== Releasing lock...
[2025-01-12 07:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:46:03] Production.INFO: ==22830== Releasing lock...
[2025-01-12 02:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:46:04] Production.INFO: ==22835== Lock acquired, processing the job...
[2025-01-12 02:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:46:04] Production.INFO: ==22837== Lock acquired, processing the job...
[2025-01-12 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:46:04] Production.INFO: ==22843== Lock acquired, processing the job...
[2025-01-12 02:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:46:04] Production.INFO: ==22839== Lock acquired, processing the job...
[2025-01-12 02:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:46:04] Production.INFO: ==22841== Lock acquired, processing the job...
[2025-01-12 02:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:46:04] Production.INFO: ==22845== Lock acquired, processing the job...
[2025-01-12 02:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:46:04] Production.INFO: Account Balance Start.
[2025-01-12 02:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:46:04] Production.INFO: 117
[2025-01-12 02:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:46:04] Production.INFO: ==22837== Releasing lock...
[2025-01-12 02:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:46:04] Production.ERROR: done
[2025-01-12 02:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:46:04] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:46:04] Production.INFO: count ==21
[2025-01-12 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228628') start
[2025-01-12 02:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:46:04] Production.ERROR: done
[2025-01-12 02:46:04] Production.INFO: Total Charge 0
[2025-01-12 02:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228628') end
[2025-01-12 02:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:46:04] Production.INFO: 1
[2025-01-12 02:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:46:04] Production.INFO: CreateAllLog End
[2025-01-12 02:46:05] Production.INFO: ==22845== Releasing lock...
[2025-01-12 02:46:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:46:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:46:05] Production.INFO: Account Balance End.
[2025-01-12 02:46:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:46:05] Production.INFO: ==22841== Releasing lock...
[2025-01-12 02:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:46:05
[end_date_ymd] => 2025-01-12 02:46:05
[RateCDR] => 1
)
[2025-01-12 02:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:46:05' and `end` < '2025-01-12 02:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:46:12] Production.ERROR: CronJobId end10
[2025-01-12 02:46:12] Production.INFO: ==22839== Releasing lock...
[2025-01-12 02:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:46:14] Production.INFO: call_cost start
[2025-01-12 02:46:14] Production.INFO: call_cost end
[2025-01-12 02:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:46:14] Production.INFO: ==22835== Releasing lock...
[2025-01-12 02:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:46:21] Production.INFO: count ==655
[2025-01-12 02:46:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:46:05 - End Time 2025-01-12 02:46:05
[2025-01-12 02:46:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228629', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228629', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228629', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228629', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:46:21] Production.INFO: ProcessCDR(1,14228629,1,1,2)
[2025-01-12 02:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228629,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228629,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228629', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228629', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:46:24] Production.INFO: ==22843== Releasing lock...
[2025-01-12 02:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:46:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:47:01] Production.INFO: ==22897== Lock acquired, processing the job...
[2025-01-12 07:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:47:01] Production.INFO: neon service started
[2025-01-12 07:47:01] Production.INFO: neon service started
[2025-01-12 07:47:01] Production.INFO: ==22897== Releasing lock...
[2025-01-12 07:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:47:02] Production.INFO: ==22900== Lock acquired, processing the job...
[2025-01-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:47:02] Production.INFO: ==22900== Releasing lock...
[2025-01-12 02:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:47:02] Production.INFO: ==22902== Lock acquired, processing the job...
[2025-01-12 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:47:02] Production.INFO: ==22902== Releasing lock...
[2025-01-12 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:47:03] Production.INFO: ==22908== Lock acquired, processing the job...
[2025-01-12 02:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:47:03] Production.INFO: ==22906== Lock acquired, processing the job...
[2025-01-12 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:47:03] Production.INFO: ==22904== Lock acquired, processing the job...
[2025-01-12 02:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:47:03] Production.INFO: ==22910== Lock acquired, processing the job...
[2025-01-12 02:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:47:03] Production.INFO: ==22914== Lock acquired, processing the job...
[2025-01-12 02:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:47:03] Production.INFO: ==22912== Lock acquired, processing the job...
[2025-01-12 02:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:47:03] Production.INFO: Account Balance Start.
[2025-01-12 02:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:47:03] Production.INFO: 117
[2025-01-12 02:47:03] Production.INFO: ==22906== Releasing lock...
[2025-01-12 02:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:47:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:47:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:47:04] Production.INFO: count ==21
[2025-01-12 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228633') start
[2025-01-12 02:47:04] Production.ERROR: done
[2025-01-12 02:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:47:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228633') end
[2025-01-12 02:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:47:04] Production.INFO: 1
[2025-01-12 02:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:47:04] Production.ERROR: done
[2025-01-12 02:47:04] Production.INFO: ==22914== Releasing lock...
[2025-01-12 02:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:47:04] Production.INFO: Total Charge 0
[2025-01-12 02:47:04] Production.INFO: CreateAllLog End
[2025-01-12 02:47:04] Production.INFO: Account Balance End.
[2025-01-12 02:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:47:04] Production.INFO: ==22910== Releasing lock...
[2025-01-12 02:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:47:05
[end_date_ymd] => 2025-01-12 02:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:47:05' and `end` < '2025-01-12 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-01-12 02:47:10] Production.ERROR: CronJobId end10
[2025-01-12 02:47:10] Production.INFO: ==22908== Releasing lock...
[2025-01-12 02:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:47:13] Production.INFO: call_cost start
[2025-01-12 02:47:13] Production.INFO: call_cost end
[2025-01-12 02:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:47:14] Production.INFO: ==22904== Releasing lock...
[2025-01-12 02:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:47:18] Production.INFO: count ==655
[2025-01-12 02:47:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:47:05 - End Time 2025-01-12 02:47:05
[2025-01-12 02:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228634', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228634', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228634', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228634', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:47:18] Production.INFO: ProcessCDR(1,14228634,1,1,2)
[2025-01-12 02:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228634,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228634,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228634', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228634', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:47:21] Production.INFO: ==22912== Releasing lock...
[2025-01-12 02:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:47:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:48:02] Production.INFO: ==23008== Lock acquired, processing the job...
[2025-01-12 07:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:48:02] Production.INFO: neon service started
[2025-01-12 07:48:02] Production.INFO: neon service started
[2025-01-12 07:48:02] Production.INFO: ==23008== Releasing lock...
[2025-01-12 07:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:48:02] Production.INFO: ==23012== Lock acquired, processing the job...
[2025-01-12 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:48:02] Production.INFO: ==23010== Lock acquired, processing the job...
[2025-01-12 02:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:48:02] Production.INFO: ==23012== Releasing lock...
[2025-01-12 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:48:03] Production.INFO: ==23010== Releasing lock...
[2025-01-12 02:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:48:04] Production.INFO: ==23021== Lock acquired, processing the job...
[2025-01-12 02:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:48:04] Production.INFO: Account Balance Start.
[2025-01-12 02:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:48:04] Production.INFO: 117
[2025-01-12 02:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:48:04] Production.INFO: ==23025== Lock acquired, processing the job...
[2025-01-12 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:48:04] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:48:04] Production.INFO: count ==21
[2025-01-12 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228636') start
[2025-01-12 02:48:04] Production.INFO: ==23017== Lock acquired, processing the job...
[2025-01-12 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:48:04] Production.INFO: ==23019== Lock acquired, processing the job...
[2025-01-12 02:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:48:04] Production.INFO: ==23015== Lock acquired, processing the job...
[2025-01-12 02:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:48:04] Production.INFO: ==23023== Lock acquired, processing the job...
[2025-01-12 02:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:48:04] Production.INFO: Total Charge 0
[2025-01-12 02:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:48:04] Production.INFO: CreateAllLog End
[2025-01-12 02:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228636') end
[2025-01-12 02:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:48:04] Production.INFO: 1
[2025-01-12 02:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:48:04] Production.INFO: ==23025== Releasing lock...
[2025-01-12 02:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:48:04] Production.ERROR: done
[2025-01-12 02:48:04] Production.INFO: ==23017== Releasing lock...
[2025-01-12 02:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:48:04] Production.INFO: Account Balance End.
[2025-01-12 02:48:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:48:05] Production.INFO: ==23021== Releasing lock...
[2025-01-12 02:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:48:05] Production.ERROR: done
[2025-01-12 02:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:48:05
[end_date_ymd] => 2025-01-12 02:48:05
[RateCDR] => 1
)
[2025-01-12 02:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:48:05' and `end` < '2025-01-12 02:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:48:11] Production.ERROR: CronJobId end10
[2025-01-12 02:48:11] Production.INFO: ==23019== Releasing lock...
[2025-01-12 02:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:48:14] Production.INFO: call_cost start
[2025-01-12 02:48:14] Production.INFO: call_cost end
[2025-01-12 02:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:48:15] Production.INFO: ==23015== Releasing lock...
[2025-01-12 02:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:48:21] Production.INFO: count ==654
[2025-01-12 02:48:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:48:05 - End Time 2025-01-12 02:48:05
[2025-01-12 02:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228639', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228639', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228639', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228639', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:48:21] Production.INFO: ProcessCDR(1,14228639,1,1,2)
[2025-01-12 02:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:48:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228639,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:48:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:48:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228639,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228639', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:48:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228639', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:48:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:48:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:48:26] Production.INFO: ==23023== Releasing lock...
[2025-01-12 02:48:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:48:26] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:49:01] Production.INFO: ==23082== Lock acquired, processing the job...
[2025-01-12 07:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:49:01] Production.INFO: neon service started
[2025-01-12 07:49:01] Production.INFO: neon service started
[2025-01-12 07:49:01] Production.INFO: ==23082== Releasing lock...
[2025-01-12 07:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:49:02] Production.INFO: ==23084== Lock acquired, processing the job...
[2025-01-12 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:49:02] Production.INFO: ==23084== Releasing lock...
[2025-01-12 02:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:49:02] Production.INFO: ==23086== Lock acquired, processing the job...
[2025-01-12 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:49:02] Production.INFO: ==23086== Releasing lock...
[2025-01-12 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:49:03] Production.INFO: ==23090== Lock acquired, processing the job...
[2025-01-12 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:49:03] Production.INFO: ==23088== Lock acquired, processing the job...
[2025-01-12 02:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:49:03] Production.INFO: ==23092== Lock acquired, processing the job...
[2025-01-12 02:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:49:03] Production.INFO: ==23094== Lock acquired, processing the job...
[2025-01-12 02:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:49:03] Production.INFO: ==23090== Releasing lock...
[2025-01-12 02:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:49:03] Production.INFO: ==23096== Lock acquired, processing the job...
[2025-01-12 02:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:49:03] Production.INFO: ==23098== Lock acquired, processing the job...
[2025-01-12 02:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:49:03] Production.INFO: Account Balance Start.
[2025-01-12 02:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:49:03] Production.INFO: 117
[2025-01-12 02:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:49:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:49:03] Production.INFO: count ==21
[2025-01-12 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228643') start
[2025-01-12 02:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228643') end
[2025-01-12 02:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:49:04] Production.INFO: 1
[2025-01-12 02:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:49:04] Production.INFO: ==23098== Releasing lock...
[2025-01-12 02:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:49:04] Production.ERROR: done
[2025-01-12 02:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:49:04] Production.INFO: Total Charge 0
[2025-01-12 02:49:04] Production.INFO: CreateAllLog End
[2025-01-12 02:49:04] Production.ERROR: done
[2025-01-12 02:49:04] Production.INFO: Account Balance End.
[2025-01-12 02:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:49:04] Production.INFO: ==23094== Releasing lock...
[2025-01-12 02:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:49:05
[end_date_ymd] => 2025-01-12 02:49:05
[RateCDR] => 1
)
[2025-01-12 02:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:49:05' and `end` < '2025-01-12 02:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:49:10] Production.ERROR: CronJobId end10
[2025-01-12 02:49:10] Production.INFO: ==23092== Releasing lock...
[2025-01-12 02:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:49:13] Production.INFO: call_cost start
[2025-01-12 02:49:13] Production.INFO: call_cost end
[2025-01-12 02:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:49:14] Production.INFO: ==23088== Releasing lock...
[2025-01-12 02:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:49:21] Production.INFO: count ==652
[2025-01-12 02:49:21] Production.ERROR: pbx CDR StartTime 2025-01-11 23:49:05 - End Time 2025-01-12 02:49:05
[2025-01-12 02:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228644', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228644', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228644', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228644', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:49:21] Production.INFO: ProcessCDR(1,14228644,1,1,2)
[2025-01-12 02:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228644,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:49:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228644,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228644', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:49:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228644', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:49:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:49:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:49:25] Production.INFO: ==23096== Releasing lock...
[2025-01-12 02:49:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:49:25] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:50:02] Production.INFO: ==23153== Lock acquired, processing the job...
[2025-01-12 07:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:50:02] Production.INFO: neon service started
[2025-01-12 07:50:02] Production.INFO: neon service started
[2025-01-12 07:50:02] Production.INFO: ==23153== Releasing lock...
[2025-01-12 07:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:50:02] Production.INFO: ==23155== Lock acquired, processing the job...
[2025-01-12 02:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:50:02] Production.INFO: ==23157== Lock acquired, processing the job...
[2025-01-12 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:50:02] Production.INFO: ==23157== Releasing lock...
[2025-01-12 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:50:03] Production.INFO: ==23155== Releasing lock...
[2025-01-12 02:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:50:04] Production.INFO: ==23160== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 02:50:04] Production.INFO: ==23162== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:50:04] Production.INFO: ==23164== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 02:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 02:50:04] Production.INFO: ==23160== Releasing lock...
[2025-01-12 02:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 02:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 02:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:50:04] Production.INFO: ==23166== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:50:04] Production.INFO: ==23172== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:50:04] Production.INFO: ==23168== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:50:04] Production.INFO: ==23174== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:50:04] Production.INFO: ==23170== Lock acquired, processing the job...
[2025-01-12 02:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:50:04] Production.INFO: Account Balance Start.
[2025-01-12 02:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:50:04] Production.INFO: 117
[2025-01-12 02:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:50:04] Production.ERROR: done
[2025-01-12 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:50:04] Production.INFO: ==23164== Releasing lock...
[2025-01-12 02:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 02:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228648', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 02:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:50:05] Production.INFO: Date 2025-01-10
[2025-01-12 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:50:05] Production.INFO: Date 2025-01-11
[2025-01-12 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 02:50:05] Production.INFO: Date 2025-01-12
[2025-01-12 02:50:05] Production.INFO: count ==21
[2025-01-12 02:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 02:50:05] Production.INFO: count ==21
[2025-01-12 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228649') start
[2025-01-12 02:50:05] Production.ERROR: done
[2025-01-12 02:50:05] Production.INFO: Total Charge 0
[2025-01-12 02:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:50:05] Production.INFO: CreateAllLog End
[2025-01-12 02:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228649') end
[2025-01-12 02:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:50:05] Production.INFO: 1
[2025-01-12 02:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:50:05] Production.ERROR: done
[2025-01-12 02:50:05] Production.INFO: ==23174== Releasing lock...
[2025-01-12 02:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:50:05] Production.INFO: Account Balance End.
[2025-01-12 02:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:50:05] Production.INFO: ==23168== Releasing lock...
[2025-01-12 02:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:50:06
[end_date_ymd] => 2025-01-12 02:50:06
[RateCDR] => 1
)
[2025-01-12 02: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-01-11 23:50:06' and `end` < '2025-01-12 02: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-01-12 02:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228648', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 02:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 02:50:09] Production.INFO: ProcessCDR(1,14228648,1,1,2)
[2025-01-12 02:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228648,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228648,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:50:09] Production.INFO: ==23172== Releasing lock...
[2025-01-12 02:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 02:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 02:50:13] Production.ERROR: CronJobId end10
[2025-01-12 02:50:13] Production.INFO: ==23166== Releasing lock...
[2025-01-12 02:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:50:15] Production.INFO: call_cost start
[2025-01-12 02:50:15] Production.INFO: call_cost end
[2025-01-12 02:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:50:16] Production.INFO: ==23162== Releasing lock...
[2025-01-12 02:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:50:19] Production.INFO: count ==662
[2025-01-12 02:50:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:50:06 - End Time 2025-01-12 02:50:06
[2025-01-12 02:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228650', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228650', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228650', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228650', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:50:19] Production.INFO: ProcessCDR(1,14228650,1,1,2)
[2025-01-12 02:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228650', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228650', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:50:23] Production.INFO: ==23170== Releasing lock...
[2025-01-12 02:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:50:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:51:01] Production.INFO: ==23227== Lock acquired, processing the job...
[2025-01-12 07:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:51:01] Production.INFO: neon service started
[2025-01-12 07:51:01] Production.INFO: neon service started
[2025-01-12 07:51:01] Production.INFO: ==23227== Releasing lock...
[2025-01-12 07:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:51:01] Production.INFO: ==23229== Lock acquired, processing the job...
[2025-01-12 02:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:51:02] Production.INFO: ==23231== Lock acquired, processing the job...
[2025-01-12 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:51:02] Production.INFO: ==23229== Releasing lock...
[2025-01-12 02:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:51:02] Production.INFO: ==23231== Releasing lock...
[2025-01-12 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:51:03] Production.INFO: ==23237== Lock acquired, processing the job...
[2025-01-12 02:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:51:03] Production.INFO: ==23241== Lock acquired, processing the job...
[2025-01-12 02:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:51:03] Production.INFO: ==23233== Lock acquired, processing the job...
[2025-01-12 02:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:51:03] Production.INFO: ==23235== Lock acquired, processing the job...
[2025-01-12 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:51:03] Production.INFO: ==23239== Lock acquired, processing the job...
[2025-01-12 02:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:51:03] Production.INFO: ==23244== Lock acquired, processing the job...
[2025-01-12 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:51:03] Production.ERROR: done
[2025-01-12 02:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:51:03] Production.INFO: Account Balance Start.
[2025-01-12 02:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:51:03] Production.INFO: 117
[2025-01-12 02:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:51:03] Production.INFO: count ==21
[2025-01-12 02:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:51:03] Production.INFO: count ==21
[2025-01-12 02:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228654') start
[2025-01-12 02:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:51:03] Production.INFO: ==23235== Releasing lock...
[2025-01-12 02:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228654') end
[2025-01-12 02:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:51:03] Production.INFO: 1
[2025-01-12 02:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:51:03] Production.ERROR: done
[2025-01-12 02:51:03] Production.INFO: ==23244== Releasing lock...
[2025-01-12 02:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:51:04] Production.INFO: Total Charge 0
[2025-01-12 02:51:04] Production.INFO: CreateAllLog End
[2025-01-12 02:51:04] Production.INFO: Account Balance End.
[2025-01-12 02:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:51:04] Production.INFO: ==23239== Releasing lock...
[2025-01-12 02:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:51:05
[end_date_ymd] => 2025-01-12 02:51:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:51:05' and `end` < '2025-01-12 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-01-12 02:51:11] Production.ERROR: CronJobId end10
[2025-01-12 02:51:11] Production.INFO: ==23237== Releasing lock...
[2025-01-12 02:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:51:13] Production.INFO: call_cost start
[2025-01-12 02:51:13] Production.INFO: call_cost end
[2025-01-12 02:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:51:14] Production.INFO: ==23233== Releasing lock...
[2025-01-12 02:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:51:18] Production.INFO: count ==672
[2025-01-12 02:51:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:51:05 - End Time 2025-01-12 02:51:05
[2025-01-12 02:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228655', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228655', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228655', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228655', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:51:19] Production.INFO: ProcessCDR(1,14228655,1,1,2)
[2025-01-12 02:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228655', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228655', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:51:22] Production.INFO: ==23241== Releasing lock...
[2025-01-12 02:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:51:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:52:01] Production.INFO: ==23300== Lock acquired, processing the job...
[2025-01-12 07:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:52:02] Production.INFO: neon service started
[2025-01-12 07:52:02] Production.INFO: neon service started
[2025-01-12 07:52:02] Production.INFO: ==23300== Releasing lock...
[2025-01-12 07:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:52:02] Production.INFO: ==23302== Lock acquired, processing the job...
[2025-01-12 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:52:02] Production.INFO: ==23302== Releasing lock...
[2025-01-12 02:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:52:02] Production.INFO: ==23304== Lock acquired, processing the job...
[2025-01-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:52:02] Production.INFO: ==23304== Releasing lock...
[2025-01-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:52:03] Production.INFO: ==23309== Lock acquired, processing the job...
[2025-01-12 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:52:03] Production.INFO: ==23317== Lock acquired, processing the job...
[2025-01-12 02:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02: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-01-12 02:52:03] Production.INFO: ==23307== Lock acquired, processing the job...
[2025-01-12 02:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:52:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:52:03] Production.INFO: count ==21
[2025-01-12 02:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228657') start
[2025-01-12 02:52:03] Production.INFO: ==23311== Lock acquired, processing the job...
[2025-01-12 02:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:52:03] Production.INFO: ==23315== Lock acquired, processing the job...
[2025-01-12 02:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:52:03] Production.INFO: ==23313== Lock acquired, processing the job...
[2025-01-12 02:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:52:03] Production.INFO: ==23309== Releasing lock...
[2025-01-12 02:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228657') end
[2025-01-12 02:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:52:03] Production.INFO: 1
[2025-01-12 02:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:52:03] Production.INFO: Account Balance Start.
[2025-01-12 02:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:52:03] Production.INFO: ==23317== Releasing lock...
[2025-01-12 02:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:52:03] Production.INFO: 117
[2025-01-12 02:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:52:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:52:04] Production.ERROR: done
[2025-01-12 02:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:52:04] Production.ERROR: done
[2025-01-12 02:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:52:04] Production.INFO: Total Charge 0
[2025-01-12 02:52:04] Production.INFO: CreateAllLog End
[2025-01-12 02:52:04] Production.INFO: Account Balance End.
[2025-01-12 02:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:52:04] Production.INFO: ==23313== Releasing lock...
[2025-01-12 02:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:52:05
[end_date_ymd] => 2025-01-12 02:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:52:05' and `end` < '2025-01-12 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-01-12 02:52:11] Production.ERROR: CronJobId end10
[2025-01-12 02:52:11] Production.INFO: ==23311== Releasing lock...
[2025-01-12 02:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:52:13] Production.INFO: call_cost start
[2025-01-12 02:52:13] Production.INFO: call_cost end
[2025-01-12 02:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:52:13] Production.INFO: ==23307== Releasing lock...
[2025-01-12 02:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:52:20] Production.INFO: count ==675
[2025-01-12 02:52:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:52:05 - End Time 2025-01-12 02:52:05
[2025-01-12 02:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228660', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228660', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228660', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228660', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:52:20] Production.INFO: ProcessCDR(1,14228660,1,1,2)
[2025-01-12 02:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:52:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228660', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:52:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228660', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:52:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:52:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:52:24] Production.INFO: ==23315== Releasing lock...
[2025-01-12 02:52:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:52:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:53:01] Production.INFO: ==23370== Lock acquired, processing the job...
[2025-01-12 07:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:53:01] Production.INFO: neon service started
[2025-01-12 07:53:01] Production.INFO: neon service started
[2025-01-12 07:53:01] Production.INFO: ==23370== Releasing lock...
[2025-01-12 07:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:53:01] Production.INFO: ==23372== Lock acquired, processing the job...
[2025-01-12 02:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:53:02] Production.INFO: ==23372== Releasing lock...
[2025-01-12 02:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:53:02] Production.INFO: ==23374== Lock acquired, processing the job...
[2025-01-12 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:53:02] Production.INFO: ==23374== Releasing lock...
[2025-01-12 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:53:02] Production.INFO: ==23384== Lock acquired, processing the job...
[2025-01-12 02:53:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:53:02] Production.INFO: ==23382== Lock acquired, processing the job...
[2025-01-12 02:53:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:53:03] Production.INFO: ==23376== Lock acquired, processing the job...
[2025-01-12 02:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:53:03] Production.INFO: Account Balance Start.
[2025-01-12 02:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:53:03] Production.INFO: 117
[2025-01-12 02:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:53:03] Production.INFO: ==23378== Lock acquired, processing the job...
[2025-01-12 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:53:03] Production.INFO: ==23380== Lock acquired, processing the job...
[2025-01-12 02:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:53:03] Production.ERROR: done
[2025-01-12 02:53:03] Production.INFO: ==23386== Lock acquired, processing the job...
[2025-01-12 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:53:03] Production.ERROR: done
[2025-01-12 02:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 02: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-01-12 02:53:03] Production.INFO: count ==21
[2025-01-12 02:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:53:03] Production.INFO: ==23378== Releasing lock...
[2025-01-12 02:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02: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-01-12 02:53:03] Production.INFO: count ==21
[2025-01-12 02:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228664') start
[2025-01-12 02:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228664') end
[2025-01-12 02:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:53:03] Production.INFO: 1
[2025-01-12 02:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:53:03] Production.INFO: Total Charge 0
[2025-01-12 02:53:03] Production.INFO: ==23386== Releasing lock...
[2025-01-12 02:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:53:03] Production.INFO: CreateAllLog End
[2025-01-12 02:53:04] Production.INFO: Account Balance End.
[2025-01-12 02:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:53:04] Production.INFO: ==23382== Releasing lock...
[2025-01-12 02:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:53:04
[end_date_ymd] => 2025-01-12 02:53:04
[RateCDR] => 1
)
[2025-01-12 02:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:53:04' and `end` < '2025-01-12 02:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:53:11] Production.ERROR: CronJobId end10
[2025-01-12 02:53:11] Production.INFO: ==23380== Releasing lock...
[2025-01-12 02:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:53:13] Production.INFO: call_cost start
[2025-01-12 02:53:13] Production.INFO: call_cost end
[2025-01-12 02:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:53:14] Production.INFO: ==23376== Releasing lock...
[2025-01-12 02:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:53:17] Production.INFO: count ==673
[2025-01-12 02:53:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:53:04 - End Time 2025-01-12 02:53:04
[2025-01-12 02:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228665', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228665', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228665', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228665', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:53:18] Production.INFO: ProcessCDR(1,14228665,1,1,2)
[2025-01-12 02:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228665', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228665', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:53:21] Production.INFO: ==23384== Releasing lock...
[2025-01-12 02:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:53:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 07:54:01] Production.INFO: ==23441== Lock acquired, processing the job...
[2025-01-12 07:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:54:01] Production.INFO: neon service started
[2025-01-12 07:54:01] Production.INFO: neon service started
[2025-01-12 07:54:01] Production.INFO: ==23441== Releasing lock...
[2025-01-12 07:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:54:02] Production.INFO: ==23445== Lock acquired, processing the job...
[2025-01-12 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:54:02] Production.INFO: ==23445== Releasing lock...
[2025-01-12 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:54:02] Production.INFO: ==23443== Lock acquired, processing the job...
[2025-01-12 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:54:02] Production.INFO: ==23443== Releasing lock...
[2025-01-12 02:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:54:03] Production.INFO: ==23452== Lock acquired, processing the job...
[2025-01-12 02:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:54:03] Production.INFO: ==23448== Lock acquired, processing the job...
[2025-01-12 02:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:54:03] Production.INFO: ==23456== Lock acquired, processing the job...
[2025-01-12 02:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:54:03] Production.INFO: ==23450== Lock acquired, processing the job...
[2025-01-12 02:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:54:03] Production.INFO: ==23454== Lock acquired, processing the job...
[2025-01-12 02:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:54:03] Production.INFO: ==23458== Lock acquired, processing the job...
[2025-01-12 02:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:54:03] Production.INFO: Account Balance Start.
[2025-01-12 02:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:54:03] Production.INFO: 117
[2025-01-12 02:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:54:04] Production.ERROR: done
[2025-01-12 02:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:54:04] Production.INFO: ==23450== Releasing lock...
[2025-01-12 02:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:54:04] Production.INFO: count ==21
[2025-01-12 02:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:54:04] Production.INFO: count ==21
[2025-01-12 02:54:04] Production.INFO: Total Charge 0
[2025-01-12 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228669') start
[2025-01-12 02:54:04] Production.INFO: CreateAllLog End
[2025-01-12 02:54:04] Production.ERROR: done
[2025-01-12 02:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228669') end
[2025-01-12 02:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:54:04] Production.INFO: 1
[2025-01-12 02:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:54:04] Production.INFO: Account Balance End.
[2025-01-12 02:54:04] Production.INFO: ==23458== Releasing lock...
[2025-01-12 02:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:54:04] Production.INFO: ==23454== Releasing lock...
[2025-01-12 02:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:54:05
[end_date_ymd] => 2025-01-12 02:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:54:05' and `end` < '2025-01-12 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-01-12 02:54:11] Production.ERROR: CronJobId end10
[2025-01-12 02:54:11] Production.INFO: ==23452== Releasing lock...
[2025-01-12 02:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:54:13] Production.INFO: call_cost start
[2025-01-12 02:54:13] Production.INFO: call_cost end
[2025-01-12 02:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:54:13] Production.INFO: ==23448== Releasing lock...
[2025-01-12 02:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:54:19] Production.INFO: count ==668
[2025-01-12 02:54:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:54:05 - End Time 2025-01-12 02:54:05
[2025-01-12 02:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228670', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228670', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228670', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228670', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:54:19] Production.INFO: ProcessCDR(1,14228670,1,1,2)
[2025-01-12 02:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228670', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228670', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:54:23] Production.INFO: ==23456== Releasing lock...
[2025-01-12 02:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:54:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 07:55:02] Production.INFO: ==23512== Lock acquired, processing the job...
[2025-01-12 07:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:55:02] Production.INFO: neon service started
[2025-01-12 07:55:02] Production.INFO: neon service started
[2025-01-12 07:55:02] Production.INFO: ==23512== Releasing lock...
[2025-01-12 07:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:55:02] Production.INFO: ==23514== Lock acquired, processing the job...
[2025-01-12 02:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:55:03] Production.INFO: ==23514== Releasing lock...
[2025-01-12 02:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:55:03] Production.INFO: ==23516== Lock acquired, processing the job...
[2025-01-12 07:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:55:03] Production.INFO: ==23516== Releasing lock...
[2025-01-12 07:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:55:03] Production.INFO: ==23522== Lock acquired, processing the job...
[2025-01-12 02:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:55:04] Production.INFO: ==23530== Lock acquired, processing the job...
[2025-01-12 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:55:04] Production.INFO: ==23522== Releasing lock...
[2025-01-12 02:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 02:55:04] Production.INFO: ==23520== Lock acquired, processing the job...
[2025-01-12 02:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:55:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:55:04] Production.INFO: count ==21
[2025-01-12 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228672') start
[2025-01-12 02:55:04] Production.INFO: ==23524== Lock acquired, processing the job...
[2025-01-12 02:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228672') end
[2025-01-12 02:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:55:04] Production.INFO: 1
[2025-01-12 02:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:55:04] Production.INFO: ==23528== Lock acquired, processing the job...
[2025-01-12 02:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:55:04] Production.INFO: ==23526== Lock acquired, processing the job...
[2025-01-12 02:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:55:04] Production.INFO: ==23530== Releasing lock...
[2025-01-12 02:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:55:04] Production.INFO: Account Balance Start.
[2025-01-12 02:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 02:55:04] Production.INFO: 117
[2025-01-12 02:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 02:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:55:04] Production.ERROR: done
[2025-01-12 02:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:55:04] Production.INFO: Total Charge 0
[2025-01-12 02:55:04] Production.INFO: CreateAllLog End
[2025-01-12 02:55:04] Production.ERROR: done
[2025-01-12 02:55:05] Production.INFO: Account Balance End.
[2025-01-12 02:55:05] Production.ERROR: CronJobId end 12
[2025-01-12 02:55:05] Production.INFO: ==23526== Releasing lock...
[2025-01-12 02:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:55:05
[end_date_ymd] => 2025-01-12 02:55:05
[RateCDR] => 1
)
[2025-01-12 02:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:55:05' and `end` < '2025-01-12 02:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:55:12] Production.ERROR: CronJobId end10
[2025-01-12 02:55:12] Production.INFO: ==23524== Releasing lock...
[2025-01-12 02:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:55:14] Production.INFO: call_cost start
[2025-01-12 02:55:14] Production.INFO: call_cost end
[2025-01-12 02:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:55:15] Production.INFO: ==23520== Releasing lock...
[2025-01-12 02:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:55:19] Production.INFO: count ==658
[2025-01-12 02:55:19] Production.ERROR: pbx CDR StartTime 2025-01-11 23:55:05 - End Time 2025-01-12 02:55:05
[2025-01-12 02:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228675', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228675', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228675', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228675', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:55:19] Production.INFO: ProcessCDR(1,14228675,1,1,2)
[2025-01-12 02:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228675', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228675', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:55:22] Production.INFO: ==23528== Releasing lock...
[2025-01-12 02:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:55:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:56:01] Production.INFO: ==23584== Lock acquired, processing the job...
[2025-01-12 07:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:56:01] Production.INFO: neon service started
[2025-01-12 07:56:01] Production.INFO: neon service started
[2025-01-12 07:56:01] Production.INFO: ==23584== Releasing lock...
[2025-01-12 07:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:56:02] Production.INFO: ==23588== Lock acquired, processing the job...
[2025-01-12 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:56:02] Production.INFO: ==23588== Releasing lock...
[2025-01-12 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:56:02] Production.INFO: ==23586== Lock acquired, processing the job...
[2025-01-12 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:56:02] Production.INFO: ==23586== Releasing lock...
[2025-01-12 02:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:56:03] Production.INFO: ==23593== Lock acquired, processing the job...
[2025-01-12 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:56:03] Production.INFO: ==23591== Lock acquired, processing the job...
[2025-01-12 02:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:56:03] Production.INFO: ==23601== Lock acquired, processing the job...
[2025-01-12 02:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02: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-01-12 02:56:03] Production.INFO: ==23595== Lock acquired, processing the job...
[2025-01-12 02:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:56:03] Production.INFO: count ==21
[2025-01-12 02: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-01-12 02:56:03] Production.INFO: count ==21
[2025-01-12 02:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228677') start
[2025-01-12 02:56:03] Production.INFO: ==23597== Lock acquired, processing the job...
[2025-01-12 02:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:56:03] Production.INFO: ==23593== Releasing lock...
[2025-01-12 02:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:56:03] Production.INFO: ==23599== Lock acquired, processing the job...
[2025-01-12 02:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:56:03] Production.INFO: Account Balance Start.
[2025-01-12 02:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:56:03] Production.INFO: 117
[2025-01-12 02:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228677') end
[2025-01-12 02:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:56:03] Production.INFO: 1
[2025-01-12 02:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:56:04] Production.INFO: Date 2025-01-09
[2025-01-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:56:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:56:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:56:04] Production.INFO: ==23601== Releasing lock...
[2025-01-12 02:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:56:04] Production.INFO: Total Charge 0
[2025-01-12 02:56:04] Production.INFO: CreateAllLog End
[2025-01-12 02:56:04] Production.ERROR: done
[2025-01-12 02:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:56:04] Production.ERROR: done
[2025-01-12 02:56:04] Production.INFO: Account Balance End.
[2025-01-12 02:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:56:04] Production.INFO: ==23597== Releasing lock...
[2025-01-12 02:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:56:05
[end_date_ymd] => 2025-01-12 02:56:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:56:05' and `end` < '2025-01-12 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-01-12 02:56:11] Production.ERROR: CronJobId end10
[2025-01-12 02:56:11] Production.INFO: ==23595== Releasing lock...
[2025-01-12 02:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:56:13] Production.INFO: call_cost start
[2025-01-12 02:56:13] Production.INFO: call_cost end
[2025-01-12 02:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:56:14] Production.INFO: ==23591== Releasing lock...
[2025-01-12 02:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:56:18] Production.INFO: count ==647
[2025-01-12 02:56:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:56:05 - End Time 2025-01-12 02:56:05
[2025-01-12 02:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228680', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228680', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228680', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228680', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:56:18] Production.INFO: ProcessCDR(1,14228680,1,1,2)
[2025-01-12 02:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228680', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228680', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:56:22] Production.INFO: ==23599== Releasing lock...
[2025-01-12 02:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:56:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:57:02] Production.INFO: ==23657== Lock acquired, processing the job...
[2025-01-12 07:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:57:02] Production.INFO: neon service started
[2025-01-12 07:57:02] Production.INFO: neon service started
[2025-01-12 07:57:02] Production.INFO: ==23657== Releasing lock...
[2025-01-12 07:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:57:02] Production.INFO: ==23659== Lock acquired, processing the job...
[2025-01-12 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 02:57:02] Production.INFO: ==23659== Releasing lock...
[2025-01-12 02:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:57:03] Production.INFO: ==23661== Lock acquired, processing the job...
[2025-01-12 07:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:57:03] Production.INFO: ==23661== Releasing lock...
[2025-01-12 07:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:57:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:57:03] Production.INFO: ==23669== Lock acquired, processing the job...
[2025-01-12 02:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:57:03] Production.INFO: ==23673== Lock acquired, processing the job...
[2025-01-12 02:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:57:03] Production.INFO: Account Balance Start.
[2025-01-12 02:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:57:03] Production.INFO: 117
[2025-01-12 02:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:57:03] Production.INFO: count ==21
[2025-01-12 02:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 02:57:03] Production.INFO: count ==21
[2025-01-12 02:57:03] Production.INFO: ==23663== Lock acquired, processing the job...
[2025-01-12 02:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228682') start
[2025-01-12 02:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:57:04] Production.INFO: ==23665== Lock acquired, processing the job...
[2025-01-12 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:57:04] Production.INFO: ==23667== Lock acquired, processing the job...
[2025-01-12 02:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228682') end
[2025-01-12 02:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:57:04] Production.INFO: 1
[2025-01-12 02:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:57:04] Production.INFO: Total Charge 0
[2025-01-12 02:57:04] Production.INFO: ==23671== Lock acquired, processing the job...
[2025-01-12 02:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:57:04] Production.INFO: CreateAllLog End
[2025-01-12 02:57:04] Production.INFO: ==23673== Releasing lock...
[2025-01-12 02:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:57:04] Production.INFO: Account Balance End.
[2025-01-12 02:57:04] Production.INFO: ==23665== Releasing lock...
[2025-01-12 02:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:57:04] Production.INFO: ==23669== Releasing lock...
[2025-01-12 02:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:57:04] Production.ERROR: done
[2025-01-12 02:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:57:04] Production.ERROR: done
[2025-01-12 02:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:57:05
[end_date_ymd] => 2025-01-12 02:57:05
[RateCDR] => 1
)
[2025-01-12 02:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-11 23:57:05' and `end` < '2025-01-12 02:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 02:57:11] Production.ERROR: CronJobId end10
[2025-01-12 02:57:11] Production.INFO: ==23667== Releasing lock...
[2025-01-12 02:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:57:13] Production.INFO: call_cost start
[2025-01-12 02:57:13] Production.INFO: call_cost end
[2025-01-12 02:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:57:14] Production.INFO: ==23663== Releasing lock...
[2025-01-12 02:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:57:20] Production.INFO: count ==647
[2025-01-12 02:57:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:57:05 - End Time 2025-01-12 02:57:05
[2025-01-12 02:57:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228685', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228685', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228685', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:57:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228685', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:57:20] Production.INFO: ProcessCDR(1,14228685,1,1,2)
[2025-01-12 02:57:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228685,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228685,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228685', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228685', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:57:23] Production.INFO: ==23671== Releasing lock...
[2025-01-12 02:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:57:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:58:01] Production.INFO: ==23742== Lock acquired, processing the job...
[2025-01-12 07:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:58:01] Production.INFO: neon service started
[2025-01-12 07:58:01] Production.INFO: neon service started
[2025-01-12 07:58:01] Production.INFO: ==23742== Releasing lock...
[2025-01-12 07:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:58:02] Production.INFO: ==23744== Lock acquired, processing the job...
[2025-01-12 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:58:02] Production.INFO: ==23746== Lock acquired, processing the job...
[2025-01-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:58:02] Production.INFO: ==23746== Releasing lock...
[2025-01-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:58:02] Production.INFO: ==23744== Releasing lock...
[2025-01-12 02:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 02:58:03] Production.INFO: ==23748== Lock acquired, processing the job...
[2025-01-12 02:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:58:03] Production.INFO: ==23750== Lock acquired, processing the job...
[2025-01-12 02:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:58:03] Production.INFO: ==23754== Lock acquired, processing the job...
[2025-01-12 02:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:58:03] Production.INFO: ==23752== Lock acquired, processing the job...
[2025-01-12 02:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:58:03] Production.INFO: Account Balance Start.
[2025-01-12 02:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:58:03] Production.INFO: 117
[2025-01-12 02:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:58:03] Production.INFO: ==23756== Lock acquired, processing the job...
[2025-01-12 02:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 02:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 02:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:58:03] Production.INFO: Total Charge 0
[2025-01-12 02:58:03] Production.INFO: ==23759== Lock acquired, processing the job...
[2025-01-12 02:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:58:03] Production.INFO: CreateAllLog End
[2025-01-12 02:58:04] Production.INFO: ==23750== Releasing lock...
[2025-01-12 02:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:58:04] Production.INFO: Account Balance End.
[2025-01-12 02: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-01-12 02:58:04] Production.INFO: count ==21
[2025-01-12 02:58:04] Production.ERROR: done
[2025-01-12 02:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:58:04] Production.INFO: ==23754== Releasing lock...
[2025-01-12 02:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02: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-01-12 02:58:04] Production.INFO: count ==21
[2025-01-12 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228689') start
[2025-01-12 02:58:04] Production.ERROR: done
[2025-01-12 02:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228689') end
[2025-01-12 02:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:58:04] Production.INFO: 1
[2025-01-12 02:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:58:04] Production.INFO: ==23759== Releasing lock...
[2025-01-12 02:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:58:05
[end_date_ymd] => 2025-01-12 02:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:58:05' and `end` < '2025-01-12 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-01-12 02:58:10] Production.ERROR: CronJobId end10
[2025-01-12 02:58:10] Production.INFO: ==23752== Releasing lock...
[2025-01-12 02:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:58:13] Production.INFO: call_cost start
[2025-01-12 02:58:13] Production.INFO: call_cost end
[2025-01-12 02:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:58:14] Production.INFO: ==23748== Releasing lock...
[2025-01-12 02:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:58:19] Production.INFO: count ==647
[2025-01-12 02:58:20] Production.ERROR: pbx CDR StartTime 2025-01-11 23:58:05 - End Time 2025-01-12 02:58:05
[2025-01-12 02:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228690', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228690', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228690', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228690', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:58:20] Production.INFO: ProcessCDR(1,14228690,1,1,2)
[2025-01-12 02:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228690,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228690,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228690', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228690', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:58:23] Production.INFO: ==23756== Releasing lock...
[2025-01-12 02:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:58:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 07:59:02] Production.INFO: ==23819== Lock acquired, processing the job...
[2025-01-12 07:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 07:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 07:59:02] Production.INFO: neon service started
[2025-01-12 07:59:02] Production.INFO: neon service started
[2025-01-12 07:59:02] Production.INFO: ==23819== Releasing lock...
[2025-01-12 07:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 07:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 02:59:02] Production.INFO: ==23821== Lock acquired, processing the job...
[2025-01-12 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:59:02] Production.INFO: ==23823== Lock acquired, processing the job...
[2025-01-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 02:59:02] Production.INFO: ==23821== Releasing lock...
[2025-01-12 02:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 02:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:59:02] Production.INFO: ==23823== Releasing lock...
[2025-01-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 07:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 02:59:03] Production.INFO: ==23826== Lock acquired, processing the job...
[2025-01-12 02:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 02:59:03] Production.INFO: ==23828== Lock acquired, processing the job...
[2025-01-12 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 02:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 02:59:03] Production.INFO: ==23830== Lock acquired, processing the job...
[2025-01-12 02:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 02:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 02:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 02:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 02:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 02:59:03] Production.INFO: ==23832== Lock acquired, processing the job...
[2025-01-12 02:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 02:59:03] Production.INFO: ==23828== Releasing lock...
[2025-01-12 02:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 02:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 02:59:03] Production.INFO: ==23836== Lock acquired, processing the job...
[2025-01-12 02:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 02:59:03] Production.INFO: Account Balance Start.
[2025-01-12 02:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 02:59:03] Production.INFO: 117
[2025-01-12 02:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 02:59:03] Production.INFO: ==23834== Lock acquired, processing the job...
[2025-01-12 02:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 02:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 02:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 02:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 02:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 02:59:04] Production.INFO: count ==21
[2025-01-12 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-01-12 02:59:04] Production.INFO: count ==21
[2025-01-12 02:59:04] Production.INFO: Total Charge 0
[2025-01-12 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228694') start
[2025-01-12 02:59:04] Production.INFO: CreateAllLog End
[2025-01-12 02:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228694') end
[2025-01-12 02:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 02:59:04] Production.INFO: 1
[2025-01-12 02:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 02:59:04] Production.ERROR: done
[2025-01-12 02:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 02:59:04] Production.INFO: ==23836== Releasing lock...
[2025-01-12 02:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 02:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 02:59:04] Production.ERROR: done
[2025-01-12 02:59:04] Production.INFO: Account Balance End.
[2025-01-12 02:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 02:59:04] Production.INFO: ==23832== Releasing lock...
[2025-01-12 02:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 02:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 02:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-11 23:59:05
[end_date_ymd] => 2025-01-12 02:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-11 23:59:05' and `end` < '2025-01-12 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-01-12 02:59:12] Production.ERROR: CronJobId end10
[2025-01-12 02:59:12] Production.INFO: ==23830== Releasing lock...
[2025-01-12 02:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 02:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 02:59:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 02:59:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 02:59:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 02:59:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 02:59:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 02:59:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 02:59:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 02:59:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 02:59:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 02:59:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 02:59:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 02:59:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 02:59:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 02:59:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 02:59:14] Production.INFO: call_cost start
[2025-01-12 02:59:14] Production.INFO: call_cost end
[2025-01-12 02:59:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 02:59:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 02:59:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 02:59:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 02:59:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 02:59:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 02:59:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 02:59:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 02:59:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 02:59:15] Production.INFO: ==23826== Releasing lock...
[2025-01-12 02:59:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 02:59:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 02:59:18] Production.INFO: count ==646
[2025-01-12 02:59:18] Production.ERROR: pbx CDR StartTime 2025-01-11 23:59:05 - End Time 2025-01-12 02:59:05
[2025-01-12 02:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228695', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228695', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228695', 'tblTempVendorCDR_20' ) start
[2025-01-12 02:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228695', 'tblTempVendorCDR_20' ) end
[2025-01-12 02:59:18] Production.INFO: ProcessCDR(1,14228695,1,1,2)
[2025-01-12 02:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228695,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 02:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228695,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 02:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228695', 'tblTempUsageDetail_20' ) start
[2025-01-12 02:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228695', 'tblTempUsageDetail_20' ) end
[2025-01-12 02:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 02:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 02:59:21] Production.INFO: ==23834== Releasing lock...
[2025-01-12 02:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 02:59:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 08:00:01] Production.INFO: ==23894== Lock acquired, processing the job...
[2025-01-12 08:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:00:01] Production.INFO: neon service started
[2025-01-12 08:00:01] Production.INFO: neon service started
[2025-01-12 08:00:01] Production.INFO: ==23894== Releasing lock...
[2025-01-12 08:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:00:01] Production.INFO: ==23898== Lock acquired, processing the job...
[2025-01-12 08:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:00:01] Production.INFO: ==23898== Releasing lock...
[2025-01-12 08:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:00:02] Production.INFO: ==23896== Lock acquired, processing the job...
[2025-01-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:00:02] Production.INFO: ==23896== Releasing lock...
[2025-01-12 03:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:00:03] Production.INFO: ==23903== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 03:00:03] Production.INFO: ==23905== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 03:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:00:03] Production.ERROR: CronJob PID - 23905
[2025-01-12 03:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 03:00:03] Production.ERROR: CronJob ID - 5
[2025-01-12 03:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 03:00:00
[2025-01-12 03:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 03:00:03] Production.INFO: ==23903== Releasing lock...
[2025-01-12 03:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 03:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:00:03] Production.INFO: ==23911== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:00:03] Production.INFO: Account Balance Start.
[2025-01-12 03:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:00:03] Production.INFO: 117
[2025-01-12 03:00:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:00:03] Production.INFO: ==23917== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:00:03] Production.INFO: ==23907== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:00:03] Production.INFO: ==23909== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:00:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:00:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:00:03] Production.INFO: ==23915== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 03:00:03] Production.INFO: ==23913== Lock acquired, processing the job...
[2025-01-12 03:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03: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-01-12 03:00:03] Production.INFO: count ==21
[2025-01-12 03:00:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 03: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-01-12 03:00:03] Production.INFO: count ==21
[2025-01-12 03:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228698') start
[2025-01-12 03:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:00:04] Production.INFO: Total Charge 0
[2025-01-12 03:00:04] Production.INFO: CreateAllLog End
[2025-01-12 03:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228698') end
[2025-01-12 03:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:00:04] Production.INFO: 1
[2025-01-12 03:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:00:04] Production.INFO: ==23907== Releasing lock...
[2025-01-12 03:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:00:04] Production.INFO: ==23917== Releasing lock...
[2025-01-12 03:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:00:04] Production.ERROR: done
[2025-01-12 03:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 03:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228700', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 03:00:04] Production.INFO: Account Balance End.
[2025-01-12 03:00:04] Production.ERROR: done
[2025-01-12 03:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:00:04] Production.INFO: ==23911== Releasing lock...
[2025-01-12 03:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:00:04] Production.ERROR: done
[2025-01-12 03:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:00:05
[end_date_ymd] => 2025-01-12 03:00:05
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:00:05' and `end` < '2025-01-12 03: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-01-12 03:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228700', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 03:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 03:00:08] Production.INFO: ProcessCDR(1,14228700,1,1,2)
[2025-01-12 03:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228700,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:00:08] Production.INFO: ==23915== Releasing lock...
[2025-01-12 03:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 03:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 03:00:12] Production.ERROR: CronJobId end10
[2025-01-12 03:00:12] Production.INFO: ==23909== Releasing lock...
[2025-01-12 03:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:00:15] Production.INFO: call_cost start
[2025-01-12 03:00:15] Production.INFO: call_cost end
[2025-01-12 03:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:00:16] Production.INFO: ==23905== Releasing lock...
[2025-01-12 03:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:00:20] Production.INFO: count ==652
[2025-01-12 03:00:20] Production.ERROR: pbx CDR StartTime 2025-01-12 00:00:05 - End Time 2025-01-12 03:00:05
[2025-01-12 03:00:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228701', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228701', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228701', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:00:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228701', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:00:20] Production.INFO: ProcessCDR(1,14228701,1,1,2)
[2025-01-12 03:00:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228701', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228701', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:00:23] Production.INFO: ==23913== Releasing lock...
[2025-01-12 03:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:00:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 08:01:02] Production.INFO: ==23977== Lock acquired, processing the job...
[2025-01-12 08:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:01:02] Production.INFO: neon service started
[2025-01-12 08:01:02] Production.INFO: neon service started
[2025-01-12 08:01:02] Production.INFO: ==23977== Releasing lock...
[2025-01-12 08:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:01:02] Production.INFO: ==23990== Lock acquired, processing the job...
[2025-01-12 03:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:01:02] Production.INFO: ==23992== Lock acquired, processing the job...
[2025-01-12 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:01:02] Production.INFO: ==23992== Releasing lock...
[2025-01-12 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:01:03] Production.INFO: ==23990== Releasing lock...
[2025-01-12 03:01:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:01:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:01:03] Production.INFO: ==23995== Lock acquired, processing the job...
[2025-01-12 03:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:01:03] Production.INFO: ==24003== Lock acquired, processing the job...
[2025-01-12 03:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:01:04] Production.INFO: ==23997== Lock acquired, processing the job...
[2025-01-12 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:01:04] Production.INFO: ==23999== Lock acquired, processing the job...
[2025-01-12 03:01:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:01:04] Production.INFO: ==24001== Lock acquired, processing the job...
[2025-01-12 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:01:04] Production.INFO: ==24005== Lock acquired, processing the job...
[2025-01-12 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:01:04] Production.INFO: Account Balance Start.
[2025-01-12 03:01:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:01:04] Production.INFO: 117
[2025-01-12 03:01:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:01:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:01:04] Production.ERROR: done
[2025-01-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 03:01:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:01:04] Production.INFO: count ==21
[2025-01-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:01:04] Production.ERROR: done
[2025-01-12 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228705') start
[2025-01-12 03:01:04] Production.INFO: ==23997== Releasing lock...
[2025-01-12 03:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:01:04] Production.INFO: Total Charge 0
[2025-01-12 03:01:04] Production.INFO: CreateAllLog End
[2025-01-12 03:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228705') end
[2025-01-12 03:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:01:04] Production.INFO: 1
[2025-01-12 03:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:01:04] Production.INFO: Account Balance End.
[2025-01-12 03:01:04] Production.INFO: ==24005== Releasing lock...
[2025-01-12 03:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:01:04] Production.INFO: ==24001== Releasing lock...
[2025-01-12 03:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:01:05
[end_date_ymd] => 2025-01-12 03:01:05
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:01:05' and `end` < '2025-01-12 03: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-01-12 03:01:13] Production.ERROR: CronJobId end10
[2025-01-12 03:01:13] Production.INFO: ==23999== Releasing lock...
[2025-01-12 03:01:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:01:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:01:14] Production.INFO: call_cost start
[2025-01-12 03:01:14] Production.INFO: call_cost end
[2025-01-12 03:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:01:15] Production.INFO: ==23995== Releasing lock...
[2025-01-12 03:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:01:19] Production.INFO: count ==660
[2025-01-12 03:01:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:01:05 - End Time 2025-01-12 03:01:05
[2025-01-12 03:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228706', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228706', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228706', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228706', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:01:19] Production.INFO: ProcessCDR(1,14228706,1,1,2)
[2025-01-12 03:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228706', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228706', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:01:22] Production.INFO: ==24003== Releasing lock...
[2025-01-12 03:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:01:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:02:01] Production.INFO: ==24147== Lock acquired, processing the job...
[2025-01-12 08:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:02:01] Production.INFO: neon service started
[2025-01-12 08:02:01] Production.INFO: neon service started
[2025-01-12 08:02:01] Production.INFO: ==24147== Releasing lock...
[2025-01-12 08:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:02:01] Production.INFO: ==24149== Lock acquired, processing the job...
[2025-01-12 03:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:02:02] Production.INFO: ==24149== Releasing lock...
[2025-01-12 03:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:02:02] Production.INFO: ==24151== Lock acquired, processing the job...
[2025-01-12 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:02:02] Production.INFO: ==24151== Releasing lock...
[2025-01-12 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:02:03] Production.INFO: ==24153== Lock acquired, processing the job...
[2025-01-12 03:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:02:03] Production.INFO: ==24157== Lock acquired, processing the job...
[2025-01-12 03:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:02:03] Production.INFO: ==24155== Lock acquired, processing the job...
[2025-01-12 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:02:03] Production.INFO: ==24163== Lock acquired, processing the job...
[2025-01-12 03:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:02:03] Production.INFO: ==24159== Lock acquired, processing the job...
[2025-01-12 03:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:02:03] Production.INFO: ==24161== Lock acquired, processing the job...
[2025-01-12 03:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03: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-01-12 03:02:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:02:03] Production.INFO: count ==21
[2025-01-12 03:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228708') start
[2025-01-12 03:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:02:03] Production.INFO: Account Balance Start.
[2025-01-12 03:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:02:03] Production.INFO: 117
[2025-01-12 03:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228708') end
[2025-01-12 03:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:02:03] Production.INFO: 1
[2025-01-12 03:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:02:03] Production.INFO: ==24163== Releasing lock...
[2025-01-12 03:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:02:03] Production.INFO: ==24155== Releasing lock...
[2025-01-12 03:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:02:04] Production.ERROR: done
[2025-01-12 03:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:02:04] Production.INFO: Total Charge 0
[2025-01-12 03:02:04] Production.INFO: CreateAllLog End
[2025-01-12 03:02:04] Production.ERROR: done
[2025-01-12 03:02:04] Production.INFO: Account Balance End.
[2025-01-12 03:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:02:04] Production.INFO: ==24159== Releasing lock...
[2025-01-12 03:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:02:05
[end_date_ymd] => 2025-01-12 03:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:02:05' and `end` < '2025-01-12 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-01-12 03:02:11] Production.ERROR: CronJobId end10
[2025-01-12 03:02:11] Production.INFO: ==24157== Releasing lock...
[2025-01-12 03:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:02:13] Production.INFO: call_cost start
[2025-01-12 03:02:13] Production.INFO: call_cost end
[2025-01-12 03:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:02:14] Production.INFO: ==24153== Releasing lock...
[2025-01-12 03:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:02:18] Production.INFO: count ==660
[2025-01-12 03:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:02:05 - End Time 2025-01-12 03:02:05
[2025-01-12 03:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228711', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228711', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228711', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228711', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:02:18] Production.INFO: ProcessCDR(1,14228711,1,1,2)
[2025-01-12 03:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228711', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228711', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:02:21] Production.INFO: ==24161== Releasing lock...
[2025-01-12 03:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:02:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:03:02] Production.INFO: ==24247== Lock acquired, processing the job...
[2025-01-12 08:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:03:02] Production.INFO: neon service started
[2025-01-12 08:03:02] Production.INFO: neon service started
[2025-01-12 08:03:02] Production.INFO: ==24247== Releasing lock...
[2025-01-12 08:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:03:02] Production.INFO: ==24251== Lock acquired, processing the job...
[2025-01-12 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:03:02] Production.INFO: ==24251== Releasing lock...
[2025-01-12 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:03:02] Production.INFO: ==24249== Lock acquired, processing the job...
[2025-01-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:03:02] Production.INFO: ==24249== Releasing lock...
[2025-01-12 03:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:03:03] Production.INFO: ==24254== Lock acquired, processing the job...
[2025-01-12 03:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:03:03] Production.INFO: ==24256== Lock acquired, processing the job...
[2025-01-12 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:03:03] Production.INFO: ==24260== Lock acquired, processing the job...
[2025-01-12 03:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:03:03] Production.INFO: Account Balance Start.
[2025-01-12 03:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:03:03] Production.INFO: 117
[2025-01-12 03:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:03:03] Production.INFO: ==24258== Lock acquired, processing the job...
[2025-01-12 03:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:03:03] Production.INFO: ==24256== Releasing lock...
[2025-01-12 03:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:03:04] Production.INFO: Total Charge 0
[2025-01-12 03:03:04] Production.INFO: ==24262== Lock acquired, processing the job...
[2025-01-12 03:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:03:04] Production.INFO: ==24264== Lock acquired, processing the job...
[2025-01-12 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:03:04] Production.INFO: CreateAllLog End
[2025-01-12 03:03:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 03:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:03:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:03:04] Production.INFO: count ==21
[2025-01-12 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228715') start
[2025-01-12 03:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:03:04] Production.INFO: ==24260== Releasing lock...
[2025-01-12 03:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228715') end
[2025-01-12 03:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:03:04] Production.INFO: 1
[2025-01-12 03:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:03:04] Production.INFO: ==24264== Releasing lock...
[2025-01-12 03:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:03:04] Production.ERROR: done
[2025-01-12 03:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:03:04] Production.ERROR: done
[2025-01-12 03:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:03:05
[end_date_ymd] => 2025-01-12 03:03:05
[RateCDR] => 1
)
[2025-01-12 03:03:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:03:05' and `end` < '2025-01-12 03:03:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:03:11] Production.ERROR: CronJobId end10
[2025-01-12 03:03:11] Production.INFO: ==24258== Releasing lock...
[2025-01-12 03:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:03:13] Production.INFO: call_cost start
[2025-01-12 03:03:13] Production.INFO: call_cost end
[2025-01-12 03:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:03:14] Production.INFO: ==24254== Releasing lock...
[2025-01-12 03:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:03:19] Production.INFO: count ==657
[2025-01-12 03:03:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:03:05 - End Time 2025-01-12 03:03:05
[2025-01-12 03:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228716', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228716', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228716', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228716', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:03:19] Production.INFO: ProcessCDR(1,14228716,1,1,2)
[2025-01-12 03:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228716', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228716', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:03:22] Production.INFO: ==24262== Releasing lock...
[2025-01-12 03:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:03:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:04:01] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-12 08:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:04:01] Production.INFO: neon service started
[2025-01-12 08:04:01] Production.INFO: neon service started
[2025-01-12 08:04:01] Production.INFO: ==24383== Releasing lock...
[2025-01-12 08:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:04:01] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-12 03:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:04:02] Production.INFO: ==24385== Releasing lock...
[2025-01-12 03:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:04:02] Production.INFO: ==24387== Lock acquired, processing the job...
[2025-01-12 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:04:02] Production.INFO: ==24387== Releasing lock...
[2025-01-12 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:04:03] Production.INFO: ==24392== Lock acquired, processing the job...
[2025-01-12 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:04:03] Production.INFO: ==24400== Lock acquired, processing the job...
[2025-01-12 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:04:03] Production.INFO: ==24390== Lock acquired, processing the job...
[2025-01-12 03:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 03:04:03] Production.INFO: ==24394== Lock acquired, processing the job...
[2025-01-12 03:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:04:03] Production.INFO: count ==21
[2025-01-12 03:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03: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-01-12 03:04:03] Production.INFO: ==24396== Lock acquired, processing the job...
[2025-01-12 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:04:03] Production.INFO: count ==21
[2025-01-12 03:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228718') start
[2025-01-12 03:04:03] Production.INFO: ==24398== Lock acquired, processing the job...
[2025-01-12 03:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:04:03] Production.INFO: Account Balance Start.
[2025-01-12 03:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:04:03] Production.INFO: 117
[2025-01-12 03:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228718') end
[2025-01-12 03:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:04:03] Production.INFO: 1
[2025-01-12 03:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:04:03] Production.INFO: ==24400== Releasing lock...
[2025-01-12 03:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:04:03] Production.INFO: ==24392== Releasing lock...
[2025-01-12 03:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:04:03] Production.INFO: Total Charge 0
[2025-01-12 03:04:03] Production.INFO: CreateAllLog End
[2025-01-12 03:04:03] Production.ERROR: done
[2025-01-12 03:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:04:03] Production.INFO: Account Balance End.
[2025-01-12 03:04:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:04:03] Production.INFO: ==24396== Releasing lock...
[2025-01-12 03:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:04:03] Production.ERROR: done
[2025-01-12 03:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:04:04
[end_date_ymd] => 2025-01-12 03:04:04
[RateCDR] => 1
)
[2025-01-12 03:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:04:04' and `end` < '2025-01-12 03:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:04:10] Production.ERROR: CronJobId end10
[2025-01-12 03:04:10] Production.INFO: ==24394== Releasing lock...
[2025-01-12 03:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:04:12] Production.INFO: call_cost start
[2025-01-12 03:04:12] Production.INFO: call_cost end
[2025-01-12 03:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:04:13] Production.INFO: ==24390== Releasing lock...
[2025-01-12 03:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:04:17] Production.INFO: count ==657
[2025-01-12 03:04:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:04:04 - End Time 2025-01-12 03:04:04
[2025-01-12 03:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228721', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228721', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228721', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228721', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:04:18] Production.INFO: ProcessCDR(1,14228721,1,1,2)
[2025-01-12 03:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:04:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:04:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228721', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228721', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:04:21] Production.INFO: ==24398== Releasing lock...
[2025-01-12 03:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:04:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:05:01] Production.INFO: ==24482== Lock acquired, processing the job...
[2025-01-12 08:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:05:01] Production.INFO: neon service started
[2025-01-12 08:05:01] Production.INFO: neon service started
[2025-01-12 08:05:01] Production.INFO: ==24482== Releasing lock...
[2025-01-12 08:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:05:02] Production.INFO: ==24484== Lock acquired, processing the job...
[2025-01-12 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:05:02] Production.INFO: ==24484== Releasing lock...
[2025-01-12 03:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:05:02] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-01-12 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:05:02] Production.INFO: ==24486== Releasing lock...
[2025-01-12 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:05:03] Production.INFO: ==24498== Lock acquired, processing the job...
[2025-01-12 03:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:05:03] Production.INFO: ==24489== Lock acquired, processing the job...
[2025-01-12 03:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:05:03] Production.INFO: ==24500== Lock acquired, processing the job...
[2025-01-12 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:05:03] Production.INFO: ==24491== Lock acquired, processing the job...
[2025-01-12 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:05:03] Production.INFO: ==24496== Lock acquired, processing the job...
[2025-01-12 03:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:05:03] Production.INFO: ==24493== Lock acquired, processing the job...
[2025-01-12 03:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03: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-01-12 03:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:05:03] Production.INFO: Account Balance Start.
[2025-01-12 03:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:05:03] Production.INFO: 117
[2025-01-12 03:05:03] Production.INFO: count ==21
[2025-01-12 03:05:03] Production.ERROR: done
[2025-01-12 03: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-01-12 03:05:03] Production.INFO: count ==21
[2025-01-12 03:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228724') start
[2025-01-12 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:05:03] Production.INFO: ==24491== Releasing lock...
[2025-01-12 03:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228724') end
[2025-01-12 03:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:05:03] Production.INFO: 1
[2025-01-12 03:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:05:03] Production.ERROR: done
[2025-01-12 03:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:05:03] Production.INFO: ==24500== Releasing lock...
[2025-01-12 03:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:05:04] Production.INFO: Total Charge 0
[2025-01-12 03:05:04] Production.INFO: CreateAllLog End
[2025-01-12 03:05:04] Production.INFO: Account Balance End.
[2025-01-12 03:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:05:04] Production.INFO: ==24496== Releasing lock...
[2025-01-12 03:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:05:04
[end_date_ymd] => 2025-01-12 03:05:04
[RateCDR] => 1
)
[2025-01-12 03:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:05:04' and `end` < '2025-01-12 03:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:05:11] Production.ERROR: CronJobId end10
[2025-01-12 03:05:11] Production.INFO: ==24493== Releasing lock...
[2025-01-12 03:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:05:12] Production.INFO: call_cost start
[2025-01-12 03:05:12] Production.INFO: call_cost end
[2025-01-12 03:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:05:13] Production.INFO: ==24489== Releasing lock...
[2025-01-12 03:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:05:18] Production.INFO: count ==657
[2025-01-12 03:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:05:04 - End Time 2025-01-12 03:05:04
[2025-01-12 03:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228726', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228726', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228726', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228726', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:05:18] Production.INFO: ProcessCDR(1,14228726,1,1,2)
[2025-01-12 03:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228726', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228726', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:05:21] Production.INFO: ==24498== Releasing lock...
[2025-01-12 03:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:05:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:06:02] Production.INFO: ==24648== Lock acquired, processing the job...
[2025-01-12 08:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:06:02] Production.INFO: neon service started
[2025-01-12 08:06:02] Production.INFO: neon service started
[2025-01-12 08:06:02] Production.INFO: ==24648== Releasing lock...
[2025-01-12 08:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:06:02] Production.INFO: ==24650== Lock acquired, processing the job...
[2025-01-12 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:06:02] Production.INFO: ==24650== Releasing lock...
[2025-01-12 03:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:06:03] Production.INFO: ==24652== Lock acquired, processing the job...
[2025-01-12 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:06:03] Production.INFO: ==24652== Releasing lock...
[2025-01-12 08:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:06:03] Production.INFO: ==24665== Lock acquired, processing the job...
[2025-01-12 03:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:06:03] Production.INFO: ==24667== Lock acquired, processing the job...
[2025-01-12 03:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:06:03] Production.INFO: ==24657== Lock acquired, processing the job...
[2025-01-12 03:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:06:03] Production.INFO: ==24659== Lock acquired, processing the job...
[2025-01-12 03:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:06:03] Production.INFO: ==24661== Lock acquired, processing the job...
[2025-01-12 03:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:06:04] Production.INFO: ==24663== Lock acquired, processing the job...
[2025-01-12 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 03:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:06:04] Production.INFO: count ==21
[2025-01-12 03:06:04] Production.ERROR: done
[2025-01-12 03:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:06:04] Production.INFO: Account Balance Start.
[2025-01-12 03:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 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-01-12 03:06:04] Production.INFO: 117
[2025-01-12 03:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:06:04] Production.INFO: count ==21
[2025-01-12 03:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228727') start
[2025-01-12 03:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228727') end
[2025-01-12 03:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:06:04] Production.INFO: 1
[2025-01-12 03:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:06:04] Production.ERROR: done
[2025-01-12 03:06:04] Production.INFO: ==24667== Releasing lock...
[2025-01-12 03:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:06:04] Production.INFO: ==24659== Releasing lock...
[2025-01-12 03:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:06:04] Production.INFO: Total Charge 0
[2025-01-12 03:06:04] Production.INFO: CreateAllLog End
[2025-01-12 03:06:04] Production.INFO: Account Balance End.
[2025-01-12 03:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:06:04] Production.INFO: ==24663== Releasing lock...
[2025-01-12 03:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:06:05
[end_date_ymd] => 2025-01-12 03:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:06:05' and `end` < '2025-01-12 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-01-12 03:06:12] Production.ERROR: CronJobId end10
[2025-01-12 03:06:12] Production.INFO: ==24661== Releasing lock...
[2025-01-12 03:06:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:06:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:06:13] Production.INFO: call_cost start
[2025-01-12 03:06:13] Production.INFO: call_cost end
[2025-01-12 03:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:06:14] Production.INFO: ==24657== Releasing lock...
[2025-01-12 03:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:06:20] Production.INFO: count ==657
[2025-01-12 03:06:20] Production.ERROR: pbx CDR StartTime 2025-01-12 00:06:05 - End Time 2025-01-12 03:06:05
[2025-01-12 03:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228731', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228731', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228731', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228731', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:06:20] Production.INFO: ProcessCDR(1,14228731,1,1,2)
[2025-01-12 03:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228731,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228731,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228731', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228731', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:06:23] Production.INFO: ==24665== Releasing lock...
[2025-01-12 03:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:06:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:07:01] Production.INFO: ==24743== Lock acquired, processing the job...
[2025-01-12 08:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:07:01] Production.INFO: neon service started
[2025-01-12 08:07:01] Production.INFO: neon service started
[2025-01-12 08:07:01] Production.INFO: ==24743== Releasing lock...
[2025-01-12 08:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:07:02] Production.INFO: ==24745== Lock acquired, processing the job...
[2025-01-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:07:02] Production.INFO: ==24745== Releasing lock...
[2025-01-12 03:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:07:02] Production.INFO: ==24747== Lock acquired, processing the job...
[2025-01-12 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:07:02] Production.INFO: ==24747== Releasing lock...
[2025-01-12 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:07:03] Production.INFO: ==24749== Lock acquired, processing the job...
[2025-01-12 03:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:07:03] Production.INFO: ==24753== Lock acquired, processing the job...
[2025-01-12 03:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:07:03] Production.INFO: ==24759== Lock acquired, processing the job...
[2025-01-12 03:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03: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-01-12 03:07:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:07:03] Production.INFO: count ==21
[2025-01-12 03:07:03] Production.INFO: ==24751== Lock acquired, processing the job...
[2025-01-12 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228733') start
[2025-01-12 03:07:03] Production.INFO: ==24757== Lock acquired, processing the job...
[2025-01-12 03:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228733') end
[2025-01-12 03:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:07:03] Production.INFO: 1
[2025-01-12 03:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:07:03] Production.INFO: ==24755== Lock acquired, processing the job...
[2025-01-12 03:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:07:03] Production.INFO: Account Balance Start.
[2025-01-12 03:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:07:03] Production.INFO: 117
[2025-01-12 03:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:07:03] Production.INFO: ==24759== Releasing lock...
[2025-01-12 03:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:07:03] Production.INFO: ==24751== Releasing lock...
[2025-01-12 03:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:07:04] Production.ERROR: done
[2025-01-12 03:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:07:04] Production.INFO: Total Charge 0
[2025-01-12 03:07:04] Production.ERROR: done
[2025-01-12 03:07:04] Production.INFO: CreateAllLog End
[2025-01-12 03:07:04] Production.INFO: Account Balance End.
[2025-01-12 03:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:07:04] Production.INFO: ==24755== Releasing lock...
[2025-01-12 03:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:07:04
[end_date_ymd] => 2025-01-12 03:07:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:07:04' and `end` < '2025-01-12 03: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-01-12 03:07:11] Production.ERROR: CronJobId end10
[2025-01-12 03:07:11] Production.INFO: ==24753== Releasing lock...
[2025-01-12 03:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:07:13] Production.INFO: call_cost start
[2025-01-12 03:07:13] Production.INFO: call_cost end
[2025-01-12 03:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:07:14] Production.INFO: ==24749== Releasing lock...
[2025-01-12 03:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:07:21] Production.INFO: count ==654
[2025-01-12 03:07:21] Production.ERROR: pbx CDR StartTime 2025-01-12 00:07:04 - End Time 2025-01-12 03:07:04
[2025-01-12 03:07:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228736', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228736', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228736', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:07:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228736', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:07:21] Production.INFO: ProcessCDR(1,14228736,1,1,2)
[2025-01-12 03:07:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228736,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228736,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228736', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228736', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:07:24] Production.INFO: ==24757== Releasing lock...
[2025-01-12 03:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:07:24] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:08:02] Production.INFO: ==24835== Lock acquired, processing the job...
[2025-01-12 08:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:08:02] Production.INFO: neon service started
[2025-01-12 08:08:02] Production.INFO: neon service started
[2025-01-12 08:08:02] Production.INFO: ==24835== Releasing lock...
[2025-01-12 08:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:08:02] Production.INFO: ==24839== Lock acquired, processing the job...
[2025-01-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:08:02] Production.INFO: ==24839== Releasing lock...
[2025-01-12 03:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:08:02] Production.INFO: ==24841== Lock acquired, processing the job...
[2025-01-12 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:08:02] Production.INFO: ==24841== Releasing lock...
[2025-01-12 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:08:03] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-01-12 03:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:08:03] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-01-12 03:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:08:03] Production.INFO: ==24850== Lock acquired, processing the job...
[2025-01-12 03:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:08:03] Production.INFO: Account Balance Start.
[2025-01-12 03:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:08:03] Production.INFO: 117
[2025-01-12 03:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:08:03] Production.INFO: ==24852== Lock acquired, processing the job...
[2025-01-12 03:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:08:03] Production.INFO: ==24854== Lock acquired, processing the job...
[2025-01-12 03:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:08:03] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-01-12 03:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:08:03] Production.INFO: Total Charge 0
[2025-01-12 03:08:03] Production.INFO: CreateAllLog End
[2025-01-12 03:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:08:04] Production.INFO: ==24846== Releasing lock...
[2025-01-12 03:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 03:08:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:08:04] Production.INFO: Account Balance End.
[2025-01-12 03:08:04] Production.INFO: count ==21
[2025-01-12 03:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:08:04] Production.INFO: ==24850== Releasing lock...
[2025-01-12 03:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228740') start
[2025-01-12 03:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228740') end
[2025-01-12 03:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:08:04] Production.INFO: 1
[2025-01-12 03:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:08:04] Production.ERROR: done
[2025-01-12 03:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:08:04] Production.INFO: ==24854== Releasing lock...
[2025-01-12 03:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:08:04] Production.ERROR: done
[2025-01-12 03:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:08:05
[end_date_ymd] => 2025-01-12 03:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:08:05' and `end` < '2025-01-12 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-01-12 03:08:12] Production.ERROR: CronJobId end10
[2025-01-12 03:08:12] Production.INFO: ==24848== Releasing lock...
[2025-01-12 03:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:08:13] Production.INFO: call_cost start
[2025-01-12 03:08:13] Production.INFO: call_cost end
[2025-01-12 03:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:08:14] Production.INFO: ==24844== Releasing lock...
[2025-01-12 03:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:08:19] Production.INFO: count ==654
[2025-01-12 03:08:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:08:05 - End Time 2025-01-12 03:08:05
[2025-01-12 03:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228741', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228741', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228741', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228741', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:08:19] Production.INFO: ProcessCDR(1,14228741,1,1,2)
[2025-01-12 03:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228741,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228741,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228741', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228741', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:08:22] Production.INFO: ==24852== Releasing lock...
[2025-01-12 03:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:08:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:09:01] Production.INFO: ==25000== Lock acquired, processing the job...
[2025-01-12 08:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:09:01] Production.INFO: neon service started
[2025-01-12 08:09:01] Production.INFO: neon service started
[2025-01-12 08:09:01] Production.INFO: ==25000== Releasing lock...
[2025-01-12 08:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:09:01] Production.INFO: ==25002== Lock acquired, processing the job...
[2025-01-12 03:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:09:02] Production.INFO: ==25002== Releasing lock...
[2025-01-12 03:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:09:02] Production.INFO: ==25004== Lock acquired, processing the job...
[2025-01-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:09:02] Production.INFO: ==25004== Releasing lock...
[2025-01-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:09:02] Production.INFO: ==25006== Lock acquired, processing the job...
[2025-01-12 03:09:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:09:02] Production.INFO: ==25010== Lock acquired, processing the job...
[2025-01-12 03:09:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:09:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:09:02] Production.INFO: ==25014== Lock acquired, processing the job...
[2025-01-12 03:09:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:09:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:09:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:09:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:09:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:09:03] Production.INFO: ==25008== Lock acquired, processing the job...
[2025-01-12 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:09:03] Production.INFO: ==25016== Lock acquired, processing the job...
[2025-01-12 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:09:03] Production.INFO: ==25012== Lock acquired, processing the job...
[2025-01-12 03:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:09:03] Production.INFO: count ==21
[2025-01-12 03:09:03] Production.ERROR: done
[2025-01-12 03:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:09:03] Production.INFO: count ==21
[2025-01-12 03:09:03] Production.INFO: Account Balance Start.
[2025-01-12 03:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228743') start
[2025-01-12 03:09:03] Production.INFO: 117
[2025-01-12 03:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:09:03] Production.ERROR: done
[2025-01-12 03:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228743') end
[2025-01-12 03:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:09:03] Production.INFO: 1
[2025-01-12 03:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:09:03] Production.INFO: ==25008== Releasing lock...
[2025-01-12 03:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:09:03] Production.INFO: ==25016== Releasing lock...
[2025-01-12 03:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:09:03] Production.INFO: Total Charge 0
[2025-01-12 03:09:03] Production.INFO: CreateAllLog End
[2025-01-12 03:09:03] Production.INFO: Account Balance End.
[2025-01-12 03:09:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:09:03] Production.INFO: ==25012== Releasing lock...
[2025-01-12 03:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:09:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:09:04
[end_date_ymd] => 2025-01-12 03:09:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:09:04' and `end` < '2025-01-12 03: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-01-12 03:09:10] Production.ERROR: CronJobId end10
[2025-01-12 03:09:10] Production.INFO: ==25010== Releasing lock...
[2025-01-12 03:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:09:12] Production.INFO: call_cost start
[2025-01-12 03:09:12] Production.INFO: call_cost end
[2025-01-12 03:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:09:13] Production.INFO: ==25006== Releasing lock...
[2025-01-12 03:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:09:18] Production.INFO: count ==653
[2025-01-12 03:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:09:04 - End Time 2025-01-12 03:09:04
[2025-01-12 03:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228746', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228746', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228746', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228746', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:09:18] Production.INFO: ProcessCDR(1,14228746,1,1,2)
[2025-01-12 03:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228746,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228746,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228746', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228746', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:09:21] Production.INFO: ==25014== Releasing lock...
[2025-01-12 03:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:09:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 08:10:01] Production.INFO: ==25091== Lock acquired, processing the job...
[2025-01-12 08:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:10:01] Production.INFO: neon service started
[2025-01-12 08:10:01] Production.INFO: neon service started
[2025-01-12 08:10:01] Production.INFO: ==25091== Releasing lock...
[2025-01-12 08:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:10:02] Production.INFO: ==25093== Lock acquired, processing the job...
[2025-01-12 03:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:10:02] Production.INFO: ==25095== Lock acquired, processing the job...
[2025-01-12 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:10:02] Production.INFO: ==25095== Releasing lock...
[2025-01-12 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:10:03] Production.INFO: ==25093== Releasing lock...
[2025-01-12 03:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:10:03] Production.INFO: ==25100== Lock acquired, processing the job...
[2025-01-12 03:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:10:03] Production.INFO: ==25098== Lock acquired, processing the job...
[2025-01-12 03:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 03:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 03:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:10:04] Production.ERROR: CronJob PID - 25100
[2025-01-12 03:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 03:10:04] Production.ERROR: CronJob ID - 5
[2025-01-12 03:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 03:10:00
[2025-01-12 03:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 03:10:04] Production.INFO: ==25098== Releasing lock...
[2025-01-12 03:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 03:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:10:04] Production.INFO: ==25108== Lock acquired, processing the job...
[2025-01-12 03:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:10:04] Production.INFO: ==25102== Lock acquired, processing the job...
[2025-01-12 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:10:04] Production.INFO: ==25110== Lock acquired, processing the job...
[2025-01-12 03:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:10:04] Production.INFO: ==25104== Lock acquired, processing the job...
[2025-01-12 03:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:10:04] Production.INFO: ==25106== Lock acquired, processing the job...
[2025-01-12 03:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:10:04] Production.INFO: ==25112== Lock acquired, processing the job...
[2025-01-12 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:10:04] Production.INFO: Account Balance Start.
[2025-01-12 03:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:10:04] Production.INFO: 117
[2025-01-12 03:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:10:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:10:04] Production.INFO: count ==21
[2025-01-12 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228750') start
[2025-01-12 03:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:10:04] Production.ERROR: done
[2025-01-12 03:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228750') end
[2025-01-12 03:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:10:04] Production.INFO: 1
[2025-01-12 03:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:10:04] Production.INFO: Total Charge 0
[2025-01-12 03:10:04] Production.ERROR: done
[2025-01-12 03:10:04] Production.INFO: ==25112== Releasing lock...
[2025-01-12 03:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:10:04] Production.INFO: ==25102== Releasing lock...
[2025-01-12 03:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:10:04] Production.ERROR: done
[2025-01-12 03:10:04] Production.INFO: CreateAllLog End
[2025-01-12 03:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 03:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228751', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 03:10:05] Production.INFO: Account Balance End.
[2025-01-12 03:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 03:10:05] Production.INFO: ==25106== Releasing lock...
[2025-01-12 03:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:10:06
[end_date_ymd] => 2025-01-12 03:10:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:10:06' and `end` < '2025-01-12 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-01-12 03:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228751', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 03:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 03:10:09] Production.INFO: ProcessCDR(1,14228751,1,1,2)
[2025-01-12 03:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228751,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228751,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:10:09] Production.INFO: ==25110== Releasing lock...
[2025-01-12 03:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 03:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 03:10:13] Production.ERROR: CronJobId end10
[2025-01-12 03:10:13] Production.INFO: ==25104== Releasing lock...
[2025-01-12 03:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:10:15] Production.INFO: call_cost start
[2025-01-12 03:10:15] Production.INFO: call_cost end
[2025-01-12 03:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:10:15] Production.INFO: ==25100== Releasing lock...
[2025-01-12 03:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:10:19] Production.INFO: count ==651
[2025-01-12 03:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:10:06 - End Time 2025-01-12 03:10:06
[2025-01-12 03:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228752', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228752', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228752', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228752', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:10:19] Production.INFO: ProcessCDR(1,14228752,1,1,2)
[2025-01-12 03:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228752', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228752', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:10:22] Production.INFO: ==25108== Releasing lock...
[2025-01-12 03:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:10:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:11:02] Production.INFO: ==25190== Lock acquired, processing the job...
[2025-01-12 08:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:11:02] Production.INFO: neon service started
[2025-01-12 08:11:02] Production.INFO: neon service started
[2025-01-12 08:11:02] Production.INFO: ==25190== Releasing lock...
[2025-01-12 08:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:11:02] Production.INFO: ==25192== Lock acquired, processing the job...
[2025-01-12 03:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:11:02] Production.INFO: ==25194== Lock acquired, processing the job...
[2025-01-12 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:11:03] Production.INFO: ==25194== Releasing lock...
[2025-01-12 08:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:11:03] Production.INFO: ==25192== Releasing lock...
[2025-01-12 03:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:11:04] Production.INFO: ==25203== Lock acquired, processing the job...
[2025-01-12 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:11:04] Production.INFO: ==25207== Lock acquired, processing the job...
[2025-01-12 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:11:04] Production.INFO: Account Balance Start.
[2025-01-12 03:11:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:11:04] Production.INFO: 117
[2025-01-12 03:11:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:11:04] Production.INFO: ==25197== Lock acquired, processing the job...
[2025-01-12 03:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:11:04] Production.INFO: count ==21
[2025-01-12 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228754') start
[2025-01-12 03:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:11:04] Production.INFO: ==25199== Lock acquired, processing the job...
[2025-01-12 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:11:04] Production.INFO: ==25201== Lock acquired, processing the job...
[2025-01-12 03:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:11:04] Production.INFO: Total Charge 0
[2025-01-12 03:11:04] Production.INFO: CreateAllLog End
[2025-01-12 03:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228754') end
[2025-01-12 03:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:11:04] Production.INFO: 1
[2025-01-12 03:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:11:04] Production.INFO: ==25205== Lock acquired, processing the job...
[2025-01-12 03:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:11:04] Production.INFO: ==25207== Releasing lock...
[2025-01-12 03:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:11:04] Production.INFO: Account Balance End.
[2025-01-12 03:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:11:04] Production.INFO: ==25203== Releasing lock...
[2025-01-12 03:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:11:04] Production.INFO: ==25199== Releasing lock...
[2025-01-12 03:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:11:04] Production.ERROR: done
[2025-01-12 03:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:11:05] Production.ERROR: done
[2025-01-12 03:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:11:06
[end_date_ymd] => 2025-01-12 03:11:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:11:06' and `end` < '2025-01-12 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-01-12 03:11:11] Production.ERROR: CronJobId end10
[2025-01-12 03:11:11] Production.INFO: ==25201== Releasing lock...
[2025-01-12 03:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:11:13] Production.INFO: call_cost start
[2025-01-12 03:11:13] Production.INFO: call_cost end
[2025-01-12 03:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:11:14] Production.INFO: ==25197== Releasing lock...
[2025-01-12 03:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:11:19] Production.INFO: count ==639
[2025-01-12 03:11:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:11:06 - End Time 2025-01-12 03:11:06
[2025-01-12 03:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228757', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228757', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228757', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228757', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:11:19] Production.INFO: ProcessCDR(1,14228757,1,1,2)
[2025-01-12 03:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228757', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228757', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:11:22] Production.INFO: ==25205== Releasing lock...
[2025-01-12 03:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:11:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 08:12:01] Production.INFO: ==25277== Lock acquired, processing the job...
[2025-01-12 08:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:12:01] Production.INFO: neon service started
[2025-01-12 08:12:01] Production.INFO: neon service started
[2025-01-12 08:12:01] Production.INFO: ==25277== Releasing lock...
[2025-01-12 08:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:12:02] Production.INFO: ==25279== Lock acquired, processing the job...
[2025-01-12 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:12:02] Production.INFO: ==25281== Lock acquired, processing the job...
[2025-01-12 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:12:02] Production.INFO: ==25279== Releasing lock...
[2025-01-12 03:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:12:02] Production.INFO: ==25281== Releasing lock...
[2025-01-12 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:12:03] Production.INFO: ==25294== Lock acquired, processing the job...
[2025-01-12 03:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:12:03] Production.INFO: ==25290== Lock acquired, processing the job...
[2025-01-12 03:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:12:03] Production.INFO: ==25285== Lock acquired, processing the job...
[2025-01-12 03:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:12:03] Production.INFO: ==25287== Lock acquired, processing the job...
[2025-01-12 03:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:12:03] Production.INFO: ==25292== Lock acquired, processing the job...
[2025-01-12 03:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:12:03] Production.INFO: ==25296== Lock acquired, processing the job...
[2025-01-12 03:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:12:04] Production.ERROR: done
[2025-01-12 03:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:12:04] Production.INFO: Account Balance Start.
[2025-01-12 03:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:12:04] Production.INFO: 117
[2025-01-12 03:12:04] Production.ERROR: done
[2025-01-12 03:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:12:04] Production.INFO: count ==21
[2025-01-12 03:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:12:04] Production.INFO: count ==21
[2025-01-12 03:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228761') start
[2025-01-12 03:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:12:04] Production.INFO: ==25287== Releasing lock...
[2025-01-12 03:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:12:04] Production.INFO: Total Charge 0
[2025-01-12 03:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228761') end
[2025-01-12 03:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:12:04] Production.INFO: 1
[2025-01-12 03:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:12:04] Production.INFO: CreateAllLog End
[2025-01-12 03:12:04] Production.INFO: ==25296== Releasing lock...
[2025-01-12 03:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:12:04] Production.INFO: Account Balance End.
[2025-01-12 03:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:12:04] Production.INFO: ==25292== Releasing lock...
[2025-01-12 03:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:12:05
[end_date_ymd] => 2025-01-12 03:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:12:05' and `end` < '2025-01-12 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-01-12 03:12:10] Production.ERROR: CronJobId end10
[2025-01-12 03:12:10] Production.INFO: ==25290== Releasing lock...
[2025-01-12 03:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:12:13] Production.INFO: call_cost start
[2025-01-12 03:12:13] Production.INFO: call_cost end
[2025-01-12 03:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:12:13] Production.INFO: ==25285== Releasing lock...
[2025-01-12 03:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:12:19] Production.INFO: count ==639
[2025-01-12 03:12:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:12:05 - End Time 2025-01-12 03:12:05
[2025-01-12 03:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228762', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228762', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228762', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228762', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:12:19] Production.INFO: ProcessCDR(1,14228762,1,1,2)
[2025-01-12 03:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228762', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228762', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:12:22] Production.INFO: ==25294== Releasing lock...
[2025-01-12 03:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:12:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 08:13:01] Production.INFO: ==25451== Lock acquired, processing the job...
[2025-01-12 08:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:13:01] Production.INFO: neon service started
[2025-01-12 08:13:01] Production.INFO: neon service started
[2025-01-12 08:13:01] Production.INFO: ==25451== Releasing lock...
[2025-01-12 08:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:13:01] Production.INFO: ==25453== Lock acquired, processing the job...
[2025-01-12 03:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:13:02] Production.INFO: ==25453== Releasing lock...
[2025-01-12 03:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:13:02] Production.INFO: ==25455== Lock acquired, processing the job...
[2025-01-12 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:13:02] Production.INFO: ==25455== Releasing lock...
[2025-01-12 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:13:02] Production.INFO: ==25463== Lock acquired, processing the job...
[2025-01-12 03:13:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:13:02] Production.INFO: ==25468== Lock acquired, processing the job...
[2025-01-12 03:13:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:13:02] Production.INFO: ==25457== Lock acquired, processing the job...
[2025-01-12 03:13:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:13:03] Production.INFO: Account Balance Start.
[2025-01-12 03:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:13:03] Production.INFO: 117
[2025-01-12 03:13:03] Production.INFO: ==25459== Lock acquired, processing the job...
[2025-01-12 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:13:03] Production.INFO: ==25465== Lock acquired, processing the job...
[2025-01-12 03:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:13:03] Production.INFO: ==25461== Lock acquired, processing the job...
[2025-01-12 03:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:13:03] Production.INFO: count ==21
[2025-01-12 03:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03: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-01-12 03:13:03] Production.INFO: count ==21
[2025-01-12 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228764') start
[2025-01-12 03:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228764') end
[2025-01-12 03:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:13:03] Production.INFO: 1
[2025-01-12 03:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:13:03] Production.INFO: Total Charge 0
[2025-01-12 03:13:03] Production.INFO: CreateAllLog End
[2025-01-12 03:13:03] Production.INFO: ==25468== Releasing lock...
[2025-01-12 03:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:13:03] Production.INFO: ==25459== Releasing lock...
[2025-01-12 03:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:13:03] Production.ERROR: done
[2025-01-12 03:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:13:03] Production.ERROR: done
[2025-01-12 03:13:03] Production.INFO: Account Balance End.
[2025-01-12 03:13:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:13:03] Production.INFO: ==25463== Releasing lock...
[2025-01-12 03:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:13:04
[end_date_ymd] => 2025-01-12 03:13:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:13:04' and `end` < '2025-01-12 03: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-01-12 03:13:09] Production.ERROR: CronJobId end10
[2025-01-12 03:13:09] Production.INFO: ==25461== Releasing lock...
[2025-01-12 03:13:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:13:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:13:12] Production.INFO: call_cost start
[2025-01-12 03:13:12] Production.INFO: call_cost end
[2025-01-12 03:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:13:13] Production.INFO: ==25457== Releasing lock...
[2025-01-12 03:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:13:18] Production.INFO: count ==639
[2025-01-12 03:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:13:04 - End Time 2025-01-12 03:13:04
[2025-01-12 03:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228767', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228767', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228767', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228767', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:13:18] Production.INFO: ProcessCDR(1,14228767,1,1,2)
[2025-01-12 03:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228767', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228767', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:13:21] Production.INFO: ==25465== Releasing lock...
[2025-01-12 03:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:13:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 08:14:01] Production.INFO: ==25539== Lock acquired, processing the job...
[2025-01-12 08:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:14:01] Production.INFO: neon service started
[2025-01-12 08:14:01] Production.INFO: neon service started
[2025-01-12 08:14:01] Production.INFO: ==25539== Releasing lock...
[2025-01-12 08:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:14:02] Production.INFO: ==25543== Lock acquired, processing the job...
[2025-01-12 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:14:02] Production.INFO: ==25543== Releasing lock...
[2025-01-12 03:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:14:02] Production.INFO: ==25545== Lock acquired, processing the job...
[2025-01-12 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:14:02] Production.INFO: ==25545== Releasing lock...
[2025-01-12 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:14:03] Production.INFO: ==25549== Lock acquired, processing the job...
[2025-01-12 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:14:03] Production.INFO: ==25551== Lock acquired, processing the job...
[2025-01-12 03:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:14:03] Production.INFO: ==25557== Lock acquired, processing the job...
[2025-01-12 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:14:03] Production.INFO: ==25549== Releasing lock...
[2025-01-12 03:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:14:03] Production.INFO: ==25547== Lock acquired, processing the job...
[2025-01-12 03:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 03:14:03] Production.INFO: count ==21
[2025-01-12 03:14:03] Production.INFO: ==25553== Lock acquired, processing the job...
[2025-01-12 03:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 03:14:03] Production.INFO: count ==21
[2025-01-12 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228769') start
[2025-01-12 03:14:03] Production.INFO: ==25555== Lock acquired, processing the job...
[2025-01-12 03:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228769') end
[2025-01-12 03:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:14:03] Production.INFO: 1
[2025-01-12 03:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:14:03] Production.INFO: ==25557== Releasing lock...
[2025-01-12 03:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:14:03] Production.INFO: Account Balance Start.
[2025-01-12 03:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:14:03] Production.INFO: 117
[2025-01-12 03:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:14:03] Production.ERROR: done
[2025-01-12 03:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:14:04] Production.ERROR: done
[2025-01-12 03:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:14:04] Production.INFO: Total Charge 0
[2025-01-12 03:14:04] Production.INFO: CreateAllLog End
[2025-01-12 03:14:04] Production.INFO: Account Balance End.
[2025-01-12 03:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:14:04] Production.INFO: ==25553== Releasing lock...
[2025-01-12 03:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:14:05
[end_date_ymd] => 2025-01-12 03:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:14:05' and `end` < '2025-01-12 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-01-12 03:14:11] Production.ERROR: CronJobId end10
[2025-01-12 03:14:11] Production.INFO: ==25551== Releasing lock...
[2025-01-12 03:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:14:13] Production.INFO: call_cost start
[2025-01-12 03:14:13] Production.INFO: call_cost end
[2025-01-12 03:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:14:14] Production.INFO: ==25547== Releasing lock...
[2025-01-12 03:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:14:18] Production.INFO: count ==637
[2025-01-12 03:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:14:05 - End Time 2025-01-12 03:14:05
[2025-01-12 03:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228772', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228772', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228772', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228772', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:14:19] Production.INFO: ProcessCDR(1,14228772,1,1,2)
[2025-01-12 03:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228772', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228772', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:14:22] Production.INFO: ==25555== Releasing lock...
[2025-01-12 03:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:14:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 08:15:02] Production.INFO: ==25631== Lock acquired, processing the job...
[2025-01-12 08:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:15:02] Production.INFO: neon service started
[2025-01-12 08:15:02] Production.INFO: neon service started
[2025-01-12 08:15:02] Production.INFO: ==25631== Releasing lock...
[2025-01-12 08:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:15:02] Production.INFO: ==25635== Lock acquired, processing the job...
[2025-01-12 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:15:02] Production.INFO: ==25635== Releasing lock...
[2025-01-12 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:15:02] Production.INFO: ==25633== Lock acquired, processing the job...
[2025-01-12 03:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:15:03] Production.INFO: ==25633== Releasing lock...
[2025-01-12 03:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:15:03] Production.INFO: ==25640== Lock acquired, processing the job...
[2025-01-12 03:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:15:03] Production.INFO: ==25638== Lock acquired, processing the job...
[2025-01-12 03:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:15:03] Production.INFO: ==25646== Lock acquired, processing the job...
[2025-01-12 03:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:15:04] Production.INFO: ==25640== Releasing lock...
[2025-01-12 03:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:15:04] Production.INFO: ==25644== Lock acquired, processing the job...
[2025-01-12 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:15:04] Production.INFO: ==25642== Lock acquired, processing the job...
[2025-01-12 03:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:15:04] Production.INFO: ==25648== Lock acquired, processing the job...
[2025-01-12 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:15:04] Production.ERROR: done
[2025-01-12 03:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:15:04] Production.INFO: Account Balance Start.
[2025-01-12 03:15:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:15:04] Production.INFO: 117
[2025-01-12 03:15:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:15:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:15:04] Production.INFO: count ==21
[2025-01-12 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228776') start
[2025-01-12 03:15:04] Production.ERROR: done
[2025-01-12 03:15:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228776') end
[2025-01-12 03:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:15:04] Production.INFO: 1
[2025-01-12 03:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:15:04] Production.INFO: ==25648== Releasing lock...
[2025-01-12 03:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:15:04] Production.INFO: Total Charge 0
[2025-01-12 03:15:04] Production.INFO: CreateAllLog End
[2025-01-12 03:15:04] Production.INFO: Account Balance End.
[2025-01-12 03:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:15:04] Production.INFO: ==25644== Releasing lock...
[2025-01-12 03:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:15:05
[end_date_ymd] => 2025-01-12 03:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:15:05' and `end` < '2025-01-12 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-01-12 03:15:12] Production.ERROR: CronJobId end10
[2025-01-12 03:15:12] Production.INFO: ==25642== Releasing lock...
[2025-01-12 03:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:15:14] Production.INFO: call_cost start
[2025-01-12 03:15:14] Production.INFO: call_cost end
[2025-01-12 03:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:15:15] Production.INFO: ==25638== Releasing lock...
[2025-01-12 03:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:15:18] Production.INFO: count ==636
[2025-01-12 03:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:15:05 - End Time 2025-01-12 03:15:05
[2025-01-12 03:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228777', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228777', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228777', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228777', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:15:18] Production.INFO: ProcessCDR(1,14228777,1,1,2)
[2025-01-12 03:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228777', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228777', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:15:22] Production.INFO: ==25646== Releasing lock...
[2025-01-12 03:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:15:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:16:01] Production.INFO: ==25717== Lock acquired, processing the job...
[2025-01-12 08:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:16:01] Production.INFO: neon service started
[2025-01-12 08:16:01] Production.INFO: neon service started
[2025-01-12 08:16:01] Production.INFO: ==25717== Releasing lock...
[2025-01-12 08:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:16:01] Production.INFO: ==25719== Lock acquired, processing the job...
[2025-01-12 03:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:16:02] Production.INFO: ==25719== Releasing lock...
[2025-01-12 03:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:16:02] Production.INFO: ==25721== Lock acquired, processing the job...
[2025-01-12 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:16:02] Production.INFO: ==25721== Releasing lock...
[2025-01-12 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:16:03] Production.INFO: ==25728== Lock acquired, processing the job...
[2025-01-12 03:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:16:03] Production.INFO: ==25724== Lock acquired, processing the job...
[2025-01-12 03:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:16:03] Production.INFO: ==25726== Lock acquired, processing the job...
[2025-01-12 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:16:03] Production.INFO: ==25734== Lock acquired, processing the job...
[2025-01-12 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:16:03] Production.INFO: ==25730== Lock acquired, processing the job...
[2025-01-12 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:16:03] Production.INFO: ==25732== Lock acquired, processing the job...
[2025-01-12 03:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:16:03] Production.INFO: Account Balance Start.
[2025-01-12 03:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:16:03] Production.INFO: 117
[2025-01-12 03:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 03: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-01-12 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:16:03] Production.INFO: count ==21
[2025-01-12 03:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 03: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-01-12 03:16:03] Production.INFO: count ==21
[2025-01-12 03:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228780') start
[2025-01-12 03:16:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:16:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:16:03] Production.INFO: ==25726== Releasing lock...
[2025-01-12 03:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:16:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:16:03] Production.INFO: Total Charge 0
[2025-01-12 03:16:03] Production.INFO: CreateAllLog End
[2025-01-12 03:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228780') end
[2025-01-12 03:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:16:03] Production.INFO: 1
[2025-01-12 03:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:16:03] Production.ERROR: done
[2025-01-12 03:16:03] Production.INFO: ==25734== Releasing lock...
[2025-01-12 03:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:16:03] Production.INFO: Account Balance End.
[2025-01-12 03:16:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:16:03] Production.INFO: ==25730== Releasing lock...
[2025-01-12 03:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:16:04] Production.ERROR: done
[2025-01-12 03:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:16:04
[end_date_ymd] => 2025-01-12 03:16:04
[RateCDR] => 1
)
[2025-01-12 03:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:16:04' and `end` < '2025-01-12 03:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:16:11] Production.ERROR: CronJobId end10
[2025-01-12 03:16:11] Production.INFO: ==25728== Releasing lock...
[2025-01-12 03:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:16:12] Production.INFO: call_cost start
[2025-01-12 03:16:12] Production.INFO: call_cost end
[2025-01-12 03:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:16:13] Production.INFO: ==25724== Releasing lock...
[2025-01-12 03:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:16:18] Production.INFO: count ==636
[2025-01-12 03:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:16:04 - End Time 2025-01-12 03:16:04
[2025-01-12 03:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228782', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228782', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228782', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228782', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:16:18] Production.INFO: ProcessCDR(1,14228782,1,1,2)
[2025-01-12 03:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228782,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228782,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228782', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228782', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:16:21] Production.INFO: ==25732== Releasing lock...
[2025-01-12 03:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:16:21] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:17:01] Production.INFO: ==25889== Lock acquired, processing the job...
[2025-01-12 08:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:17:01] Production.INFO: neon service started
[2025-01-12 08:17:01] Production.INFO: neon service started
[2025-01-12 08:17:01] Production.INFO: ==25889== Releasing lock...
[2025-01-12 08:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:17:02] Production.INFO: ==25891== Lock acquired, processing the job...
[2025-01-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:17:02] Production.INFO: ==25891== Releasing lock...
[2025-01-12 03:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:17:02] Production.INFO: ==25893== Lock acquired, processing the job...
[2025-01-12 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:17:02] Production.INFO: ==25893== Releasing lock...
[2025-01-12 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:17:03] Production.INFO: ==25895== Lock acquired, processing the job...
[2025-01-12 03:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:17:03] Production.INFO: ==25897== Lock acquired, processing the job...
[2025-01-12 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:17:03] Production.INFO: ==25899== Lock acquired, processing the job...
[2025-01-12 03:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:17:03] Production.INFO: ==25905== Lock acquired, processing the job...
[2025-01-12 03:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:17:03] Production.INFO: ==25901== Lock acquired, processing the job...
[2025-01-12 03:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:17:03] Production.INFO: ==25903== Lock acquired, processing the job...
[2025-01-12 03:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:17:03] Production.INFO: ==25897== Releasing lock...
[2025-01-12 03:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:17:03] Production.INFO: Account Balance Start.
[2025-01-12 03:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:17:03] Production.INFO: 117
[2025-01-12 03:17:03] Production.INFO: count ==21
[2025-01-12 03:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:17:03] Production.INFO: count ==21
[2025-01-12 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228785') start
[2025-01-12 03:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228785') end
[2025-01-12 03:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:17:04] Production.INFO: 1
[2025-01-12 03:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:17:04] Production.INFO: ==25905== Releasing lock...
[2025-01-12 03:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:17:04] Production.ERROR: done
[2025-01-12 03:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:17:04] Production.INFO: Total Charge 0
[2025-01-12 03:17:04] Production.INFO: CreateAllLog End
[2025-01-12 03:17:04] Production.ERROR: done
[2025-01-12 03:17:04] Production.INFO: Account Balance End.
[2025-01-12 03:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:17:04] Production.INFO: ==25901== Releasing lock...
[2025-01-12 03:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:17:05
[end_date_ymd] => 2025-01-12 03:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:17:05' and `end` < '2025-01-12 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-01-12 03:17:10] Production.ERROR: CronJobId end10
[2025-01-12 03:17:10] Production.INFO: ==25899== Releasing lock...
[2025-01-12 03:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:17:13] Production.INFO: call_cost start
[2025-01-12 03:17:13] Production.INFO: call_cost end
[2025-01-12 03:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:17:14] Production.INFO: ==25895== Releasing lock...
[2025-01-12 03:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:17:19] Production.INFO: count ==636
[2025-01-12 03:17:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:17:05 - End Time 2025-01-12 03:17:05
[2025-01-12 03:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228787', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228787', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228787', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228787', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:17:19] Production.INFO: ProcessCDR(1,14228787,1,1,2)
[2025-01-12 03:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228787,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228787,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228787', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228787', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:17:23] Production.INFO: ==25903== Releasing lock...
[2025-01-12 03:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:17:23] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:18:01] Production.INFO: ==25979== Lock acquired, processing the job...
[2025-01-12 08:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:18:01] Production.INFO: neon service started
[2025-01-12 08:18:01] Production.INFO: neon service started
[2025-01-12 08:18:01] Production.INFO: ==25979== Releasing lock...
[2025-01-12 08:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:18:01] Production.INFO: ==25983== Lock acquired, processing the job...
[2025-01-12 08:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:18:01] Production.INFO: ==25983== Releasing lock...
[2025-01-12 08:18:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:18:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:18:01] Production.INFO: ==25981== Lock acquired, processing the job...
[2025-01-12 03:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:18:02] Production.INFO: ==25981== Releasing lock...
[2025-01-12 03:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:18:03] Production.INFO: ==25993== Lock acquired, processing the job...
[2025-01-12 03:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:18:03] Production.INFO: ==25991== Lock acquired, processing the job...
[2025-01-12 03:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:18:03] Production.ERROR: done
[2025-01-12 03:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:18:03] Production.INFO: Account Balance Start.
[2025-01-12 03:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:18:03] Production.INFO: 117
[2025-01-12 03:18:03] Production.INFO: ==25987== Lock acquired, processing the job...
[2025-01-12 03:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:18:03] Production.INFO: ==25985== Lock acquired, processing the job...
[2025-01-12 03:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:18:03] Production.INFO: ==25989== Lock acquired, processing the job...
[2025-01-12 03:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:18:03] Production.INFO: ==25996== Lock acquired, processing the job...
[2025-01-12 03:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:18:03] Production.ERROR: done
[2025-01-12 03:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:18:03] Production.INFO: count ==21
[2025-01-12 03:18:03] Production.INFO: Date 2025-01-12
[2025-01-12 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-01-12 03:18:03] Production.INFO: count ==21
[2025-01-12 03:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228792') start
[2025-01-12 03:18:03] Production.INFO: Total Charge 0
[2025-01-12 03:18:04] Production.INFO: CreateAllLog End
[2025-01-12 03:18:04] Production.INFO: ==25987== Releasing lock...
[2025-01-12 03:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228792') end
[2025-01-12 03:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:18:04] Production.INFO: 1
[2025-01-12 03:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:18:04] Production.INFO: ==25996== Releasing lock...
[2025-01-12 03:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:18:04] Production.INFO: Account Balance End.
[2025-01-12 03:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:18:04] Production.INFO: ==25991== Releasing lock...
[2025-01-12 03:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:18:04
[end_date_ymd] => 2025-01-12 03:18:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:18:04' and `end` < '2025-01-12 03: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-01-12 03:18:11] Production.ERROR: CronJobId end10
[2025-01-12 03:18:11] Production.INFO: ==25989== Releasing lock...
[2025-01-12 03:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:18:12] Production.INFO: call_cost start
[2025-01-12 03:18:12] Production.INFO: call_cost end
[2025-01-12 03:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:18:13] Production.INFO: ==25985== Releasing lock...
[2025-01-12 03:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:18:19] Production.INFO: count ==636
[2025-01-12 03:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:18:04 - End Time 2025-01-12 03:18:04
[2025-01-12 03:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228789', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228789', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228789', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228789', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:18:19] Production.INFO: ProcessCDR(1,14228789,1,1,2)
[2025-01-12 03:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228789', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228789', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:18:22] Production.INFO: ==25993== Releasing lock...
[2025-01-12 03:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:18:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:19:01] Production.INFO: ==26066== Lock acquired, processing the job...
[2025-01-12 08:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:19:01] Production.INFO: neon service started
[2025-01-12 08:19:01] Production.INFO: neon service started
[2025-01-12 08:19:01] Production.INFO: ==26066== Releasing lock...
[2025-01-12 08:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:19:02] Production.INFO: ==26070== Lock acquired, processing the job...
[2025-01-12 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:19:02] Production.INFO: ==26070== Releasing lock...
[2025-01-12 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:19:02] Production.INFO: ==26068== Lock acquired, processing the job...
[2025-01-12 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:19:02] Production.INFO: ==26068== Releasing lock...
[2025-01-12 03:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:19:03] Production.INFO: ==26072== Lock acquired, processing the job...
[2025-01-12 03:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:19:03] Production.INFO: ==26074== Lock acquired, processing the job...
[2025-01-12 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:19:03] Production.INFO: ==26076== Lock acquired, processing the job...
[2025-01-12 03:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:19:03] Production.INFO: ==26074== Releasing lock...
[2025-01-12 03:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:19:03] Production.INFO: ==26081== Lock acquired, processing the job...
[2025-01-12 03:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:19:03] Production.INFO: ==26079== Lock acquired, processing the job...
[2025-01-12 03:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:19:03] Production.INFO: ==26083== Lock acquired, processing the job...
[2025-01-12 03:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:19:03] Production.INFO: Account Balance Start.
[2025-01-12 03:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:19:03] Production.INFO: 117
[2025-01-12 03:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:19:04] Production.INFO: count ==21
[2025-01-12 03:19:04] Production.ERROR: done
[2025-01-12 03:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:19:04] Production.INFO: count ==21
[2025-01-12 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228796') start
[2025-01-12 03:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:19:04] Production.ERROR: done
[2025-01-12 03:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228796') end
[2025-01-12 03:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:19:04] Production.INFO: 1
[2025-01-12 03:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:19:04] Production.INFO: ==26083== Releasing lock...
[2025-01-12 03:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:19:04] Production.INFO: Total Charge 0
[2025-01-12 03:19:04] Production.INFO: CreateAllLog End
[2025-01-12 03:19:04] Production.INFO: Account Balance End.
[2025-01-12 03:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:19:04] Production.INFO: ==26079== Releasing lock...
[2025-01-12 03:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:19:05
[end_date_ymd] => 2025-01-12 03:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:19:05' and `end` < '2025-01-12 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-01-12 03:19:11] Production.ERROR: CronJobId end10
[2025-01-12 03:19:11] Production.INFO: ==26076== Releasing lock...
[2025-01-12 03:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:19:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:19:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:19:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:19:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:19:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:19:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:19:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:19:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:19:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:19:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:19:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:19:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:19:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:19:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:19:12] Production.INFO: call_cost start
[2025-01-12 03:19:12] Production.INFO: call_cost end
[2025-01-12 03:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:19:13] Production.INFO: ==26072== Releasing lock...
[2025-01-12 03:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:19:19] Production.INFO: count ==636
[2025-01-12 03:19:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:19:05 - End Time 2025-01-12 03:19:05
[2025-01-12 03:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228797', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228797', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228797', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228797', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:19:19] Production.INFO: ProcessCDR(1,14228797,1,1,2)
[2025-01-12 03:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228797,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228797,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228797', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228797', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:19:22] Production.INFO: ==26081== Releasing lock...
[2025-01-12 03:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:19:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:20:02] Production.INFO: ==26154== Lock acquired, processing the job...
[2025-01-12 08:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:20:02] Production.INFO: neon service started
[2025-01-12 08:20:02] Production.INFO: neon service started
[2025-01-12 08:20:02] Production.INFO: ==26154== Releasing lock...
[2025-01-12 08:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:20:02] Production.INFO: ==26156== Lock acquired, processing the job...
[2025-01-12 03:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:20:02] Production.INFO: ==26158== Lock acquired, processing the job...
[2025-01-12 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:20:03] Production.INFO: ==26156== Releasing lock...
[2025-01-12 03:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:20:03] Production.INFO: ==26158== Releasing lock...
[2025-01-12 08:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:20:04] Production.INFO: ==26166== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:20:04] Production.INFO: ==26160== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 03:20:04] Production.INFO: ==26162== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:20:04] Production.INFO: ==26164== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 03:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:20:04] Production.ERROR: CronJob PID - 26166
[2025-01-12 03:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 03:20:04] Production.ERROR: CronJob ID - 10
[2025-01-12 03:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 03:20:00
[2025-01-12 03:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:20:04] Production.INFO: ==26171== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 03:20:04] Production.INFO: ==26160== Releasing lock...
[2025-01-12 03:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 03:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:20:04] Production.INFO: ==26169== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:20:04] Production.INFO: ==26173== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 03:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:20:04] Production.INFO: ==26175== Lock acquired, processing the job...
[2025-01-12 03:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:20:04] Production.INFO: Account Balance Start.
[2025-01-12 03:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:20:04] Production.INFO: 117
[2025-01-12 03:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:20:04] Production.ERROR: done
[2025-01-12 03:20:04] Production.INFO: ==26164== Releasing lock...
[2025-01-12 03:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 03:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:20:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:20:04] Production.INFO: count ==21
[2025-01-12 03:20:04] Production.ERROR: done
[2025-01-12 03:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228801') start
[2025-01-12 03:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:20:04] Production.ERROR: done
[2025-01-12 03:20:04] Production.INFO: Total Charge 0
[2025-01-12 03:20:04] Production.INFO: CreateAllLog End
[2025-01-12 03:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228801') end
[2025-01-12 03:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:20:05] Production.INFO: 1
[2025-01-12 03:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 03:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228803', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 03:20:05] Production.INFO: ==26175== Releasing lock...
[2025-01-12 03:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:20:05] Production.INFO: Account Balance End.
[2025-01-12 03:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 03:20:05] Production.INFO: ==26169== Releasing lock...
[2025-01-12 03:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:20:05
[end_date_ymd] => 2025-01-12 03:20:05
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:20:05' and `end` < '2025-01-12 03: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-01-12 03:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228803', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 03:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 03:20:08] Production.INFO: ProcessCDR(1,14228803,1,1,2)
[2025-01-12 03:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228803,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228803,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:20:09] Production.INFO: ==26173== Releasing lock...
[2025-01-12 03:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 03:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 03:20:12] Production.ERROR: CronJobId end10
[2025-01-12 03:20:12] Production.INFO: ==26166== Releasing lock...
[2025-01-12 03:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:20:15] Production.INFO: call_cost start
[2025-01-12 03:20:15] Production.INFO: call_cost end
[2025-01-12 03:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:20:16] Production.INFO: ==26162== Releasing lock...
[2025-01-12 03:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:20:19] Production.INFO: count ==636
[2025-01-12 03:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:20:05 - End Time 2025-01-12 03:20:05
[2025-01-12 03:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228802', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228802', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228802', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228802', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:20:19] Production.INFO: ProcessCDR(1,14228802,1,1,2)
[2025-01-12 03:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228802,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228802,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228802', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228802', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:20:22] Production.INFO: ==26171== Releasing lock...
[2025-01-12 03:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:20:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 08:21:01] Production.INFO: ==26283== Lock acquired, processing the job...
[2025-01-12 08:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:21:01] Production.INFO: neon service started
[2025-01-12 08:21:01] Production.INFO: neon service started
[2025-01-12 08:21:01] Production.INFO: ==26283== Releasing lock...
[2025-01-12 08:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:21:02] Production.INFO: ==26285== Lock acquired, processing the job...
[2025-01-12 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:21:02] Production.INFO: ==26285== Releasing lock...
[2025-01-12 03:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:21:02] Production.INFO: ==26287== Lock acquired, processing the job...
[2025-01-12 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:21:02] Production.INFO: ==26287== Releasing lock...
[2025-01-12 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:21:03] Production.INFO: ==26292== Lock acquired, processing the job...
[2025-01-12 03:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:21:03] Production.INFO: ==26296== Lock acquired, processing the job...
[2025-01-12 03:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:21:03] Production.INFO: ==26294== Lock acquired, processing the job...
[2025-01-12 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:21:03] Production.INFO: ==26302== Lock acquired, processing the job...
[2025-01-12 03:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:21:03] Production.INFO: ==26298== Lock acquired, processing the job...
[2025-01-12 03:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:21:03] Production.INFO: ==26300== Lock acquired, processing the job...
[2025-01-12 03:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:21:03] Production.INFO: count ==21
[2025-01-12 03:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:21:03] Production.INFO: Account Balance Start.
[2025-01-12 03:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:21:03] Production.INFO: count ==21
[2025-01-12 03:21:03] Production.INFO: 117
[2025-01-12 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228806') start
[2025-01-12 03:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:21:03] Production.INFO: ==26294== Releasing lock...
[2025-01-12 03:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228806') end
[2025-01-12 03:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:21:03] Production.INFO: 1
[2025-01-12 03:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:21:04] Production.ERROR: done
[2025-01-12 03:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:21:04] Production.INFO: ==26302== Releasing lock...
[2025-01-12 03:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:21:04] Production.INFO: Total Charge 0
[2025-01-12 03:21:04] Production.INFO: CreateAllLog End
[2025-01-12 03:21:04] Production.ERROR: done
[2025-01-12 03:21:04] Production.INFO: Account Balance End.
[2025-01-12 03:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:21:04] Production.INFO: ==26298== Releasing lock...
[2025-01-12 03:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:21:05
[end_date_ymd] => 2025-01-12 03:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:21:05' and `end` < '2025-01-12 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-01-12 03:21:11] Production.ERROR: CronJobId end10
[2025-01-12 03:21:11] Production.INFO: ==26296== Releasing lock...
[2025-01-12 03:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:21:13] Production.INFO: call_cost start
[2025-01-12 03:21:13] Production.INFO: call_cost end
[2025-01-12 03:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:21:14] Production.INFO: ==26292== Releasing lock...
[2025-01-12 03:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:21:20] Production.INFO: count ==623
[2025-01-12 03:21:20] Production.ERROR: pbx CDR StartTime 2025-01-12 00:21:05 - End Time 2025-01-12 03:21:05
[2025-01-12 03:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228808', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228808', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228808', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228808', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:21:20] Production.INFO: ProcessCDR(1,14228808,1,1,2)
[2025-01-12 03:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:21:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:21:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:21:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228808', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:21:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228808', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:21:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:21:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:21:25] Production.INFO: ==26300== Releasing lock...
[2025-01-12 03:21:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:21:25] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:22:02] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-01-12 08:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:22:02] Production.INFO: neon service started
[2025-01-12 08:22:02] Production.INFO: neon service started
[2025-01-12 08:22:02] Production.INFO: ==26366== Releasing lock...
[2025-01-12 08:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:22:02] Production.INFO: ==26368== Lock acquired, processing the job...
[2025-01-12 03:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:22:02] Production.INFO: ==26370== Lock acquired, processing the job...
[2025-01-12 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:22:02] Production.INFO: ==26370== Releasing lock...
[2025-01-12 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:22:03] Production.INFO: ==26368== Releasing lock...
[2025-01-12 03:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:22:03] Production.INFO: ==26377== Lock acquired, processing the job...
[2025-01-12 03:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:22:03] Production.INFO: ==26373== Lock acquired, processing the job...
[2025-01-12 03:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:22:03] Production.INFO: ==26375== Lock acquired, processing the job...
[2025-01-12 03:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:22:04] Production.INFO: ==26379== Lock acquired, processing the job...
[2025-01-12 03:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:22:04] Production.INFO: ==26381== Lock acquired, processing the job...
[2025-01-12 03:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:22:04] Production.INFO: ==26383== Lock acquired, processing the job...
[2025-01-12 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:22:04] Production.INFO: Account Balance Start.
[2025-01-12 03:22:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:22:04] Production.INFO: 117
[2025-01-12 03:22:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:22:04] Production.INFO: ==26375== Releasing lock...
[2025-01-12 03:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 03:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:22:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:22:04] Production.INFO: count ==21
[2025-01-12 03:22:04] Production.ERROR: done
[2025-01-12 03:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228811') start
[2025-01-12 03:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:22:04] Production.INFO: Total Charge 0
[2025-01-12 03:22:04] Production.INFO: CreateAllLog End
[2025-01-12 03:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228811') end
[2025-01-12 03:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:22:04] Production.INFO: 1
[2025-01-12 03:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:22:04] Production.ERROR: done
[2025-01-12 03:22:04] Production.INFO: Account Balance End.
[2025-01-12 03:22:04] Production.INFO: ==26383== Releasing lock...
[2025-01-12 03:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:22:05] Production.ERROR: CronJobId end 12
[2025-01-12 03:22:05] Production.INFO: ==26379== Releasing lock...
[2025-01-12 03:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:22:05
[end_date_ymd] => 2025-01-12 03:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:22:05' and `end` < '2025-01-12 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-01-12 03:22:11] Production.ERROR: CronJobId end10
[2025-01-12 03:22:11] Production.INFO: ==26377== Releasing lock...
[2025-01-12 03:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:22:14] Production.INFO: call_cost start
[2025-01-12 03:22:14] Production.INFO: call_cost end
[2025-01-12 03:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:22:14] Production.INFO: ==26373== Releasing lock...
[2025-01-12 03:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:22:20] Production.INFO: count ==620
[2025-01-12 03:22:20] Production.ERROR: pbx CDR StartTime 2025-01-12 00:22:05 - End Time 2025-01-12 03:22:05
[2025-01-12 03:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228813', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228813', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228813', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228813', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:22:20] Production.INFO: ProcessCDR(1,14228813,1,1,2)
[2025-01-12 03:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228813', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228813', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:22:23] Production.INFO: ==26381== Releasing lock...
[2025-01-12 03:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:22:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:23:01] Production.INFO: ==26444== Lock acquired, processing the job...
[2025-01-12 08:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:23:01] Production.INFO: neon service started
[2025-01-12 08:23:01] Production.INFO: neon service started
[2025-01-12 08:23:01] Production.INFO: ==26444== Releasing lock...
[2025-01-12 08:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:23:01] Production.INFO: ==26447== Lock acquired, processing the job...
[2025-01-12 03:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:23:02] Production.INFO: ==26447== Releasing lock...
[2025-01-12 03:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:23:02] Production.INFO: ==26449== Lock acquired, processing the job...
[2025-01-12 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:23:02] Production.INFO: ==26449== Releasing lock...
[2025-01-12 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:23:03] Production.INFO: ==26451== Lock acquired, processing the job...
[2025-01-12 03:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:23:03] Production.INFO: ==26453== Lock acquired, processing the job...
[2025-01-12 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:23:03] Production.INFO: ==26455== Lock acquired, processing the job...
[2025-01-12 03:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:23:03] Production.INFO: ==26453== Releasing lock...
[2025-01-12 03:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:23:03] Production.INFO: ==26457== Lock acquired, processing the job...
[2025-01-12 03:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:23:03] Production.INFO: ==26459== Lock acquired, processing the job...
[2025-01-12 03:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:23:03] Production.INFO: Account Balance Start.
[2025-01-12 03:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:23:03] Production.INFO: 117
[2025-01-12 03:23:03] Production.INFO: ==26461== Lock acquired, processing the job...
[2025-01-12 03:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:23:03] Production.INFO: count ==21
[2025-01-12 03:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:23:03] Production.INFO: count ==21
[2025-01-12 03:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228817') start
[2025-01-12 03:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:23:03] Production.ERROR: done
[2025-01-12 03:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:23:03] Production.INFO: Total Charge 0
[2025-01-12 03:23:04] Production.INFO: CreateAllLog End
[2025-01-12 03:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228817') end
[2025-01-12 03:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:23:04] Production.INFO: 1
[2025-01-12 03:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:23:04] Production.ERROR: done
[2025-01-12 03:23:04] Production.INFO: ==26461== Releasing lock...
[2025-01-12 03:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:23:04] Production.INFO: Account Balance End.
[2025-01-12 03:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:23:04] Production.INFO: ==26457== Releasing lock...
[2025-01-12 03:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:23:05
[end_date_ymd] => 2025-01-12 03:23:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:23:05' and `end` < '2025-01-12 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-01-12 03:23:10] Production.ERROR: CronJobId end10
[2025-01-12 03:23:10] Production.INFO: ==26455== Releasing lock...
[2025-01-12 03:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:23:12] Production.INFO: call_cost start
[2025-01-12 03:23:12] Production.INFO: call_cost end
[2025-01-12 03:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:23:13] Production.INFO: ==26451== Releasing lock...
[2025-01-12 03:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:23:19] Production.INFO: count ==619
[2025-01-12 03:23:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:23:05 - End Time 2025-01-12 03:23:05
[2025-01-12 03:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228818', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228818', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228818', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228818', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:23:19] Production.INFO: ProcessCDR(1,14228818,1,1,2)
[2025-01-12 03:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228818', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228818', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:23:22] Production.INFO: ==26459== Releasing lock...
[2025-01-12 03:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:23:22] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:24:02] Production.INFO: ==26524== Lock acquired, processing the job...
[2025-01-12 08:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:24:02] Production.INFO: neon service started
[2025-01-12 08:24:02] Production.INFO: neon service started
[2025-01-12 08:24:02] Production.INFO: ==26524== Releasing lock...
[2025-01-12 08:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:24:02] Production.INFO: ==26526== Lock acquired, processing the job...
[2025-01-12 03:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:24:03] Production.INFO: ==26526== Releasing lock...
[2025-01-12 03:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:24:03] Production.INFO: ==26528== Lock acquired, processing the job...
[2025-01-12 08:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:24:03] Production.INFO: ==26528== Releasing lock...
[2025-01-12 08:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:24:03] Production.INFO: ==26531== Lock acquired, processing the job...
[2025-01-12 03:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:24:04] Production.INFO: ==26537== Lock acquired, processing the job...
[2025-01-12 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:24:04] Production.INFO: ==26541== Lock acquired, processing the job...
[2025-01-12 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:24:04] Production.INFO: ==26533== Lock acquired, processing the job...
[2025-01-12 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:24:04] Production.INFO: Account Balance Start.
[2025-01-12 03:24:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:24:04] Production.INFO: 117
[2025-01-12 03:24:04] Production.INFO: ==26535== Lock acquired, processing the job...
[2025-01-12 03:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:24:04] Production.INFO: ==26539== Lock acquired, processing the job...
[2025-01-12 03:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:24:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:24:04] Production.INFO: count ==21
[2025-01-12 03:24:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:24:04] Production.INFO: count ==21
[2025-01-12 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228821') start
[2025-01-12 03:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:24:04] Production.INFO: ==26533== Releasing lock...
[2025-01-12 03:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:24:04] Production.INFO: Total Charge 0
[2025-01-12 03:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228821') end
[2025-01-12 03:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:24:04] Production.INFO: 1
[2025-01-12 03:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:24:04] Production.INFO: CreateAllLog End
[2025-01-12 03:24:04] Production.INFO: ==26541== Releasing lock...
[2025-01-12 03:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:24:04] Production.ERROR: done
[2025-01-12 03:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:24:04] Production.INFO: Account Balance End.
[2025-01-12 03:24:04] Production.ERROR: done
[2025-01-12 03:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:24:04] Production.INFO: ==26537== Releasing lock...
[2025-01-12 03:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:24:05
[end_date_ymd] => 2025-01-12 03:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:24:05' and `end` < '2025-01-12 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-01-12 03:24:11] Production.ERROR: CronJobId end10
[2025-01-12 03:24:11] Production.INFO: ==26535== Releasing lock...
[2025-01-12 03:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:24:13] Production.INFO: call_cost start
[2025-01-12 03:24:13] Production.INFO: call_cost end
[2025-01-12 03:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:24:14] Production.INFO: ==26531== Releasing lock...
[2025-01-12 03:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:24:20] Production.INFO: count ==619
[2025-01-12 03:24:20] Production.ERROR: pbx CDR StartTime 2025-01-12 00:24:05 - End Time 2025-01-12 03:24:05
[2025-01-12 03:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228823', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228823', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228823', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228823', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:24:20] Production.INFO: ProcessCDR(1,14228823,1,1,2)
[2025-01-12 03:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228823', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228823', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:24:23] Production.INFO: ==26539== Releasing lock...
[2025-01-12 03:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:24:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:25:01] Production.INFO: ==26597== Lock acquired, processing the job...
[2025-01-12 08:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:25:01] Production.INFO: neon service started
[2025-01-12 08:25:01] Production.INFO: neon service started
[2025-01-12 08:25:01] Production.INFO: ==26597== Releasing lock...
[2025-01-12 08:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:25:02] Production.INFO: ==26601== Lock acquired, processing the job...
[2025-01-12 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:25:02] Production.INFO: ==26601== Releasing lock...
[2025-01-12 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:25:02] Production.INFO: ==26599== Lock acquired, processing the job...
[2025-01-12 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:25:02] Production.INFO: ==26599== Releasing lock...
[2025-01-12 03:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:25:03] Production.INFO: ==26610== Lock acquired, processing the job...
[2025-01-12 03:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:25:03] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-01-12 03:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:25:03] Production.INFO: ==26614== Lock acquired, processing the job...
[2025-01-12 03:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:25:03] Production.INFO: Account Balance Start.
[2025-01-12 03:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:25:03] Production.INFO: 117
[2025-01-12 03:25:03] Production.INFO: ==26606== Lock acquired, processing the job...
[2025-01-12 03:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:25:03] Production.INFO: ==26608== Lock acquired, processing the job...
[2025-01-12 03:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:25:03] Production.INFO: count ==21
[2025-01-12 03:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:25:03] Production.INFO: count ==21
[2025-01-12 03:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228825') start
[2025-01-12 03:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:25:03] Production.INFO: ==26612== Lock acquired, processing the job...
[2025-01-12 03:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:25:03] Production.INFO: Total Charge 0
[2025-01-12 03:25:03] Production.INFO: CreateAllLog End
[2025-01-12 03:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228825') end
[2025-01-12 03:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:25:03] Production.INFO: 1
[2025-01-12 03:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:25:04] Production.INFO: ==26606== Releasing lock...
[2025-01-12 03:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:25:04] Production.INFO: ==26614== Releasing lock...
[2025-01-12 03:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:25:04] Production.ERROR: done
[2025-01-12 03:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:25:04] Production.INFO: Account Balance End.
[2025-01-12 03:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:25:04] Production.INFO: ==26610== Releasing lock...
[2025-01-12 03:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:25:04] Production.ERROR: done
[2025-01-12 03:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:25:05
[end_date_ymd] => 2025-01-12 03:25:05
[RateCDR] => 1
)
[2025-01-12 03:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:25:05' and `end` < '2025-01-12 03:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:25:11] Production.ERROR: CronJobId end10
[2025-01-12 03:25:11] Production.INFO: ==26608== Releasing lock...
[2025-01-12 03:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:25:13] Production.INFO: call_cost start
[2025-01-12 03:25:13] Production.INFO: call_cost end
[2025-01-12 03:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:25:14] Production.INFO: ==26604== Releasing lock...
[2025-01-12 03:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:25:18] Production.INFO: count ==619
[2025-01-12 03:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:25:05 - End Time 2025-01-12 03:25:05
[2025-01-12 03:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228828', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228828', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228828', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228828', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:25:18] Production.INFO: ProcessCDR(1,14228828,1,1,2)
[2025-01-12 03:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228828', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228828', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:25:21] Production.INFO: ==26612== Releasing lock...
[2025-01-12 03:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:25:21] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:26:02] Production.INFO: ==26668== Lock acquired, processing the job...
[2025-01-12 08:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:26:02] Production.INFO: neon service started
[2025-01-12 08:26:02] Production.INFO: neon service started
[2025-01-12 08:26:02] Production.INFO: ==26668== Releasing lock...
[2025-01-12 08:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:26:02] Production.INFO: ==26672== Lock acquired, processing the job...
[2025-01-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:26:02] Production.INFO: ==26672== Releasing lock...
[2025-01-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:26:02] Production.INFO: ==26670== Lock acquired, processing the job...
[2025-01-12 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:26:02] Production.INFO: ==26670== Releasing lock...
[2025-01-12 03:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:26:03] Production.INFO: ==26681== Lock acquired, processing the job...
[2025-01-12 03:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:26:03] Production.INFO: ==26679== Lock acquired, processing the job...
[2025-01-12 03:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:26:03] Production.INFO: Account Balance Start.
[2025-01-12 03:26:03] Production.INFO: ==26675== Lock acquired, processing the job...
[2025-01-12 03:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:26:03] Production.INFO: 117
[2025-01-12 03:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:26:03] Production.INFO: ==26677== Lock acquired, processing the job...
[2025-01-12 03:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:26:04] Production.INFO: Total Charge 0
[2025-01-12 03:26:04] Production.INFO: CreateAllLog End
[2025-01-12 03:26:04] Production.INFO: ==26683== Lock acquired, processing the job...
[2025-01-12 03:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:26:04] Production.INFO: ==26685== Lock acquired, processing the job...
[2025-01-12 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:26:04] Production.INFO: Account Balance End.
[2025-01-12 03:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:26:04] Production.INFO: ==26681== Releasing lock...
[2025-01-12 03:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:26:04] Production.INFO: ==26677== Releasing lock...
[2025-01-12 03:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:26:04] Production.INFO: count ==21
[2025-01-12 03:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:26:04] Production.INFO: count ==21
[2025-01-12 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228832') start
[2025-01-12 03:26:04] Production.ERROR: done
[2025-01-12 03:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228832') end
[2025-01-12 03:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:26:04] Production.INFO: 1
[2025-01-12 03:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:26:04] Production.INFO: ==26685== Releasing lock...
[2025-01-12 03:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:26:04] Production.ERROR: done
[2025-01-12 03:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:26:05
[end_date_ymd] => 2025-01-12 03:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:26:05' and `end` < '2025-01-12 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-01-12 03:26:11] Production.ERROR: CronJobId end10
[2025-01-12 03:26:11] Production.INFO: ==26679== Releasing lock...
[2025-01-12 03:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:26:13] Production.INFO: call_cost start
[2025-01-12 03:26:13] Production.INFO: call_cost end
[2025-01-12 03:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:26:14] Production.INFO: ==26675== Releasing lock...
[2025-01-12 03:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:26:19] Production.INFO: count ==619
[2025-01-12 03:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:26:05 - End Time 2025-01-12 03:26:05
[2025-01-12 03:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228833', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228833', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228833', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228833', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:26:19] Production.INFO: ProcessCDR(1,14228833,1,1,2)
[2025-01-12 03:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228833,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228833,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228833', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228833', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:26:22] Production.INFO: ==26683== Releasing lock...
[2025-01-12 03:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:26:22] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:27:01] Production.INFO: ==26743== Lock acquired, processing the job...
[2025-01-12 08:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:27:01] Production.INFO: neon service started
[2025-01-12 08:27:01] Production.INFO: neon service started
[2025-01-12 08:27:01] Production.INFO: ==26743== Releasing lock...
[2025-01-12 08:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:27:01] Production.INFO: ==26747== Lock acquired, processing the job...
[2025-01-12 08:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:27:01] Production.INFO: ==26747== Releasing lock...
[2025-01-12 08:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:27:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:27:01] Production.INFO: ==26745== Lock acquired, processing the job...
[2025-01-12 03:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:27:02] Production.INFO: ==26745== Releasing lock...
[2025-01-12 03:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:27:03] Production.INFO: ==26755== Lock acquired, processing the job...
[2025-01-12 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:27:03] Production.INFO: ==26760== Lock acquired, processing the job...
[2025-01-12 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:27:03] Production.INFO: Account Balance Start.
[2025-01-12 03:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:27:03] Production.INFO: 117
[2025-01-12 03:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:27:03] Production.INFO: ==26749== Lock acquired, processing the job...
[2025-01-12 03:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 03:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:27:03] Production.INFO: count ==21
[2025-01-12 03:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:27:03] Production.INFO: count ==21
[2025-01-12 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228835') start
[2025-01-12 03:27:03] Production.INFO: ==26753== Lock acquired, processing the job...
[2025-01-12 03:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:27:03] Production.INFO: ==26751== Lock acquired, processing the job...
[2025-01-12 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:27:03] Production.INFO: ==26757== Lock acquired, processing the job...
[2025-01-12 03:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228835') end
[2025-01-12 03:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:27:03] Production.INFO: 1
[2025-01-12 03:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:27:03] Production.INFO: ==26760== Releasing lock...
[2025-01-12 03:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:27:03] Production.INFO: Total Charge 0
[2025-01-12 03:27:03] Production.INFO: CreateAllLog End
[2025-01-12 03:27:03] Production.INFO: ==26751== Releasing lock...
[2025-01-12 03:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:27:03] Production.INFO: Account Balance End.
[2025-01-12 03:27:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:27:03] Production.INFO: ==26755== Releasing lock...
[2025-01-12 03:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:27:03] Production.ERROR: done
[2025-01-12 03:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:27:03] Production.ERROR: done
[2025-01-12 03:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:27:04
[end_date_ymd] => 2025-01-12 03:27:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:27:04' and `end` < '2025-01-12 03: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-01-12 03:27:11] Production.ERROR: CronJobId end10
[2025-01-12 03:27:11] Production.INFO: ==26753== Releasing lock...
[2025-01-12 03:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:27:13] Production.INFO: call_cost start
[2025-01-12 03:27:13] Production.INFO: call_cost end
[2025-01-12 03:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:27:13] Production.INFO: ==26749== Releasing lock...
[2025-01-12 03:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:27:18] Production.INFO: count ==619
[2025-01-12 03:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:27:04 - End Time 2025-01-12 03:27:04
[2025-01-12 03:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228838', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228838', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228838', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228838', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:27:18] Production.INFO: ProcessCDR(1,14228838,1,1,2)
[2025-01-12 03:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228838,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228838,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228838', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228838', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:27:21] Production.INFO: ==26757== Releasing lock...
[2025-01-12 03:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:27:21] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:28:01] Production.INFO: ==26816== Lock acquired, processing the job...
[2025-01-12 08:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:28:01] Production.INFO: neon service started
[2025-01-12 08:28:01] Production.INFO: neon service started
[2025-01-12 08:28:01] Production.INFO: ==26816== Releasing lock...
[2025-01-12 08:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:28:02] Production.INFO: ==26818== Lock acquired, processing the job...
[2025-01-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:28:02] Production.INFO: ==26818== Releasing lock...
[2025-01-12 03:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:28:02] Production.INFO: ==26820== Lock acquired, processing the job...
[2025-01-12 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:28:02] Production.INFO: ==26820== Releasing lock...
[2025-01-12 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:28:03] Production.INFO: ==26822== Lock acquired, processing the job...
[2025-01-12 03:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:28:03] Production.INFO: ==26824== Lock acquired, processing the job...
[2025-01-12 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:28:03] Production.INFO: ==26828== Lock acquired, processing the job...
[2025-01-12 03:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:28:03] Production.INFO: ==26826== Lock acquired, processing the job...
[2025-01-12 03:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:28:03] Production.INFO: Account Balance Start.
[2025-01-12 03:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:28:03] Production.INFO: 117
[2025-01-12 03:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:28:03] Production.INFO: ==26830== Lock acquired, processing the job...
[2025-01-12 03:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:28:03] Production.INFO: ==26833== Lock acquired, processing the job...
[2025-01-12 03:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:28:03] Production.INFO: ==26824== Releasing lock...
[2025-01-12 03:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:28:03] Production.INFO: count ==21
[2025-01-12 03:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:28:03] Production.INFO: count ==21
[2025-01-12 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228842') start
[2025-01-12 03:28:04] Production.ERROR: done
[2025-01-12 03:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:28:04] Production.INFO: Total Charge 0
[2025-01-12 03:28:04] Production.INFO: CreateAllLog End
[2025-01-12 03:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228842') end
[2025-01-12 03:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:28:04] Production.INFO: 1
[2025-01-12 03:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:28:04] Production.INFO: ==26833== Releasing lock...
[2025-01-12 03:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:28:04] Production.ERROR: done
[2025-01-12 03:28:04] Production.INFO: Account Balance End.
[2025-01-12 03:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:28:04] Production.INFO: ==26828== Releasing lock...
[2025-01-12 03:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:28:05
[end_date_ymd] => 2025-01-12 03:28:05
[RateCDR] => 1
)
[2025-01-12 03:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:28:05' and `end` < '2025-01-12 03:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:28:10] Production.ERROR: CronJobId end10
[2025-01-12 03:28:10] Production.INFO: ==26826== Releasing lock...
[2025-01-12 03:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:28:12] Production.INFO: call_cost start
[2025-01-12 03:28:12] Production.INFO: call_cost end
[2025-01-12 03:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:28:13] Production.INFO: ==26822== Releasing lock...
[2025-01-12 03:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:28:18] Production.INFO: count ==619
[2025-01-12 03:28:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:28:05 - End Time 2025-01-12 03:28:05
[2025-01-12 03:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228843', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228843', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228843', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228843', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:28:18] Production.INFO: ProcessCDR(1,14228843,1,1,2)
[2025-01-12 03:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228843,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228843,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228843', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228843', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:28:21] Production.INFO: ==26830== Releasing lock...
[2025-01-12 03:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:28:21] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:29:01] Production.INFO: ==26883== Lock acquired, processing the job...
[2025-01-12 08:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:29:01] Production.INFO: neon service started
[2025-01-12 08:29:01] Production.INFO: neon service started
[2025-01-12 08:29:01] Production.INFO: ==26883== Releasing lock...
[2025-01-12 08:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:29:01] Production.INFO: ==26888== Lock acquired, processing the job...
[2025-01-12 08:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:29:01] Production.INFO: ==26888== Releasing lock...
[2025-01-12 08:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:29:01] Production.INFO: ==26886== Lock acquired, processing the job...
[2025-01-12 03:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:29:02] Production.INFO: ==26886== Releasing lock...
[2025-01-12 03:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:29:02] Production.INFO: ==26890== Lock acquired, processing the job...
[2025-01-12 03:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:29:02] Production.INFO: ==26896== Lock acquired, processing the job...
[2025-01-12 03:29:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:29:03] Production.INFO: ==26892== Lock acquired, processing the job...
[2025-01-12 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:29:03] Production.INFO: ==26894== Lock acquired, processing the job...
[2025-01-12 03:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:29:03] Production.INFO: Account Balance Start.
[2025-01-12 03:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:29:03] Production.INFO: 117
[2025-01-12 03:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:29:03] Production.INFO: ==26898== Lock acquired, processing the job...
[2025-01-12 03:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:29:03] Production.INFO: Total Charge 0
[2025-01-12 03:29:03] Production.INFO: CreateAllLog End
[2025-01-12 03:29:03] Production.INFO: ==26892== Releasing lock...
[2025-01-12 03:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:29:03] Production.INFO: ==26900== Lock acquired, processing the job...
[2025-01-12 03:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:29:03] Production.INFO: Account Balance End.
[2025-01-12 03:29:03] Production.ERROR: done
[2025-01-12 03:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:29:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:29:03] Production.INFO: ==26896== Releasing lock...
[2025-01-12 03:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 03:29:03] Production.INFO: count ==21
[2025-01-12 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-01-12 03:29:03] Production.INFO: count ==21
[2025-01-12 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228847') start
[2025-01-12 03:29:03] Production.ERROR: done
[2025-01-12 03:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228847') end
[2025-01-12 03:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:29:03] Production.INFO: 1
[2025-01-12 03:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:29:04] Production.INFO: ==26900== Releasing lock...
[2025-01-12 03:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:29:04
[end_date_ymd] => 2025-01-12 03:29:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:29:04' and `end` < '2025-01-12 03: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-01-12 03:29:10] Production.ERROR: CronJobId end10
[2025-01-12 03:29:10] Production.INFO: ==26894== Releasing lock...
[2025-01-12 03:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:29:13] Production.INFO: call_cost start
[2025-01-12 03:29:13] Production.INFO: call_cost end
[2025-01-12 03:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:29:13] Production.INFO: ==26890== Releasing lock...
[2025-01-12 03:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:29:17] Production.INFO: count ==618
[2025-01-12 03:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:29:04 - End Time 2025-01-12 03:29:04
[2025-01-12 03:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228848', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228848', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228848', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228848', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:29:18] Production.INFO: ProcessCDR(1,14228848,1,1,2)
[2025-01-12 03:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228848,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228848,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228848', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228848', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:29:21] Production.INFO: ==26898== Releasing lock...
[2025-01-12 03:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:29:21] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:30:01] Production.INFO: ==26952== Lock acquired, processing the job...
[2025-01-12 08:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:30:01] Production.INFO: neon service started
[2025-01-12 08:30:01] Production.INFO: neon service started
[2025-01-12 08:30:01] Production.INFO: ==26952== Releasing lock...
[2025-01-12 08:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:30:02] Production.INFO: ==26957== Lock acquired, processing the job...
[2025-01-12 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 03:30:02] Production.INFO: ==26955== Lock acquired, processing the job...
[2025-01-12 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:30:02] Production.INFO: ==26957== Releasing lock...
[2025-01-12 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:30:02] Production.INFO: ==26955== Releasing lock...
[2025-01-12 03:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:30:03] Production.INFO: ==26963== Lock acquired, processing the job...
[2025-01-12 03:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:30:03] Production.INFO: ==26959== Lock acquired, processing the job...
[2025-01-12 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 03:30:03] Production.INFO: ==26961== Lock acquired, processing the job...
[2025-01-12 03:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 03:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:30:03] Production.ERROR: CronJob PID - 26961
[2025-01-12 03:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 03:30:03] Production.ERROR: CronJob ID - 5
[2025-01-12 03:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 03:30:00
[2025-01-12 03:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:30:03] Production.ERROR: CronJob PID - 26963
[2025-01-12 03:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 03:30:03] Production.ERROR: CronJob ID - 7
[2025-01-12 03:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 03:30:00
[2025-01-12 03:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:30:03] Production.INFO: ==26965== Lock acquired, processing the job...
[2025-01-12 03:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:30:03] Production.INFO: ==26967== Lock acquired, processing the job...
[2025-01-12 03:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 03:30:03] Production.INFO: ==26959== Releasing lock...
[2025-01-12 03:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 03:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:30:04] Production.INFO: ==26971== Lock acquired, processing the job...
[2025-01-12 03:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 03:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:30:04] Production.INFO: ==26969== Lock acquired, processing the job...
[2025-01-12 03:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:30:04] Production.INFO: Account Balance Start.
[2025-01-12 03:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:30:04] Production.INFO: 117
[2025-01-12 03:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:30:04] Production.INFO: ==26973== Lock acquired, processing the job...
[2025-01-12 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:30:04] Production.INFO: ==26963== Releasing lock...
[2025-01-12 03:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:30:04] Production.ERROR: done
[2025-01-12 03:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 03:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228853', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 03:30:04] Production.INFO: count ==21
[2025-01-12 03:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:30:04] Production.INFO: count ==21
[2025-01-12 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228852') start
[2025-01-12 03:30:04] Production.INFO: Total Charge 0
[2025-01-12 03:30:04] Production.INFO: CreateAllLog End
[2025-01-12 03:30:04] Production.ERROR: done
[2025-01-12 03:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228852') end
[2025-01-12 03:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:30:04] Production.INFO: 1
[2025-01-12 03:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:30:04] Production.INFO: ==26973== Releasing lock...
[2025-01-12 03:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:30:04] Production.INFO: Account Balance End.
[2025-01-12 03:30:04] Production.ERROR: done
[2025-01-12 03:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:30:04] Production.INFO: ==26967== Releasing lock...
[2025-01-12 03:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:30:05
[end_date_ymd] => 2025-01-12 03:30:05
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:30:05' and `end` < '2025-01-12 03: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-01-12 03:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228853', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 03:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 03:30:08] Production.INFO: ProcessCDR(1,14228853,1,1,2)
[2025-01-12 03:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228853,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228853,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:30:08] Production.INFO: ==26971== Releasing lock...
[2025-01-12 03:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 03:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 03:30:12] Production.ERROR: CronJobId end10
[2025-01-12 03:30:12] Production.INFO: ==26965== Releasing lock...
[2025-01-12 03:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:30:14] Production.INFO: call_cost start
[2025-01-12 03:30:14] Production.INFO: call_cost end
[2025-01-12 03:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:30:15] Production.INFO: ==26961== Releasing lock...
[2025-01-12 03:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:30:19] Production.INFO: count ==618
[2025-01-12 03:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:30:05 - End Time 2025-01-12 03:30:05
[2025-01-12 03:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228854', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228854', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228854', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228854', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:30:19] Production.INFO: ProcessCDR(1,14228854,1,1,2)
[2025-01-12 03:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228854', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228854', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:30:22] Production.INFO: ==26969== Releasing lock...
[2025-01-12 03:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:30:22] Production.INFO: 32 MB #Memory Used#
[2025-01-12 08:31:02] Production.INFO: ==27028== Lock acquired, processing the job...
[2025-01-12 08:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:31:02] Production.INFO: neon service started
[2025-01-12 08:31:02] Production.INFO: neon service started
[2025-01-12 08:31:02] Production.INFO: ==27028== Releasing lock...
[2025-01-12 08:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:31:02] Production.INFO: ==27032== Lock acquired, processing the job...
[2025-01-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:31:02] Production.INFO: ==27032== Releasing lock...
[2025-01-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:31:02] Production.INFO: ==27030== Lock acquired, processing the job...
[2025-01-12 03:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:31:03] Production.INFO: ==27030== Releasing lock...
[2025-01-12 03:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:31:03] Production.INFO: ==27035== Lock acquired, processing the job...
[2025-01-12 03:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:31:03] Production.INFO: ==27039== Lock acquired, processing the job...
[2025-01-12 03:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:31:03] Production.INFO: ==27043== Lock acquired, processing the job...
[2025-01-12 03:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:31:04] Production.INFO: ==27041== Lock acquired, processing the job...
[2025-01-12 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:31:04] Production.INFO: ==27037== Lock acquired, processing the job...
[2025-01-12 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:31:04] Production.INFO: Account Balance Start.
[2025-01-12 03:31:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:31:04] Production.INFO: 117
[2025-01-12 03:31:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:31:04] Production.INFO: ==27045== Lock acquired, processing the job...
[2025-01-12 03:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:31:04] Production.ERROR: done
[2025-01-12 03:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:31:04] Production.ERROR: done
[2025-01-12 03:31:04] Production.INFO: Total Charge 0
[2025-01-12 03:31:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:31:04] Production.INFO: CreateAllLog End
[2025-01-12 03:31:04] Production.INFO: count ==21
[2025-01-12 03:31:04] Production.INFO: ==27037== Releasing lock...
[2025-01-12 03:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 03:31:04] Production.INFO: count ==21
[2025-01-12 03:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228858') start
[2025-01-12 03:31:04] Production.INFO: Account Balance End.
[2025-01-12 03:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:31:04] Production.INFO: ==27041== Releasing lock...
[2025-01-12 03:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:31:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228858') end
[2025-01-12 03:31:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:31:05] Production.INFO: 1
[2025-01-12 03:31:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:31:05] Production.INFO: ==27045== Releasing lock...
[2025-01-12 03:31:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:31:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:31:05
[end_date_ymd] => 2025-01-12 03:31:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:31:05' and `end` < '2025-01-12 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-01-12 03:31:11] Production.ERROR: CronJobId end10
[2025-01-12 03:31:11] Production.INFO: ==27039== Releasing lock...
[2025-01-12 03:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:31:13] Production.INFO: call_cost start
[2025-01-12 03:31:13] Production.INFO: call_cost end
[2025-01-12 03:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:31:13] Production.INFO: ==27035== Releasing lock...
[2025-01-12 03:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:31:21] Production.INFO: count ==588
[2025-01-12 03:31:21] Production.ERROR: pbx CDR StartTime 2025-01-12 00:31:05 - End Time 2025-01-12 03:31:05
[2025-01-12 03:31:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228859', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228859', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228859', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:31:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228859', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:31:21] Production.INFO: ProcessCDR(1,14228859,1,1,2)
[2025-01-12 03:31:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:31:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228859', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:31:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228859', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:31:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:31:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:31:25] Production.INFO: ==27043== Releasing lock...
[2025-01-12 03:31:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:31:25] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 08:32:01] Production.INFO: ==27096== Lock acquired, processing the job...
[2025-01-12 08:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:32:01] Production.INFO: neon service started
[2025-01-12 08:32:01] Production.INFO: neon service started
[2025-01-12 08:32:01] Production.INFO: ==27096== Releasing lock...
[2025-01-12 08:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:32:02] Production.INFO: ==27098== Lock acquired, processing the job...
[2025-01-12 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:32:02] Production.INFO: ==27098== Releasing lock...
[2025-01-12 03:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:32:02] Production.INFO: ==27100== Lock acquired, processing the job...
[2025-01-12 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:32:02] Production.INFO: ==27100== Releasing lock...
[2025-01-12 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:32:03] Production.INFO: ==27111== Lock acquired, processing the job...
[2025-01-12 03:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:32:03] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-01-12 03:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:32:03] Production.INFO: ==27102== Lock acquired, processing the job...
[2025-01-12 03:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:32:03] Production.INFO: ==27105== Lock acquired, processing the job...
[2025-01-12 03:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03: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-01-12 03:32:03] Production.ERROR: done
[2025-01-12 03:32:03] Production.INFO: ==27107== Lock acquired, processing the job...
[2025-01-12 03:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:32:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:32:03] Production.INFO: ==27109== Lock acquired, processing the job...
[2025-01-12 03:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:32:03] Production.INFO: count ==21
[2025-01-12 03:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228860') start
[2025-01-12 03:32:03] Production.ERROR: done
[2025-01-12 03:32:03] Production.INFO: Account Balance Start.
[2025-01-12 03:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:32:03] Production.INFO: 117
[2025-01-12 03:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228860') end
[2025-01-12 03:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:32:03] Production.INFO: 1
[2025-01-12 03:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:32:04] Production.INFO: ==27113== Releasing lock...
[2025-01-12 03:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:32:04] Production.INFO: ==27105== Releasing lock...
[2025-01-12 03:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:32:04] Production.INFO: Total Charge 0
[2025-01-12 03:32:04] Production.INFO: CreateAllLog End
[2025-01-12 03:32:04] Production.INFO: Account Balance End.
[2025-01-12 03:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:32:04] Production.INFO: ==27109== Releasing lock...
[2025-01-12 03:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:32:05
[end_date_ymd] => 2025-01-12 03:32:05
[RateCDR] => 1
)
[2025-01-12 03:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:32:05' and `end` < '2025-01-12 03:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:32:12] Production.ERROR: CronJobId end10
[2025-01-12 03:32:12] Production.INFO: ==27107== Releasing lock...
[2025-01-12 03:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:32:13] Production.INFO: call_cost start
[2025-01-12 03:32:13] Production.INFO: call_cost end
[2025-01-12 03:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:32:14] Production.INFO: ==27102== Releasing lock...
[2025-01-12 03:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:32:18] Production.INFO: count ==580
[2025-01-12 03:32:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:32:05 - End Time 2025-01-12 03:32:05
[2025-01-12 03:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228864', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228864', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228864', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228864', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:32:18] Production.INFO: ProcessCDR(1,14228864,1,1,2)
[2025-01-12 03:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228864', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228864', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:32:21] Production.INFO: ==27111== Releasing lock...
[2025-01-12 03:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:32:21] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 08:33:02] Production.INFO: ==27166== Lock acquired, processing the job...
[2025-01-12 08:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:33:02] Production.INFO: neon service started
[2025-01-12 08:33:02] Production.INFO: neon service started
[2025-01-12 08:33:02] Production.INFO: ==27166== Releasing lock...
[2025-01-12 08:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:33:02] Production.INFO: ==27168== Lock acquired, processing the job...
[2025-01-12 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:33:02] Production.INFO: ==27168== Releasing lock...
[2025-01-12 03:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:33:02] Production.INFO: ==27170== Lock acquired, processing the job...
[2025-01-12 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:33:02] Production.INFO: ==27170== Releasing lock...
[2025-01-12 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:33:03] Production.INFO: ==27180== Lock acquired, processing the job...
[2025-01-12 03:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:33:03] Production.INFO: ==27182== Lock acquired, processing the job...
[2025-01-12 03:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:33:03] Production.INFO: ==27172== Lock acquired, processing the job...
[2025-01-12 03:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:33:03] Production.INFO: ==27174== Lock acquired, processing the job...
[2025-01-12 03:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:33:03] Production.INFO: ==27176== Lock acquired, processing the job...
[2025-01-12 03:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:33:03] Production.INFO: ==27178== Lock acquired, processing the job...
[2025-01-12 03:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 03:33:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:33:04] Production.INFO: count ==21
[2025-01-12 03:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228865') start
[2025-01-12 03:33:04] Production.INFO: Account Balance Start.
[2025-01-12 03:33:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:33:04] Production.INFO: 117
[2025-01-12 03:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228865') end
[2025-01-12 03:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:33:04] Production.INFO: 1
[2025-01-12 03:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:33:04] Production.ERROR: done
[2025-01-12 03:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:33:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:33:04] Production.INFO: ==27182== Releasing lock...
[2025-01-12 03:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:33:04] Production.ERROR: done
[2025-01-12 03:33:04] Production.INFO: ==27174== Releasing lock...
[2025-01-12 03:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:33:04] Production.INFO: Total Charge 0
[2025-01-12 03:33:04] Production.INFO: CreateAllLog End
[2025-01-12 03:33:04] Production.INFO: Account Balance End.
[2025-01-12 03:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:33:04] Production.INFO: ==27178== Releasing lock...
[2025-01-12 03:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:33:05
[end_date_ymd] => 2025-01-12 03:33:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:33:05' and `end` < '2025-01-12 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-01-12 03:33:12] Production.ERROR: CronJobId end10
[2025-01-12 03:33:12] Production.INFO: ==27176== Releasing lock...
[2025-01-12 03:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:33:13] Production.INFO: call_cost start
[2025-01-12 03:33:13] Production.INFO: call_cost end
[2025-01-12 03:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:33:14] Production.INFO: ==27172== Releasing lock...
[2025-01-12 03:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:33:18] Production.INFO: count ==501
[2025-01-12 03:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:33:05 - End Time 2025-01-12 03:33:05
[2025-01-12 03:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228869', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228869', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228869', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228869', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:33:18] Production.INFO: ProcessCDR(1,14228869,1,1,2)
[2025-01-12 03:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228869', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228869', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:33:21] Production.INFO: ==27180== Releasing lock...
[2025-01-12 03:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:33:21] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:34:01] Production.INFO: ==27234== Lock acquired, processing the job...
[2025-01-12 08:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:34:01] Production.INFO: neon service started
[2025-01-12 08:34:01] Production.INFO: neon service started
[2025-01-12 08:34:01] Production.INFO: ==27234== Releasing lock...
[2025-01-12 08:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:34:01] Production.INFO: ==27236== Lock acquired, processing the job...
[2025-01-12 03:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:34:02] Production.INFO: ==27236== Releasing lock...
[2025-01-12 03:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:34:02] Production.INFO: ==27238== Lock acquired, processing the job...
[2025-01-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:34:02] Production.INFO: ==27238== Releasing lock...
[2025-01-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:34:03] Production.INFO: ==27246== Lock acquired, processing the job...
[2025-01-12 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:34:03] Production.INFO: ==27250== Lock acquired, processing the job...
[2025-01-12 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:34:03] Production.INFO: Account Balance Start.
[2025-01-12 03:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:34:03] Production.INFO: 117
[2025-01-12 03:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:34:03] Production.INFO: ==27240== Lock acquired, processing the job...
[2025-01-12 03:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:34:03] Production.INFO: ==27242== Lock acquired, processing the job...
[2025-01-12 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:34:03] Production.INFO: ==27244== Lock acquired, processing the job...
[2025-01-12 03:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 03: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-01-12 03:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:34:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:34:03] Production.INFO: count ==21
[2025-01-12 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228871') start
[2025-01-12 03:34:03] Production.INFO: ==27248== Lock acquired, processing the job...
[2025-01-12 03:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228871') end
[2025-01-12 03:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:34:03] Production.INFO: 1
[2025-01-12 03:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:34:03] Production.INFO: Total Charge 0
[2025-01-12 03:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:34:03] Production.INFO: ==27250== Releasing lock...
[2025-01-12 03:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:34:03] Production.INFO: CreateAllLog End
[2025-01-12 03:34:03] Production.INFO: ==27242== Releasing lock...
[2025-01-12 03:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:34:03] Production.ERROR: done
[2025-01-12 03:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:34:03] Production.ERROR: done
[2025-01-12 03:34:03] Production.INFO: Account Balance End.
[2025-01-12 03:34:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:34:03] Production.INFO: ==27246== Releasing lock...
[2025-01-12 03:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:34:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:34:04
[end_date_ymd] => 2025-01-12 03:34:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:34:04' and `end` < '2025-01-12 03: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-01-12 03:34:11] Production.ERROR: CronJobId end10
[2025-01-12 03:34:11] Production.INFO: ==27244== Releasing lock...
[2025-01-12 03:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:34:13] Production.INFO: call_cost start
[2025-01-12 03:34:13] Production.INFO: call_cost end
[2025-01-12 03:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:34:13] Production.INFO: ==27240== Releasing lock...
[2025-01-12 03:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:34:19] Production.INFO: count ==493
[2025-01-12 03:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:34:04 - End Time 2025-01-12 03:34:04
[2025-01-12 03:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228874', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228874', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228874', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228874', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:34:19] Production.INFO: ProcessCDR(1,14228874,1,1,2)
[2025-01-12 03:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228874', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228874', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:34:22] Production.INFO: ==27248== Releasing lock...
[2025-01-12 03:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:34:22] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:35:01] Production.INFO: ==27303== Lock acquired, processing the job...
[2025-01-12 08:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:35:01] Production.INFO: neon service started
[2025-01-12 08:35:01] Production.INFO: neon service started
[2025-01-12 08:35:01] Production.INFO: ==27303== Releasing lock...
[2025-01-12 08:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:35:02] Production.INFO: ==27305== Lock acquired, processing the job...
[2025-01-12 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:35:02] Production.INFO: ==27305== Releasing lock...
[2025-01-12 03:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:35:02] Production.INFO: ==27307== Lock acquired, processing the job...
[2025-01-12 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:35:02] Production.INFO: ==27307== Releasing lock...
[2025-01-12 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:35:03] Production.INFO: ==27310== Lock acquired, processing the job...
[2025-01-12 03:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:35:03] Production.INFO: ==27318== Lock acquired, processing the job...
[2025-01-12 03:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:35:03] Production.INFO: ==27312== Lock acquired, processing the job...
[2025-01-12 03:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:35:03] Production.INFO: ==27320== Lock acquired, processing the job...
[2025-01-12 03:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:35:03] Production.INFO: ==27314== Lock acquired, processing the job...
[2025-01-12 03:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:35:03] Production.INFO: ==27316== Lock acquired, processing the job...
[2025-01-12 03:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03: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-01-12 03:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:35:03] Production.INFO: Account Balance Start.
[2025-01-12 03:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:35:03] Production.INFO: 117
[2025-01-12 03:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:35:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:35:03] Production.INFO: count ==21
[2025-01-12 03:35:03] Production.ERROR: done
[2025-01-12 03:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228876') start
[2025-01-12 03:35:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:35:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:35:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:35:04] Production.INFO: ==27312== Releasing lock...
[2025-01-12 03:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:35:04] Production.ERROR: done
[2025-01-12 03:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228876') end
[2025-01-12 03:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:35:04] Production.INFO: 1
[2025-01-12 03:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:35:04] Production.INFO: Total Charge 0
[2025-01-12 03:35:04] Production.INFO: CreateAllLog End
[2025-01-12 03:35:04] Production.INFO: ==27320== Releasing lock...
[2025-01-12 03:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:35:04] Production.INFO: Account Balance End.
[2025-01-12 03:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:35:04] Production.INFO: ==27316== Releasing lock...
[2025-01-12 03:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:35:05
[end_date_ymd] => 2025-01-12 03:35:05
[RateCDR] => 1
)
[2025-01-12 03:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:35:05' and `end` < '2025-01-12 03:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:35:10] Production.ERROR: CronJobId end10
[2025-01-12 03:35:10] Production.INFO: ==27314== Releasing lock...
[2025-01-12 03:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:35:12] Production.INFO: call_cost start
[2025-01-12 03:35:12] Production.INFO: call_cost end
[2025-01-12 03:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:35:13] Production.INFO: ==27310== Releasing lock...
[2025-01-12 03:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:35:18] Production.INFO: count ==492
[2025-01-12 03:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:35:05 - End Time 2025-01-12 03:35:05
[2025-01-12 03:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228879', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228879', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228879', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228879', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:35:18] Production.INFO: ProcessCDR(1,14228879,1,1,2)
[2025-01-12 03:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228879', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228879', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:35:21] Production.INFO: ==27318== Releasing lock...
[2025-01-12 03:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:35:21] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:36:01] Production.INFO: ==27411== Lock acquired, processing the job...
[2025-01-12 08:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:36:01] Production.INFO: neon service started
[2025-01-12 08:36:01] Production.INFO: neon service started
[2025-01-12 08:36:01] Production.INFO: ==27411== Releasing lock...
[2025-01-12 08:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:36:01] Production.INFO: ==27415== Lock acquired, processing the job...
[2025-01-12 08:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:36:01] Production.INFO: ==27415== Releasing lock...
[2025-01-12 08:36:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:36:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:36:01] Production.INFO: ==27413== Lock acquired, processing the job...
[2025-01-12 03:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:36:02] Production.INFO: ==27413== Releasing lock...
[2025-01-12 03:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:36:02] Production.INFO: ==27417== Lock acquired, processing the job...
[2025-01-12 03:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:36:02] Production.INFO: ==27421== Lock acquired, processing the job...
[2025-01-12 03:36:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:36:03] Production.INFO: ==27423== Lock acquired, processing the job...
[2025-01-12 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:36:03] Production.INFO: Account Balance Start.
[2025-01-12 03:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:36:03] Production.INFO: 117
[2025-01-12 03:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:36:03] Production.INFO: ==27419== Lock acquired, processing the job...
[2025-01-12 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:36:03] Production.INFO: ==27425== Lock acquired, processing the job...
[2025-01-12 03:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:36:03] Production.INFO: Total Charge 0
[2025-01-12 03:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:36:03] Production.INFO: CreateAllLog End
[2025-01-12 03:36:03] Production.INFO: ==27427== Lock acquired, processing the job...
[2025-01-12 03:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:36:03] Production.INFO: ==27419== Releasing lock...
[2025-01-12 03:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:36:03] Production.INFO: Account Balance End.
[2025-01-12 03:36:03] Production.INFO: count ==21
[2025-01-12 03:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:36:03] Production.INFO: count ==21
[2025-01-12 03:36:03] Production.ERROR: done
[2025-01-12 03:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:36:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:36:03] Production.INFO: ==27423== Releasing lock...
[2025-01-12 03:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228883') start
[2025-01-12 03:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228883') end
[2025-01-12 03:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:36:04] Production.INFO: 1
[2025-01-12 03:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:36:04] Production.ERROR: done
[2025-01-12 03:36:04] Production.INFO: ==27427== Releasing lock...
[2025-01-12 03:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:36:05
[end_date_ymd] => 2025-01-12 03:36:05
[RateCDR] => 1
)
[2025-01-12 03:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:36:05' and `end` < '2025-01-12 03:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:36:10] Production.ERROR: CronJobId end10
[2025-01-12 03:36:10] Production.INFO: ==27421== Releasing lock...
[2025-01-12 03:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:36:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:36:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:36:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:36:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:36:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:36:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:36:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:36:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:36:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:36:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:36:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:36:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:36:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:36:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:36:12] Production.INFO: call_cost start
[2025-01-12 03:36:12] Production.INFO: call_cost end
[2025-01-12 03:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:36:13] Production.INFO: ==27417== Releasing lock...
[2025-01-12 03:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:36:18] Production.INFO: count ==492
[2025-01-12 03:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:36:05 - End Time 2025-01-12 03:36:05
[2025-01-12 03:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228884', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228884', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228884', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228884', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:36:18] Production.INFO: ProcessCDR(1,14228884,1,1,2)
[2025-01-12 03:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228884,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228884,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228884', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228884', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:36:21] Production.INFO: ==27425== Releasing lock...
[2025-01-12 03:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:36:21] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:37:01] Production.INFO: ==27483== Lock acquired, processing the job...
[2025-01-12 08:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:37:01] Production.INFO: neon service started
[2025-01-12 08:37:01] Production.INFO: neon service started
[2025-01-12 08:37:01] Production.INFO: ==27483== Releasing lock...
[2025-01-12 08:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:37:02] Production.INFO: ==27488== Lock acquired, processing the job...
[2025-01-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:37:02] Production.INFO: ==27488== Releasing lock...
[2025-01-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:37:02] Production.INFO: ==27486== Lock acquired, processing the job...
[2025-01-12 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:37:02] Production.INFO: ==27486== Releasing lock...
[2025-01-12 03:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:37:03] Production.INFO: ==27490== Lock acquired, processing the job...
[2025-01-12 03:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:37:03] Production.INFO: ==27494== Lock acquired, processing the job...
[2025-01-12 03:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:37:03] Production.INFO: ==27498== Lock acquired, processing the job...
[2025-01-12 03:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:37:03] Production.INFO: ==27492== Lock acquired, processing the job...
[2025-01-12 03:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:37:03] Production.INFO: ==27496== Lock acquired, processing the job...
[2025-01-12 03:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:37:03] Production.ERROR: done
[2025-01-12 03:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:37:03] Production.INFO: ==27500== Lock acquired, processing the job...
[2025-01-12 03:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:37:04] Production.ERROR: done
[2025-01-12 03:37:04] Production.INFO: Account Balance Start.
[2025-01-12 03:37:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:37:04] Production.INFO: 117
[2025-01-12 03:37:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 03: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-01-12 03:37:04] Production.INFO: count ==21
[2025-01-12 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-01-12 03:37:04] Production.INFO: count ==21
[2025-01-12 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228889') start
[2025-01-12 03:37:04] Production.INFO: ==27492== Releasing lock...
[2025-01-12 03:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228889') end
[2025-01-12 03:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:37:04] Production.INFO: 1
[2025-01-12 03:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:37:04] Production.INFO: ==27500== Releasing lock...
[2025-01-12 03:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:37:04] Production.INFO: Total Charge 0
[2025-01-12 03:37:04] Production.INFO: CreateAllLog End
[2025-01-12 03:37:04] Production.INFO: Account Balance End.
[2025-01-12 03:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:37:04] Production.INFO: ==27496== Releasing lock...
[2025-01-12 03:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:37:05
[end_date_ymd] => 2025-01-12 03:37:05
[RateCDR] => 1
)
[2025-01-12 03:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:37:05' and `end` < '2025-01-12 03:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:37:10] Production.ERROR: CronJobId end10
[2025-01-12 03:37:10] Production.INFO: ==27494== Releasing lock...
[2025-01-12 03:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:37:13] Production.INFO: call_cost start
[2025-01-12 03:37:13] Production.INFO: call_cost end
[2025-01-12 03:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:37:13] Production.INFO: ==27490== Releasing lock...
[2025-01-12 03:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:37:19] Production.INFO: count ==492
[2025-01-12 03:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:37:05 - End Time 2025-01-12 03:37:05
[2025-01-12 03:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228888', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228888', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228888', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228888', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:37:19] Production.INFO: ProcessCDR(1,14228888,1,1,2)
[2025-01-12 03:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228888,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228888,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228888', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228888', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:37:22] Production.INFO: ==27498== Releasing lock...
[2025-01-12 03:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:37:22] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:38:01] Production.INFO: ==27552== Lock acquired, processing the job...
[2025-01-12 08:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:38:01] Production.INFO: neon service started
[2025-01-12 08:38:01] Production.INFO: neon service started
[2025-01-12 08:38:01] Production.INFO: ==27552== Releasing lock...
[2025-01-12 08:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:38:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:38:01] Production.INFO: ==27554== Lock acquired, processing the job...
[2025-01-12 03:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:38:02] Production.INFO: ==27554== Releasing lock...
[2025-01-12 03:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:38:02] Production.INFO: ==27556== Lock acquired, processing the job...
[2025-01-12 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:38:02] Production.INFO: ==27556== Releasing lock...
[2025-01-12 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:38:03] Production.INFO: ==27564== Lock acquired, processing the job...
[2025-01-12 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:38:03] Production.INFO: Account Balance Start.
[2025-01-12 03:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:38:03] Production.INFO: 117
[2025-01-12 03:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:38:03] Production.INFO: ==27569== Lock acquired, processing the job...
[2025-01-12 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:38:03] Production.INFO: ==27558== Lock acquired, processing the job...
[2025-01-12 03:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:38:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:38:03] Production.INFO: ==27560== Lock acquired, processing the job...
[2025-01-12 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:38:03] Production.INFO: count ==21
[2025-01-12 03:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 03: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-01-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:38:03] Production.INFO: count ==21
[2025-01-12 03:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228891') start
[2025-01-12 03:38:03] Production.INFO: ==27562== Lock acquired, processing the job...
[2025-01-12 03:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:38:03] Production.INFO: ==27566== Lock acquired, processing the job...
[2025-01-12 03:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:38:03] Production.INFO: Total Charge 0
[2025-01-12 03:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:38:03] Production.INFO: CreateAllLog End
[2025-01-12 03:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228891') end
[2025-01-12 03:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:38:03] Production.INFO: 1
[2025-01-12 03:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:38:03] Production.INFO: ==27569== Releasing lock...
[2025-01-12 03:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:38:03] Production.ERROR: done
[2025-01-12 03:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:38:03] Production.INFO: Account Balance End.
[2025-01-12 03:38:03] Production.INFO: ==27560== Releasing lock...
[2025-01-12 03:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:38:03] Production.ERROR: CronJobId end 12
[2025-01-12 03:38:03] Production.INFO: ==27564== Releasing lock...
[2025-01-12 03:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:38:03] Production.ERROR: done
[2025-01-12 03:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:38:04
[end_date_ymd] => 2025-01-12 03:38:04
[RateCDR] => 1
)
[2025-01-12 03:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:38:04' and `end` < '2025-01-12 03:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:38:10] Production.ERROR: CronJobId end10
[2025-01-12 03:38:10] Production.INFO: ==27562== Releasing lock...
[2025-01-12 03:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:38:13] Production.INFO: call_cost start
[2025-01-12 03:38:13] Production.INFO: call_cost end
[2025-01-12 03:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:38:14] Production.INFO: ==27558== Releasing lock...
[2025-01-12 03:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:38:18] Production.INFO: count ==492
[2025-01-12 03:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:38:04 - End Time 2025-01-12 03:38:04
[2025-01-12 03:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228894', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228894', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228894', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228894', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:38:18] Production.INFO: ProcessCDR(1,14228894,1,1,2)
[2025-01-12 03:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228894,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228894,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228894', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228894', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:38:21] Production.INFO: ==27566== Releasing lock...
[2025-01-12 03:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:38:21] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:39:01] Production.INFO: ==27620== Lock acquired, processing the job...
[2025-01-12 08:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:39:01] Production.INFO: neon service started
[2025-01-12 08:39:02] Production.INFO: neon service started
[2025-01-12 08:39:02] Production.INFO: ==27620== Releasing lock...
[2025-01-12 08:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:39:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:39:02] Production.INFO: ==27622== Lock acquired, processing the job...
[2025-01-12 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:39:02] Production.INFO: ==27622== Releasing lock...
[2025-01-12 03:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:39:02] Production.INFO: ==27624== Lock acquired, processing the job...
[2025-01-12 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:39:02] Production.INFO: ==27624== Releasing lock...
[2025-01-12 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:39:03] Production.INFO: ==27627== Lock acquired, processing the job...
[2025-01-12 03:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:39:03] Production.INFO: ==27629== Lock acquired, processing the job...
[2025-01-12 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:39:03] Production.INFO: ==27631== Lock acquired, processing the job...
[2025-01-12 03:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:39:03] Production.INFO: ==27629== Releasing lock...
[2025-01-12 03:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:39:03] Production.INFO: ==27635== Lock acquired, processing the job...
[2025-01-12 03:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:39:03] Production.INFO: ==27633== Lock acquired, processing the job...
[2025-01-12 03:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:39:03] Production.INFO: ==27637== Lock acquired, processing the job...
[2025-01-12 03:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:39:03] Production.INFO: Account Balance Start.
[2025-01-12 03:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:39:03] Production.INFO: 117
[2025-01-12 03:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:39:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:39:04] Production.INFO: count ==21
[2025-01-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 03:39:04] Production.INFO: count ==21
[2025-01-12 03:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228898') start
[2025-01-12 03:39:04] Production.ERROR: done
[2025-01-12 03:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:39:04] Production.INFO: Total Charge 0
[2025-01-12 03:39:04] Production.INFO: CreateAllLog End
[2025-01-12 03:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228898') end
[2025-01-12 03:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:39:04] Production.INFO: 1
[2025-01-12 03:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:39:04] Production.ERROR: done
[2025-01-12 03:39:04] Production.INFO: ==27637== Releasing lock...
[2025-01-12 03:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:39:04] Production.INFO: Account Balance End.
[2025-01-12 03:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:39:04] Production.INFO: ==27633== Releasing lock...
[2025-01-12 03:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:39:05
[end_date_ymd] => 2025-01-12 03:39:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:39:05' and `end` < '2025-01-12 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-01-12 03:39:11] Production.ERROR: CronJobId end10
[2025-01-12 03:39:11] Production.INFO: ==27631== Releasing lock...
[2025-01-12 03:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:39:13] Production.INFO: call_cost start
[2025-01-12 03:39:13] Production.INFO: call_cost end
[2025-01-12 03:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:39:14] Production.INFO: ==27627== Releasing lock...
[2025-01-12 03:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:39:20] Production.INFO: count ==490
[2025-01-12 03:39:20] Production.ERROR: pbx CDR StartTime 2025-01-12 00:39:05 - End Time 2025-01-12 03:39:05
[2025-01-12 03:39:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228899', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228899', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228899', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:39:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228899', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:39:20] Production.INFO: ProcessCDR(1,14228899,1,1,2)
[2025-01-12 03:39:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228899,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228899,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228899', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228899', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:39:23] Production.INFO: ==27635== Releasing lock...
[2025-01-12 03:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:39:23] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:40:01] Production.INFO: ==27688== Lock acquired, processing the job...
[2025-01-12 08:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:40:01] Production.INFO: neon service started
[2025-01-12 08:40:01] Production.INFO: neon service started
[2025-01-12 08:40:01] Production.INFO: ==27688== Releasing lock...
[2025-01-12 08:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:40:01] Production.INFO: ==27690== Lock acquired, processing the job...
[2025-01-12 03:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:40:02] Production.INFO: ==27692== Lock acquired, processing the job...
[2025-01-12 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:40:02] Production.INFO: ==27692== Releasing lock...
[2025-01-12 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:40:02] Production.INFO: ==27690== Releasing lock...
[2025-01-12 03:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:40:03] Production.INFO: ==27699== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:40:03] Production.INFO: ==27703== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:40:03] Production.INFO: ==27699== Releasing lock...
[2025-01-12 03:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:40:03] Production.INFO: ==27707== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 03:40:03] Production.INFO: Account Balance Start.
[2025-01-12 03:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:40:03] Production.INFO: 117
[2025-01-12 03:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:40:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:40:03] Production.INFO: ==27695== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 03:40:03] Production.INFO: ==27697== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:40:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:40:03] Production.INFO: ==27701== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:40:03] Production.INFO: ==27705== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:40:03] Production.INFO: ==27709== Lock acquired, processing the job...
[2025-01-12 03:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:40:03] Production.ERROR: CronJob PID - 27697
[2025-01-12 03:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 03:40:03] Production.ERROR: CronJob ID - 5
[2025-01-12 03:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 03:40:00
[2025-01-12 03:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:40:03] Production.ERROR: CronJob PID - 27701
[2025-01-12 03:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 03:40:03] Production.ERROR: CronJob ID - 10
[2025-01-12 03:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 03:40:00
[2025-01-12 03:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:40:03] Production.ERROR: CronJob PID - 27703
[2025-01-12 03:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 03:40:03] Production.ERROR: CronJob ID - 12
[2025-01-12 03:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 03:40:00
[2025-01-12 03:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:40:03] Production.ERROR: CronJob PID - 27707
[2025-01-12 03:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 03:40:03] Production.ERROR: CronJob ID - 17
[2025-01-12 03:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 03:40:00
[2025-01-12 03:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:40:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 03:40:04] Production.INFO: ==27695== Releasing lock...
[2025-01-12 03:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 03:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:40:04] Production.INFO: Total Charge 0
[2025-01-12 03:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:40:04] Production.INFO: CreateAllLog End
[2025-01-12 03:40:04] Production.ERROR: done
[2025-01-12 03:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 03:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228904', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 03:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:40:04] Production.INFO: count ==21
[2025-01-12 03:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:40:04] Production.INFO: count ==21
[2025-01-12 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228903') start
[2025-01-12 03:40:04] Production.ERROR: done
[2025-01-12 03:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228903') end
[2025-01-12 03:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:40:04] Production.INFO: 1
[2025-01-12 03:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:40:04] Production.INFO: Account Balance End.
[2025-01-12 03:40:04] Production.INFO: ==27709== Releasing lock...
[2025-01-12 03:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:40:04] Production.INFO: ==27703== Releasing lock...
[2025-01-12 03:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:40:04] Production.ERROR: done
[2025-01-12 03:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:40:05
[end_date_ymd] => 2025-01-12 03:40:05
[RateCDR] => 1
)
[2025-01-12 03:40:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:40:05' and `end` < '2025-01-12 03:40:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:40:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228904', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 03:40:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 03:40:07] Production.INFO: ProcessCDR(1,14228904,1,1,2)
[2025-01-12 03:40:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228904,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:40:08] Production.INFO: ==27707== Releasing lock...
[2025-01-12 03:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 03:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 03:40:12] Production.ERROR: CronJobId end10
[2025-01-12 03:40:12] Production.INFO: ==27701== Releasing lock...
[2025-01-12 03:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:40:14] Production.INFO: call_cost start
[2025-01-12 03:40:14] Production.INFO: call_cost end
[2025-01-12 03:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:40:15] Production.INFO: ==27697== Releasing lock...
[2025-01-12 03:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:40:18] Production.INFO: count ==484
[2025-01-12 03:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:40:05 - End Time 2025-01-12 03:40:05
[2025-01-12 03:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228905', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228905', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228905', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228905', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:40:18] Production.INFO: ProcessCDR(1,14228905,1,1,2)
[2025-01-12 03:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228905', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228905', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:40:22] Production.INFO: ==27705== Releasing lock...
[2025-01-12 03:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:40:22] Production.INFO: 31 MB #Memory Used#
[2025-01-12 08:41:01] Production.INFO: ==27761== Lock acquired, processing the job...
[2025-01-12 08:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:41:01] Production.INFO: neon service started
[2025-01-12 08:41:01] Production.INFO: neon service started
[2025-01-12 08:41:01] Production.INFO: ==27761== Releasing lock...
[2025-01-12 08:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:41:02] Production.INFO: ==27765== Lock acquired, processing the job...
[2025-01-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:41:02] Production.INFO: ==27765== Releasing lock...
[2025-01-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:41:02] Production.INFO: ==27763== Lock acquired, processing the job...
[2025-01-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:41:02] Production.INFO: ==27763== Releasing lock...
[2025-01-12 03:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:41:03] Production.INFO: ==27778== Lock acquired, processing the job...
[2025-01-12 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:41:03] Production.INFO: ==27776== Lock acquired, processing the job...
[2025-01-12 03:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:41:03] Production.INFO: ==27768== Lock acquired, processing the job...
[2025-01-12 03:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03: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-01-12 03:41:03] Production.INFO: ==27770== Lock acquired, processing the job...
[2025-01-12 03:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:41:03] Production.INFO: count ==21
[2025-01-12 03:41:03] Production.INFO: ==27772== Lock acquired, processing the job...
[2025-01-12 03:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03: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-01-12 03:41:03] Production.INFO: count ==21
[2025-01-12 03:41:03] Production.INFO: ==27774== Lock acquired, processing the job...
[2025-01-12 03:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228906') start
[2025-01-12 03:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:41:03] Production.ERROR: done
[2025-01-12 03:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:41:03] Production.INFO: Account Balance Start.
[2025-01-12 03:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:41:03] Production.INFO: 117
[2025-01-12 03:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228906') end
[2025-01-12 03:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:41:03] Production.INFO: 1
[2025-01-12 03:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:41:03] Production.INFO: ==27778== Releasing lock...
[2025-01-12 03:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:41:04] Production.INFO: ==27770== Releasing lock...
[2025-01-12 03:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:41:04] Production.ERROR: done
[2025-01-12 03:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:41:04] Production.INFO: Total Charge 0
[2025-01-12 03:41:04] Production.INFO: CreateAllLog End
[2025-01-12 03:41:04] Production.INFO: Account Balance End.
[2025-01-12 03:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:41:04] Production.INFO: ==27774== Releasing lock...
[2025-01-12 03:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:41:04
[end_date_ymd] => 2025-01-12 03:41:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:41:04' and `end` < '2025-01-12 03: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-01-12 03:41:11] Production.ERROR: CronJobId end10
[2025-01-12 03:41:11] Production.INFO: ==27772== Releasing lock...
[2025-01-12 03:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:41:13] Production.INFO: call_cost start
[2025-01-12 03:41:13] Production.INFO: call_cost end
[2025-01-12 03:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:41:13] Production.INFO: ==27768== Releasing lock...
[2025-01-12 03:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:41:17] Production.INFO: count ==464
[2025-01-12 03:41:17] Production.ERROR: pbx CDR StartTime 2025-01-12 00:41:04 - End Time 2025-01-12 03:41:04
[2025-01-12 03:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228910', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228910', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228910', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228910', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:41:17] Production.INFO: ProcessCDR(1,14228910,1,1,2)
[2025-01-12 03:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:41:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228910', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:41:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228910', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:41:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:41:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:41:20] Production.INFO: ==27776== Releasing lock...
[2025-01-12 03:41:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:41:20] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:42:02] Production.INFO: ==27839== Lock acquired, processing the job...
[2025-01-12 08:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:42:02] Production.INFO: neon service started
[2025-01-12 08:42:02] Production.INFO: neon service started
[2025-01-12 08:42:02] Production.INFO: ==27839== Releasing lock...
[2025-01-12 08:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:42:02] Production.INFO: ==27841== Lock acquired, processing the job...
[2025-01-12 03:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:42:03] Production.INFO: ==27841== Releasing lock...
[2025-01-12 03:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:42:03] Production.INFO: ==27843== Lock acquired, processing the job...
[2025-01-12 08:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:42:03] Production.INFO: ==27843== Releasing lock...
[2025-01-12 08:42:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:42:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:42:03] Production.INFO: ==27850== Lock acquired, processing the job...
[2025-01-12 03:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:42:03] Production.INFO: ==27856== Lock acquired, processing the job...
[2025-01-12 03:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 03:42:04] Production.INFO: count ==21
[2025-01-12 03:42:04] Production.INFO: ==27846== Lock acquired, processing the job...
[2025-01-12 03:42:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 03:42:04] Production.INFO: count ==21
[2025-01-12 03:42:04] Production.INFO: ==27848== Lock acquired, processing the job...
[2025-01-12 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228911') start
[2025-01-12 03:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:42:04] Production.INFO: ==27852== Lock acquired, processing the job...
[2025-01-12 03:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:42:04] Production.INFO: ==27854== Lock acquired, processing the job...
[2025-01-12 03:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228911') end
[2025-01-12 03:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:42:04] Production.INFO: 1
[2025-01-12 03:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:42:04] Production.INFO: ==27856== Releasing lock...
[2025-01-12 03:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:42:04] Production.INFO: Account Balance Start.
[2025-01-12 03:42:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:42:04] Production.INFO: 117
[2025-01-12 03:42:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:42:04] Production.INFO: ==27848== Releasing lock...
[2025-01-12 03:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:42:04] Production.ERROR: done
[2025-01-12 03:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:42:05] Production.ERROR: done
[2025-01-12 03:42:05] Production.INFO: Total Charge 0
[2025-01-12 03:42:05] Production.INFO: CreateAllLog End
[2025-01-12 03:42:05] Production.INFO: Account Balance End.
[2025-01-12 03:42:05] Production.ERROR: CronJobId end 12
[2025-01-12 03:42:05] Production.INFO: ==27852== Releasing lock...
[2025-01-12 03:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:42:06
[end_date_ymd] => 2025-01-12 03:42:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:42:06' and `end` < '2025-01-12 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-01-12 03:42:12] Production.ERROR: CronJobId end10
[2025-01-12 03:42:12] Production.INFO: ==27850== Releasing lock...
[2025-01-12 03:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:42:14] Production.INFO: call_cost start
[2025-01-12 03:42:14] Production.INFO: call_cost end
[2025-01-12 03:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:42:15] Production.INFO: ==27846== Releasing lock...
[2025-01-12 03:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:42:21] Production.INFO: count ==464
[2025-01-12 03:42:21] Production.ERROR: pbx CDR StartTime 2025-01-12 00:42:06 - End Time 2025-01-12 03:42:06
[2025-01-12 03:42:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228915', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228915', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228915', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:42:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228915', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:42:21] Production.INFO: ProcessCDR(1,14228915,1,1,2)
[2025-01-12 03:42:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228915,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228915,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228915', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228915', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:42:24] Production.INFO: ==27854== Releasing lock...
[2025-01-12 03:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:42:24] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:43:01] Production.INFO: ==27907== Lock acquired, processing the job...
[2025-01-12 08:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:43:01] Production.INFO: neon service started
[2025-01-12 08:43:01] Production.INFO: neon service started
[2025-01-12 08:43:01] Production.INFO: ==27907== Releasing lock...
[2025-01-12 08:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:43:02] Production.INFO: ==27909== Lock acquired, processing the job...
[2025-01-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:43:02] Production.INFO: ==27909== Releasing lock...
[2025-01-12 03:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:43:02] Production.INFO: ==27911== Lock acquired, processing the job...
[2025-01-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:43:02] Production.INFO: ==27911== Releasing lock...
[2025-01-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:43:03] Production.INFO: ==27922== Lock acquired, processing the job...
[2025-01-12 03:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:43:03] Production.INFO: ==27924== Lock acquired, processing the job...
[2025-01-12 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:43:03] Production.INFO: ==27914== Lock acquired, processing the job...
[2025-01-12 03:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:43:03] Production.INFO: ==27916== Lock acquired, processing the job...
[2025-01-12 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:43:03] Production.INFO: ==27918== Lock acquired, processing the job...
[2025-01-12 03:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03: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-01-12 03:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:43:03] Production.INFO: ==27920== Lock acquired, processing the job...
[2025-01-12 03:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:43:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:43:03] Production.INFO: count ==21
[2025-01-12 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228916') start
[2025-01-12 03:43:03] Production.ERROR: done
[2025-01-12 03:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:43:03] Production.INFO: Account Balance Start.
[2025-01-12 03:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:43:03] Production.INFO: 117
[2025-01-12 03:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228916') end
[2025-01-12 03:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:43:03] Production.INFO: 1
[2025-01-12 03:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:43:03] Production.INFO: ==27924== Releasing lock...
[2025-01-12 03:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:43:03] Production.ERROR: done
[2025-01-12 03:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:43:03] Production.INFO: ==27916== Releasing lock...
[2025-01-12 03:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:43:04] Production.INFO: Total Charge 0
[2025-01-12 03:43:04] Production.INFO: CreateAllLog End
[2025-01-12 03:43:04] Production.INFO: Account Balance End.
[2025-01-12 03:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:43:04] Production.INFO: ==27920== Releasing lock...
[2025-01-12 03:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:43:04
[end_date_ymd] => 2025-01-12 03:43:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:43:04' and `end` < '2025-01-12 03: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-01-12 03:43:10] Production.ERROR: CronJobId end10
[2025-01-12 03:43:10] Production.INFO: ==27918== Releasing lock...
[2025-01-12 03:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:43:13] Production.INFO: call_cost start
[2025-01-12 03:43:13] Production.INFO: call_cost end
[2025-01-12 03:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:43:14] Production.INFO: ==27914== Releasing lock...
[2025-01-12 03:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:43:18] Production.INFO: count ==461
[2025-01-12 03:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:43:04 - End Time 2025-01-12 03:43:04
[2025-01-12 03:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228920', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228920', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228920', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228920', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:43:18] Production.INFO: ProcessCDR(1,14228920,1,1,2)
[2025-01-12 03:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228920,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228920,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228920', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228920', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:43:21] Production.INFO: ==27922== Releasing lock...
[2025-01-12 03:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:43:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:44:02] Production.INFO: ==27979== Lock acquired, processing the job...
[2025-01-12 08:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:44:02] Production.INFO: neon service started
[2025-01-12 08:44:02] Production.INFO: neon service started
[2025-01-12 08:44:02] Production.INFO: ==27979== Releasing lock...
[2025-01-12 08:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:44:02] Production.INFO: ==27981== Lock acquired, processing the job...
[2025-01-12 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:44:02] Production.INFO: ==27981== Releasing lock...
[2025-01-12 03:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:44:03] Production.INFO: ==27983== Lock acquired, processing the job...
[2025-01-12 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:44:03] Production.INFO: ==27983== Releasing lock...
[2025-01-12 08:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:44:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:44:03] Production.INFO: ==27993== Lock acquired, processing the job...
[2025-01-12 03:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:44:03] Production.INFO: ==27995== Lock acquired, processing the job...
[2025-01-12 03:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:44:04] Production.INFO: ==27985== Lock acquired, processing the job...
[2025-01-12 03:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:44:04] Production.ERROR: done
[2025-01-12 03:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:44:04] Production.INFO: ==27987== Lock acquired, processing the job...
[2025-01-12 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:44:04] Production.INFO: ==27989== Lock acquired, processing the job...
[2025-01-12 03:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:44:04] Production.INFO: ==27991== Lock acquired, processing the job...
[2025-01-12 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03: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-01-12 03:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:44:04] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:44:04] Production.INFO: count ==21
[2025-01-12 03:44:04] Production.ERROR: done
[2025-01-12 03:44:04] Production.INFO: Account Balance Start.
[2025-01-12 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228921') start
[2025-01-12 03:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:44:04] Production.INFO: 117
[2025-01-12 03:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228921') end
[2025-01-12 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:44:04] Production.INFO: 1
[2025-01-12 03:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:44:04] Production.INFO: ==27987== Releasing lock...
[2025-01-12 03:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:44:04] Production.INFO: ==27995== Releasing lock...
[2025-01-12 03:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:44:04] Production.INFO: Total Charge 0
[2025-01-12 03:44:04] Production.INFO: CreateAllLog End
[2025-01-12 03:44:04] Production.INFO: Account Balance End.
[2025-01-12 03:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:44:04] Production.INFO: ==27991== Releasing lock...
[2025-01-12 03:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:44:05
[end_date_ymd] => 2025-01-12 03:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:44:05' and `end` < '2025-01-12 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-01-12 03:44:11] Production.ERROR: CronJobId end10
[2025-01-12 03:44:11] Production.INFO: ==27989== Releasing lock...
[2025-01-12 03:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:44:12] Production.INFO: call_cost start
[2025-01-12 03:44:12] Production.INFO: call_cost end
[2025-01-12 03:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:44:13] Production.INFO: ==27985== Releasing lock...
[2025-01-12 03:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:44:18] Production.INFO: count ==461
[2025-01-12 03:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:44:05 - End Time 2025-01-12 03:44:05
[2025-01-12 03:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228925', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228925', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228925', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228925', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:44:18] Production.INFO: ProcessCDR(1,14228925,1,1,2)
[2025-01-12 03:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228925,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228925,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228925', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228925', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:44:21] Production.INFO: ==27993== Releasing lock...
[2025-01-12 03:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:44:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:45:01] Production.INFO: ==28050== Lock acquired, processing the job...
[2025-01-12 08:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:45:01] Production.INFO: neon service started
[2025-01-12 08:45:01] Production.INFO: neon service started
[2025-01-12 08:45:01] Production.INFO: ==28050== Releasing lock...
[2025-01-12 08:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:45:02] Production.INFO: ==28059== Lock acquired, processing the job...
[2025-01-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:45:02] Production.INFO: ==28059== Releasing lock...
[2025-01-12 03:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:45:02] Production.INFO: ==28061== Lock acquired, processing the job...
[2025-01-12 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:45:02] Production.INFO: ==28061== Releasing lock...
[2025-01-12 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:45:03] Production.INFO: ==28077== Lock acquired, processing the job...
[2025-01-12 03:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:45:03] Production.INFO: ==28084== Lock acquired, processing the job...
[2025-01-12 03:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:45:03] Production.INFO: ==28068== Lock acquired, processing the job...
[2025-01-12 03:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:45:03] Production.INFO: Account Balance Start.
[2025-01-12 03:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:45:03] Production.INFO: 117
[2025-01-12 03:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:45:03] Production.INFO: ==28071== Lock acquired, processing the job...
[2025-01-12 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:45:03] Production.INFO: ==28074== Lock acquired, processing the job...
[2025-01-12 03:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:45:03] Production.INFO: ==28087== Lock acquired, processing the job...
[2025-01-12 03:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 03:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:45:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:45:03] Production.INFO: count ==21
[2025-01-12 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228927') start
[2025-01-12 03:45:03] Production.INFO: Total Charge 0
[2025-01-12 03:45:03] Production.INFO: CreateAllLog End
[2025-01-12 03:45:03] Production.ERROR: done
[2025-01-12 03:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228927') end
[2025-01-12 03:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:45:03] Production.INFO: 1
[2025-01-12 03:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:45:03] Production.INFO: ==28071== Releasing lock...
[2025-01-12 03:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:45:04] Production.ERROR: done
[2025-01-12 03:45:04] Production.INFO: ==28087== Releasing lock...
[2025-01-12 03:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:45:04] Production.INFO: Account Balance End.
[2025-01-12 03:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:45:04] Production.INFO: ==28077== Releasing lock...
[2025-01-12 03:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:45:04
[end_date_ymd] => 2025-01-12 03:45:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:45:04' and `end` < '2025-01-12 03: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-01-12 03:45:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:45:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:45:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:45:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:45:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:45:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:45:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:45:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:45:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:45:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:45:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:45:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:45:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:45:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:45:14] Production.INFO: call_cost start
[2025-01-12 03:45:14] Production.INFO: call_cost end
[2025-01-12 03:45:14] Production.ERROR: CronJobId end10
[2025-01-12 03:45:14] Production.INFO: ==28074== Releasing lock...
[2025-01-12 03:45:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:45:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:45:15] Production.INFO: ==28068== Releasing lock...
[2025-01-12 03:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:45:18] Production.INFO: count ==459
[2025-01-12 03:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:45:04 - End Time 2025-01-12 03:45:04
[2025-01-12 03:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228930', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228930', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228930', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228930', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:45:19] Production.INFO: ProcessCDR(1,14228930,1,1,2)
[2025-01-12 03:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228930,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228930,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228930', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228930', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:45:22] Production.INFO: ==28084== Releasing lock...
[2025-01-12 03:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:45:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:46:02] Production.INFO: ==28176== Lock acquired, processing the job...
[2025-01-12 08:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:46:02] Production.INFO: neon service started
[2025-01-12 08:46:02] Production.INFO: neon service started
[2025-01-12 08:46:02] Production.INFO: ==28176== Releasing lock...
[2025-01-12 08:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:46:02] Production.INFO: ==28178== Lock acquired, processing the job...
[2025-01-12 03:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:46:03] Production.INFO: ==28178== Releasing lock...
[2025-01-12 03:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:46:03] Production.INFO: ==28180== Lock acquired, processing the job...
[2025-01-12 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:46:03] Production.INFO: ==28180== Releasing lock...
[2025-01-12 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:46:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:46:03] Production.INFO: ==28185== Lock acquired, processing the job...
[2025-01-12 03:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:46:04] Production.INFO: ==28193== Lock acquired, processing the job...
[2025-01-12 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:46:04] Production.INFO: ==28183== Lock acquired, processing the job...
[2025-01-12 03:46:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03: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-01-12 03:46:04] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:46:04] Production.INFO: ==28185== Releasing lock...
[2025-01-12 03:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:46:04] Production.INFO: count ==21
[2025-01-12 03:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228932') start
[2025-01-12 03:46:04] Production.INFO: ==28187== Lock acquired, processing the job...
[2025-01-12 03:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:46:04] Production.INFO: ==28189== Lock acquired, processing the job...
[2025-01-12 03:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228932') end
[2025-01-12 03:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:46:04] Production.INFO: 1
[2025-01-12 03:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:46:04] Production.INFO: Account Balance Start.
[2025-01-12 03:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:46:04] Production.INFO: 117
[2025-01-12 03:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:46:04] Production.INFO: ==28191== Lock acquired, processing the job...
[2025-01-12 03:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:46:04] Production.INFO: ==28193== Releasing lock...
[2025-01-12 03:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:46:04] Production.INFO: Total Charge 0
[2025-01-12 03:46:04] Production.INFO: CreateAllLog End
[2025-01-12 03:46:04] Production.ERROR: done
[2025-01-12 03:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:46:05] Production.INFO: Account Balance End.
[2025-01-12 03:46:05] Production.ERROR: done
[2025-01-12 03:46:05] Production.ERROR: CronJobId end 12
[2025-01-12 03:46:05] Production.INFO: ==28189== Releasing lock...
[2025-01-12 03:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:46:05
[end_date_ymd] => 2025-01-12 03:46:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:46:05' and `end` < '2025-01-12 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-01-12 03:46:11] Production.ERROR: CronJobId end10
[2025-01-12 03:46:11] Production.INFO: ==28187== Releasing lock...
[2025-01-12 03:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:46:14] Production.INFO: call_cost start
[2025-01-12 03:46:14] Production.INFO: call_cost end
[2025-01-12 03:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:46:15] Production.INFO: ==28183== Releasing lock...
[2025-01-12 03:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:46:20] Production.INFO: count ==459
[2025-01-12 03:46:20] Production.ERROR: pbx CDR StartTime 2025-01-12 00:46:05 - End Time 2025-01-12 03:46:05
[2025-01-12 03:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228935', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228935', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228935', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228935', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:46:20] Production.INFO: ProcessCDR(1,14228935,1,1,2)
[2025-01-12 03:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228935,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228935,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228935', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228935', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:46:23] Production.INFO: ==28191== Releasing lock...
[2025-01-12 03:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:46:23] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:47:01] Production.INFO: ==28249== Lock acquired, processing the job...
[2025-01-12 08:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:47:01] Production.INFO: neon service started
[2025-01-12 08:47:01] Production.INFO: neon service started
[2025-01-12 08:47:01] Production.INFO: ==28249== Releasing lock...
[2025-01-12 08:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:47:02] Production.INFO: ==28251== Lock acquired, processing the job...
[2025-01-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:47:02] Production.INFO: ==28251== Releasing lock...
[2025-01-12 03:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:47:02] Production.INFO: ==28253== Lock acquired, processing the job...
[2025-01-12 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:47:02] Production.INFO: ==28253== Releasing lock...
[2025-01-12 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:47:03] Production.INFO: ==28257== Lock acquired, processing the job...
[2025-01-12 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:47:03] Production.INFO: ==28255== Lock acquired, processing the job...
[2025-01-12 03:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:47:03] Production.INFO: ==28259== Lock acquired, processing the job...
[2025-01-12 03:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:47:03] Production.INFO: ==28261== Lock acquired, processing the job...
[2025-01-12 03:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:47:03] Production.INFO: ==28263== Lock acquired, processing the job...
[2025-01-12 03:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:47:03] Production.INFO: ==28265== Lock acquired, processing the job...
[2025-01-12 03:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:47:03] Production.INFO: ==28257== Releasing lock...
[2025-01-12 03:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:47:03] Production.INFO: Account Balance Start.
[2025-01-12 03:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:47:03] Production.INFO: 117
[2025-01-12 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-01-12 03:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:47:03] Production.INFO: count ==21
[2025-01-12 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-01-12 03:47:03] Production.INFO: count ==21
[2025-01-12 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228939') start
[2025-01-12 03:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:47:03] Production.ERROR: done
[2025-01-12 03:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228939') end
[2025-01-12 03:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:47:03] Production.INFO: 1
[2025-01-12 03:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:47:04] Production.INFO: ==28265== Releasing lock...
[2025-01-12 03:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:47:04] Production.ERROR: done
[2025-01-12 03:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:47:04] Production.INFO: Total Charge 0
[2025-01-12 03:47:04] Production.INFO: CreateAllLog End
[2025-01-12 03:47:04] Production.INFO: Account Balance End.
[2025-01-12 03:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:47:04] Production.INFO: ==28261== Releasing lock...
[2025-01-12 03:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:47:05
[end_date_ymd] => 2025-01-12 03:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:47:05' and `end` < '2025-01-12 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-01-12 03:47:12] Production.ERROR: CronJobId end10
[2025-01-12 03:47:12] Production.INFO: ==28259== Releasing lock...
[2025-01-12 03:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:47:13] Production.INFO: call_cost start
[2025-01-12 03:47:13] Production.INFO: call_cost end
[2025-01-12 03:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:47:14] Production.INFO: ==28255== Releasing lock...
[2025-01-12 03:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:47:18] Production.INFO: count ==458
[2025-01-12 03:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:47:05 - End Time 2025-01-12 03:47:05
[2025-01-12 03:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228940', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228940', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228940', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228940', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:47:18] Production.INFO: ProcessCDR(1,14228940,1,1,2)
[2025-01-12 03:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228940,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228940,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228940', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228940', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:47:21] Production.INFO: ==28263== Releasing lock...
[2025-01-12 03:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:47:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:48:02] Production.INFO: ==28322== Lock acquired, processing the job...
[2025-01-12 08:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:48:02] Production.INFO: neon service started
[2025-01-12 08:48:02] Production.INFO: neon service started
[2025-01-12 08:48:02] Production.INFO: ==28322== Releasing lock...
[2025-01-12 08:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:48:02] Production.INFO: ==28324== Lock acquired, processing the job...
[2025-01-12 03:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:48:02] Production.INFO: ==28326== Lock acquired, processing the job...
[2025-01-12 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:48:02] Production.INFO: ==28326== Releasing lock...
[2025-01-12 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:48:03] Production.INFO: ==28324== Releasing lock...
[2025-01-12 03:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:48:03] Production.INFO: ==28335== Lock acquired, processing the job...
[2025-01-12 03:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:48:04] Production.INFO: ==28337== Lock acquired, processing the job...
[2025-01-12 03:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:48:04] Production.INFO: Account Balance Start.
[2025-01-12 03:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:48:04] Production.INFO: 117
[2025-01-12 03:48:04] Production.INFO: ==28329== Lock acquired, processing the job...
[2025-01-12 03:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:48:04] Production.INFO: ==28331== Lock acquired, processing the job...
[2025-01-12 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:48:04] Production.INFO: ==28333== Lock acquired, processing the job...
[2025-01-12 03:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:48:04] Production.INFO: ==28339== Lock acquired, processing the job...
[2025-01-12 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:48:04] Production.INFO: Total Charge 0
[2025-01-12 03:48:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 03:48:04] Production.INFO: count ==21
[2025-01-12 03:48:04] Production.ERROR: done
[2025-01-12 03:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 03:48:04] Production.INFO: count ==21
[2025-01-12 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228944') start
[2025-01-12 03:48:04] Production.INFO: ==28331== Releasing lock...
[2025-01-12 03:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:48:04] Production.INFO: Account Balance End.
[2025-01-12 03:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228944') end
[2025-01-12 03:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:48:04] Production.INFO: 1
[2025-01-12 03:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:48:04] Production.INFO: ==28335== Releasing lock...
[2025-01-12 03:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:48:04] Production.INFO: ==28339== Releasing lock...
[2025-01-12 03:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:48:04] Production.ERROR: done
[2025-01-12 03:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:48:05
[end_date_ymd] => 2025-01-12 03:48:05
[RateCDR] => 1
)
[2025-01-12 03:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:48:05' and `end` < '2025-01-12 03:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:48:11] Production.ERROR: CronJobId end10
[2025-01-12 03:48:11] Production.INFO: ==28333== Releasing lock...
[2025-01-12 03:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:48:13] Production.INFO: call_cost start
[2025-01-12 03:48:13] Production.INFO: call_cost end
[2025-01-12 03:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:48:14] Production.INFO: ==28329== Releasing lock...
[2025-01-12 03:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:48:19] Production.INFO: count ==457
[2025-01-12 03:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:48:05 - End Time 2025-01-12 03:48:05
[2025-01-12 03:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228945', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228945', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228945', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228945', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:48:19] Production.INFO: ProcessCDR(1,14228945,1,1,2)
[2025-01-12 03:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228945,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228945,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228945', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228945', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:48:22] Production.INFO: ==28337== Releasing lock...
[2025-01-12 03:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:48:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:49:01] Production.INFO: ==28393== Lock acquired, processing the job...
[2025-01-12 08:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:49:01] Production.INFO: neon service started
[2025-01-12 08:49:01] Production.INFO: neon service started
[2025-01-12 08:49:01] Production.INFO: ==28393== Releasing lock...
[2025-01-12 08:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:49:01] Production.INFO: ==28395== Lock acquired, processing the job...
[2025-01-12 03:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:49:02] Production.INFO: ==28395== Releasing lock...
[2025-01-12 03:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:49:02] Production.INFO: ==28397== Lock acquired, processing the job...
[2025-01-12 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:49:02] Production.INFO: ==28397== Releasing lock...
[2025-01-12 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:49:03] Production.INFO: ==28399== Lock acquired, processing the job...
[2025-01-12 03:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:49:03] Production.INFO: ==28401== Lock acquired, processing the job...
[2025-01-12 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:49:03] Production.INFO: ==28403== Lock acquired, processing the job...
[2025-01-12 03:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:49:03] Production.INFO: ==28401== Releasing lock...
[2025-01-12 03:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:49:03] Production.INFO: ==28405== Lock acquired, processing the job...
[2025-01-12 03:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:49:03] Production.INFO: ==28407== Lock acquired, processing the job...
[2025-01-12 03:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:49:03] Production.INFO: ==28409== Lock acquired, processing the job...
[2025-01-12 03:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:49:03] Production.INFO: Account Balance Start.
[2025-01-12 03:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:49:03] Production.INFO: 117
[2025-01-12 03:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:49:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:49:03] Production.INFO: count ==21
[2025-01-12 03:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228949') start
[2025-01-12 03:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:49:03] Production.ERROR: done
[2025-01-12 03:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228949') end
[2025-01-12 03:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:49:04] Production.INFO: 1
[2025-01-12 03:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:49:04] Production.INFO: ==28409== Releasing lock...
[2025-01-12 03:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:49:04] Production.ERROR: done
[2025-01-12 03:49:04] Production.INFO: Total Charge 0
[2025-01-12 03:49:04] Production.INFO: CreateAllLog End
[2025-01-12 03:49:04] Production.INFO: Account Balance End.
[2025-01-12 03:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:49:04] Production.INFO: ==28405== Releasing lock...
[2025-01-12 03:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:49:05
[end_date_ymd] => 2025-01-12 03:49:05
[RateCDR] => 1
)
[2025-01-12 03:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:49:05' and `end` < '2025-01-12 03:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:49:11] Production.ERROR: CronJobId end10
[2025-01-12 03:49:11] Production.INFO: ==28403== Releasing lock...
[2025-01-12 03:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:49:13] Production.INFO: call_cost start
[2025-01-12 03:49:13] Production.INFO: call_cost end
[2025-01-12 03:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:49:14] Production.INFO: ==28399== Releasing lock...
[2025-01-12 03:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:49:18] Production.INFO: count ==457
[2025-01-12 03:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:49:05 - End Time 2025-01-12 03:49:05
[2025-01-12 03:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228950', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228950', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228950', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228950', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:49:18] Production.INFO: ProcessCDR(1,14228950,1,1,2)
[2025-01-12 03:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228950,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228950,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228950', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228950', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:49:21] Production.INFO: ==28407== Releasing lock...
[2025-01-12 03:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:49:21] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:50:02] Production.INFO: ==28468== Lock acquired, processing the job...
[2025-01-12 08:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:50:02] Production.INFO: neon service started
[2025-01-12 08:50:02] Production.INFO: neon service started
[2025-01-12 08:50:02] Production.INFO: ==28468== Releasing lock...
[2025-01-12 08:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:50:02] Production.INFO: ==28472== Lock acquired, processing the job...
[2025-01-12 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:50:02] Production.INFO: ==28472== Releasing lock...
[2025-01-12 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:50:02] Production.INFO: ==28470== Lock acquired, processing the job...
[2025-01-12 03:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:50:02] Production.INFO: ==28470== Releasing lock...
[2025-01-12 03:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:50:03] Production.INFO: ==28478== Lock acquired, processing the job...
[2025-01-12 03:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:50:04] Production.INFO: ==28481== Lock acquired, processing the job...
[2025-01-12 03:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:50:04] Production.INFO: ==28474== Lock acquired, processing the job...
[2025-01-12 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 03:50:04] Production.INFO: ==28485== Lock acquired, processing the job...
[2025-01-12 03:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:50:04] Production.INFO: ==28478== Releasing lock...
[2025-01-12 03:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:50:04] Production.INFO: ==28476== Lock acquired, processing the job...
[2025-01-12 03:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:50:04] Production.INFO: ==28483== Lock acquired, processing the job...
[2025-01-12 03:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:50:04] Production.ERROR: CronJob PID - 28476
[2025-01-12 03:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 03:50:04] Production.ERROR: CronJob ID - 5
[2025-01-12 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 03:50:00
[2025-01-12 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:50:04] Production.ERROR: CronJob PID - 28481
[2025-01-12 03:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 03:50:04] Production.ERROR: CronJob ID - 10
[2025-01-12 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 03:50:00
[2025-01-12 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 03:50:04] Production.ERROR: CronJob PID - 28485
[2025-01-12 03:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 03:50:04] Production.ERROR: CronJob ID - 16
[2025-01-12 03:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 03:50:00
[2025-01-12 03:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 03:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 03:50:04] Production.INFO: ==28474== Releasing lock...
[2025-01-12 03:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 03:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 03:50:04] Production.ERROR: done
[2025-01-12 03:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:50:04] Production.INFO: ==28487== Lock acquired, processing the job...
[2025-01-12 03:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 03:50:04] Production.INFO: ==28489== Lock acquired, processing the job...
[2025-01-12 03:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:50:04] Production.INFO: Account Balance Start.
[2025-01-12 03:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:50:04] Production.ERROR: done
[2025-01-12 03:50:04] Production.INFO: 117
[2025-01-12 03:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 03: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-01-12 03:50:04] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:50:04] Production.INFO: count ==21
[2025-01-12 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228954') start
[2025-01-12 03:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:50:04] Production.ERROR: done
[2025-01-12 03:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:50:05] Production.INFO: Date 2025-01-11
[2025-01-12 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 03:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14228954') end
[2025-01-12 03:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:50:05] Production.INFO: 1
[2025-01-12 03:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:50:05] Production.INFO: Date 2025-01-12
[2025-01-12 03:50:05] Production.INFO: ==28489== Releasing lock...
[2025-01-12 03:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 03:50:05] Production.INFO: Total Charge 0
[2025-01-12 03:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 03:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228956', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 03:50:05] Production.INFO: CreateAllLog End
[2025-01-12 03:50:05] Production.INFO: Account Balance End.
[2025-01-12 03:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 03:50:05] Production.INFO: ==28483== Releasing lock...
[2025-01-12 03:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:50:06
[end_date_ymd] => 2025-01-12 03:50:06
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:50:06' and `end` < '2025-01-12 03: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-01-12 03:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14228956', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 03:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 03:50:09] Production.INFO: ProcessCDR(1,14228956,1,1,2)
[2025-01-12 03:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14228956,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14228956,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:50:09] Production.INFO: ==28487== Releasing lock...
[2025-01-12 03:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 03:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 03:50:12] Production.ERROR: CronJobId end10
[2025-01-12 03:50:12] Production.INFO: ==28481== Releasing lock...
[2025-01-12 03:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:50:15] Production.INFO: call_cost start
[2025-01-12 03:50:15] Production.INFO: call_cost end
[2025-01-12 03:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:50:16] Production.INFO: ==28476== Releasing lock...
[2025-01-12 03:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:50:19] Production.INFO: count ==453
[2025-01-12 03:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:50:06 - End Time 2025-01-12 03:50:06
[2025-01-12 03:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228955', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228955', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228955', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228955', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:50:19] Production.INFO: ProcessCDR(1,14228955,1,1,2)
[2025-01-12 03:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228955,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228955,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228955', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228955', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:50:22] Production.INFO: ==28485== Releasing lock...
[2025-01-12 03:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:50:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 08:51:01] Production.INFO: ==28551== Lock acquired, processing the job...
[2025-01-12 08:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:51:01] Production.INFO: neon service started
[2025-01-12 08:51:01] Production.INFO: neon service started
[2025-01-12 08:51:01] Production.INFO: ==28551== Releasing lock...
[2025-01-12 08:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:51:01] Production.INFO: ==28553== Lock acquired, processing the job...
[2025-01-12 03:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:51:02] Production.INFO: ==28553== Releasing lock...
[2025-01-12 03:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:51:02] Production.INFO: ==28555== Lock acquired, processing the job...
[2025-01-12 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:51:02] Production.INFO: ==28555== Releasing lock...
[2025-01-12 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:51:02] Production.INFO: ==28561== Lock acquired, processing the job...
[2025-01-12 03:51:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:51:03] Production.INFO: ==28565== Lock acquired, processing the job...
[2025-01-12 03:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:51:03] Production.INFO: ==28557== Lock acquired, processing the job...
[2025-01-12 03:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:51:03] Production.INFO: ==28559== Lock acquired, processing the job...
[2025-01-12 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:51:03] Production.INFO: ==28563== Lock acquired, processing the job...
[2025-01-12 03:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:51:03] Production.INFO: ==28567== Lock acquired, processing the job...
[2025-01-12 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:51:03] Production.ERROR: done
[2025-01-12 03:51:03] Production.INFO: Account Balance Start.
[2025-01-12 03:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:51:03] Production.INFO: 117
[2025-01-12 03:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 03: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-01-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:51:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:51:03] Production.INFO: count ==21
[2025-01-12 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228959') start
[2025-01-12 03:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:51:03] Production.ERROR: done
[2025-01-12 03:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:51:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228959') end
[2025-01-12 03:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:51:03] Production.INFO: 1
[2025-01-12 03:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:51:03] Production.INFO: ==28567== Releasing lock...
[2025-01-12 03:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:51:03] Production.INFO: ==28559== Releasing lock...
[2025-01-12 03:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:51:03] Production.INFO: Total Charge 0
[2025-01-12 03:51:03] Production.INFO: CreateAllLog End
[2025-01-12 03:51:04] Production.INFO: Account Balance End.
[2025-01-12 03:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:51:04] Production.INFO: ==28563== Releasing lock...
[2025-01-12 03:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:51:04
[end_date_ymd] => 2025-01-12 03:51:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:51:04' and `end` < '2025-01-12 03: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-01-12 03:51:10] Production.ERROR: CronJobId end10
[2025-01-12 03:51:10] Production.INFO: ==28561== Releasing lock...
[2025-01-12 03:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:51:13] Production.INFO: call_cost start
[2025-01-12 03:51:13] Production.INFO: call_cost end
[2025-01-12 03:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:51:14] Production.INFO: ==28557== Releasing lock...
[2025-01-12 03:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:51:18] Production.INFO: count ==416
[2025-01-12 03:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:51:04 - End Time 2025-01-12 03:51:04
[2025-01-12 03:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228961', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228961', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228961', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228961', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:51:18] Production.INFO: ProcessCDR(1,14228961,1,1,2)
[2025-01-12 03:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228961', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228961', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:51:21] Production.INFO: ==28565== Releasing lock...
[2025-01-12 03:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:51:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 08:52:01] Production.INFO: ==28663== Lock acquired, processing the job...
[2025-01-12 08:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:52:01] Production.INFO: neon service started
[2025-01-12 08:52:01] Production.INFO: neon service started
[2025-01-12 08:52:01] Production.INFO: ==28663== Releasing lock...
[2025-01-12 08:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:52:02] Production.INFO: ==28667== Lock acquired, processing the job...
[2025-01-12 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:52:02] Production.INFO: ==28667== Releasing lock...
[2025-01-12 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:52:02] Production.INFO: ==28665== Lock acquired, processing the job...
[2025-01-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:52:02] Production.INFO: ==28665== Releasing lock...
[2025-01-12 03:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:52:03] Production.INFO: ==28669== Lock acquired, processing the job...
[2025-01-12 03:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:52:03] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-01-12 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:52:03] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-01-12 03:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:52:03] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-01-12 03:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:52:03] Production.INFO: ==28671== Releasing lock...
[2025-01-12 03:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:52:03] Production.INFO: Account Balance Start.
[2025-01-12 03:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:52:03] Production.INFO: 117
[2025-01-12 03:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:52:03] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-01-12 03:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:52:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-01-12 03:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:52:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:52:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:52:04] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:52:04] Production.INFO: count ==21
[2025-01-12 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228965') start
[2025-01-12 03:52:04] Production.ERROR: done
[2025-01-12 03:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228965') end
[2025-01-12 03:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:52:04] Production.INFO: 1
[2025-01-12 03:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:52:04] Production.INFO: Total Charge 0
[2025-01-12 03:52:04] Production.INFO: CreateAllLog End
[2025-01-12 03:52:04] Production.INFO: ==28679== Releasing lock...
[2025-01-12 03:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:52:04] Production.ERROR: done
[2025-01-12 03:52:04] Production.INFO: Account Balance End.
[2025-01-12 03:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:52:04] Production.INFO: ==28675== Releasing lock...
[2025-01-12 03:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:52:05
[end_date_ymd] => 2025-01-12 03:52:05
[RateCDR] => 1
)
[2025-01-12 03:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:52:05' and `end` < '2025-01-12 03:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:52:11] Production.ERROR: CronJobId end10
[2025-01-12 03:52:11] Production.INFO: ==28673== Releasing lock...
[2025-01-12 03:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:52:13] Production.INFO: call_cost start
[2025-01-12 03:52:13] Production.INFO: call_cost end
[2025-01-12 03:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:52:14] Production.INFO: ==28669== Releasing lock...
[2025-01-12 03:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:52:19] Production.INFO: count ==388
[2025-01-12 03:52:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:52:05 - End Time 2025-01-12 03:52:05
[2025-01-12 03:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228966', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228966', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228966', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228966', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:52:19] Production.INFO: ProcessCDR(1,14228966,1,1,2)
[2025-01-12 03:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228966', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228966', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:52:22] Production.INFO: ==28677== Releasing lock...
[2025-01-12 03:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:52:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 08:53:02] Production.INFO: ==28739== Lock acquired, processing the job...
[2025-01-12 08:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:53:02] Production.INFO: neon service started
[2025-01-12 08:53:02] Production.INFO: neon service started
[2025-01-12 08:53:02] Production.INFO: ==28739== Releasing lock...
[2025-01-12 08:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:53:02] Production.INFO: ==28743== Lock acquired, processing the job...
[2025-01-12 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:53:02] Production.INFO: ==28743== Releasing lock...
[2025-01-12 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:53:02] Production.INFO: ==28741== Lock acquired, processing the job...
[2025-01-12 03:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:53:03] Production.INFO: ==28741== Releasing lock...
[2025-01-12 03:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:53:03] Production.INFO: ==28751== Lock acquired, processing the job...
[2025-01-12 03:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:53:03] Production.INFO: ==28747== Lock acquired, processing the job...
[2025-01-12 03:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:53:03] Production.INFO: ==28745== Lock acquired, processing the job...
[2025-01-12 03:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:53:04] Production.INFO: Account Balance Start.
[2025-01-12 03:53:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:53:04] Production.INFO: 117
[2025-01-12 03:53:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:53:04] Production.INFO: ==28749== Lock acquired, processing the job...
[2025-01-12 03:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:53:04] Production.INFO: ==28754== Lock acquired, processing the job...
[2025-01-12 03:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:53:04] Production.INFO: Total Charge 0
[2025-01-12 03:53:04] Production.INFO: ==28756== Lock acquired, processing the job...
[2025-01-12 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:53:04] Production.INFO: CreateAllLog End
[2025-01-12 03:53:04] Production.INFO: ==28747== Releasing lock...
[2025-01-12 03:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 03:53:04] Production.INFO: count ==21
[2025-01-12 03:53:04] Production.ERROR: done
[2025-01-12 03:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 03:53:04] Production.INFO: count ==21
[2025-01-12 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228970') start
[2025-01-12 03:53:04] Production.INFO: Account Balance End.
[2025-01-12 03:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:53:04] Production.INFO: ==28751== Releasing lock...
[2025-01-12 03:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:53:04] Production.ERROR: done
[2025-01-12 03:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228970') end
[2025-01-12 03:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:53:04] Production.INFO: 1
[2025-01-12 03:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:53:04] Production.INFO: ==28756== Releasing lock...
[2025-01-12 03:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:53:05
[end_date_ymd] => 2025-01-12 03:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:53:05' and `end` < '2025-01-12 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-01-12 03:53:11] Production.ERROR: CronJobId end10
[2025-01-12 03:53:11] Production.INFO: ==28749== Releasing lock...
[2025-01-12 03:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:53:13] Production.INFO: call_cost start
[2025-01-12 03:53:13] Production.INFO: call_cost end
[2025-01-12 03:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:53:14] Production.INFO: ==28745== Releasing lock...
[2025-01-12 03:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:53:18] Production.INFO: count ==388
[2025-01-12 03:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:53:05 - End Time 2025-01-12 03:53:05
[2025-01-12 03:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228971', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228971', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228971', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228971', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:53:18] Production.INFO: ProcessCDR(1,14228971,1,1,2)
[2025-01-12 03:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228971,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228971,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228971', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228971', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:53:21] Production.INFO: ==28754== Releasing lock...
[2025-01-12 03:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:53:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 08:54:01] Production.INFO: ==28812== Lock acquired, processing the job...
[2025-01-12 08:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:54:01] Production.INFO: neon service started
[2025-01-12 08:54:01] Production.INFO: neon service started
[2025-01-12 08:54:01] Production.INFO: ==28812== Releasing lock...
[2025-01-12 08:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:54:02] Production.INFO: ==28815== Lock acquired, processing the job...
[2025-01-12 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:54:02] Production.INFO: ==28815== Releasing lock...
[2025-01-12 03:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:54:02] Production.INFO: ==28817== Lock acquired, processing the job...
[2025-01-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:54:02] Production.INFO: ==28817== Releasing lock...
[2025-01-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:54:03] Production.INFO: ==28819== Lock acquired, processing the job...
[2025-01-12 03:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:54:03] Production.INFO: ==28823== Lock acquired, processing the job...
[2025-01-12 03:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:54:03] Production.INFO: ==28827== Lock acquired, processing the job...
[2025-01-12 03:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:54:03] Production.INFO: ==28821== Lock acquired, processing the job...
[2025-01-12 03:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:54:03] Production.INFO: ==28825== Lock acquired, processing the job...
[2025-01-12 03:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:54:03] Production.INFO: ==28829== Lock acquired, processing the job...
[2025-01-12 03:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:54:03] Production.INFO: Account Balance Start.
[2025-01-12 03:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:54:03] Production.INFO: 117
[2025-01-12 03:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:54:03] Production.INFO: ==28821== Releasing lock...
[2025-01-12 03:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:54:03] Production.ERROR: done
[2025-01-12 03:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:54:03] Production.INFO: count ==21
[2025-01-12 03:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:54:03] Production.INFO: count ==21
[2025-01-12 03:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228975') start
[2025-01-12 03:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:54:03] Production.INFO: Total Charge 0
[2025-01-12 03:54:03] Production.ERROR: done
[2025-01-12 03:54:04] Production.INFO: CreateAllLog End
[2025-01-12 03:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228975') end
[2025-01-12 03:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:54:04] Production.INFO: 1
[2025-01-12 03:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:54:04] Production.INFO: ==28829== Releasing lock...
[2025-01-12 03:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:54:04] Production.INFO: Account Balance End.
[2025-01-12 03:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:54:04] Production.INFO: ==28825== Releasing lock...
[2025-01-12 03:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:54:04
[end_date_ymd] => 2025-01-12 03:54:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:54:04' and `end` < '2025-01-12 03: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-01-12 03:54:11] Production.ERROR: CronJobId end10
[2025-01-12 03:54:11] Production.INFO: ==28823== Releasing lock...
[2025-01-12 03:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:54:13] Production.INFO: call_cost start
[2025-01-12 03:54:13] Production.INFO: call_cost end
[2025-01-12 03:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:54:14] Production.INFO: ==28819== Releasing lock...
[2025-01-12 03:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:54:19] Production.INFO: count ==388
[2025-01-12 03:54:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:54:04 - End Time 2025-01-12 03:54:04
[2025-01-12 03:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228976', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228976', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228976', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228976', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:54:19] Production.INFO: ProcessCDR(1,14228976,1,1,2)
[2025-01-12 03:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228976,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228976,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228976', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228976', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:54:22] Production.INFO: ==28827== Releasing lock...
[2025-01-12 03:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:54:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 08:55:02] Production.INFO: ==28887== Lock acquired, processing the job...
[2025-01-12 08:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:55:02] Production.INFO: neon service started
[2025-01-12 08:55:02] Production.INFO: neon service started
[2025-01-12 08:55:02] Production.INFO: ==28887== Releasing lock...
[2025-01-12 08:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:55:02] Production.INFO: ==28889== Lock acquired, processing the job...
[2025-01-12 03:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:55:02] Production.INFO: ==28891== Lock acquired, processing the job...
[2025-01-12 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:55:02] Production.INFO: ==28891== Releasing lock...
[2025-01-12 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:55:03] Production.INFO: ==28889== Releasing lock...
[2025-01-12 03:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 03:55:03] Production.INFO: ==28894== Lock acquired, processing the job...
[2025-01-12 03:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:55:03] Production.INFO: ==28896== Lock acquired, processing the job...
[2025-01-12 03:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:55:03] Production.INFO: ==28900== Lock acquired, processing the job...
[2025-01-12 03:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:55:04] Production.INFO: ==28898== Lock acquired, processing the job...
[2025-01-12 03:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:55:04] Production.INFO: Account Balance Start.
[2025-01-12 03:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 03:55:04] Production.INFO: 117
[2025-01-12 03:55:04] Production.INFO: ==28902== Lock acquired, processing the job...
[2025-01-12 03:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 03:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:55:04] Production.INFO: ==28896== Releasing lock...
[2025-01-12 03:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:55:04] Production.INFO: ==28904== Lock acquired, processing the job...
[2025-01-12 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:55:04] Production.ERROR: done
[2025-01-12 03:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:55:04] Production.INFO: Total Charge 0
[2025-01-12 03:55:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 03:55:04] Production.INFO: count ==21
[2025-01-12 03:55:04] Production.ERROR: done
[2025-01-12 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-01-12 03:55:04] Production.INFO: count ==21
[2025-01-12 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228980') start
[2025-01-12 03:55:04] Production.INFO: Account Balance End.
[2025-01-12 03:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:55:04] Production.INFO: ==28900== Releasing lock...
[2025-01-12 03:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228980') end
[2025-01-12 03:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:55:04] Production.INFO: 1
[2025-01-12 03:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:55:04] Production.INFO: ==28904== Releasing lock...
[2025-01-12 03:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:55:05
[end_date_ymd] => 2025-01-12 03:55:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 00:55:05' and `end` < '2025-01-12 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-01-12 03:55:11] Production.ERROR: CronJobId end10
[2025-01-12 03:55:11] Production.INFO: ==28898== Releasing lock...
[2025-01-12 03:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:55:12] Production.INFO: call_cost start
[2025-01-12 03:55:13] Production.INFO: call_cost end
[2025-01-12 03:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:55:13] Production.INFO: ==28894== Releasing lock...
[2025-01-12 03:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:55:18] Production.INFO: count ==388
[2025-01-12 03:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:55:05 - End Time 2025-01-12 03:55:05
[2025-01-12 03:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228981', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228981', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228981', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228981', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:55:18] Production.INFO: ProcessCDR(1,14228981,1,1,2)
[2025-01-12 03:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228981,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228981,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228981', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228981', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:55:21] Production.INFO: ==28902== Releasing lock...
[2025-01-12 03:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:55:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 08:56:01] Production.INFO: ==28965== Lock acquired, processing the job...
[2025-01-12 08:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:56:01] Production.INFO: neon service started
[2025-01-12 08:56:01] Production.INFO: neon service started
[2025-01-12 08:56:01] Production.INFO: ==28965== Releasing lock...
[2025-01-12 08:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:56:01] Production.INFO: ==28967== Lock acquired, processing the job...
[2025-01-12 03:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:56:02] Production.INFO: ==28967== Releasing lock...
[2025-01-12 03:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:56:02] Production.INFO: ==28969== Lock acquired, processing the job...
[2025-01-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:56:02] Production.INFO: ==28969== Releasing lock...
[2025-01-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:56:03] Production.INFO: ==28973== Lock acquired, processing the job...
[2025-01-12 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:56:03] Production.INFO: ==28981== Lock acquired, processing the job...
[2025-01-12 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:56:03] Production.INFO: ==28971== Lock acquired, processing the job...
[2025-01-12 03:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:56:03] Production.INFO: ==28975== Lock acquired, processing the job...
[2025-01-12 03:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:56:03] Production.INFO: ==28973== Releasing lock...
[2025-01-12 03:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:56:03] Production.INFO: ==28977== Lock acquired, processing the job...
[2025-01-12 03:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03: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-01-12 03:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:56:03] Production.INFO: count ==21
[2025-01-12 03:56:03] Production.INFO: ==28979== Lock acquired, processing the job...
[2025-01-12 03:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03: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-01-12 03:56:03] Production.INFO: count ==21
[2025-01-12 03:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228983') start
[2025-01-12 03:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:56:03] Production.INFO: Account Balance Start.
[2025-01-12 03:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:56:03] Production.INFO: 117
[2025-01-12 03:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228983') end
[2025-01-12 03:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:56:03] Production.INFO: 1
[2025-01-12 03:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:56:03] Production.INFO: ==28981== Releasing lock...
[2025-01-12 03:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 03:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:56:03] Production.INFO: Total Charge 0
[2025-01-12 03:56:03] Production.INFO: CreateAllLog End
[2025-01-12 03:56:03] Production.ERROR: done
[2025-01-12 03:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:56:03] Production.INFO: Account Balance End.
[2025-01-12 03:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:56:04] Production.INFO: ==28977== Releasing lock...
[2025-01-12 03:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:56:04] Production.ERROR: done
[2025-01-12 03:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:56:04
[end_date_ymd] => 2025-01-12 03:56:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:56:04' and `end` < '2025-01-12 03: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-01-12 03:56:11] Production.ERROR: CronJobId end10
[2025-01-12 03:56:11] Production.INFO: ==28975== Releasing lock...
[2025-01-12 03:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:56:13] Production.INFO: call_cost start
[2025-01-12 03:56:13] Production.INFO: call_cost end
[2025-01-12 03:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:56:14] Production.INFO: ==28971== Releasing lock...
[2025-01-12 03:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:56:18] Production.INFO: count ==388
[2025-01-12 03:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 00:56:04 - End Time 2025-01-12 03:56:04
[2025-01-12 03:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228986', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228986', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228986', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228986', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:56:18] Production.INFO: ProcessCDR(1,14228986,1,1,2)
[2025-01-12 03:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228986,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228986,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228986', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228986', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:56:21] Production.INFO: ==28979== Releasing lock...
[2025-01-12 03:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:56:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 08:57:02] Production.INFO: ==29047== Lock acquired, processing the job...
[2025-01-12 08:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:57:02] Production.INFO: neon service started
[2025-01-12 08:57:02] Production.INFO: neon service started
[2025-01-12 08:57:02] Production.INFO: ==29047== Releasing lock...
[2025-01-12 08:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:57:02] Production.INFO: ==29049== Lock acquired, processing the job...
[2025-01-12 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:57:02] Production.INFO: ==29049== Releasing lock...
[2025-01-12 03:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:57:02] Production.INFO: ==29051== Lock acquired, processing the job...
[2025-01-12 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:57:03] Production.INFO: ==29051== Releasing lock...
[2025-01-12 08:57:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:57:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:57:03] Production.INFO: ==29053== Lock acquired, processing the job...
[2025-01-12 03:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:57:03] Production.INFO: ==29057== Lock acquired, processing the job...
[2025-01-12 03:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:57:03] Production.INFO: ==29055== Lock acquired, processing the job...
[2025-01-12 03:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:57:03] Production.INFO: ==29061== Lock acquired, processing the job...
[2025-01-12 03:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:57:03] Production.INFO: ==29059== Lock acquired, processing the job...
[2025-01-12 03:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:57:03] Production.INFO: ==29063== Lock acquired, processing the job...
[2025-01-12 03:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:57:03] Production.INFO: Account Balance Start.
[2025-01-12 03:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:57:03] Production.INFO: 117
[2025-01-12 03:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:57:03] Production.INFO: count ==21
[2025-01-12 03:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 03:57:03] Production.INFO: count ==21
[2025-01-12 03:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228990') start
[2025-01-12 03:57:04] Production.ERROR: done
[2025-01-12 03:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14228990') end
[2025-01-12 03:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:57:04] Production.INFO: 1
[2025-01-12 03:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:57:04] Production.INFO: Total Charge 0
[2025-01-12 03:57:04] Production.INFO: CreateAllLog End
[2025-01-12 03:57:04] Production.ERROR: done
[2025-01-12 03:57:04] Production.INFO: ==29063== Releasing lock...
[2025-01-12 03:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:57:04] Production.INFO: ==29055== Releasing lock...
[2025-01-12 03:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:57:04] Production.INFO: Account Balance End.
[2025-01-12 03:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:57:04] Production.INFO: ==29059== Releasing lock...
[2025-01-12 03:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:57:05
[end_date_ymd] => 2025-01-12 03:57:05
[RateCDR] => 1
)
[2025-01-12 03:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:57:05' and `end` < '2025-01-12 03:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:57:11] Production.ERROR: CronJobId end10
[2025-01-12 03:57:11] Production.INFO: ==29057== Releasing lock...
[2025-01-12 03:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:57:13] Production.INFO: call_cost start
[2025-01-12 03:57:13] Production.INFO: call_cost end
[2025-01-12 03:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:57:14] Production.INFO: ==29053== Releasing lock...
[2025-01-12 03:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:57:19] Production.INFO: count ==388
[2025-01-12 03:57:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:57:05 - End Time 2025-01-12 03:57:05
[2025-01-12 03:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228991', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228991', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228991', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228991', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:57:19] Production.INFO: ProcessCDR(1,14228991,1,1,2)
[2025-01-12 03:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228991,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228991,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228991', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228991', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:57:22] Production.INFO: ==29061== Releasing lock...
[2025-01-12 03:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:57:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 08:58:01] Production.INFO: ==29131== Lock acquired, processing the job...
[2025-01-12 08:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:58:01] Production.INFO: neon service started
[2025-01-12 08:58:01] Production.INFO: neon service started
[2025-01-12 08:58:01] Production.INFO: ==29131== Releasing lock...
[2025-01-12 08:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:58:01] Production.INFO: ==29133== Lock acquired, processing the job...
[2025-01-12 03:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:58:02] Production.INFO: ==29133== Releasing lock...
[2025-01-12 03:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:58:02] Production.INFO: ==29135== Lock acquired, processing the job...
[2025-01-12 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:58:02] Production.INFO: ==29135== Releasing lock...
[2025-01-12 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:58:03] Production.INFO: ==29137== Lock acquired, processing the job...
[2025-01-12 03:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:58:03] Production.INFO: ==29141== Lock acquired, processing the job...
[2025-01-12 03:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:58:03] Production.INFO: ==29145== Lock acquired, processing the job...
[2025-01-12 03:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:58:03] Production.INFO: ==29139== Lock acquired, processing the job...
[2025-01-12 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:58:03] Production.INFO: ==29147== Lock acquired, processing the job...
[2025-01-12 03:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:58:03] Production.INFO: ==29143== Lock acquired, processing the job...
[2025-01-12 03:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 03:58:03] Production.ERROR: done
[2025-01-12 03:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:58:03] Production.ERROR: done
[2025-01-12 03: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-01-12 03:58:03] Production.INFO: Account Balance Start.
[2025-01-12 03:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:58:03] Production.INFO: 117
[2025-01-12 03:58:03] Production.INFO: count ==21
[2025-01-12 03: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-01-12 03:58:03] Production.INFO: count ==21
[2025-01-12 03:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228993') start
[2025-01-12 03:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228993') end
[2025-01-12 03:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:58:03] Production.INFO: 1
[2025-01-12 03:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:58:03] Production.INFO: ==29139== Releasing lock...
[2025-01-12 03:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:58:04] Production.INFO: ==29147== Releasing lock...
[2025-01-12 03:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:58:04] Production.INFO: Total Charge 0
[2025-01-12 03:58:04] Production.INFO: CreateAllLog End
[2025-01-12 03:58:04] Production.INFO: Account Balance End.
[2025-01-12 03:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:58:04] Production.INFO: ==29143== Releasing lock...
[2025-01-12 03:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:58:04
[end_date_ymd] => 2025-01-12 03:58:04
[RateCDR] => 1
)
[2025-01-12 03: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-01-12 00:58:04' and `end` < '2025-01-12 03: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-01-12 03:58:10] Production.ERROR: CronJobId end10
[2025-01-12 03:58:10] Production.INFO: ==29141== Releasing lock...
[2025-01-12 03:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:58:13] Production.INFO: call_cost start
[2025-01-12 03:58:13] Production.INFO: call_cost end
[2025-01-12 03:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:58:14] Production.INFO: ==29137== Releasing lock...
[2025-01-12 03:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:58:19] Production.INFO: count ==384
[2025-01-12 03:58:19] Production.ERROR: pbx CDR StartTime 2025-01-12 00:58:04 - End Time 2025-01-12 03:58:04
[2025-01-12 03:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228996', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14228996', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228996', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14228996', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:58:19] Production.INFO: ProcessCDR(1,14228996,1,1,2)
[2025-01-12 03:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14228996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14228996,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14228996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14228996,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228996', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14228996', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:58:22] Production.INFO: ==29145== Releasing lock...
[2025-01-12 03:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:58:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 08:59:01] Production.INFO: ==29214== Lock acquired, processing the job...
[2025-01-12 08:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 08:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 08:59:01] Production.INFO: neon service started
[2025-01-12 08:59:02] Production.INFO: neon service started
[2025-01-12 08:59:02] Production.INFO: ==29214== Releasing lock...
[2025-01-12 08:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 08:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 03:59:02] Production.INFO: ==29217== Lock acquired, processing the job...
[2025-01-12 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 03:59:02] Production.INFO: ==29217== Releasing lock...
[2025-01-12 03:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 03:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:59:02] Production.INFO: ==29220== Lock acquired, processing the job...
[2025-01-12 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:59:02] Production.INFO: ==29220== Releasing lock...
[2025-01-12 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 08:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 03:59:03] Production.INFO: ==29231== Lock acquired, processing the job...
[2025-01-12 03:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 03:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 03:59:03] Production.INFO: ==29233== Lock acquired, processing the job...
[2025-01-12 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 03:59:03] Production.INFO: ==29222== Lock acquired, processing the job...
[2025-01-12 03:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 03:59:03] Production.INFO: ==29224== Lock acquired, processing the job...
[2025-01-12 03:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 03:59:03] Production.INFO: ==29226== Lock acquired, processing the job...
[2025-01-12 03:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 03:59:03] Production.INFO: ==29228== Lock acquired, processing the job...
[2025-01-12 03:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 03:59:03] Production.ERROR: done
[2025-01-12 03:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 03:59:03] Production.INFO: count ==21
[2025-01-12 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-01-12 03:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 03:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 03:59:03] Production.INFO: count ==21
[2025-01-12 03:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 03:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228997') start
[2025-01-12 03:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 03:59:03] Production.INFO: Account Balance Start.
[2025-01-12 03:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 03:59:03] Production.INFO: 117
[2025-01-12 03:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:59:03] Production.ERROR: done
[2025-01-12 03:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14228997') end
[2025-01-12 03:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 03:59:03] Production.INFO: 1
[2025-01-12 03:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 03:59:03] Production.INFO: ==29233== Releasing lock...
[2025-01-12 03:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 03:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 03:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 03:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 03:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 03:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 03:59:04] Production.INFO: ==29224== Releasing lock...
[2025-01-12 03:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 03:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 03:59:04] Production.INFO: Total Charge 0
[2025-01-12 03:59:04] Production.INFO: CreateAllLog End
[2025-01-12 03:59:04] Production.INFO: Account Balance End.
[2025-01-12 03:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 03:59:04] Production.INFO: ==29228== Releasing lock...
[2025-01-12 03:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 03:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 03:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 00:59:04
[end_date_ymd] => 2025-01-12 03:59:04
[RateCDR] => 1
)
[2025-01-12 03:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 00:59:04' and `end` < '2025-01-12 03:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 03:59:10] Production.ERROR: CronJobId end10
[2025-01-12 03:59:10] Production.INFO: ==29226== Releasing lock...
[2025-01-12 03:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 03:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 03:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 03:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 03:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 03:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 03:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 03:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 03:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 03:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 03:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 03:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 03:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 03:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 03:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 03:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 03:59:13] Production.INFO: call_cost start
[2025-01-12 03:59:13] Production.INFO: call_cost end
[2025-01-12 03:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 03:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 03:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 03:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 03:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 03:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 03:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 03:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 03:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 03:59:13] Production.INFO: ==29222== Releasing lock...
[2025-01-12 03:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 03:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 03:59:17] Production.INFO: count ==382
[2025-01-12 03:59:17] Production.ERROR: pbx CDR StartTime 2025-01-12 00:59:04 - End Time 2025-01-12 03:59:04
[2025-01-12 03:59:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229001', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229001', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229001', 'tblTempVendorCDR_20' ) start
[2025-01-12 03:59:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229001', 'tblTempVendorCDR_20' ) end
[2025-01-12 03:59:17] Production.INFO: ProcessCDR(1,14229001,1,1,2)
[2025-01-12 03:59:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:59:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229001,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 03:59:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229001,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229001', 'tblTempUsageDetail_20' ) start
[2025-01-12 03:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229001', 'tblTempUsageDetail_20' ) end
[2025-01-12 03:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 03:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 03:59:21] Production.INFO: ==29231== Releasing lock...
[2025-01-12 03:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 03:59:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:00:01] Production.INFO: ==29298== Lock acquired, processing the job...
[2025-01-12 09:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:00:01] Production.INFO: neon service started
[2025-01-12 09:00:01] Production.INFO: neon service started
[2025-01-12 09:00:01] Production.INFO: ==29298== Releasing lock...
[2025-01-12 09:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:00:01] Production.INFO: ==29302== Lock acquired, processing the job...
[2025-01-12 09:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:00:01] Production.INFO: ==29302== Releasing lock...
[2025-01-12 09:00:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:00:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:00:01] Production.INFO: ==29300== Lock acquired, processing the job...
[2025-01-12 04:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:00:02] Production.INFO: ==29300== Releasing lock...
[2025-01-12 04:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:00:03] Production.INFO: ==29307== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Starts#
[2025-01-12 04:00:03] Production.INFO: ==29313== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:00:03] Production.INFO: ==29305== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 04:00:03] Production.INFO: ==29309== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 04:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:00:03] Production.ERROR: CronJob PID - 29307
[2025-01-12 04:00:03] Production.ERROR: CronJob Title - DB CleanUp
[2025-01-12 04:00:03] Production.ERROR: CronJob ID - 3
[2025-01-12 04:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 04:00:00
[2025-01-12 04:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:00:03] Production.ERROR: CronJob PID - 29313
[2025-01-12 04:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 04:00:03] Production.ERROR: CronJob ID - 10
[2025-01-12 04:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 04:00:00
[2025-01-12 04:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:00:03] Production.INFO: ==29311== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 04:00:03] Production.INFO: ==29305== Releasing lock...
[2025-01-12 04:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 04:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:00:03] Production.INFO: DBcleanup Starts.
[2025-01-12 04:00:03] Production.INFO: Usage Download Log Start.
[2025-01-12 04:00:03] Production.INFO: Usage Download Log End.
[2025-01-12 04:00:03] Production.INFO: Cronjob History Delete Start.
[2025-01-12 04:00:03] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-13','Cronjob')
[2025-01-12 04:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:00:03] Production.INFO: ==29317== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:00:03] Production.INFO: ==29315== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:00:03] Production.INFO: ==29319== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 04:00:03] Production.INFO: ==29321== Lock acquired, processing the job...
[2025-01-12 04:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:00:03] Production.INFO: Account Balance Start.
[2025-01-12 04:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:00:03] Production.INFO: 117
[2025-01-12 04:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 04: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-01-12 04:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:00:04] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:00:04] Production.INFO: count ==21
[2025-01-12 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229006') start
[2025-01-12 04:00:04] Production.ERROR: done
[2025-01-12 04:00:04] Production.ERROR: done
[2025-01-12 04:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229006') end
[2025-01-12 04:00:04] Production.INFO: ==29311== Releasing lock...
[2025-01-12 04:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:00:04] Production.INFO: 1
[2025-01-12 04:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 04:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229007', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 04:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:00:04] Production.INFO: Total Charge 0
[2025-01-12 04:00:04] Production.INFO: CreateAllLog End
[2025-01-12 04:00:04] Production.INFO: ==29321== Releasing lock...
[2025-01-12 04:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:00:04] Production.ERROR: done
[2025-01-12 04:00:04] Production.INFO: Account Balance End.
[2025-01-12 04:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:00:04] Production.INFO: ==29315== Releasing lock...
[2025-01-12 04:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:00:05
[end_date_ymd] => 2025-01-12 04:00:05
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:00:05' and `end` < '2025-01-12 04: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-01-12 04:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229007', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 04:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 04:00:09] Production.INFO: ProcessCDR(1,14229007,1,1,2)
[2025-01-12 04:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229007,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229007,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:00:09] Production.INFO: ==29319== Releasing lock...
[2025-01-12 04:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 04:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 04:00:15] Production.INFO: Cronjob History Delete End.
[2025-01-12 04:00:15] Production.INFO: Job Log Delete Start.
[2025-01-12 04:00:15] Production.INFO: call prc_deleteJobOrCronJobLogByRetention(1,'2024-01-13','Job')
[2025-01-12 04:00:15] Production.INFO: Job Log Delete End.
[2025-01-12 04:00:15] Production.INFO: Customer RateSheet History Delete Starts.
[2025-01-12 04:00:15] Production.INFO: Customer RateSheet History Delete End.
[2025-01-12 04:00:15] Production.INFO: Vendor RateSheet History Delete Start.
[2025-01-12 04:00:15] Production.INFO: Vendor RateSheet History Delete End.
[2025-01-12 04:00:15] Production.INFO: All Old Rate Delete Start
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Start.
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldVendorRate Done.
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Start.
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldCustomerRate Done.
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Start.
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateTableRate Done.
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Start.
[2025-01-12 04:00:15] Production.INFO: DBcleanup: prc_WSCronJobDeleteOldRateSheetDetails Done.
[2025-01-12 04:00:15] Production.INFO: All Old Rate Delete End
[2025-01-12 04:00:15] Production.INFO: Customer CDR Delete Start.
[2025-01-12 04:00:15] Production.INFO: Customer CDR Delete End.
[2025-01-12 04:00:15] Production.INFO: Customer Failed Call Start.
[2025-01-12 04:00:15] Production.INFO: Customer Failed Call Delete End.
[2025-01-12 04:00:15] Production.INFO: Vendor CDR Delete Start.
[2025-01-12 04:00:15] Production.INFO: Vendor CDR Delete End.
[2025-01-12 04:00:15] Production.INFO: Vendor CDR Delete Start.
[2025-01-12 04:00:15] Production.INFO: Vendor CDR Delete End.
[2025-01-12 04:00:15] Production.INFO: RateLog Delete Start.
[2025-01-12 04:00:15] Production.INFO: RateLog Delete End.
[2025-01-12 04:00:15] Production.INFO: Archive Old Rate Delete Start.
[2025-01-12 04:00:15] Production.INFO: Archive Old Rate Delete End.
[2025-01-12 04:00:15] Production.INFO: Tickets Delete Start.
[2025-01-12 04:00:15] Production.INFO: Tickets Delete End.
[2025-01-12 04:00:15] Production.INFO: DBcleanup Done.
[2025-01-12 04:00:15] Production.ERROR: CronJobId end 3
[2025-01-12 04:00:15] Production.INFO: ==29307== Releasing lock...
[2025-01-12 04:00:15] Production.INFO: dbcleanup-command-dbcleanup-companyid-1-cronjobid-3 #Stops#
[2025-01-12 04:00:15] Production.INFO: 26 MB #Memory Used#
[2025-01-12 04:00:16] Production.ERROR: CronJobId end10
[2025-01-12 04:00:16] Production.INFO: ==29313== Releasing lock...
[2025-01-12 04:00:16] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:00:16] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:00:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:00:17] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:00:17] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:00:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:00:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:00:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:00:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:00:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:00:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:00:17] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:00:17] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:00:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:00:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:00:17] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:00:18] Production.INFO: call_cost start
[2025-01-12 04:00:18] Production.INFO: call_cost end
[2025-01-12 04:00:18] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:00:18] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:00:18] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:00:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:00:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:00:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:00:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:00:18] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:00:18] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:00:18] Production.INFO: ==29309== Releasing lock...
[2025-01-12 04:00:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:00:18] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:00:19] Production.INFO: count ==384
[2025-01-12 04:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:00:05 - End Time 2025-01-12 04:00:05
[2025-01-12 04:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229008', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229008', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229008', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229008', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:00:19] Production.INFO: ProcessCDR(1,14229008,1,1,2)
[2025-01-12 04:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229008', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229008', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:00:22] Production.INFO: ==29317== Releasing lock...
[2025-01-12 04:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:00:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:01:01] Production.INFO: ==29389== Lock acquired, processing the job...
[2025-01-12 09:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:01:01] Production.INFO: neon service started
[2025-01-12 09:01:01] Production.INFO: neon service started
[2025-01-12 09:01:01] Production.INFO: ==29389== Releasing lock...
[2025-01-12 09:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:01:02] Production.INFO: ==29404== Lock acquired, processing the job...
[2025-01-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:01:02] Production.INFO: ==29404== Releasing lock...
[2025-01-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:01:02] Production.INFO: ==29402== Lock acquired, processing the job...
[2025-01-12 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:01:02] Production.INFO: ==29402== Releasing lock...
[2025-01-12 04:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:01:03] Production.INFO: ==29406== Lock acquired, processing the job...
[2025-01-12 04:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:01:03] Production.INFO: ==29410== Lock acquired, processing the job...
[2025-01-12 04:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:01:03] Production.INFO: ==29412== Lock acquired, processing the job...
[2025-01-12 04:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:01:03] Production.INFO: Account Balance Start.
[2025-01-12 04:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:01:03] Production.INFO: 117
[2025-01-12 04:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:01:03] Production.INFO: ==29408== Lock acquired, processing the job...
[2025-01-12 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:01:03] Production.INFO: ==29416== Lock acquired, processing the job...
[2025-01-12 04:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:01:03] Production.INFO: count ==21
[2025-01-12 04:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:01:03] Production.INFO: count ==21
[2025-01-12 04:01:03] Production.INFO: Total Charge 0
[2025-01-12 04:01:03] Production.INFO: ==29414== Lock acquired, processing the job...
[2025-01-12 04:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229012') start
[2025-01-12 04:01:03] Production.INFO: CreateAllLog End
[2025-01-12 04:01:03] Production.INFO: ==29408== Releasing lock...
[2025-01-12 04:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229012') end
[2025-01-12 04:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:01:03] Production.INFO: 1
[2025-01-12 04:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:01:04] Production.INFO: ==29416== Releasing lock...
[2025-01-12 04:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:01:04] Production.INFO: Account Balance End.
[2025-01-12 04:01:04] Production.ERROR: done
[2025-01-12 04:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:01:04] Production.INFO: ==29412== Releasing lock...
[2025-01-12 04:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:01:04] Production.ERROR: done
[2025-01-12 04:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:01:04
[end_date_ymd] => 2025-01-12 04:01:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:01:04' and `end` < '2025-01-12 04: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-01-12 04:01:11] Production.ERROR: CronJobId end10
[2025-01-12 04:01:11] Production.INFO: ==29410== Releasing lock...
[2025-01-12 04:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:01:13] Production.INFO: call_cost start
[2025-01-12 04:01:13] Production.INFO: call_cost end
[2025-01-12 04:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:01:14] Production.INFO: ==29406== Releasing lock...
[2025-01-12 04:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:01:20] Production.INFO: count ==369
[2025-01-12 04:01:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:01:04 - End Time 2025-01-12 04:01:04
[2025-01-12 04:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229013', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229013', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229013', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229013', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:01:20] Production.INFO: ProcessCDR(1,14229013,1,1,2)
[2025-01-12 04:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229013', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229013', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:01:23] Production.INFO: ==29414== Releasing lock...
[2025-01-12 04:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:01:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:02:02] Production.INFO: ==29483== Lock acquired, processing the job...
[2025-01-12 09:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:02:02] Production.INFO: neon service started
[2025-01-12 09:02:02] Production.INFO: neon service started
[2025-01-12 09:02:02] Production.INFO: ==29483== Releasing lock...
[2025-01-12 09:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:02:02] Production.INFO: ==29485== Lock acquired, processing the job...
[2025-01-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:02:02] Production.INFO: ==29485== Releasing lock...
[2025-01-12 04:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:02:02] Production.INFO: ==29487== Lock acquired, processing the job...
[2025-01-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:02:02] Production.INFO: ==29487== Releasing lock...
[2025-01-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:02:03] Production.INFO: ==29497== Lock acquired, processing the job...
[2025-01-12 04:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:02:03] Production.INFO: ==29499== Lock acquired, processing the job...
[2025-01-12 04:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:02:03] Production.INFO: ==29489== Lock acquired, processing the job...
[2025-01-12 04:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:02:03] Production.INFO: ==29495== Lock acquired, processing the job...
[2025-01-12 04:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:02:03] Production.INFO: ==29491== Lock acquired, processing the job...
[2025-01-12 04:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:02:03] Production.INFO: ==29493== Lock acquired, processing the job...
[2025-01-12 04:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 04:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:02:03] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:02:03] Production.INFO: count ==21
[2025-01-12 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229014') start
[2025-01-12 04:02:04] Production.INFO: Account Balance Start.
[2025-01-12 04:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:02:04] Production.ERROR: done
[2025-01-12 04:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:02:04] Production.INFO: 117
[2025-01-12 04:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229014') end
[2025-01-12 04:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:02:04] Production.INFO: 1
[2025-01-12 04:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:02:04] Production.ERROR: done
[2025-01-12 04:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:02:04] Production.INFO: ==29499== Releasing lock...
[2025-01-12 04:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:02:04] Production.INFO: ==29491== Releasing lock...
[2025-01-12 04:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:02:04] Production.INFO: Total Charge 0
[2025-01-12 04:02:04] Production.INFO: CreateAllLog End
[2025-01-12 04:02:04] Production.INFO: Account Balance End.
[2025-01-12 04:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:02:04] Production.INFO: ==29495== Releasing lock...
[2025-01-12 04:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:02:05
[end_date_ymd] => 2025-01-12 04:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:02:05' and `end` < '2025-01-12 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-01-12 04:02:11] Production.ERROR: CronJobId end10
[2025-01-12 04:02:11] Production.INFO: ==29493== Releasing lock...
[2025-01-12 04:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:02:14] Production.INFO: call_cost start
[2025-01-12 04:02:14] Production.INFO: call_cost end
[2025-01-12 04:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:02:15] Production.INFO: ==29489== Releasing lock...
[2025-01-12 04:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:02:19] Production.INFO: count ==369
[2025-01-12 04:02:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:02:05 - End Time 2025-01-12 04:02:05
[2025-01-12 04:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229018', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229018', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229018', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229018', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:02:19] Production.INFO: ProcessCDR(1,14229018,1,1,2)
[2025-01-12 04:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229018', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229018', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:02:22] Production.INFO: ==29497== Releasing lock...
[2025-01-12 04:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:02:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:03:01] Production.INFO: ==29569== Lock acquired, processing the job...
[2025-01-12 09:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:03:01] Production.INFO: neon service started
[2025-01-12 09:03:01] Production.INFO: neon service started
[2025-01-12 09:03:01] Production.INFO: ==29569== Releasing lock...
[2025-01-12 09:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:03:01] Production.INFO: ==29571== Lock acquired, processing the job...
[2025-01-12 04:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:03:02] Production.INFO: ==29571== Releasing lock...
[2025-01-12 04:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:03:02] Production.INFO: ==29573== Lock acquired, processing the job...
[2025-01-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:03:02] Production.INFO: ==29573== Releasing lock...
[2025-01-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:03:03] Production.INFO: ==29575== Lock acquired, processing the job...
[2025-01-12 04:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:03:03] Production.INFO: ==29585== Lock acquired, processing the job...
[2025-01-12 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:03:03] Production.INFO: ==29577== Lock acquired, processing the job...
[2025-01-12 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:03:03] Production.INFO: ==29579== Lock acquired, processing the job...
[2025-01-12 04:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:03:03] Production.INFO: count ==21
[2025-01-12 04:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:03:03] Production.INFO: count ==21
[2025-01-12 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229019') start
[2025-01-12 04:03:03] Production.INFO: ==29581== Lock acquired, processing the job...
[2025-01-12 04:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:03:03] Production.INFO: ==29583== Lock acquired, processing the job...
[2025-01-12 04:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:03:03] Production.INFO: Account Balance Start.
[2025-01-12 04:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:03:03] Production.INFO: 117
[2025-01-12 04:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229019') end
[2025-01-12 04:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:03:03] Production.INFO: 1
[2025-01-12 04:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:03:03] Production.INFO: ==29585== Releasing lock...
[2025-01-12 04:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:03:03] Production.INFO: ==29577== Releasing lock...
[2025-01-12 04:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:03:03] Production.INFO: Total Charge 0
[2025-01-12 04:03:03] Production.INFO: CreateAllLog End
[2025-01-12 04:03:03] Production.ERROR: done
[2025-01-12 04:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:03:03] Production.ERROR: done
[2025-01-12 04:03:04] Production.INFO: Account Balance End.
[2025-01-12 04:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:03:04] Production.INFO: ==29581== Releasing lock...
[2025-01-12 04:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:03:04
[end_date_ymd] => 2025-01-12 04:03:04
[RateCDR] => 1
)
[2025-01-12 04:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:03:04' and `end` < '2025-01-12 04:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:03:11] Production.ERROR: CronJobId end10
[2025-01-12 04:03:11] Production.INFO: ==29579== Releasing lock...
[2025-01-12 04:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:03:12] Production.INFO: call_cost start
[2025-01-12 04:03:12] Production.INFO: call_cost end
[2025-01-12 04:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:03:13] Production.INFO: ==29575== Releasing lock...
[2025-01-12 04:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:03:18] Production.INFO: count ==369
[2025-01-12 04:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:03:04 - End Time 2025-01-12 04:03:04
[2025-01-12 04:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229023', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229023', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229023', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229023', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:03:18] Production.INFO: ProcessCDR(1,14229023,1,1,2)
[2025-01-12 04:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229023', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229023', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:03:21] Production.INFO: ==29583== Releasing lock...
[2025-01-12 04:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:03:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:04:02] Production.INFO: ==29651== Lock acquired, processing the job...
[2025-01-12 09:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:04:02] Production.INFO: neon service started
[2025-01-12 09:04:02] Production.INFO: neon service started
[2025-01-12 09:04:02] Production.INFO: ==29651== Releasing lock...
[2025-01-12 09:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:04:02] Production.INFO: ==29653== Lock acquired, processing the job...
[2025-01-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:04:02] Production.INFO: ==29653== Releasing lock...
[2025-01-12 04:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:04:03] Production.INFO: ==29655== Lock acquired, processing the job...
[2025-01-12 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:04:03] Production.INFO: ==29655== Releasing lock...
[2025-01-12 09:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:04:03] Production.INFO: ==29659== Lock acquired, processing the job...
[2025-01-12 04:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:04:03] Production.INFO: ==29668== Lock acquired, processing the job...
[2025-01-12 04:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:04:04] Production.INFO: ==29657== Lock acquired, processing the job...
[2025-01-12 04:04:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 04:04:04] Production.INFO: ==29661== Lock acquired, processing the job...
[2025-01-12 04:04:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:04:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:04:04] Production.INFO: count ==21
[2025-01-12 04:04:04] Production.INFO: ==29664== Lock acquired, processing the job...
[2025-01-12 04:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:04:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229024') start
[2025-01-12 04:04:04] Production.INFO: ==29666== Lock acquired, processing the job...
[2025-01-12 04:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:04:04] Production.INFO: ==29659== Releasing lock...
[2025-01-12 04:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229024') end
[2025-01-12 04:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:04:04] Production.INFO: 1
[2025-01-12 04:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:04:04] Production.INFO: Account Balance Start.
[2025-01-12 04:04:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:04:04] Production.INFO: 117
[2025-01-12 04:04:04] Production.INFO: ==29668== Releasing lock...
[2025-01-12 04:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:04:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:04:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:04:04] Production.ERROR: done
[2025-01-12 04:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:04:04] Production.INFO: Total Charge 0
[2025-01-12 04:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:04:04] Production.INFO: CreateAllLog End
[2025-01-12 04:04:04] Production.ERROR: done
[2025-01-12 04:04:05] Production.INFO: Account Balance End.
[2025-01-12 04:04:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:04:05] Production.INFO: ==29664== Releasing lock...
[2025-01-12 04:04:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:04:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:04:05
[end_date_ymd] => 2025-01-12 04:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:04:05' and `end` < '2025-01-12 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-01-12 04:04:12] Production.ERROR: CronJobId end10
[2025-01-12 04:04:12] Production.INFO: ==29661== Releasing lock...
[2025-01-12 04:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:04:13] Production.INFO: call_cost start
[2025-01-12 04:04:13] Production.INFO: call_cost end
[2025-01-12 04:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:04:14] Production.INFO: ==29657== Releasing lock...
[2025-01-12 04:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:04:20] Production.INFO: count ==369
[2025-01-12 04:04:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:04:05 - End Time 2025-01-12 04:04:05
[2025-01-12 04:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229028', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229028', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229028', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229028', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:04:20] Production.INFO: ProcessCDR(1,14229028,1,1,2)
[2025-01-12 04:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229028', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229028', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:04:23] Production.INFO: ==29666== Releasing lock...
[2025-01-12 04:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:04:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:05:01] Production.INFO: ==29735== Lock acquired, processing the job...
[2025-01-12 09:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:05:01] Production.INFO: neon service started
[2025-01-12 09:05:01] Production.INFO: neon service started
[2025-01-12 09:05:01] Production.INFO: ==29735== Releasing lock...
[2025-01-12 09:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:05:02] Production.INFO: ==29739== Lock acquired, processing the job...
[2025-01-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:05:02] Production.INFO: ==29737== Lock acquired, processing the job...
[2025-01-12 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:05:02] Production.INFO: ==29739== Releasing lock...
[2025-01-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:05:02] Production.INFO: ==29737== Releasing lock...
[2025-01-12 04:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:05:03] Production.INFO: ==29742== Lock acquired, processing the job...
[2025-01-12 04:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:05:03] Production.INFO: ==29744== Lock acquired, processing the job...
[2025-01-12 04:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:05:03] Production.INFO: ==29746== Lock acquired, processing the job...
[2025-01-12 04:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:05:03] Production.INFO: ==29748== Lock acquired, processing the job...
[2025-01-12 04:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:05:03] Production.INFO: ==29752== Lock acquired, processing the job...
[2025-01-12 04:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:05:03] Production.INFO: ==29750== Lock acquired, processing the job...
[2025-01-12 04:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:05:03] Production.INFO: Account Balance Start.
[2025-01-12 04:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:05:03] Production.INFO: 117
[2025-01-12 04:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 04: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-01-12 04:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:05:03] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:05:03] Production.INFO: count ==21
[2025-01-12 04:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229032') start
[2025-01-12 04:05:04] Production.INFO: ==29744== Releasing lock...
[2025-01-12 04:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229032') end
[2025-01-12 04:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:05:04] Production.INFO: 1
[2025-01-12 04:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:05:04] Production.INFO: ==29752== Releasing lock...
[2025-01-12 04:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:05:04] Production.INFO: Total Charge 0
[2025-01-12 04:05:04] Production.ERROR: done
[2025-01-12 04:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:05:04] Production.INFO: CreateAllLog End
[2025-01-12 04:05:04] Production.ERROR: done
[2025-01-12 04:05:04] Production.INFO: Account Balance End.
[2025-01-12 04:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:05:04] Production.INFO: ==29748== Releasing lock...
[2025-01-12 04:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:05:05
[end_date_ymd] => 2025-01-12 04:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:05:05' and `end` < '2025-01-12 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-01-12 04:05:11] Production.ERROR: CronJobId end10
[2025-01-12 04:05:11] Production.INFO: ==29746== Releasing lock...
[2025-01-12 04:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:05:13] Production.INFO: call_cost start
[2025-01-12 04:05:13] Production.INFO: call_cost end
[2025-01-12 04:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:05:14] Production.INFO: ==29742== Releasing lock...
[2025-01-12 04:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:05:19] Production.INFO: count ==369
[2025-01-12 04:05:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:05:05 - End Time 2025-01-12 04:05:05
[2025-01-12 04:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229033', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229033', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229033', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229033', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:05:19] Production.INFO: ProcessCDR(1,14229033,1,1,2)
[2025-01-12 04:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229033', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229033', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:05:22] Production.INFO: ==29750== Releasing lock...
[2025-01-12 04:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:05:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:06:02] Production.INFO: ==29816== Lock acquired, processing the job...
[2025-01-12 09:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:06:02] Production.INFO: neon service started
[2025-01-12 09:06:02] Production.INFO: neon service started
[2025-01-12 09:06:02] Production.INFO: ==29816== Releasing lock...
[2025-01-12 09:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:06:02] Production.INFO: ==29818== Lock acquired, processing the job...
[2025-01-12 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:06:02] Production.INFO: ==29818== Releasing lock...
[2025-01-12 04:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:06:02] Production.INFO: ==29820== Lock acquired, processing the job...
[2025-01-12 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:06:02] Production.INFO: ==29820== Releasing lock...
[2025-01-12 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:06:03] Production.INFO: ==29825== Lock acquired, processing the job...
[2025-01-12 04:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:06:03] Production.INFO: ==29833== Lock acquired, processing the job...
[2025-01-12 04:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:06:03] Production.INFO: ==29823== Lock acquired, processing the job...
[2025-01-12 04:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04: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-01-12 04:06:04] Production.INFO: ==29827== Lock acquired, processing the job...
[2025-01-12 04:06:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:06:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:06:04] Production.INFO: count ==21
[2025-01-12 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229035') start
[2025-01-12 04:06:04] Production.INFO: ==29829== Lock acquired, processing the job...
[2025-01-12 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:06:04] Production.INFO: ==29831== Lock acquired, processing the job...
[2025-01-12 04:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:06:04] Production.INFO: ==29825== Releasing lock...
[2025-01-12 04:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229035') end
[2025-01-12 04:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:06:04] Production.INFO: 1
[2025-01-12 04:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:06:04] Production.INFO: Account Balance Start.
[2025-01-12 04:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:06:04] Production.INFO: 117
[2025-01-12 04:06:04] Production.INFO: ==29833== Releasing lock...
[2025-01-12 04:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:06:04] Production.INFO: Total Charge 0
[2025-01-12 04:06:04] Production.INFO: CreateAllLog End
[2025-01-12 04:06:04] Production.ERROR: done
[2025-01-12 04:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:06:04] Production.INFO: Account Balance End.
[2025-01-12 04:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:06:04] Production.INFO: ==29829== Releasing lock...
[2025-01-12 04:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:06:04] Production.ERROR: done
[2025-01-12 04:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:06:05
[end_date_ymd] => 2025-01-12 04:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:06:05' and `end` < '2025-01-12 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-01-12 04:06:11] Production.ERROR: CronJobId end10
[2025-01-12 04:06:11] Production.INFO: ==29827== Releasing lock...
[2025-01-12 04:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:06:13] Production.INFO: call_cost start
[2025-01-12 04:06:13] Production.INFO: call_cost end
[2025-01-12 04:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:06:14] Production.INFO: ==29823== Releasing lock...
[2025-01-12 04:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:06:19] Production.INFO: count ==369
[2025-01-12 04:06:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:06:05 - End Time 2025-01-12 04:06:05
[2025-01-12 04:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229038', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229038', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229038', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229038', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:06:19] Production.INFO: ProcessCDR(1,14229038,1,1,2)
[2025-01-12 04:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229038', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229038', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:06:22] Production.INFO: ==29831== Releasing lock...
[2025-01-12 04:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:06:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:07:01] Production.INFO: ==29894== Lock acquired, processing the job...
[2025-01-12 09:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:07:01] Production.INFO: neon service started
[2025-01-12 09:07:01] Production.INFO: neon service started
[2025-01-12 09:07:01] Production.INFO: ==29894== Releasing lock...
[2025-01-12 09:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:07:01] Production.INFO: ==29896== Lock acquired, processing the job...
[2025-01-12 04:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:07:02] Production.INFO: ==29898== Lock acquired, processing the job...
[2025-01-12 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:07:02] Production.INFO: ==29898== Releasing lock...
[2025-01-12 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:07:02] Production.INFO: ==29896== Releasing lock...
[2025-01-12 04:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:07:03] Production.INFO: ==29901== Lock acquired, processing the job...
[2025-01-12 04:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:07:03] Production.INFO: ==29905== Lock acquired, processing the job...
[2025-01-12 04:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:07:03] Production.INFO: ==29909== Lock acquired, processing the job...
[2025-01-12 04:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:07:03] Production.INFO: ==29903== Lock acquired, processing the job...
[2025-01-12 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:07:03] Production.INFO: ==29907== Lock acquired, processing the job...
[2025-01-12 04:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:07:03] Production.INFO: ==29911== Lock acquired, processing the job...
[2025-01-12 04:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:07:03] Production.INFO: Account Balance Start.
[2025-01-12 04:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:07:03] Production.INFO: 117
[2025-01-12 04:07:03] Production.ERROR: done
[2025-01-12 04:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 04: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-01-12 04:07:03] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:07:03] Production.INFO: count ==21
[2025-01-12 04:07:03] Production.ERROR: done
[2025-01-12 04:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229042') start
[2025-01-12 04:07:03] Production.INFO: ==29903== Releasing lock...
[2025-01-12 04:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229042') end
[2025-01-12 04:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:07:03] Production.INFO: 1
[2025-01-12 04:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:07:03] Production.INFO: ==29911== Releasing lock...
[2025-01-12 04:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:07:03] Production.INFO: Total Charge 0
[2025-01-12 04:07:03] Production.INFO: CreateAllLog End
[2025-01-12 04:07:04] Production.INFO: Account Balance End.
[2025-01-12 04:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:07:04] Production.INFO: ==29907== Releasing lock...
[2025-01-12 04:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:07:04
[end_date_ymd] => 2025-01-12 04:07:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:07:04' and `end` < '2025-01-12 04: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-01-12 04:07:10] Production.ERROR: CronJobId end10
[2025-01-12 04:07:10] Production.INFO: ==29905== Releasing lock...
[2025-01-12 04:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:07:12] Production.INFO: call_cost start
[2025-01-12 04:07:12] Production.INFO: call_cost end
[2025-01-12 04:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:07:13] Production.INFO: ==29901== Releasing lock...
[2025-01-12 04:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:07:17] Production.INFO: count ==368
[2025-01-12 04:07:17] Production.ERROR: pbx CDR StartTime 2025-01-12 01:07:04 - End Time 2025-01-12 04:07:04
[2025-01-12 04:07:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229043', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229043', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229043', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:07:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229043', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:07:17] Production.INFO: ProcessCDR(1,14229043,1,1,2)
[2025-01-12 04:07:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:07:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:07:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229043', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229043', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:07:21] Production.INFO: ==29909== Releasing lock...
[2025-01-12 04:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:07:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:08:02] Production.INFO: ==30014== Lock acquired, processing the job...
[2025-01-12 09:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:08:02] Production.INFO: neon service started
[2025-01-12 09:08:02] Production.INFO: neon service started
[2025-01-12 09:08:02] Production.INFO: ==30014== Releasing lock...
[2025-01-12 09:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:08:02] Production.INFO: ==30018== Lock acquired, processing the job...
[2025-01-12 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:08:02] Production.INFO: ==30018== Releasing lock...
[2025-01-12 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:08:02] Production.INFO: ==30016== Lock acquired, processing the job...
[2025-01-12 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:08:02] Production.INFO: ==30016== Releasing lock...
[2025-01-12 04:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:08:03] Production.INFO: ==30023== Lock acquired, processing the job...
[2025-01-12 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:08:03] Production.INFO: ==30021== Lock acquired, processing the job...
[2025-01-12 04:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:08:03] Production.INFO: ==30025== Lock acquired, processing the job...
[2025-01-12 04:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:08:03] Production.INFO: ==30031== Lock acquired, processing the job...
[2025-01-12 04:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:08:03] Production.INFO: ==30023== Releasing lock...
[2025-01-12 04:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:08:03] Production.INFO: ==30027== Lock acquired, processing the job...
[2025-01-12 04:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:08:03] Production.INFO: Account Balance Start.
[2025-01-12 04:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:08:03] Production.INFO: 117
[2025-01-12 04:08:03] Production.INFO: ==30029== Lock acquired, processing the job...
[2025-01-12 04:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:08:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04: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-01-12 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:08:04] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:08:04] Production.INFO: count ==21
[2025-01-12 04:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229047') start
[2025-01-12 04:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229047') end
[2025-01-12 04:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:08:04] Production.INFO: 1
[2025-01-12 04:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:08:04] Production.ERROR: done
[2025-01-12 04:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:08:04] Production.INFO: ==30031== Releasing lock...
[2025-01-12 04:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:08:04] Production.INFO: Total Charge 0
[2025-01-12 04:08:04] Production.INFO: CreateAllLog End
[2025-01-12 04:08:04] Production.ERROR: done
[2025-01-12 04:08:04] Production.INFO: Account Balance End.
[2025-01-12 04:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:08:04] Production.INFO: ==30027== Releasing lock...
[2025-01-12 04:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:08:05
[end_date_ymd] => 2025-01-12 04:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:08:05' and `end` < '2025-01-12 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-01-12 04:08:12] Production.ERROR: CronJobId end10
[2025-01-12 04:08:12] Production.INFO: ==30025== Releasing lock...
[2025-01-12 04:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:08:13] Production.INFO: call_cost start
[2025-01-12 04:08:13] Production.INFO: call_cost end
[2025-01-12 04:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:08:14] Production.INFO: ==30021== Releasing lock...
[2025-01-12 04:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:08:18] Production.INFO: count ==368
[2025-01-12 04:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:08:05 - End Time 2025-01-12 04:08:05
[2025-01-12 04:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229048', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229048', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229048', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229048', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:08:18] Production.INFO: ProcessCDR(1,14229048,1,1,2)
[2025-01-12 04:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229048', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229048', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:08:21] Production.INFO: ==30029== Releasing lock...
[2025-01-12 04:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:08:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:09:01] Production.INFO: ==30095== Lock acquired, processing the job...
[2025-01-12 09:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:09:01] Production.INFO: neon service started
[2025-01-12 09:09:01] Production.INFO: neon service started
[2025-01-12 09:09:01] Production.INFO: ==30095== Releasing lock...
[2025-01-12 09:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:09:02] Production.INFO: ==30097== Lock acquired, processing the job...
[2025-01-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:09:02] Production.INFO: ==30099== Lock acquired, processing the job...
[2025-01-12 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:09:02] Production.INFO: ==30099== Releasing lock...
[2025-01-12 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:09:02] Production.INFO: ==30097== Releasing lock...
[2025-01-12 04:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:09:03] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-01-12 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:09:03] Production.INFO: ==30112== Lock acquired, processing the job...
[2025-01-12 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04: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-01-12 04:09:03] Production.INFO: ==30102== Lock acquired, processing the job...
[2025-01-12 04:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:09:03] Production.INFO: count ==21
[2025-01-12 04:09:03] Production.INFO: ==30104== Releasing lock...
[2025-01-12 04:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04: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-01-12 04:09:03] Production.INFO: count ==21
[2025-01-12 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229050') start
[2025-01-12 04:09:03] Production.INFO: ==30106== Lock acquired, processing the job...
[2025-01-12 04:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:09:03] Production.INFO: ==30108== Lock acquired, processing the job...
[2025-01-12 04:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:09:03] Production.INFO: ==30110== Lock acquired, processing the job...
[2025-01-12 04:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:09:03] Production.INFO: Account Balance Start.
[2025-01-12 04:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229050') end
[2025-01-12 04:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:09:03] Production.INFO: 1
[2025-01-12 04:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:09:03] Production.INFO: 117
[2025-01-12 04:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:09:03] Production.INFO: ==30112== Releasing lock...
[2025-01-12 04:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:09:03] Production.INFO: Total Charge 0
[2025-01-12 04:09:03] Production.INFO: CreateAllLog End
[2025-01-12 04:09:04] Production.ERROR: done
[2025-01-12 04:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:09:04] Production.INFO: Account Balance End.
[2025-01-12 04:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:09:04] Production.INFO: ==30108== Releasing lock...
[2025-01-12 04:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:09:04] Production.ERROR: done
[2025-01-12 04:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:09:05
[end_date_ymd] => 2025-01-12 04:09:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:09:05' and `end` < '2025-01-12 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-01-12 04:09:10] Production.ERROR: CronJobId end10
[2025-01-12 04:09:10] Production.INFO: ==30106== Releasing lock...
[2025-01-12 04:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:09:13] Production.INFO: call_cost start
[2025-01-12 04:09:13] Production.INFO: call_cost end
[2025-01-12 04:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:09:13] Production.INFO: ==30102== Releasing lock...
[2025-01-12 04:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:09:19] Production.INFO: count ==368
[2025-01-12 04:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:09:05 - End Time 2025-01-12 04:09:05
[2025-01-12 04:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229053', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229053', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229053', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229053', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:09:19] Production.INFO: ProcessCDR(1,14229053,1,1,2)
[2025-01-12 04:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229053', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229053', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:09:22] Production.INFO: ==30110== Releasing lock...
[2025-01-12 04:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:09:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:10:01] Production.INFO: ==30178== Lock acquired, processing the job...
[2025-01-12 09:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:10:01] Production.INFO: neon service started
[2025-01-12 09:10:01] Production.INFO: neon service started
[2025-01-12 09:10:01] Production.INFO: ==30178== Releasing lock...
[2025-01-12 09:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:10:02] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-01-12 04:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:10:02] Production.INFO: ==30182== Lock acquired, processing the job...
[2025-01-12 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:10:02] Production.INFO: ==30182== Releasing lock...
[2025-01-12 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:10:03] Production.INFO: ==30180== Releasing lock...
[2025-01-12 04:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:10:03] Production.INFO: ==30191== Lock acquired, processing the job...
[2025-01-12 04:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:10:04] Production.INFO: ==30193== Lock acquired, processing the job...
[2025-01-12 04:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:10:04] Production.INFO: ==30199== Lock acquired, processing the job...
[2025-01-12 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:10:04] Production.INFO: Account Balance Start.
[2025-01-12 04:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:10:04] Production.INFO: 117
[2025-01-12 04:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:10:04] Production.INFO: ==30185== Lock acquired, processing the job...
[2025-01-12 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 04:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:10:04] Production.INFO: count ==21
[2025-01-12 04:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:10:04] Production.INFO: count ==21
[2025-01-12 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229055') start
[2025-01-12 04:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:10:04] Production.ERROR: CronJob PID - 30191
[2025-01-12 04:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 04:10:04] Production.ERROR: CronJob ID - 10
[2025-01-12 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 04:10:00
[2025-01-12 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:10:04] Production.ERROR: CronJob PID - 30193
[2025-01-12 04:10:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 04:10:04] Production.ERROR: CronJob ID - 12
[2025-01-12 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 04:10:00
[2025-01-12 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:10:04] Production.ERROR: CronJob PID - 30199
[2025-01-12 04:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-12 04:10:04] Production.ERROR: CronJob ID - 19
[2025-01-12 04:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 04:10:00
[2025-01-12 04:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 04:10:04] Production.INFO: ==30185== Releasing lock...
[2025-01-12 04:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 04:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:10:04] Production.INFO: ==30187== Lock acquired, processing the job...
[2025-01-12 04:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:10:04] Production.INFO: ==30189== Lock acquired, processing the job...
[2025-01-12 04:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229055') end
[2025-01-12 04:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:10:04] Production.INFO: 1
[2025-01-12 04:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:10:04] Production.INFO: ==30195== Lock acquired, processing the job...
[2025-01-12 04:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:10:04] Production.INFO: ==30197== Lock acquired, processing the job...
[2025-01-12 04:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 04:10:04] Production.INFO: ==30199== Releasing lock...
[2025-01-12 04:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:10:04] Production.INFO: Total Charge 0
[2025-01-12 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:10:04] Production.INFO: CreateAllLog End
[2025-01-12 04:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:10:04] Production.ERROR: done
[2025-01-12 04:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:10:04] Production.ERROR: done
[2025-01-12 04:10:05] Production.INFO: Account Balance End.
[2025-01-12 04:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:10:05] Production.INFO: ==30193== Releasing lock...
[2025-01-12 04:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 04:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229058', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 04:10:05] Production.INFO: ==30189== Releasing lock...
[2025-01-12 04:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:10:05] Production.ERROR: done
[2025-01-12 04:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:10:06
[end_date_ymd] => 2025-01-12 04:10:06
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:10:06' and `end` < '2025-01-12 04: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-01-12 04:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229058', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 04:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 04:10:09] Production.INFO: ProcessCDR(1,14229058,1,1,2)
[2025-01-12 04:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229058,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229058,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:10:09] Production.INFO: ==30197== Releasing lock...
[2025-01-12 04:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 04:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 04:10:13] Production.ERROR: CronJobId end10
[2025-01-12 04:10:13] Production.INFO: ==30191== Releasing lock...
[2025-01-12 04:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:10:15] Production.INFO: call_cost start
[2025-01-12 04:10:15] Production.INFO: call_cost end
[2025-01-12 04:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:10:16] Production.INFO: ==30187== Releasing lock...
[2025-01-12 04:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:10:19] Production.INFO: count ==368
[2025-01-12 04:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:10:06 - End Time 2025-01-12 04:10:06
[2025-01-12 04:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229059', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229059', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229059', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229059', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:10:19] Production.INFO: ProcessCDR(1,14229059,1,1,2)
[2025-01-12 04:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229059', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229059', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:10:22] Production.INFO: ==30195== Releasing lock...
[2025-01-12 04:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:10:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:11:01] Production.INFO: ==30261== Lock acquired, processing the job...
[2025-01-12 09:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:11:01] Production.INFO: neon service started
[2025-01-12 09:11:01] Production.INFO: neon service started
[2025-01-12 09:11:01] Production.INFO: ==30261== Releasing lock...
[2025-01-12 09:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:11:01] Production.INFO: ==30263== Lock acquired, processing the job...
[2025-01-12 04:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:11:02] Production.INFO: ==30263== Releasing lock...
[2025-01-12 04:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:11:02] Production.INFO: ==30265== Lock acquired, processing the job...
[2025-01-12 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:11:02] Production.INFO: ==30265== Releasing lock...
[2025-01-12 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:11:02] Production.INFO: ==30268== Lock acquired, processing the job...
[2025-01-12 04:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:11:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:11:02] Production.INFO: ==30274== Lock acquired, processing the job...
[2025-01-12 04:11:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:11:03] Production.INFO: ==30270== Lock acquired, processing the job...
[2025-01-12 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:11:03] Production.INFO: ==30276== Lock acquired, processing the job...
[2025-01-12 04:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:11:03] Production.INFO: ==30272== Lock acquired, processing the job...
[2025-01-12 04:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:11:03] Production.INFO: Account Balance Start.
[2025-01-12 04:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:11:03] Production.INFO: 117
[2025-01-12 04:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:11:03] Production.INFO: ==30278== Lock acquired, processing the job...
[2025-01-12 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 04:11:03] Production.INFO: Total Charge 0
[2025-01-12 04:11:03] Production.INFO: count ==21
[2025-01-12 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-01-12 04:11:03] Production.INFO: count ==21
[2025-01-12 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229063') start
[2025-01-12 04:11:03] Production.INFO: CreateAllLog End
[2025-01-12 04:11:03] Production.INFO: ==30270== Releasing lock...
[2025-01-12 04:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:11:03] Production.ERROR: done
[2025-01-12 04:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229063') end
[2025-01-12 04:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:11:03] Production.INFO: 1
[2025-01-12 04:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:11:03] Production.INFO: ==30278== Releasing lock...
[2025-01-12 04:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:11:03] Production.ERROR: done
[2025-01-12 04:11:03] Production.INFO: Account Balance End.
[2025-01-12 04:11:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:11:03] Production.INFO: ==30274== Releasing lock...
[2025-01-12 04:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:11:04
[end_date_ymd] => 2025-01-12 04:11:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:11:04' and `end` < '2025-01-12 04: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-01-12 04:11:11] Production.ERROR: CronJobId end10
[2025-01-12 04:11:11] Production.INFO: ==30272== Releasing lock...
[2025-01-12 04:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:11:13] Production.INFO: call_cost start
[2025-01-12 04:11:13] Production.INFO: call_cost end
[2025-01-12 04:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:11:14] Production.INFO: ==30268== Releasing lock...
[2025-01-12 04:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:11:17] Production.INFO: count ==364
[2025-01-12 04:11:17] Production.ERROR: pbx CDR StartTime 2025-01-12 01:11:04 - End Time 2025-01-12 04:11:04
[2025-01-12 04:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229064', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229064', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229064', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229064', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:11:17] Production.INFO: ProcessCDR(1,14229064,1,1,2)
[2025-01-12 04:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:11:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:11:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:11:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229064', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:11:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229064', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:11:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:11:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:11:20] Production.INFO: ==30276== Releasing lock...
[2025-01-12 04:11:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:11:20] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:12:01] Production.INFO: ==30341== Lock acquired, processing the job...
[2025-01-12 09:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:12:01] Production.INFO: neon service started
[2025-01-12 09:12:01] Production.INFO: neon service started
[2025-01-12 09:12:01] Production.INFO: ==30341== Releasing lock...
[2025-01-12 09:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:12:02] Production.INFO: ==30345== Lock acquired, processing the job...
[2025-01-12 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:12:02] Production.INFO: ==30345== Releasing lock...
[2025-01-12 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:12:02] Production.INFO: ==30343== Lock acquired, processing the job...
[2025-01-12 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:12:02] Production.INFO: ==30343== Releasing lock...
[2025-01-12 04:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:12:03] Production.INFO: ==30348== Lock acquired, processing the job...
[2025-01-12 04:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:12:03] Production.INFO: ==30354== Lock acquired, processing the job...
[2025-01-12 04:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:12:03] Production.INFO: ==30352== Lock acquired, processing the job...
[2025-01-12 04:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:12:03] Production.INFO: ==30350== Lock acquired, processing the job...
[2025-01-12 04:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:12:03] Production.INFO: Account Balance Start.
[2025-01-12 04:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:12:03] Production.INFO: 117
[2025-01-12 04:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:12:03] Production.INFO: ==30356== Lock acquired, processing the job...
[2025-01-12 04:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:12:03] Production.INFO: ==30358== Lock acquired, processing the job...
[2025-01-12 04:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:12:04] Production.INFO: ==30350== Releasing lock...
[2025-01-12 04:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 04:12:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:12:04] Production.INFO: count ==21
[2025-01-12 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229068') start
[2025-01-12 04:12:04] Production.INFO: Total Charge 0
[2025-01-12 04:12:04] Production.ERROR: done
[2025-01-12 04:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:12:04] Production.INFO: CreateAllLog End
[2025-01-12 04:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229068') end
[2025-01-12 04:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:12:04] Production.INFO: 1
[2025-01-12 04:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:12:04] Production.ERROR: done
[2025-01-12 04:12:04] Production.INFO: ==30358== Releasing lock...
[2025-01-12 04:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:12:04] Production.INFO: Account Balance End.
[2025-01-12 04:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:12:04] Production.INFO: ==30354== Releasing lock...
[2025-01-12 04:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:12:05
[end_date_ymd] => 2025-01-12 04:12:05
[RateCDR] => 1
)
[2025-01-12 04:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:12:05' and `end` < '2025-01-12 04:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:12:11] Production.ERROR: CronJobId end10
[2025-01-12 04:12:11] Production.INFO: ==30352== Releasing lock...
[2025-01-12 04:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:12:13] Production.INFO: call_cost start
[2025-01-12 04:12:13] Production.INFO: call_cost end
[2025-01-12 04:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:12:14] Production.INFO: ==30348== Releasing lock...
[2025-01-12 04:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:12:18] Production.INFO: count ==364
[2025-01-12 04:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:12:05 - End Time 2025-01-12 04:12:05
[2025-01-12 04:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229069', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229069', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229069', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229069', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:12:18] Production.INFO: ProcessCDR(1,14229069,1,1,2)
[2025-01-12 04:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229069', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229069', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:12:21] Production.INFO: ==30356== Releasing lock...
[2025-01-12 04:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:12:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:13:02] Production.INFO: ==30421== Lock acquired, processing the job...
[2025-01-12 09:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:13:02] Production.INFO: neon service started
[2025-01-12 09:13:02] Production.INFO: neon service started
[2025-01-12 09:13:02] Production.INFO: ==30421== Releasing lock...
[2025-01-12 09:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:13:02] Production.INFO: ==30423== Lock acquired, processing the job...
[2025-01-12 04:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:13:02] Production.INFO: ==30425== Lock acquired, processing the job...
[2025-01-12 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:13:02] Production.INFO: ==30425== Releasing lock...
[2025-01-12 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:13:03] Production.INFO: ==30423== Releasing lock...
[2025-01-12 04:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:13:04] Production.INFO: ==30432== Lock acquired, processing the job...
[2025-01-12 04:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:13:04] Production.INFO: ==30428== Lock acquired, processing the job...
[2025-01-12 04:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:13:04] Production.INFO: ==30438== Lock acquired, processing the job...
[2025-01-12 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:13:04] Production.INFO: ==30430== Lock acquired, processing the job...
[2025-01-12 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:13:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:13:04] Production.INFO: ==30434== Lock acquired, processing the job...
[2025-01-12 04:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:13:04] Production.INFO: count ==21
[2025-01-12 04:13:04] Production.INFO: ==30436== Lock acquired, processing the job...
[2025-01-12 04:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:13:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:13:04] Production.INFO: count ==21
[2025-01-12 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229071') start
[2025-01-12 04:13:04] Production.INFO: Account Balance Start.
[2025-01-12 04:13:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:13:04] Production.INFO: 117
[2025-01-12 04:13:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229071') end
[2025-01-12 04:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:13:04] Production.INFO: 1
[2025-01-12 04:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:13:04] Production.INFO: ==30438== Releasing lock...
[2025-01-12 04:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:13:04] Production.ERROR: done
[2025-01-12 04:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:13:04] Production.INFO: ==30430== Releasing lock...
[2025-01-12 04:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:13:04] Production.ERROR: done
[2025-01-12 04:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:13:04] Production.INFO: Total Charge 0
[2025-01-12 04:13:05] Production.INFO: CreateAllLog End
[2025-01-12 04:13:05] Production.INFO: Account Balance End.
[2025-01-12 04:13:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:13:05] Production.INFO: ==30434== Releasing lock...
[2025-01-12 04:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:13:06
[end_date_ymd] => 2025-01-12 04:13:06
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:13:06' and `end` < '2025-01-12 04: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-01-12 04:13:11] Production.ERROR: CronJobId end10
[2025-01-12 04:13:11] Production.INFO: ==30432== Releasing lock...
[2025-01-12 04:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:13:14] Production.INFO: call_cost start
[2025-01-12 04:13:14] Production.INFO: call_cost end
[2025-01-12 04:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:13:15] Production.INFO: ==30428== Releasing lock...
[2025-01-12 04:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:13:20] Production.INFO: count ==364
[2025-01-12 04:13:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:13:06 - End Time 2025-01-12 04:13:06
[2025-01-12 04:13:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229074', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229074', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229074', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:13:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229074', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:13:20] Production.INFO: ProcessCDR(1,14229074,1,1,2)
[2025-01-12 04:13:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229074', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229074', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:13:23] Production.INFO: ==30436== Releasing lock...
[2025-01-12 04:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:13:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:14:01] Production.INFO: ==30500== Lock acquired, processing the job...
[2025-01-12 09:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:14:01] Production.INFO: neon service started
[2025-01-12 09:14:01] Production.INFO: neon service started
[2025-01-12 09:14:01] Production.INFO: ==30500== Releasing lock...
[2025-01-12 09:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:14:02] Production.INFO: ==30502== Lock acquired, processing the job...
[2025-01-12 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:14:02] Production.INFO: ==30502== Releasing lock...
[2025-01-12 04:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:14:02] Production.INFO: ==30504== Lock acquired, processing the job...
[2025-01-12 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:14:02] Production.INFO: ==30504== Releasing lock...
[2025-01-12 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:14:03] Production.INFO: ==30512== Lock acquired, processing the job...
[2025-01-12 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:14:03] Production.INFO: Account Balance Start.
[2025-01-12 04:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:14:03] Production.INFO: 117
[2025-01-12 04:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:14:03] Production.INFO: ==30514== Lock acquired, processing the job...
[2025-01-12 04:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:14:03] Production.INFO: Total Charge 0
[2025-01-12 04:14:03] Production.INFO: CreateAllLog End
[2025-01-12 04:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:14:03] Production.INFO: ==30508== Lock acquired, processing the job...
[2025-01-12 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:14:03] Production.INFO: ==30506== Lock acquired, processing the job...
[2025-01-12 04:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:14:03] Production.INFO: ==30510== Lock acquired, processing the job...
[2025-01-12 04:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:14:03] Production.INFO: ==30516== Lock acquired, processing the job...
[2025-01-12 04:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:14:03] Production.ERROR: done
[2025-01-12 04:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 04:14:03] Production.INFO: Account Balance End.
[2025-01-12 04:14:03] Production.INFO: count ==21
[2025-01-12 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-01-12 04:14:03] Production.INFO: count ==21
[2025-01-12 04:14:03] Production.ERROR: done
[2025-01-12 04:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229078') start
[2025-01-12 04:14:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:14:03] Production.INFO: ==30512== Releasing lock...
[2025-01-12 04:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:14:03] Production.INFO: ==30508== Releasing lock...
[2025-01-12 04:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229078') end
[2025-01-12 04:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:14:04] Production.INFO: 1
[2025-01-12 04:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:14:04] Production.INFO: ==30516== Releasing lock...
[2025-01-12 04:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:14:04
[end_date_ymd] => 2025-01-12 04:14:04
[RateCDR] => 1
)
[2025-01-12 04:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:14:04' and `end` < '2025-01-12 04:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:14:11] Production.ERROR: CronJobId end10
[2025-01-12 04:14:11] Production.INFO: ==30510== Releasing lock...
[2025-01-12 04:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:14:13] Production.INFO: call_cost start
[2025-01-12 04:14:13] Production.INFO: call_cost end
[2025-01-12 04:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:14:14] Production.INFO: ==30506== Releasing lock...
[2025-01-12 04:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:14:18] Production.INFO: count ==364
[2025-01-12 04:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:14:04 - End Time 2025-01-12 04:14:04
[2025-01-12 04:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229079', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229079', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229079', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229079', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:14:18] Production.INFO: ProcessCDR(1,14229079,1,1,2)
[2025-01-12 04:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229079', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229079', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:14:21] Production.INFO: ==30514== Releasing lock...
[2025-01-12 04:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:14:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:15:02] Production.INFO: ==30584== Lock acquired, processing the job...
[2025-01-12 09:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:15:02] Production.INFO: neon service started
[2025-01-12 09:15:02] Production.INFO: neon service started
[2025-01-12 09:15:02] Production.INFO: ==30584== Releasing lock...
[2025-01-12 09:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:15:02] Production.INFO: ==30586== Lock acquired, processing the job...
[2025-01-12 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:15:02] Production.INFO: ==30586== Releasing lock...
[2025-01-12 04:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:15:02] Production.INFO: ==30588== Lock acquired, processing the job...
[2025-01-12 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:15:03] Production.INFO: ==30588== Releasing lock...
[2025-01-12 09:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:15:03] Production.INFO: ==30596== Lock acquired, processing the job...
[2025-01-12 04:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:15:03] Production.INFO: ==30601== Lock acquired, processing the job...
[2025-01-12 04:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:15:03] Production.INFO: Account Balance Start.
[2025-01-12 04:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:15:03] Production.INFO: 117
[2025-01-12 04:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:15:03] Production.INFO: ==30590== Lock acquired, processing the job...
[2025-01-12 04:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:15:03] Production.INFO: ==30592== Lock acquired, processing the job...
[2025-01-12 04:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:15:03] Production.INFO: ==30594== Lock acquired, processing the job...
[2025-01-12 04:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 04: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-01-12 04:15:04] Production.INFO: count ==21
[2025-01-12 04:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 04:15:04] Production.INFO: count ==21
[2025-01-12 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229081') start
[2025-01-12 04:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:15:04] Production.INFO: ==30599== Lock acquired, processing the job...
[2025-01-12 04:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229081') end
[2025-01-12 04:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:15:04] Production.INFO: 1
[2025-01-12 04:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:15:04] Production.INFO: Total Charge 0
[2025-01-12 04:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:15:04] Production.INFO: ==30601== Releasing lock...
[2025-01-12 04:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:15:04] Production.INFO: CreateAllLog End
[2025-01-12 04:15:04] Production.INFO: ==30592== Releasing lock...
[2025-01-12 04:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:15:04] Production.ERROR: done
[2025-01-12 04:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:15:04] Production.ERROR: done
[2025-01-12 04:15:04] Production.INFO: Account Balance End.
[2025-01-12 04:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:15:04] Production.INFO: ==30596== Releasing lock...
[2025-01-12 04:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:15:05
[end_date_ymd] => 2025-01-12 04:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:15:05' and `end` < '2025-01-12 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-01-12 04:15:11] Production.ERROR: CronJobId end10
[2025-01-12 04:15:11] Production.INFO: ==30594== Releasing lock...
[2025-01-12 04:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:15:14] Production.INFO: call_cost start
[2025-01-12 04:15:14] Production.INFO: call_cost end
[2025-01-12 04:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:15:14] Production.INFO: ==30590== Releasing lock...
[2025-01-12 04:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:15:18] Production.INFO: count ==364
[2025-01-12 04:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:15:05 - End Time 2025-01-12 04:15:05
[2025-01-12 04:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229084', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229084', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229084', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229084', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:15:18] Production.INFO: ProcessCDR(1,14229084,1,1,2)
[2025-01-12 04:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229084', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229084', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:15:21] Production.INFO: ==30599== Releasing lock...
[2025-01-12 04:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:15:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:16:01] Production.INFO: ==30663== Lock acquired, processing the job...
[2025-01-12 09:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:16:01] Production.INFO: neon service started
[2025-01-12 09:16:01] Production.INFO: neon service started
[2025-01-12 09:16:01] Production.INFO: ==30663== Releasing lock...
[2025-01-12 09:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:16:02] Production.INFO: ==30665== Lock acquired, processing the job...
[2025-01-12 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:16:02] Production.INFO: ==30667== Lock acquired, processing the job...
[2025-01-12 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:16:02] Production.INFO: ==30667== Releasing lock...
[2025-01-12 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:16:02] Production.INFO: ==30665== Releasing lock...
[2025-01-12 04:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:16:03] Production.INFO: ==30670== Lock acquired, processing the job...
[2025-01-12 04:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:16:03] Production.INFO: ==30674== Lock acquired, processing the job...
[2025-01-12 04:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:16:03] Production.INFO: ==30678== Lock acquired, processing the job...
[2025-01-12 04:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:16:03] Production.INFO: ==30672== Lock acquired, processing the job...
[2025-01-12 04:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:16:03] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-01-12 04:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:16:03] Production.INFO: ==30676== Lock acquired, processing the job...
[2025-01-12 04:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:16:04] Production.INFO: Account Balance Start.
[2025-01-12 04:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:16:04] Production.INFO: 117
[2025-01-12 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-01-12 04:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:16:04] Production.ERROR: done
[2025-01-12 04:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:16:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:16:04] Production.INFO: count ==21
[2025-01-12 04:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229086') start
[2025-01-12 04:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:16:04] Production.ERROR: done
[2025-01-12 04:16:04] Production.INFO: ==30672== Releasing lock...
[2025-01-12 04:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229086') end
[2025-01-12 04:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:16:04] Production.INFO: 1
[2025-01-12 04:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:16:04] Production.INFO: Total Charge 0
[2025-01-12 04:16:04] Production.INFO: CreateAllLog End
[2025-01-12 04:16:04] Production.INFO: ==30680== Releasing lock...
[2025-01-12 04:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:16:04] Production.INFO: Account Balance End.
[2025-01-12 04:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:16:04] Production.INFO: ==30676== Releasing lock...
[2025-01-12 04:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:16:05
[end_date_ymd] => 2025-01-12 04:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:16:05' and `end` < '2025-01-12 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-01-12 04:16:10] Production.ERROR: CronJobId end10
[2025-01-12 04:16:10] Production.INFO: ==30674== Releasing lock...
[2025-01-12 04:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:16:12] Production.INFO: call_cost start
[2025-01-12 04:16:12] Production.INFO: call_cost end
[2025-01-12 04:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:16:13] Production.INFO: ==30670== Releasing lock...
[2025-01-12 04:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:16:18] Production.INFO: count ==364
[2025-01-12 04:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:16:05 - End Time 2025-01-12 04:16:05
[2025-01-12 04:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229089', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229089', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229089', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229089', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:16:18] Production.INFO: ProcessCDR(1,14229089,1,1,2)
[2025-01-12 04:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229089', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229089', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:16:21] Production.INFO: ==30678== Releasing lock...
[2025-01-12 04:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:16:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:17:02] Production.INFO: ==30749== Lock acquired, processing the job...
[2025-01-12 09:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:17:02] Production.INFO: neon service started
[2025-01-12 09:17:02] Production.INFO: neon service started
[2025-01-12 09:17:02] Production.INFO: ==30749== Releasing lock...
[2025-01-12 09:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:17:02] Production.INFO: ==30751== Lock acquired, processing the job...
[2025-01-12 04:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:17:02] Production.INFO: ==30753== Lock acquired, processing the job...
[2025-01-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:17:02] Production.INFO: ==30753== Releasing lock...
[2025-01-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:17:03] Production.INFO: ==30751== Releasing lock...
[2025-01-12 04:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:17:03] Production.INFO: ==30762== Lock acquired, processing the job...
[2025-01-12 04:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:17:03] Production.INFO: ==30766== Lock acquired, processing the job...
[2025-01-12 04:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:17:04] Production.INFO: ==30758== Lock acquired, processing the job...
[2025-01-12 04:17:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:17:04] Production.INFO: ==30760== Lock acquired, processing the job...
[2025-01-12 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:17:04] Production.INFO: ==30764== Lock acquired, processing the job...
[2025-01-12 04:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:17:04] Production.INFO: ==30768== Lock acquired, processing the job...
[2025-01-12 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:17:04] Production.INFO: Account Balance Start.
[2025-01-12 04:17:04] Production.ERROR: done
[2025-01-12 04:17:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:17:04] Production.INFO: 117
[2025-01-12 04: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-01-12 04:17:04] Production.INFO: count ==21
[2025-01-12 04:17:04] Production.INFO: Date 2025-01-08
[2025-01-12 04: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-01-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:17:04] Production.ERROR: done
[2025-01-12 04:17:04] Production.INFO: count ==21
[2025-01-12 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229092') start
[2025-01-12 04:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:17:04] Production.INFO: ==30760== Releasing lock...
[2025-01-12 04:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229092') end
[2025-01-12 04:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:17:04] Production.INFO: 1
[2025-01-12 04:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:17:04] Production.INFO: Total Charge 0
[2025-01-12 04:17:04] Production.INFO: CreateAllLog End
[2025-01-12 04:17:04] Production.INFO: ==30768== Releasing lock...
[2025-01-12 04:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:17:05] Production.INFO: Account Balance End.
[2025-01-12 04:17:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:17:05] Production.INFO: ==30764== Releasing lock...
[2025-01-12 04:17:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:17:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:17:05
[end_date_ymd] => 2025-01-12 04:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:17:05' and `end` < '2025-01-12 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-01-12 04:17:11] Production.ERROR: CronJobId end10
[2025-01-12 04:17:11] Production.INFO: ==30762== Releasing lock...
[2025-01-12 04:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:17:14] Production.INFO: call_cost start
[2025-01-12 04:17:14] Production.INFO: call_cost end
[2025-01-12 04:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:17:15] Production.INFO: ==30758== Releasing lock...
[2025-01-12 04:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:17:19] Production.INFO: count ==361
[2025-01-12 04:17:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:17:05 - End Time 2025-01-12 04:17:05
[2025-01-12 04:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229094', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229094', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229094', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229094', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:17:19] Production.INFO: ProcessCDR(1,14229094,1,1,2)
[2025-01-12 04:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229094', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229094', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:17:23] Production.INFO: ==30766== Releasing lock...
[2025-01-12 04:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:17:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:18:01] Production.INFO: ==30873== Lock acquired, processing the job...
[2025-01-12 09:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:18:01] Production.INFO: neon service started
[2025-01-12 09:18:01] Production.INFO: neon service started
[2025-01-12 09:18:01] Production.INFO: ==30873== Releasing lock...
[2025-01-12 09:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:18:01] Production.INFO: ==30875== Lock acquired, processing the job...
[2025-01-12 04:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:18:02] Production.INFO: ==30875== Releasing lock...
[2025-01-12 04:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:18:02] Production.INFO: ==30878== Lock acquired, processing the job...
[2025-01-12 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:18:02] Production.INFO: ==30878== Releasing lock...
[2025-01-12 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:18:03] Production.INFO: ==30882== Lock acquired, processing the job...
[2025-01-12 04:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:18:03] Production.INFO: ==30884== Lock acquired, processing the job...
[2025-01-12 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:18:03] Production.INFO: ==30888== Lock acquired, processing the job...
[2025-01-12 04:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:18:03] Production.INFO: Account Balance Start.
[2025-01-12 04:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:18:03] Production.INFO: 117
[2025-01-12 04:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:18:03] Production.INFO: ==30886== Lock acquired, processing the job...
[2025-01-12 04:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:18:03] Production.INFO: ==30892== Lock acquired, processing the job...
[2025-01-12 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:18:03] Production.INFO: ==30884== Releasing lock...
[2025-01-12 04:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:18:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:18:03] Production.INFO: ==30890== Lock acquired, processing the job...
[2025-01-12 04:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:18:03] Production.INFO: Total Charge 0
[2025-01-12 04: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-01-12 04:18:03] Production.INFO: CreateAllLog End
[2025-01-12 04:18:03] Production.INFO: count ==21
[2025-01-12 04:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04: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-01-12 04:18:03] Production.INFO: count ==21
[2025-01-12 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229098') start
[2025-01-12 04:18:03] Production.INFO: Account Balance End.
[2025-01-12 04:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229098') end
[2025-01-12 04:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:18:03] Production.INFO: 1
[2025-01-12 04:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:18:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:18:03] Production.INFO: ==30888== Releasing lock...
[2025-01-12 04:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:18:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:18:03] Production.ERROR: done
[2025-01-12 04:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:18:03] Production.INFO: ==30892== Releasing lock...
[2025-01-12 04:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:18:04] Production.ERROR: done
[2025-01-12 04:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:18:05
[end_date_ymd] => 2025-01-12 04:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:18:05' and `end` < '2025-01-12 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-01-12 04:18:11] Production.ERROR: CronJobId end10
[2025-01-12 04:18:11] Production.INFO: ==30886== Releasing lock...
[2025-01-12 04:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:18:13] Production.INFO: call_cost start
[2025-01-12 04:18:13] Production.INFO: call_cost end
[2025-01-12 04:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:18:14] Production.INFO: ==30882== Releasing lock...
[2025-01-12 04:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:18:19] Production.INFO: count ==359
[2025-01-12 04:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:18:05 - End Time 2025-01-12 04:18:05
[2025-01-12 04:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229099', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229099', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229099', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229099', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:18:19] Production.INFO: ProcessCDR(1,14229099,1,1,2)
[2025-01-12 04:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229099', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229099', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:18:22] Production.INFO: ==30890== Releasing lock...
[2025-01-12 04:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:18:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:19:01] Production.INFO: ==30986== Lock acquired, processing the job...
[2025-01-12 09:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:19:02] Production.INFO: neon service started
[2025-01-12 09:19:02] Production.INFO: neon service started
[2025-01-12 09:19:02] Production.INFO: ==30986== Releasing lock...
[2025-01-12 09:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:19:02] Production.INFO: ==30988== Lock acquired, processing the job...
[2025-01-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:19:02] Production.INFO: ==30988== Releasing lock...
[2025-01-12 04:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:19:02] Production.INFO: ==30990== Lock acquired, processing the job...
[2025-01-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:19:02] Production.INFO: ==30990== Releasing lock...
[2025-01-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:19:03] Production.INFO: ==31000== Lock acquired, processing the job...
[2025-01-12 04:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:19:03] Production.INFO: ==31003== Lock acquired, processing the job...
[2025-01-12 04:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:19:03] Production.INFO: ==30992== Lock acquired, processing the job...
[2025-01-12 04:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:19:03] Production.INFO: ==30994== Lock acquired, processing the job...
[2025-01-12 04:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:19:03] Production.INFO: ==30996== Lock acquired, processing the job...
[2025-01-12 04:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:19:03] Production.INFO: ==30998== Lock acquired, processing the job...
[2025-01-12 04:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 04:19:03] Production.INFO: count ==21
[2025-01-12 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-01-12 04:19:03] Production.INFO: count ==21
[2025-01-12 04:19:03] Production.ERROR: done
[2025-01-12 04:19:03] Production.INFO: Account Balance Start.
[2025-01-12 04:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:19:03] Production.INFO: 117
[2025-01-12 04:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229100') start
[2025-01-12 04:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229100') end
[2025-01-12 04:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:19:04] Production.INFO: 1
[2025-01-12 04:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:19:04] Production.INFO: Total Charge 0
[2025-01-12 04:19:04] Production.INFO: CreateAllLog End
[2025-01-12 04:19:04] Production.ERROR: done
[2025-01-12 04:19:04] Production.INFO: ==30994== Releasing lock...
[2025-01-12 04:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:19:04] Production.INFO: ==31003== Releasing lock...
[2025-01-12 04:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:19:04] Production.INFO: Account Balance End.
[2025-01-12 04:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:19:04] Production.INFO: ==30998== Releasing lock...
[2025-01-12 04:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:19:05
[end_date_ymd] => 2025-01-12 04:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:19:05' and `end` < '2025-01-12 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-01-12 04:19:11] Production.ERROR: CronJobId end10
[2025-01-12 04:19:11] Production.INFO: ==30996== Releasing lock...
[2025-01-12 04:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:19:14] Production.INFO: call_cost start
[2025-01-12 04:19:14] Production.INFO: call_cost end
[2025-01-12 04:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:19:14] Production.INFO: ==30992== Releasing lock...
[2025-01-12 04:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:19:19] Production.INFO: count ==359
[2025-01-12 04:19:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:19:05 - End Time 2025-01-12 04:19:05
[2025-01-12 04:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229104', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229104', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229104', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229104', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:19:19] Production.INFO: ProcessCDR(1,14229104,1,1,2)
[2025-01-12 04:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229104', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229104', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:19:23] Production.INFO: ==31000== Releasing lock...
[2025-01-12 04:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:19:23] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:20:01] Production.INFO: ==31098== Lock acquired, processing the job...
[2025-01-12 09:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:20:01] Production.INFO: neon service started
[2025-01-12 09:20:01] Production.INFO: neon service started
[2025-01-12 09:20:01] Production.INFO: ==31098== Releasing lock...
[2025-01-12 09:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:20:02] Production.INFO: ==31102== Lock acquired, processing the job...
[2025-01-12 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:20:02] Production.INFO: ==31104== Lock acquired, processing the job...
[2025-01-12 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:20:02] Production.INFO: ==31104== Releasing lock...
[2025-01-12 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:20:02] Production.INFO: ==31102== Releasing lock...
[2025-01-12 04:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:20:03] Production.INFO: ==31111== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:20:03] Production.INFO: ==31107== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 04:20:03] Production.INFO: ==31117== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:20:03] Production.INFO: ==31109== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:20:03] Production.INFO: ==31119== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 04:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:20:03] Production.ERROR: CronJob PID - 31109
[2025-01-12 04:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 04:20:03] Production.ERROR: CronJob ID - 5
[2025-01-12 04:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 04:20:00
[2025-01-12 04:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:20:03] Production.ERROR: CronJob PID - 31111
[2025-01-12 04:20:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 04:20:03] Production.ERROR: CronJob ID - 7
[2025-01-12 04:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 04:20:00
[2025-01-12 04:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:20:03] Production.ERROR: CronJob PID - 31117
[2025-01-12 04:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 04:20:03] Production.ERROR: CronJob ID - 16
[2025-01-12 04:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 04:20:00
[2025-01-12 04:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:20:03] Production.INFO: ==31111== Releasing lock...
[2025-01-12 04:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:20:03] Production.INFO: ==31113== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 04:20:03] Production.INFO: ==31107== Releasing lock...
[2025-01-12 04:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 04:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:20:03] Production.INFO: ==31115== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:20:03] Production.INFO: ==31121== Lock acquired, processing the job...
[2025-01-12 04:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:20:04] Production.INFO: Account Balance Start.
[2025-01-12 04:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:20:04] Production.INFO: 117
[2025-01-12 04:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 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-01-12 04:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:20:04] Production.INFO: count ==21
[2025-01-12 04:20:04] Production.ERROR: done
[2025-01-12 04:20:04] Production.ERROR: done
[2025-01-12 04:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 04:20:04] Production.INFO: count ==21
[2025-01-12 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229108') start
[2025-01-12 04:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 04:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229109', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 04:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229108') end
[2025-01-12 04:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:20:04] Production.INFO: 1
[2025-01-12 04:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:20:04] Production.INFO: ==31121== Releasing lock...
[2025-01-12 04:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:20:04] Production.ERROR: done
[2025-01-12 04:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:20:04] Production.INFO: Total Charge 0
[2025-01-12 04:20:04] Production.INFO: CreateAllLog End
[2025-01-12 04:20:04] Production.INFO: Account Balance End.
[2025-01-12 04:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:20:04] Production.INFO: ==31115== Releasing lock...
[2025-01-12 04:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:20:05
[end_date_ymd] => 2025-01-12 04:20:05
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:20:05' and `end` < '2025-01-12 04: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-01-12 04:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229109', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 04:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 04:20:08] Production.INFO: ProcessCDR(1,14229109,1,1,2)
[2025-01-12 04:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229109,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229109,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:20:08] Production.INFO: ==31119== Releasing lock...
[2025-01-12 04:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 04:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 04:20:14] Production.ERROR: CronJobId end10
[2025-01-12 04:20:14] Production.INFO: ==31113== Releasing lock...
[2025-01-12 04:20:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:20:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:20:16] Production.INFO: call_cost start
[2025-01-12 04:20:16] Production.INFO: call_cost end
[2025-01-12 04:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:20:16] Production.INFO: ==31109== Releasing lock...
[2025-01-12 04:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:20:18] Production.INFO: count ==354
[2025-01-12 04:20:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:20:05 - End Time 2025-01-12 04:20:05
[2025-01-12 04:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229110', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229110', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229110', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229110', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:20:18] Production.INFO: ProcessCDR(1,14229110,1,1,2)
[2025-01-12 04:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229110', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229110', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:20:21] Production.INFO: ==31117== Releasing lock...
[2025-01-12 04:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:20:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 09:21:02] Production.INFO: ==31222== Lock acquired, processing the job...
[2025-01-12 09:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:21:02] Production.INFO: neon service started
[2025-01-12 09:21:02] Production.INFO: neon service started
[2025-01-12 09:21:02] Production.INFO: ==31222== Releasing lock...
[2025-01-12 09:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:21:02] Production.INFO: ==31224== Lock acquired, processing the job...
[2025-01-12 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:21:02] Production.INFO: ==31226== Lock acquired, processing the job...
[2025-01-12 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:21:02] Production.INFO: ==31226== Releasing lock...
[2025-01-12 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:21:02] Production.INFO: ==31224== Releasing lock...
[2025-01-12 04:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:21:03] Production.INFO: ==31229== Lock acquired, processing the job...
[2025-01-12 04:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:21:03] Production.INFO: ==31231== Lock acquired, processing the job...
[2025-01-12 04:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:21:03] Production.INFO: ==31235== Lock acquired, processing the job...
[2025-01-12 04:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:21:03] Production.INFO: Account Balance Start.
[2025-01-12 04:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:21:03] Production.INFO: 117
[2025-01-12 04:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:21:03] Production.INFO: ==31233== Lock acquired, processing the job...
[2025-01-12 04:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:21:04] Production.INFO: ==31231== Releasing lock...
[2025-01-12 04:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:21:04] Production.INFO: ==31237== Lock acquired, processing the job...
[2025-01-12 04:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:21:04] Production.INFO: Total Charge 0
[2025-01-12 04:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:21:04] Production.INFO: CreateAllLog End
[2025-01-12 04:21:04] Production.INFO: ==31239== Lock acquired, processing the job...
[2025-01-12 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04: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-01-12 04:21:04] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:21:04] Production.INFO: count ==21
[2025-01-12 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229114') start
[2025-01-12 04:21:04] Production.ERROR: done
[2025-01-12 04:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229114') end
[2025-01-12 04:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:21:04] Production.INFO: 1
[2025-01-12 04:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:21:04] Production.INFO: Account Balance End.
[2025-01-12 04:21:04] Production.INFO: ==31239== Releasing lock...
[2025-01-12 04:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:21:04] Production.INFO: ==31235== Releasing lock...
[2025-01-12 04:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:21:04] Production.ERROR: done
[2025-01-12 04:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:21:05
[end_date_ymd] => 2025-01-12 04:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:21:05' and `end` < '2025-01-12 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-01-12 04:21:12] Production.ERROR: CronJobId end10
[2025-01-12 04:21:12] Production.INFO: ==31233== Releasing lock...
[2025-01-12 04:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:21:13] Production.INFO: call_cost start
[2025-01-12 04:21:13] Production.INFO: call_cost end
[2025-01-12 04:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:21:14] Production.INFO: ==31229== Releasing lock...
[2025-01-12 04:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:21:20] Production.INFO: count ==335
[2025-01-12 04:21:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:21:05 - End Time 2025-01-12 04:21:05
[2025-01-12 04:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229115', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229115', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229115', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229115', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:21:20] Production.INFO: ProcessCDR(1,14229115,1,1,2)
[2025-01-12 04:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229115', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229115', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:21:23] Production.INFO: ==31237== Releasing lock...
[2025-01-12 04:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:21:23] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:22:01] Production.INFO: ==31334== Lock acquired, processing the job...
[2025-01-12 09:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:22:01] Production.INFO: neon service started
[2025-01-12 09:22:01] Production.INFO: neon service started
[2025-01-12 09:22:01] Production.INFO: ==31334== Releasing lock...
[2025-01-12 09:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:22:01] Production.INFO: ==31336== Lock acquired, processing the job...
[2025-01-12 04:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:22:02] Production.INFO: ==31338== Lock acquired, processing the job...
[2025-01-12 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:22:02] Production.INFO: ==31336== Releasing lock...
[2025-01-12 04:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:22:02] Production.INFO: ==31338== Releasing lock...
[2025-01-12 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:22:03] Production.INFO: ==31349== Lock acquired, processing the job...
[2025-01-12 04:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:22:03] Production.INFO: ==31341== Lock acquired, processing the job...
[2025-01-12 04:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:22:03] Production.INFO: ==31343== Lock acquired, processing the job...
[2025-01-12 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:22:03] Production.INFO: ==31351== Lock acquired, processing the job...
[2025-01-12 04:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:22:03] Production.INFO: ==31345== Lock acquired, processing the job...
[2025-01-12 04:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:22:03] Production.INFO: ==31347== Lock acquired, processing the job...
[2025-01-12 04:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:22:03] Production.INFO: Account Balance Start.
[2025-01-12 04:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:22:03] Production.INFO: 117
[2025-01-12 04:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 04: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-01-12 04:22:03] Production.INFO: count ==21
[2025-01-12 04:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 04: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-01-12 04:22:03] Production.INFO: count ==21
[2025-01-12 04:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229116') start
[2025-01-12 04:22:03] Production.ERROR: done
[2025-01-12 04:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229116') end
[2025-01-12 04:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:22:03] Production.INFO: 1
[2025-01-12 04:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:22:03] Production.ERROR: done
[2025-01-12 04:22:03] Production.INFO: ==31351== Releasing lock...
[2025-01-12 04:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:22:03] Production.INFO: ==31343== Releasing lock...
[2025-01-12 04:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:22:03] Production.INFO: Total Charge 0
[2025-01-12 04:22:03] Production.INFO: CreateAllLog End
[2025-01-12 04:22:03] Production.INFO: Account Balance End.
[2025-01-12 04:22:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:22:03] Production.INFO: ==31347== Releasing lock...
[2025-01-12 04:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:22:04
[end_date_ymd] => 2025-01-12 04:22:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:22:04' and `end` < '2025-01-12 04: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-01-12 04:22:11] Production.ERROR: CronJobId end10
[2025-01-12 04:22:11] Production.INFO: ==31345== Releasing lock...
[2025-01-12 04:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:22:14] Production.INFO: call_cost start
[2025-01-12 04:22:14] Production.INFO: call_cost end
[2025-01-12 04:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:22:14] Production.INFO: ==31341== Releasing lock...
[2025-01-12 04:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:22:18] Production.INFO: count ==335
[2025-01-12 04:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:22:04 - End Time 2025-01-12 04:22:04
[2025-01-12 04:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229120', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229120', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229120', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229120', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:22:18] Production.INFO: ProcessCDR(1,14229120,1,1,2)
[2025-01-12 04:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229120', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229120', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:22:21] Production.INFO: ==31349== Releasing lock...
[2025-01-12 04:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:22:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:23:01] Production.INFO: ==31486== Lock acquired, processing the job...
[2025-01-12 09:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:23:01] Production.INFO: neon service started
[2025-01-12 09:23:01] Production.INFO: neon service started
[2025-01-12 09:23:01] Production.INFO: ==31486== Releasing lock...
[2025-01-12 09:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:23:02] Production.INFO: ==31488== Lock acquired, processing the job...
[2025-01-12 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:23:02] Production.INFO: ==31488== Releasing lock...
[2025-01-12 04:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:23:02] Production.INFO: ==31490== Lock acquired, processing the job...
[2025-01-12 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:23:02] Production.INFO: ==31490== Releasing lock...
[2025-01-12 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:23:03] Production.INFO: ==31496== Lock acquired, processing the job...
[2025-01-12 04:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:23:03] Production.INFO: ==31500== Lock acquired, processing the job...
[2025-01-12 04:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:23:03] Production.INFO: ==31494== Lock acquired, processing the job...
[2025-01-12 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:23:03] Production.INFO: ==31492== Lock acquired, processing the job...
[2025-01-12 04:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:23:03] Production.INFO: ==31498== Lock acquired, processing the job...
[2025-01-12 04:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:23:03] Production.INFO: ==31502== Lock acquired, processing the job...
[2025-01-12 04:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:23:03] Production.INFO: Account Balance Start.
[2025-01-12 04:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:23:03] Production.INFO: 117
[2025-01-12 04:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:23:03] Production.INFO: count ==21
[2025-01-12 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-01-12 04:23:03] Production.INFO: count ==21
[2025-01-12 04:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229124') start
[2025-01-12 04:23:03] Production.INFO: ==31494== Releasing lock...
[2025-01-12 04:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:23:03] Production.ERROR: done
[2025-01-12 04:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229124') end
[2025-01-12 04:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:23:03] Production.INFO: 1
[2025-01-12 04:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:23:04] Production.INFO: ==31502== Releasing lock...
[2025-01-12 04:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:23:04] Production.ERROR: done
[2025-01-12 04:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:23:04] Production.INFO: Total Charge 0
[2025-01-12 04:23:04] Production.INFO: CreateAllLog End
[2025-01-12 04:23:04] Production.INFO: Account Balance End.
[2025-01-12 04:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:23:04] Production.INFO: ==31498== Releasing lock...
[2025-01-12 04:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:23:04
[end_date_ymd] => 2025-01-12 04:23:04
[RateCDR] => 1
)
[2025-01-12 04:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:23:04' and `end` < '2025-01-12 04:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:23:11] Production.ERROR: CronJobId end10
[2025-01-12 04:23:11] Production.INFO: ==31496== Releasing lock...
[2025-01-12 04:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:23:13] Production.INFO: call_cost start
[2025-01-12 04:23:13] Production.INFO: call_cost end
[2025-01-12 04:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:23:14] Production.INFO: ==31492== Releasing lock...
[2025-01-12 04:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:23:19] Production.INFO: count ==335
[2025-01-12 04:23:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:23:04 - End Time 2025-01-12 04:23:04
[2025-01-12 04:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229125', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229125', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229125', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229125', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:23:19] Production.INFO: ProcessCDR(1,14229125,1,1,2)
[2025-01-12 04:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229125', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229125', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:23:22] Production.INFO: ==31500== Releasing lock...
[2025-01-12 04:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:23:22] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:24:01] Production.INFO: ==31601== Lock acquired, processing the job...
[2025-01-12 09:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:24:01] Production.INFO: neon service started
[2025-01-12 09:24:01] Production.INFO: neon service started
[2025-01-12 09:24:01] Production.INFO: ==31601== Releasing lock...
[2025-01-12 09:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:24:01] Production.INFO: ==31604== Lock acquired, processing the job...
[2025-01-12 04:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:24:01] Production.INFO: ==31604== Releasing lock...
[2025-01-12 04:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:24:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:24:02] Production.INFO: ==31606== Lock acquired, processing the job...
[2025-01-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:24:02] Production.INFO: ==31606== Releasing lock...
[2025-01-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:24:02] Production.INFO: ==31610== Lock acquired, processing the job...
[2025-01-12 04:24:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:24:02] Production.INFO: ==31618== Lock acquired, processing the job...
[2025-01-12 04:24:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:24:02] Production.INFO: ==31608== Lock acquired, processing the job...
[2025-01-12 04:24:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:24:03] Production.INFO: ==31612== Lock acquired, processing the job...
[2025-01-12 04:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:24:03] Production.INFO: ==31610== Releasing lock...
[2025-01-12 04:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:24:03] Production.INFO: ==31614== Lock acquired, processing the job...
[2025-01-12 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:24:03] Production.INFO: count ==21
[2025-01-12 04:24:03] Production.INFO: Account Balance Start.
[2025-01-12 04:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:24:03] Production.INFO: ==31616== Lock acquired, processing the job...
[2025-01-12 04:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:24:03] Production.INFO: 117
[2025-01-12 04:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:24:03] Production.INFO: count ==21
[2025-01-12 04:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229127') start
[2025-01-12 04:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229127') end
[2025-01-12 04:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:24:03] Production.INFO: 1
[2025-01-12 04:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:24:03] Production.INFO: ==31618== Releasing lock...
[2025-01-12 04:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:24:03] Production.INFO: Total Charge 0
[2025-01-12 04:24:03] Production.INFO: CreateAllLog End
[2025-01-12 04:24:03] Production.ERROR: done
[2025-01-12 04:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:24:03] Production.INFO: Account Balance End.
[2025-01-12 04:24:03] Production.ERROR: done
[2025-01-12 04:24:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:24:03] Production.INFO: ==31614== Releasing lock...
[2025-01-12 04:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:24:04
[end_date_ymd] => 2025-01-12 04:24:04
[RateCDR] => 1
)
[2025-01-12 04:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:24:04' and `end` < '2025-01-12 04:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:24:11] Production.ERROR: CronJobId end10
[2025-01-12 04:24:11] Production.INFO: ==31612== Releasing lock...
[2025-01-12 04:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:24:13] Production.INFO: call_cost start
[2025-01-12 04:24:13] Production.INFO: call_cost end
[2025-01-12 04:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:24:13] Production.INFO: ==31608== Releasing lock...
[2025-01-12 04:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:24:18] Production.INFO: count ==335
[2025-01-12 04:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:24:04 - End Time 2025-01-12 04:24:04
[2025-01-12 04:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229130', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229130', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229130', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229130', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:24:18] Production.INFO: ProcessCDR(1,14229130,1,1,2)
[2025-01-12 04:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:24:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229130', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:24:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229130', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:24:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:24:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:24:21] Production.INFO: ==31616== Releasing lock...
[2025-01-12 04:24:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:24:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:25:01] Production.INFO: ==31715== Lock acquired, processing the job...
[2025-01-12 09:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:25:01] Production.INFO: neon service started
[2025-01-12 09:25:01] Production.INFO: neon service started
[2025-01-12 09:25:01] Production.INFO: ==31715== Releasing lock...
[2025-01-12 09:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:25:02] Production.INFO: ==31717== Lock acquired, processing the job...
[2025-01-12 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:25:02] Production.INFO: ==31717== Releasing lock...
[2025-01-12 04:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:25:02] Production.INFO: ==31719== Lock acquired, processing the job...
[2025-01-12 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:25:02] Production.INFO: ==31719== Releasing lock...
[2025-01-12 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:25:03] Production.INFO: ==31730== Lock acquired, processing the job...
[2025-01-12 04:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:25:03] Production.INFO: ==31732== Lock acquired, processing the job...
[2025-01-12 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:25:03] Production.INFO: ==31722== Lock acquired, processing the job...
[2025-01-12 04:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:25:03] Production.INFO: ==31724== Lock acquired, processing the job...
[2025-01-12 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:25:03] Production.INFO: ==31728== Lock acquired, processing the job...
[2025-01-12 04:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:25:03] Production.INFO: ==31726== Lock acquired, processing the job...
[2025-01-12 04:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:25:03] Production.INFO: Account Balance Start.
[2025-01-12 04:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:25:03] Production.INFO: 117
[2025-01-12 04:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 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-01-12 04:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:25:03] Production.ERROR: done
[2025-01-12 04:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:25:03] Production.INFO: count ==21
[2025-01-12 04:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:25:03] Production.INFO: count ==21
[2025-01-12 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229131') start
[2025-01-12 04:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:25:03] Production.INFO: ==31724== Releasing lock...
[2025-01-12 04:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:25:03] Production.ERROR: done
[2025-01-12 04:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229131') end
[2025-01-12 04:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:25:03] Production.INFO: 1
[2025-01-12 04:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:25:03] Production.INFO: ==31732== Releasing lock...
[2025-01-12 04:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:25:03] Production.INFO: Total Charge 0
[2025-01-12 04:25:04] Production.INFO: CreateAllLog End
[2025-01-12 04:25:04] Production.INFO: Account Balance End.
[2025-01-12 04:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:25:04] Production.INFO: ==31728== Releasing lock...
[2025-01-12 04:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:25:04
[end_date_ymd] => 2025-01-12 04:25:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:25:04' and `end` < '2025-01-12 04: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-01-12 04:25:11] Production.ERROR: CronJobId end10
[2025-01-12 04:25:11] Production.INFO: ==31726== Releasing lock...
[2025-01-12 04:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:25:13] Production.INFO: call_cost start
[2025-01-12 04:25:13] Production.INFO: call_cost end
[2025-01-12 04:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:25:14] Production.INFO: ==31722== Releasing lock...
[2025-01-12 04:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:25:17] Production.INFO: count ==334
[2025-01-12 04:25:17] Production.ERROR: pbx CDR StartTime 2025-01-12 01:25:04 - End Time 2025-01-12 04:25:04
[2025-01-12 04:25:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229135', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229135', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229135', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:25:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229135', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:25:17] Production.INFO: ProcessCDR(1,14229135,1,1,2)
[2025-01-12 04:25:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:25:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:25:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:25:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229135', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:25:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229135', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:25:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:25:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:25:20] Production.INFO: ==31730== Releasing lock...
[2025-01-12 04:25:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:25:20] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:26:02] Production.INFO: ==31828== Lock acquired, processing the job...
[2025-01-12 09:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:26:02] Production.INFO: neon service started
[2025-01-12 09:26:02] Production.INFO: neon service started
[2025-01-12 09:26:02] Production.INFO: ==31828== Releasing lock...
[2025-01-12 09:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:26:02] Production.INFO: ==31830== Lock acquired, processing the job...
[2025-01-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:26:02] Production.INFO: ==31830== Releasing lock...
[2025-01-12 04:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:26:02] Production.INFO: ==31832== Lock acquired, processing the job...
[2025-01-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:26:02] Production.INFO: ==31832== Releasing lock...
[2025-01-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:26:03] Production.INFO: ==31834== Lock acquired, processing the job...
[2025-01-12 04:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:26:03] Production.INFO: ==31838== Lock acquired, processing the job...
[2025-01-12 04:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:26:03] Production.INFO: ==31842== Lock acquired, processing the job...
[2025-01-12 04:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:26:03] Production.INFO: ==31844== Lock acquired, processing the job...
[2025-01-12 04:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:26:03] Production.INFO: ==31836== Lock acquired, processing the job...
[2025-01-12 04:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:26:03] Production.INFO: ==31840== Lock acquired, processing the job...
[2025-01-12 04:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:26:03] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:26:03] Production.INFO: count ==21
[2025-01-12 04:26:03] Production.INFO: Account Balance Start.
[2025-01-12 04:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:26:03] Production.INFO: 117
[2025-01-12 04:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229137') start
[2025-01-12 04:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:26:04] Production.ERROR: done
[2025-01-12 04:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229137') end
[2025-01-12 04:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:26:04] Production.INFO: 1
[2025-01-12 04:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:26:04] Production.ERROR: done
[2025-01-12 04:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:26:04] Production.INFO: ==31844== Releasing lock...
[2025-01-12 04:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:26:04] Production.INFO: ==31836== Releasing lock...
[2025-01-12 04:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:26:04] Production.INFO: Total Charge 0
[2025-01-12 04:26:04] Production.INFO: CreateAllLog End
[2025-01-12 04:26:04] Production.INFO: Account Balance End.
[2025-01-12 04:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:26:04] Production.INFO: ==31840== Releasing lock...
[2025-01-12 04:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:26:05
[end_date_ymd] => 2025-01-12 04:26:05
[RateCDR] => 1
)
[2025-01-12 04:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:26:05' and `end` < '2025-01-12 04:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:26:11] Production.ERROR: CronJobId end10
[2025-01-12 04:26:11] Production.INFO: ==31838== Releasing lock...
[2025-01-12 04:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:26:13] Production.INFO: call_cost start
[2025-01-12 04:26:13] Production.INFO: call_cost end
[2025-01-12 04:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:26:14] Production.INFO: ==31834== Releasing lock...
[2025-01-12 04:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:26:18] Production.INFO: count ==334
[2025-01-12 04:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:26:05 - End Time 2025-01-12 04:26:05
[2025-01-12 04:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229140', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229140', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229140', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229140', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:26:18] Production.INFO: ProcessCDR(1,14229140,1,1,2)
[2025-01-12 04:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229140', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229140', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:26:21] Production.INFO: ==31842== Releasing lock...
[2025-01-12 04:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:26:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:27:01] Production.INFO: ==31940== Lock acquired, processing the job...
[2025-01-12 09:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:27:01] Production.INFO: neon service started
[2025-01-12 09:27:01] Production.INFO: neon service started
[2025-01-12 09:27:01] Production.INFO: ==31940== Releasing lock...
[2025-01-12 09:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:27:02] Production.INFO: ==31943== Lock acquired, processing the job...
[2025-01-12 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:27:02] Production.INFO: ==31945== Lock acquired, processing the job...
[2025-01-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:27:02] Production.INFO: ==31945== Releasing lock...
[2025-01-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:27:02] Production.INFO: ==31943== Releasing lock...
[2025-01-12 04:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:27:03] Production.INFO: ==31949== Lock acquired, processing the job...
[2025-01-12 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:27:03] Production.INFO: ==31947== Lock acquired, processing the job...
[2025-01-12 04:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:27:03] Production.INFO: ==31953== Lock acquired, processing the job...
[2025-01-12 04:27:03] Production.INFO: ==31951== Lock acquired, processing the job...
[2025-01-12 04:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:27:03] Production.INFO: Account Balance Start.
[2025-01-12 04:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:27:03] Production.INFO: 117
[2025-01-12 04:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:27:03] Production.INFO: ==31955== Lock acquired, processing the job...
[2025-01-12 04:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:27:03] Production.INFO: ==31957== Lock acquired, processing the job...
[2025-01-12 04:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:27:03] Production.INFO: ==31949== Releasing lock...
[2025-01-12 04:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 04: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-01-12 04:27:03] Production.INFO: count ==21
[2025-01-12 04:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 04: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-01-12 04:27:03] Production.INFO: count ==21
[2025-01-12 04:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229144') start
[2025-01-12 04:27:04] Production.INFO: Total Charge 0
[2025-01-12 04:27:04] Production.ERROR: done
[2025-01-12 04:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:27:04] Production.INFO: CreateAllLog End
[2025-01-12 04:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229144') end
[2025-01-12 04:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:27:04] Production.INFO: 1
[2025-01-12 04:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:27:04] Production.INFO: ==31957== Releasing lock...
[2025-01-12 04:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:27:04] Production.ERROR: done
[2025-01-12 04:27:04] Production.INFO: Account Balance End.
[2025-01-12 04:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:27:04] Production.INFO: ==31953== Releasing lock...
[2025-01-12 04:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:27:05
[end_date_ymd] => 2025-01-12 04:27:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:27:05' and `end` < '2025-01-12 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-01-12 04:27:11] Production.ERROR: CronJobId end10
[2025-01-12 04:27:11] Production.INFO: ==31951== Releasing lock...
[2025-01-12 04:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:27:13] Production.INFO: call_cost start
[2025-01-12 04:27:14] Production.INFO: call_cost end
[2025-01-12 04:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:27:14] Production.INFO: ==31947== Releasing lock...
[2025-01-12 04:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:27:18] Production.INFO: count ==334
[2025-01-12 04:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:27:05 - End Time 2025-01-12 04:27:05
[2025-01-12 04:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229145', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229145', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229145', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229145', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:27:18] Production.INFO: ProcessCDR(1,14229145,1,1,2)
[2025-01-12 04:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229145', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229145', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:27:21] Production.INFO: ==31955== Releasing lock...
[2025-01-12 04:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:27:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:28:02] Production.INFO: ==32053== Lock acquired, processing the job...
[2025-01-12 09:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:28:02] Production.INFO: neon service started
[2025-01-12 09:28:02] Production.INFO: neon service started
[2025-01-12 09:28:02] Production.INFO: ==32053== Releasing lock...
[2025-01-12 09:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:28:02] Production.INFO: ==32057== Lock acquired, processing the job...
[2025-01-12 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:28:02] Production.INFO: ==32057== Releasing lock...
[2025-01-12 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:28:02] Production.INFO: ==32055== Lock acquired, processing the job...
[2025-01-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:28:02] Production.INFO: ==32055== Releasing lock...
[2025-01-12 04:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:28:03] Production.INFO: ==32059== Lock acquired, processing the job...
[2025-01-12 04:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:28:03] Production.INFO: ==32061== Lock acquired, processing the job...
[2025-01-12 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:28:03] Production.INFO: ==32068== Lock acquired, processing the job...
[2025-01-12 04:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:28:03] Production.INFO: ==32063== Lock acquired, processing the job...
[2025-01-12 04:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:28:03] Production.INFO: ==32061== Releasing lock...
[2025-01-12 04:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:28:03] Production.INFO: ==32065== Lock acquired, processing the job...
[2025-01-12 04:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:28:04] Production.INFO: ==32070== Lock acquired, processing the job...
[2025-01-12 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:28:04] Production.ERROR: done
[2025-01-12 04:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:28:04] Production.ERROR: done
[2025-01-12 04:28:04] Production.INFO: Account Balance Start.
[2025-01-12 04:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:28:04] Production.INFO: 117
[2025-01-12 04:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 04:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:28:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:28:04] Production.INFO: count ==21
[2025-01-12 04:28:04] Production.INFO: Total Charge 0
[2025-01-12 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229150') start
[2025-01-12 04:28:04] Production.INFO: CreateAllLog End
[2025-01-12 04:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229150') end
[2025-01-12 04:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:28:04] Production.INFO: 1
[2025-01-12 04:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:28:04] Production.INFO: Account Balance End.
[2025-01-12 04:28:04] Production.INFO: ==32070== Releasing lock...
[2025-01-12 04:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:28:04] Production.INFO: ==32065== Releasing lock...
[2025-01-12 04:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:28:05
[end_date_ymd] => 2025-01-12 04:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:28:05' and `end` < '2025-01-12 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-01-12 04:28:11] Production.ERROR: CronJobId end10
[2025-01-12 04:28:11] Production.INFO: ==32063== Releasing lock...
[2025-01-12 04:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:28:14] Production.INFO: call_cost start
[2025-01-12 04:28:14] Production.INFO: call_cost end
[2025-01-12 04:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:28:15] Production.INFO: ==32059== Releasing lock...
[2025-01-12 04:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:28:18] Production.INFO: count ==332
[2025-01-12 04:28:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:28:05 - End Time 2025-01-12 04:28:05
[2025-01-12 04:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229149', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229149', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229149', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229149', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:28:18] Production.INFO: ProcessCDR(1,14229149,1,1,2)
[2025-01-12 04:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229149,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229149,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229149', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229149', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:28:22] Production.INFO: ==32068== Releasing lock...
[2025-01-12 04:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:28:22] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:29:01] Production.INFO: ==32166== Lock acquired, processing the job...
[2025-01-12 09:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:29:01] Production.INFO: neon service started
[2025-01-12 09:29:01] Production.INFO: neon service started
[2025-01-12 09:29:01] Production.INFO: ==32166== Releasing lock...
[2025-01-12 09:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:29:01] Production.INFO: ==32170== Lock acquired, processing the job...
[2025-01-12 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:29:01] Production.INFO: ==32170== Releasing lock...
[2025-01-12 09:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:29:01] Production.INFO: ==32168== Lock acquired, processing the job...
[2025-01-12 04:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:29:02] Production.INFO: ==32168== Releasing lock...
[2025-01-12 04:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:29:02] Production.INFO: ==32173== Lock acquired, processing the job...
[2025-01-12 04:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:29:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:29:02] Production.INFO: ==32177== Lock acquired, processing the job...
[2025-01-12 04:29:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:29:03] Production.INFO: ==32183== Lock acquired, processing the job...
[2025-01-12 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:29:03] Production.INFO: ==32175== Lock acquired, processing the job...
[2025-01-12 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:29:03] Production.INFO: ==32179== Lock acquired, processing the job...
[2025-01-12 04:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 04:29:03] Production.INFO: ==32181== Lock acquired, processing the job...
[2025-01-12 04:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:29:03] Production.INFO: count ==21
[2025-01-12 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-01-12 04:29:03] Production.INFO: count ==21
[2025-01-12 04:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:29:03] Production.INFO: Account Balance Start.
[2025-01-12 04:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229152') start
[2025-01-12 04:29:03] Production.INFO: 117
[2025-01-12 04:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:29:03] Production.INFO: ==32175== Releasing lock...
[2025-01-12 04:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229152') end
[2025-01-12 04:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:29:03] Production.INFO: 1
[2025-01-12 04:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:29:03] Production.INFO: ==32183== Releasing lock...
[2025-01-12 04:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:29:03] Production.ERROR: done
[2025-01-12 04:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:29:03] Production.INFO: Total Charge 0
[2025-01-12 04:29:03] Production.INFO: CreateAllLog End
[2025-01-12 04:29:03] Production.ERROR: done
[2025-01-12 04:29:03] Production.INFO: Account Balance End.
[2025-01-12 04:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:29:04] Production.INFO: ==32179== Releasing lock...
[2025-01-12 04:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:29:04
[end_date_ymd] => 2025-01-12 04:29:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:29:04' and `end` < '2025-01-12 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-01-12 04:29:11] Production.ERROR: CronJobId end10
[2025-01-12 04:29:11] Production.INFO: ==32177== Releasing lock...
[2025-01-12 04:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:29:13] Production.INFO: call_cost start
[2025-01-12 04:29:13] Production.INFO: call_cost end
[2025-01-12 04:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:29:13] Production.INFO: ==32173== Releasing lock...
[2025-01-12 04:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:29:17] Production.INFO: count ==330
[2025-01-12 04:29:17] Production.ERROR: pbx CDR StartTime 2025-01-12 01:29:04 - End Time 2025-01-12 04:29:04
[2025-01-12 04:29:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229155', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229155', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229155', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:29:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229155', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:29:17] Production.INFO: ProcessCDR(1,14229155,1,1,2)
[2025-01-12 04:29:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:29:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:29:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:29:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229155', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:29:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229155', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:29:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:29:21] Production.INFO: ==32181== Releasing lock...
[2025-01-12 04:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:29:21] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:30:01] Production.INFO: ==32279== Lock acquired, processing the job...
[2025-01-12 09:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:30:01] Production.INFO: neon service started
[2025-01-12 09:30:01] Production.INFO: neon service started
[2025-01-12 09:30:01] Production.INFO: ==32279== Releasing lock...
[2025-01-12 09:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:30:02] Production.INFO: ==32281== Lock acquired, processing the job...
[2025-01-12 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:30:02] Production.INFO: ==32281== Releasing lock...
[2025-01-12 04:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:30:02] Production.INFO: ==32283== Lock acquired, processing the job...
[2025-01-12 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:30:02] Production.INFO: ==32283== Releasing lock...
[2025-01-12 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:30:03] Production.INFO: ==32287== Lock acquired, processing the job...
[2025-01-12 04:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:30:03] Production.INFO: ==32285== Lock acquired, processing the job...
[2025-01-12 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 04:30:03] Production.INFO: ==32289== Lock acquired, processing the job...
[2025-01-12 04:30:03] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Starts#
[2025-01-12 04:30:03] Production.INFO: ==32291== Lock acquired, processing the job...
[2025-01-12 04:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 04:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:30:03] Production.ERROR: CronJob PID - 32287
[2025-01-12 04:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 04:30:03] Production.ERROR: CronJob ID - 5
[2025-01-12 04:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 04:30:00
[2025-01-12 04:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 04:30:03] Production.INFO: ==32285== Releasing lock...
[2025-01-12 04:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 04:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:30:03] Production.INFO: ==32293== Lock acquired, processing the job...
[2025-01-12 04:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:30:03] Production.INFO: Call prc_getBillingAccounts(1,2025-01-12,'','0')
[2025-01-12 04:30:03] Production.INFO: Array
(
[0] => stdClass Object
(
[AccountID] => 70
[NextInvoiceDate] => 2025-01-12
[AccountName] => Dominos 10293 (David Mills)
[ServiceID] => 0
)
[1] => stdClass Object
(
[AccountID] => 130
[NextInvoiceDate] => 2025-01-12
[AccountName] => Auto Loan Centre
[ServiceID] => 0
)
)
[2025-01-12 04:30:04] Production.INFO: AccountID =70 FirstInvoiceSend 0
[2025-01-12 04:30:04] Production.INFO: LastInvoiceDate 2024-12-12 NextInvoiceDate 2025-01-12
[2025-01-12 04:30:04] Production.INFO: LastChargeDate 2024-12-12 NextChargeDate 2025-01-11
[2025-01-12 04:30:04] Production.INFO: ==32295== Lock acquired, processing the job...
[2025-01-12 04:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:30:04] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-12 04:30:04] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-12 04:30:04] Production.INFO: ==32300== Lock acquired, processing the job...
[2025-01-12 04:30:04] Production.INFO: ==32298== Lock acquired, processing the job...
[2025-01-12 04:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 04:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:30:04] Production.INFO: Account Balance Start.
[2025-01-12 04:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:30:04] Production.INFO: 117
[2025-01-12 04:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:30:04] Production.INFO: Invoice::sendInvoice(1,70,2024-12-12,2025-01-12,billing@onswitchit.ca)
[2025-01-12 04:30:04] Production.INFO: ==32302== Lock acquired, processing the job...
[2025-01-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:30:04] Production.INFO: ==32291== Releasing lock...
[2025-01-12 04:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:30:04] Production.INFO: start Date =2024-12-12 EndDate =2025-01-11 23:59:59
[2025-01-12 04:30:04] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-12 04:30: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-01-12 04:30:04] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-12 04:30:04] Production.INFO: AlreadyBilled
[2025-01-12 04:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:30:04] Production.ERROR: done
[2025-01-12 04:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:30:04] Production.INFO: count ==21
[2025-01-12 04:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:30:04] Production.ERROR: done
[2025-01-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229160') start
[2025-01-12 04:30:04] Production.INFO: original start date ==>2024-12-12 changed start date ==>2024-12-12 00:00:00 original end date ==>2025-01-11 23:59:59 changed end date ==>2025-01-11 23:59:59
[2025-01-12 04:30:04] Production.INFO: Invoice::getAccountUsageTotal(1,70,2024-12-12,2025-01-11 23:59:59)
[2025-01-12 04:30:04] Production.INFO: TotalCharges - 0
[2025-01-12 04:30:04] Production.INFO: TotalUsageCharges - 0.00
[2025-01-12 04:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 04:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229161', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 04:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229160') end
[2025-01-12 04:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:30:04] Production.INFO: 1
[2025-01-12 04:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:30:04] Production.INFO: Usage Over
[2025-01-12 04:30:04] Production.INFO: Call prc_getAccountSubscription(70,0)
[2025-01-12 04:30:04] Production.INFO: SUBSCRIPTION 3
[2025-01-12 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-12 04:30:04] Production.INFO: SubscriptionID - 5
[2025-01-12 04:30:04] Production.ERROR: done
[2025-01-12 04:30:04] Production.INFO: isAdvanceSubscription - 5
[2025-01-12 04:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:30:04] Production.INFO: ==32302== Releasing lock...
[2025-01-12 04:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:04] Production.INFO: SubscriptionStartDate =2025-01-12 - SubscriptionEndDate = 2025-02-11
[2025-01-12 04:30:04] Production.INFO: NewNextChargeDate =2025-02-11 00:00:00
[2025-01-12 04:30:04] Production.INFO: EndDate =2025-01-11 00:00:00
[2025-01-12 04:30:04] Production.INFO: NewEndDate1 =2025-01-12
[2025-01-12 04:30:04] Production.INFO: SubscriptionDate
[2025-01-12 04:30:04] Production.INFO: Array
(
[StartDate] => 2025-01-12
[EndDate] => 2025-02-11 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 04:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:04] Production.INFO: New Account Subscription Start
[2025-01-12 04:30:04] Production.INFO: AccountSubscription StartDate 2018-06-12 StartDate 2024-12-12
[2025-01-12 04:30:04] Production.INFO: SubscriptionID - 2025-01-12=====2025-02-11 00:00:00
[2025-01-12 04:30:04] Production.INFO: AccountSubscriptionID - 283 === 2018-06-12=====2026-01-12
[2025-01-12 04:30:04] Production.INFO: regular Advance Subscription
[2025-01-12 04:30:04] Production.INFO: First Time False 2018-06-12 2025-01-12
[2025-01-12 04:30:04] Production.INFO: StartDate 2025-01-12 AccountSubscription->StartDate 2018-06-12 EndDate 2025-02-11 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 04:30:04] Production.INFO: Total Charge 0
[2025-01-12 04:30:04] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 04:30:04] Production.INFO: AccountSubscription::getSubscriptionAmount(283,2025-01-12,2025-02-11 00:00:00,,0)
[2025-01-12 04:30:04] Production.INFO: SubscriptionCharge - 75
[2025-01-12 04:30:04] Production.INFO: CreateAllLog End
[2025-01-12 04:30:04] Production.INFO: Already Invoice Subscription 0
[2025-01-12 04:30:04] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(70,1,5,2025-01-12,2025-02-11 00:00:00,Restaurant - 4 Line Flat Rate,75,75,1,283)
[2025-01-12 04:30:04] Production.INFO: DiscountAmount 0.000000
[2025-01-12 04:30:04] Production.INFO: DiscountType
[2025-01-12 04:30:04] Production.INFO: SubscriptionCharge 75
[2025-01-12 04:30:04] Production.INFO: New SubscriptionCharge 75
[2025-01-12 04:30:04] Production.INFO: TotalSubscriptionCharge - 75.00
[2025-01-12 04:30:04] Production.INFO: ============================Subscription End =================
[2025-01-12 04:30:04] Production.INFO: ============================Subscription Start =================
[2025-01-12 04:30:04] Production.INFO: SubscriptionID - 4
[2025-01-12 04:30:04] Production.INFO: isAdvanceSubscription - 4
[2025-01-12 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-12 - SubscriptionEndDate = 2025-02-11
[2025-01-12 04:30:05] Production.INFO: NewNextChargeDate =2025-02-11 00:00:00
[2025-01-12 04:30:05] Production.INFO: EndDate =2025-01-11 00:00:00
[2025-01-12 04:30:05] Production.INFO: NewEndDate1 =2025-01-12
[2025-01-12 04:30:05] Production.INFO: SubscriptionDate
[2025-01-12 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-12
[EndDate] => 2025-02-11 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 04:30:05] Production.INFO: New Account Subscription Start
[2025-01-12 04:30:05] Production.INFO: AccountSubscription StartDate 2018-06-12 StartDate 2024-12-12
[2025-01-12 04:30:05] Production.INFO: SubscriptionID - 2025-01-12=====2025-02-11 00:00:00
[2025-01-12 04:30:05] Production.INFO: AccountSubscriptionID - 284 === 2018-06-12=====2026-01-12
[2025-01-12 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-12 04:30:05] Production.INFO: First Time False 2018-06-12 2025-01-12
[2025-01-12 04:30:05] Production.INFO: StartDate 2025-01-12 AccountSubscription->StartDate 2018-06-12 EndDate 2025-02-11 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(284,2025-01-12,2025-02-11 00:00:00,,0)
[2025-01-12 04:30:05] Production.INFO: SubscriptionCharge - 2.5
[2025-01-12 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(70,1,4,2025-01-12,2025-02-11 00:00:00,e911 address registration (19054589858 - 1650 WILLIAMS PKWY BRAMPTON, ON L6S5R7),2.5,2.5,1,284)
[2025-01-12 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 04:30:05] Production.INFO: DiscountType
[2025-01-12 04:30:05] Production.INFO: SubscriptionCharge 2.5
[2025-01-12 04:30:05] Production.INFO: New SubscriptionCharge 2.5
[2025-01-12 04:30:05] Production.INFO: TotalSubscriptionCharge - 2.50
[2025-01-12 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-12 04:30:05] Production.INFO: ============================Subscription Start =================
[2025-01-12 04:30:05] Production.INFO: SubscriptionID - 11
[2025-01-12 04:30:05] Production.INFO: isAdvanceSubscription - 11
[2025-01-12 04:30:05] Production.INFO: SubscriptionStartDate =2025-01-12 - SubscriptionEndDate = 2025-02-11
[2025-01-12 04:30:05] Production.INFO: NewNextChargeDate =2025-02-11 00:00:00
[2025-01-12 04:30:05] Production.INFO: Account Balance End.
[2025-01-12 04:30:05] Production.INFO: EndDate =2025-01-11 00:00:00
[2025-01-12 04:30:05] Production.INFO: NewEndDate1 =2025-01-12
[2025-01-12 04:30:05] Production.INFO: SubscriptionDate
[2025-01-12 04:30:05] Production.INFO: Array
(
[StartDate] => 2025-01-12
[EndDate] => 2025-02-11 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 04:30:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:30:05] Production.INFO: ==32295== Releasing lock...
[2025-01-12 04:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:30:05] Production.INFO: AccountSubscription StartDate 2019-02-19 StartDate 2024-12-12
[2025-01-12 04:30:05] Production.INFO: SubscriptionID - 2025-01-12=====2025-02-11 00:00:00
[2025-01-12 04:30:05] Production.INFO: AccountSubscriptionID - 379 === 2019-02-19=====2026-01-12
[2025-01-12 04:30:05] Production.INFO: regular Advance Subscription
[2025-01-12 04:30:05] Production.INFO: First Time False 2019-02-19 2025-01-12
[2025-01-12 04:30:05] Production.INFO: StartDate 2025-01-12 AccountSubscription->StartDate 2019-02-19 EndDate 2025-02-11 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 04:30:05] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 04:30:05] Production.INFO: AccountSubscription::getSubscriptionAmount(379,2025-01-12,2025-02-11 00:00:00,,0)
[2025-01-12 04:30:05] Production.INFO: SubscriptionCharge - -5
[2025-01-12 04:30:05] Production.INFO: Already Invoice Subscription 0
[2025-01-12 04:30:05] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(70,1,11,2025-01-12,2025-02-11 00:00:00,Provides a $5/store/month discount when 2+ stores have OnSwitch Cloud Phone service,-20,-5,4,379)
[2025-01-12 04:30:05] Production.INFO: DiscountAmount 0.000000
[2025-01-12 04:30:05] Production.INFO: DiscountType
[2025-01-12 04:30:05] Production.INFO: SubscriptionCharge -20
[2025-01-12 04:30:05] Production.INFO: New SubscriptionCharge -20
[2025-01-12 04:30:05] Production.INFO: TotalSubscriptionCharge - -20.00
[2025-01-12 04:30:05] Production.INFO: ============================Subscription End =================
[2025-01-12 04:30:05] Production.INFO: SUBSCRIPTION Over
[2025-01-12 04:30:05] Production.INFO: Call prc_getAccountOneOffCharge(70,0,2024-12-12,2025-01-12 23:59:59)
[2025-01-12 04:30:05] Production.INFO: AccountOneOffCharge 0
[2025-01-12 04:30:05] Production.INFO: AccountOneOffCharge Over
[2025-01-12 04:30:05] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-12 04:30:05] Production.INFO: New UsageDates 2024-12-12 - 2025-01-11 23:59:59
[2025-01-12 04:30:05] Production.INFO: SubTotal 57.5
[2025-01-12 04:30:05] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-12 04:30:05] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-12 04:30:05] Production.INFO: TotalTax 7.475
[2025-01-12 04:30:05] Production.INFO: InvoiceGrandTotal 64.975
[2025-01-12 04:30:05] Production.INFO: InvoiceTaxAmount 7.48
[2025-01-12 04:30:05] Production.INFO: GrandTotal 64.98
[2025-01-12 04:30:05] Production.INFO: SubTotal 57.50
[2025-01-12 04:30:05] Production.INFO: TotalDue 64.98
[2025-01-12 04:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:05] Production.INFO: original start date ==>2024-12-12 changed start date ==>2024-12-12 00:00:00 original end date ==>2025-01-11 23:59:59 changed end date ==>2025-01-11 23:59:59
[2025-01-12 04:30:05] Production.INFO: CALL prc_getInvoiceUsage(1,'70','0','1','2024-12-12 00:00:00','2025-01-11 23:59:59',0)
[2025-01-12 04:30:05] Production.INFO: PDF Generation start
[2025-01-12 04:30:05] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/70/Invoices/2025/01/12/Invoice-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.pdf
[2025-01-12 04:30:05] Production.INFO: On Linux
[2025-01-12 04:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:30:05
[end_date_ymd] => 2025-01-12 04:30:05
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:30:05' and `end` < '2025-01-12 04: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-01-12 04:30: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/70/Invoices/2025/01/12/footer-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.html" "/var/www/tmp/1/70/Invoices/2025/01/12/Invoice-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.html" "/var/www/tmp/1/70/Invoices/2025/01/12/Invoice-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.pdf"
[2025-01-12 04:30:07] Production.INFO:
[2025-01-12 04:30:07] Production.INFO: /var/www/tmp/1/70/Invoices/2025/01/12/Invoice-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.html
[2025-01-12 04:30:07] Production.INFO: /var/www/tmp/1/70/Invoices/2025/01/12/header-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.html
[2025-01-12 04:30:07] Production.INFO: /var/www/tmp/1/70/Invoices/2025/01/12/footer-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.html
[2025-01-12 04:30:07] Production.INFO: Invoice generation PDF path
[2025-01-12 04:30:07] Production.INFO: PDF fullPath 1/70/Invoices/2025/01/12/Invoice-dominos-10293-david-mills-inv11353-from-12-12-2024-to-01-11-2025-10282.pdf
[2025-01-12 04:30:07] Production.INFO: Generate Usage File Start
[2025-01-12 04:30:07] Production.INFO: Usage File fullPath 1/70/InvoiceUsageFile/2025/01/12/dominos-10293-david-mills-12-12-2024-00-00-00-TO-11-01-2025-23-59-59_4786__cfc2b200-d0c7-11ef-8f5f-052dfb3b0bd8.csv
[2025-01-12 04:30:09] Production.INFO: Sending Email to Staff over
[2025-01-12 04:30:09] Production.INFO: Email Status 1
[2025-01-12 04:30:09] Production.INFO: Sending Email to Customer
[2025-01-12 04:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229161', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 04:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 04:30:09] Production.INFO: ProcessCDR(1,14229161,1,1,2)
[2025-01-12 04:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229161,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229161,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:30:09] Production.INFO: ==32300== Releasing lock...
[2025-01-12 04:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 04:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 04:30:10] Production.INFO: Email Try 10282 1
[2025-01-12 04:30:10] Production.INFO: =========== Email Sending over ===========
[2025-01-12 04:30:10] Production.INFO: =========== Returning as Success =========== AccountID 70
[2025-01-12 04:30:10] Production.INFO: Invoice::sendInvoice done
[2025-01-12 04:30:10] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-12 04:30:10] Production.INFO: Invoice Committed AccountID = 70
[2025-01-12 04:30:10] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-12 04:30:10] Production.INFO: NextInvoice 2025-01-12 2025-02-11
[2025-01-12 04:30:10] Production.INFO: new dates
[2025-01-12 04:30:10] Production.INFO: LastInvoiceDate 2025-01-12 NextInvoiceDate 2025-02-12
[2025-01-12 04:30:10] Production.INFO: LastChargeDate 2025-01-12 NextChargeDate 2025-02-11
[2025-01-12 04:30:10] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-12 04:30:10] Production.INFO: ========================== Invoice Send End =============================
[2025-01-12 04:30:10] Production.INFO: AccountID =130 FirstInvoiceSend 0
[2025-01-12 04:30:10] Production.INFO: LastInvoiceDate 2024-12-12 NextInvoiceDate 2025-01-12
[2025-01-12 04:30:10] Production.INFO: LastChargeDate 2024-12-12 NextChargeDate 2025-01-11
[2025-01-12 04:30:10] Production.INFO: isCDRLoaded Array
(
[0] => stdClass Object
(
[isLoaded] => 1
)
)
[2025-01-12 04:30:10] Production.INFO: ========================== Invoice Send Start =============================
[2025-01-12 04:30:10] Production.INFO: Invoice::sendInvoice(1,130,2024-12-12,2025-01-12,billing@onswitchit.ca)
[2025-01-12 04:30:10] Production.INFO: start Date =2024-12-12 EndDate =2025-01-11 23:59:59
[2025-01-12 04:30:10] Production.INFO: InvoiceTemplate->InvoiceNumberPrefix =INV
[2025-01-12 04:30:10] 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-01-12 04:30:10] Production.INFO: Invoice::checkIfAccountUsageAlreadyBilled
[2025-01-12 04:30:10] Production.INFO: AlreadyBilled
[2025-01-12 04:30:10] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:10] Production.INFO: original start date ==>2024-12-12 changed start date ==>2024-12-12 00:00:00 original end date ==>2025-01-11 23:59:59 changed end date ==>2025-01-11 23:59:59
[2025-01-12 04:30:11] Production.INFO: CompanyGatewayID 1 TotalCharges ==>1.37000000
[2025-01-12 04:30:11] Production.INFO: Invoice::getAccountUsageTotal(1,130,2024-12-12,2025-01-11 23:59:59)
[2025-01-12 04:30:11] Production.INFO: TotalCharges - 1.37
[2025-01-12 04:30:11] Production.INFO: TotalUsageCharges - 1.37
[2025-01-12 04:30:11] Production.INFO: Usage Over
[2025-01-12 04:30:11] Production.INFO: Call prc_getAccountSubscription(130,0)
[2025-01-12 04:30:11] Production.INFO: SUBSCRIPTION 4
[2025-01-12 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 23
[2025-01-12 04:30:11] Production.INFO: isAdvanceSubscription - 23
[2025-01-12 04:30:11] Production.INFO: SubscriptionStartDate =2025-01-12 - SubscriptionEndDate = 2025-02-11
[2025-01-12 04:30:11] Production.INFO: NewNextChargeDate =2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: EndDate =2025-01-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: NewEndDate1 =2025-01-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionDate
[2025-01-12 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-01-12
[EndDate] => 2025-02-11 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 04:30:11] Production.INFO: AccountSubscription StartDate 2020-03-05 StartDate 2024-12-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 2025-01-12=====2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: AccountSubscriptionID - 472 === 2020-03-05=====2026-01-12
[2025-01-12 04:30:11] Production.INFO: regular Advance Subscription
[2025-01-12 04:30:11] Production.INFO: First Time False 2020-03-05 2025-01-12
[2025-01-12 04:30:11] Production.INFO: StartDate 2025-01-12 AccountSubscription->StartDate 2020-03-05 EndDate 2025-02-11 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(472,2025-01-12,2025-02-11 00:00:00,,0)
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge - 63.17
[2025-01-12 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-01-12 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,5,23,2025-01-12,2025-02-11 00:00:00,LTE Internet Failover Service (1389 Cardiff Blvd, Unit 4, Mississauga, ON L5S 1P9 Canada),63.17,63.17,1,472)
[2025-01-12 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-01-12 04:30:11] Production.INFO: DiscountType
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge 63.17
[2025-01-12 04:30:11] Production.INFO: New SubscriptionCharge 63.17
[2025-01-12 04:30:11] Production.INFO: TotalSubscriptionCharge - 63.17
[2025-01-12 04:30:11] Production.INFO: ============================Subscription End =================
[2025-01-12 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 1
[2025-01-12 04:30:11] Production.INFO: isAdvanceSubscription - 1
[2025-01-12 04:30:11] Production.INFO: SubscriptionStartDate =2025-01-12 - SubscriptionEndDate = 2025-02-11
[2025-01-12 04:30:11] Production.INFO: NewNextChargeDate =2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: EndDate =2025-01-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: NewEndDate1 =2025-01-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionDate
[2025-01-12 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-01-12
[EndDate] => 2025-02-11 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 04:30:11] Production.INFO: AccountSubscription StartDate 2020-03-05 StartDate 2024-12-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 2025-01-12=====2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: AccountSubscriptionID - 473 === 2020-03-05=====2026-01-12
[2025-01-12 04:30:11] Production.INFO: regular Advance Subscription
[2025-01-12 04:30:11] Production.INFO: First Time False 2020-03-05 2025-01-12
[2025-01-12 04:30:11] Production.INFO: StartDate 2025-01-12 AccountSubscription->StartDate 2020-03-05 EndDate 2025-02-11 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(473,2025-01-12,2025-02-11 00:00:00,,0)
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge - 7
[2025-01-12 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-01-12 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,1,1,2025-01-12,2025-02-11 00:00:00,License for a Pay As You Go Cloud Phone extension,77,7,11,473)
[2025-01-12 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-01-12 04:30:11] Production.INFO: DiscountType
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge 77
[2025-01-12 04:30:11] Production.INFO: New SubscriptionCharge 77
[2025-01-12 04:30:11] Production.INFO: TotalSubscriptionCharge - 77.00
[2025-01-12 04:30:11] Production.INFO: ============================Subscription End =================
[2025-01-12 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 1
[2025-01-12 04:30:11] Production.INFO: isAdvanceSubscription - 1
[2025-01-12 04:30:11] Production.INFO: SubscriptionStartDate =2025-01-12 - SubscriptionEndDate = 2025-02-11
[2025-01-12 04:30:11] Production.INFO: NewNextChargeDate =2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: EndDate =2025-01-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: NewEndDate1 =2025-01-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionDate
[2025-01-12 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-01-12
[EndDate] => 2025-02-11 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 04:30:11] Production.INFO: AccountSubscription StartDate 2020-03-05 StartDate 2024-12-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 2025-01-12=====2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: AccountSubscriptionID - 474 === 2020-03-05=====2026-01-12
[2025-01-12 04:30:11] Production.INFO: regular Advance Subscription
[2025-01-12 04:30:11] Production.INFO: First Time False 2020-03-05 2025-01-12
[2025-01-12 04:30:11] Production.INFO: StartDate 2025-01-12 AccountSubscription->StartDate 2020-03-05 EndDate 2025-02-11 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(474,2025-01-12,2025-02-11 00:00:00,,0)
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge - 5
[2025-01-12 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-01-12 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,1,1,2025-01-12,2025-02-11 00:00:00,License for a fax extension (12894592111),5,5,1,474)
[2025-01-12 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-01-12 04:30:11] Production.INFO: DiscountType
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge 5
[2025-01-12 04:30:11] Production.INFO: New SubscriptionCharge 5
[2025-01-12 04:30:11] Production.INFO: TotalSubscriptionCharge - 5.00
[2025-01-12 04:30:11] Production.INFO: ============================Subscription End =================
[2025-01-12 04:30:11] Production.INFO: ============================Subscription Start =================
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 12
[2025-01-12 04:30:11] Production.INFO: isAdvanceSubscription - 12
[2025-01-12 04:30:11] Production.INFO: SubscriptionStartDate =2025-01-12 - SubscriptionEndDate = 2025-02-11
[2025-01-12 04:30:11] Production.INFO: NewNextChargeDate =2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: EndDate =2025-01-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: NewEndDate1 =2025-01-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionDate
[2025-01-12 04:30:11] Production.INFO: Array
(
[StartDate] => 2025-01-12
[EndDate] => 2025-02-11 00:00:00
[AlreadyCharged] => 0
)
[2025-01-12 04:30:11] Production.INFO: AccountSubscription StartDate 2020-06-10 StartDate 2024-12-12
[2025-01-12 04:30:11] Production.INFO: SubscriptionID - 2025-01-12=====2025-02-11 00:00:00
[2025-01-12 04:30:11] Production.INFO: AccountSubscriptionID - 499 === 2020-06-10=====2026-01-12
[2025-01-12 04:30:11] Production.INFO: regular Advance Subscription
[2025-01-12 04:30:11] Production.INFO: First Time False 2020-06-10 2025-01-12
[2025-01-12 04:30:11] Production.INFO: StartDate 2025-01-12 AccountSubscription->StartDate 2020-06-10 EndDate 2025-02-11 00:00:00 AccountSubscription->EndDate 2026-01-12
[2025-01-12 04:30:11] Production.INFO: days diff - 31 subscription days 31 quarter days 90
[2025-01-12 04:30:11] Production.INFO: AccountSubscription::getSubscriptionAmount(499,2025-01-12,2025-02-11 00:00:00,,0)
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge - 0
[2025-01-12 04:30:11] Production.INFO: Already Invoice Subscription 0
[2025-01-12 04:30:11] Production.INFO: Invoice::IsAlreadyInvoiceSubscriptionDetail(130,1,12,2025-01-12,2025-02-11 00:00:00,Included DID (19058899642),0,0,1,499)
[2025-01-12 04:30:11] Production.INFO: DiscountAmount 0.000000
[2025-01-12 04:30:11] Production.INFO: DiscountType
[2025-01-12 04:30:11] Production.INFO: SubscriptionCharge 0
[2025-01-12 04:30:11] Production.INFO: New SubscriptionCharge 0
[2025-01-12 04:30:11] Production.INFO: TotalSubscriptionCharge - 0.00
[2025-01-12 04:30:11] Production.INFO: ============================Subscription End =================
[2025-01-12 04:30:11] Production.INFO: SUBSCRIPTION Over
[2025-01-12 04:30:11] Production.INFO: Call prc_getAccountOneOffCharge(130,0,2024-12-12,2025-01-12 23:59:59)
[2025-01-12 04:30:11] Production.INFO: AccountOneOffCharge 0
[2025-01-12 04:30:11] Production.INFO: AccountOneOffCharge Over
[2025-01-12 04:30:11] Production.INFO: USAGE FILE & Invoice PDF & EMAIL Start
[2025-01-12 04:30:11] Production.INFO: New UsageDates 2024-12-12 - 2025-01-11 23:59:59
[2025-01-12 04:30:11] Production.INFO: SubTotal 146.54
[2025-01-12 04:30:11] Production.INFO: SubTotalWithouttaxTotal 0
[2025-01-12 04:30:11] Production.INFO: AccountOneOffCharge Tax Over
[2025-01-12 04:30:11] Production.INFO: TotalTax 19.0502
[2025-01-12 04:30:11] Production.INFO: InvoiceGrandTotal 165.5902
[2025-01-12 04:30:11] Production.INFO: InvoiceTaxAmount 19.05
[2025-01-12 04:30:11] Production.INFO: GrandTotal 165.59
[2025-01-12 04:30:11] Production.INFO: SubTotal 146.54
[2025-01-12 04:30:11] Production.INFO: TotalDue 842.02
[2025-01-12 04:30:11] Production.INFO: Reseller ==> 0
[2025-01-12 04:30:11] Production.INFO: original start date ==>2024-12-12 changed start date ==>2024-12-12 00:00:00 original end date ==>2025-01-11 23:59:59 changed end date ==>2025-01-11 23:59:59
[2025-01-12 04:30:11] Production.INFO: CALL prc_getInvoiceUsage(1,'130','0','1','2024-12-12 00:00:00','2025-01-11 23:59:59',0)
[2025-01-12 04:30:11] Production.INFO: PDF Generation start
[2025-01-12 04:30:11] Production.INFO: Invoice generation PDF path local /var/www/tmp/1/130/Invoices/2025/01/12/Invoice-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.pdf
[2025-01-12 04:30:11] Production.INFO: On Linux
[2025-01-12 04:30:13] 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/130/Invoices/2025/01/12/footer-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.html" "/var/www/tmp/1/130/Invoices/2025/01/12/Invoice-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.html" "/var/www/tmp/1/130/Invoices/2025/01/12/Invoice-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.pdf"
[2025-01-12 04:30:13] Production.INFO:
[2025-01-12 04:30:13] Production.INFO: /var/www/tmp/1/130/Invoices/2025/01/12/Invoice-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.html
[2025-01-12 04:30:13] Production.INFO: /var/www/tmp/1/130/Invoices/2025/01/12/header-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.html
[2025-01-12 04:30:13] Production.INFO: /var/www/tmp/1/130/Invoices/2025/01/12/footer-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.html
[2025-01-12 04:30:13] Production.INFO: Invoice generation PDF path
[2025-01-12 04:30:13] Production.INFO: PDF fullPath 1/130/Invoices/2025/01/12/Invoice-auto-loan-centre-inv11354-from-12-12-2024-to-01-11-2025-10283.pdf
[2025-01-12 04:30:13] Production.INFO: Generate Usage File Start
[2025-01-12 04:30:13] Production.INFO: Usage File fullPath 1/130/InvoiceUsageFile/2025/01/12/auto-loan-centre-12-12-2024-00-00-00-TO-11-01-2025-23-59-59_4191__d349bfd0-d0c7-11ef-8be5-13b12c6237c2.csv
[2025-01-12 04:30:14] Production.INFO: Sending Email to Staff over
[2025-01-12 04:30:14] Production.INFO: Email Status 1
[2025-01-12 04:30:14] Production.INFO: Sending Email to Customer
[2025-01-12 04:30:15] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_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-01-12 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-01-12 04:30:15] Production.ERROR: CronJobId end10
[2025-01-12 04:30:15] Production.INFO: ==32293== Releasing lock...
[2025-01-12 04:30:15] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:30:15] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:30:15] Production.INFO: Email Try 10283 1
[2025-01-12 04:30:15] Production.INFO: =========== Email Sending over ===========
[2025-01-12 04:30:15] Production.INFO: =========== Returning as Success =========== AccountID 130
[2025-01-12 04:30:15] Production.INFO: Invoice::sendInvoice done
[2025-01-12 04:30:15] Production.INFO: Invoice created - Array
(
[status] => success
[message] => Invoice Created Successfully.
[accounts] =>
)
[2025-01-12 04:30:15] Production.INFO: Invoice Committed AccountID = 130
[2025-01-12 04:30:15] Production.INFO: =========== Updating InvoiceDate ===========
[2025-01-12 04:30:15] Production.INFO: NextInvoice 2025-01-12 2025-02-11
[2025-01-12 04:30:15] Production.INFO: new dates
[2025-01-12 04:30:15] Production.INFO: LastInvoiceDate 2025-01-12 NextInvoiceDate 2025-02-12
[2025-01-12 04:30:15] Production.INFO: LastChargeDate 2025-01-12 NextChargeDate 2025-02-11
[2025-01-12 04:30:15] Production.INFO: =========== Updated InvoiceDate ===========
[2025-01-12 04:30:15] Production.INFO: ========================== Invoice Send End =============================
[2025-01-12 04:30:15] Production.INFO: ========================== Recurring invoice Start =============================
[2025-01-12 04:30:15] Production.INFO: recurring invoices ID
[2025-01-12 04:30:15] Production.INFO:
[2025-01-12 04:30:15] Production.INFO: recurring errorsArray
(
)
[2025-01-12 04:30:15] Production.INFO: ========================== Recurring invoice End =============================
[2025-01-12 04:30:15] Production.INFO: ========================== Job Updated =============================
[2025-01-12 04:30:17] Production.INFO: ========================== Job Email Sent =============================
[2025-01-12 04:30:17] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:30:17] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:30:17] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:30:17] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:30:17] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:30:17] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:30:17] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:30:17] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:30:17] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:30:17] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:30:17] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:30:17] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:30:17] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:30:17] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:30:17] Production.INFO: call_cost start
[2025-01-12 04:30:17] Production.INFO: call_cost end
[2025-01-12 04:30:18] Production.ERROR: **Email Sent Status 1
[2025-01-12 04:30:18] Production.ERROR: **Email Sent message Email has been sent
[2025-01-12 04:30:18] Production.ERROR: CronJobId end6
[2025-01-12 04:30:18] Production.INFO: ==32289== Releasing lock...
[2025-01-12 04:30:18] Production.INFO: invoicegenerator-command-invoicegenerator-companyid-1-cronjobid-6 #Stops#
[2025-01-12 04:30:18] Production.INFO: 38.75 MB #Memory Used#
[2025-01-12 04:30:18] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:30:18] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:30:18] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:30:18] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:30:18] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:30:18] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:30:18] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:30:18] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:30:18] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:30:18] Production.INFO: ==32287== Releasing lock...
[2025-01-12 04:30:18] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:30:18] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:30:19] Production.INFO: count ==325
[2025-01-12 04:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:30:05 - End Time 2025-01-12 04:30:05
[2025-01-12 04:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229162', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229162', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229162', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229162', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:30:19] Production.INFO: ProcessCDR(1,14229162,1,1,2)
[2025-01-12 04:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229162,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229162,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229162', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229162', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:30:22] Production.INFO: ==32298== Releasing lock...
[2025-01-12 04:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:30:22] Production.INFO: 30 MB #Memory Used#
[2025-01-12 09:31:02] Production.INFO: ==32432== Lock acquired, processing the job...
[2025-01-12 09:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:31:02] Production.INFO: neon service started
[2025-01-12 09:31:02] Production.INFO: neon service started
[2025-01-12 09:31:02] Production.INFO: ==32432== Releasing lock...
[2025-01-12 09:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:31:02] Production.INFO: ==32434== Lock acquired, processing the job...
[2025-01-12 04:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:31:03] Production.INFO: ==32434== Releasing lock...
[2025-01-12 04:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:31:03] Production.INFO: ==32436== Lock acquired, processing the job...
[2025-01-12 09:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:31:03] Production.INFO: ==32436== Releasing lock...
[2025-01-12 09:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:31:03] Production.INFO: ==32439== Lock acquired, processing the job...
[2025-01-12 04:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:31:03] Production.INFO: ==32441== Lock acquired, processing the job...
[2025-01-12 04:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:31:04] Production.INFO: ==32449== Lock acquired, processing the job...
[2025-01-12 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:31:04] Production.INFO: ==32443== Lock acquired, processing the job...
[2025-01-12 04:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 04:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:31:04] Production.INFO: ==32445== Lock acquired, processing the job...
[2025-01-12 04:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:31:04] Production.INFO: ==32447== Lock acquired, processing the job...
[2025-01-12 04:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:31:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:31:04] Production.INFO: count ==21
[2025-01-12 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229165') start
[2025-01-12 04:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:31:04] Production.INFO: ==32441== Releasing lock...
[2025-01-12 04:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:31:04] Production.INFO: Account Balance Start.
[2025-01-12 04:31:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:31:04] Production.INFO: 117
[2025-01-12 04:31:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229165') end
[2025-01-12 04:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:31:04] Production.INFO: 1
[2025-01-12 04:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:31:04] Production.INFO: ==32449== Releasing lock...
[2025-01-12 04:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:31:04] Production.ERROR: done
[2025-01-12 04:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:31:04] Production.INFO: Total Charge 0
[2025-01-12 04:31:04] Production.ERROR: done
[2025-01-12 04:31:04] Production.INFO: CreateAllLog End
[2025-01-12 04:31:05] Production.INFO: Account Balance End.
[2025-01-12 04:31:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:31:05] Production.INFO: ==32445== Releasing lock...
[2025-01-12 04:31:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:31:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:31:05
[end_date_ymd] => 2025-01-12 04:31:05
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:31:05' and `end` < '2025-01-12 04: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-01-12 04:31:11] Production.ERROR: CronJobId end10
[2025-01-12 04:31:11] Production.INFO: ==32443== Releasing lock...
[2025-01-12 04:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:31:14] Production.INFO: call_cost start
[2025-01-12 04:31:14] Production.INFO: call_cost end
[2025-01-12 04:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:31:15] Production.INFO: ==32439== Releasing lock...
[2025-01-12 04:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:31:20] Production.INFO: count ==313
[2025-01-12 04:31:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:31:05 - End Time 2025-01-12 04:31:05
[2025-01-12 04:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229167', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229167', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229167', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229167', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:31:20] Production.INFO: ProcessCDR(1,14229167,1,1,2)
[2025-01-12 04:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229167,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229167,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229167', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229167', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:31:23] Production.INFO: ==32447== Releasing lock...
[2025-01-12 04:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:31:23] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:32:01] Production.INFO: ==32545== Lock acquired, processing the job...
[2025-01-12 09:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:32:01] Production.INFO: neon service started
[2025-01-12 09:32:01] Production.INFO: neon service started
[2025-01-12 09:32:01] Production.INFO: ==32545== Releasing lock...
[2025-01-12 09:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:32:02] Production.INFO: ==32547== Lock acquired, processing the job...
[2025-01-12 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:32:02] Production.INFO: ==32549== Lock acquired, processing the job...
[2025-01-12 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:32:02] Production.INFO: ==32549== Releasing lock...
[2025-01-12 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:32:02] Production.INFO: ==32547== Releasing lock...
[2025-01-12 04:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:32:03] Production.INFO: ==32552== Lock acquired, processing the job...
[2025-01-12 04:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:32:03] Production.INFO: ==32556== Lock acquired, processing the job...
[2025-01-12 04:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:32:03] Production.INFO: ==32558== Lock acquired, processing the job...
[2025-01-12 04:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:32:03] Production.INFO: ==32554== Lock acquired, processing the job...
[2025-01-12 04:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:32:04] Production.INFO: Account Balance Start.
[2025-01-12 04:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:32:04] Production.INFO: 117
[2025-01-12 04:32:04] Production.INFO: ==32562== Lock acquired, processing the job...
[2025-01-12 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:32:04] Production.INFO: ==32560== Lock acquired, processing the job...
[2025-01-12 04:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:32:04] Production.INFO: ==32554== Releasing lock...
[2025-01-12 04:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 04:32:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:32:04] Production.INFO: count ==21
[2025-01-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229171') start
[2025-01-12 04:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229171') end
[2025-01-12 04:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:32:04] Production.INFO: 1
[2025-01-12 04:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:32:04] Production.ERROR: done
[2025-01-12 04:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:32:04] Production.INFO: ==32562== Releasing lock...
[2025-01-12 04:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:32:04] Production.INFO: Total Charge 0
[2025-01-12 04:32:04] Production.INFO: CreateAllLog End
[2025-01-12 04:32:04] Production.ERROR: done
[2025-01-12 04:32:04] Production.INFO: Account Balance End.
[2025-01-12 04:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:32:04] Production.INFO: ==32558== Releasing lock...
[2025-01-12 04:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:32:05
[end_date_ymd] => 2025-01-12 04:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:32:05' and `end` < '2025-01-12 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-01-12 04:32:11] Production.ERROR: CronJobId end10
[2025-01-12 04:32:11] Production.INFO: ==32556== Releasing lock...
[2025-01-12 04:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:32:14] Production.INFO: call_cost start
[2025-01-12 04:32:14] Production.INFO: call_cost end
[2025-01-12 04:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:32:15] Production.INFO: ==32552== Releasing lock...
[2025-01-12 04:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:32:19] Production.INFO: count ==313
[2025-01-12 04:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:32:05 - End Time 2025-01-12 04:32:05
[2025-01-12 04:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229172', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229172', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229172', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229172', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:32:19] Production.INFO: ProcessCDR(1,14229172,1,1,2)
[2025-01-12 04:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229172,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229172,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229172', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229172', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:32:22] Production.INFO: ==32560== Releasing lock...
[2025-01-12 04:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:32:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:33:02] Production.INFO: ==32627== Lock acquired, processing the job...
[2025-01-12 09:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:33:02] Production.INFO: neon service started
[2025-01-12 09:33:02] Production.INFO: neon service started
[2025-01-12 09:33:02] Production.INFO: ==32627== Releasing lock...
[2025-01-12 09:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:33:02] Production.INFO: ==32631== Lock acquired, processing the job...
[2025-01-12 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:33:02] Production.INFO: ==32629== Lock acquired, processing the job...
[2025-01-12 04:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:33:02] Production.INFO: ==32631== Releasing lock...
[2025-01-12 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:33:03] Production.INFO: ==32629== Releasing lock...
[2025-01-12 04:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:33:03] Production.INFO: ==32634== Lock acquired, processing the job...
[2025-01-12 04:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:33:03] Production.INFO: ==32636== Lock acquired, processing the job...
[2025-01-12 04:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:33:04] Production.INFO: ==32644== Lock acquired, processing the job...
[2025-01-12 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 04:33:04] Production.INFO: ==32638== Lock acquired, processing the job...
[2025-01-12 04:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:33:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:33:04] Production.INFO: count ==21
[2025-01-12 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229175') start
[2025-01-12 04:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:33:04] Production.INFO: ==32636== Releasing lock...
[2025-01-12 04:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:33:04] Production.INFO: ==32640== Lock acquired, processing the job...
[2025-01-12 04:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:33:04] Production.INFO: ==32642== Lock acquired, processing the job...
[2025-01-12 04:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229175') end
[2025-01-12 04:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:33:04] Production.INFO: 1
[2025-01-12 04:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:33:04] Production.INFO: Account Balance Start.
[2025-01-12 04:33:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:33:04] Production.INFO: 117
[2025-01-12 04:33:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:33:04] Production.INFO: ==32644== Releasing lock...
[2025-01-12 04:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:33:04] Production.ERROR: done
[2025-01-12 04:33:04] Production.INFO: Total Charge 0
[2025-01-12 04:33:04] Production.INFO: CreateAllLog End
[2025-01-12 04:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:33:04] Production.INFO: Account Balance End.
[2025-01-12 04:33:04] Production.ERROR: done
[2025-01-12 04:33:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:33:05] Production.INFO: ==32640== Releasing lock...
[2025-01-12 04:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:33:06
[end_date_ymd] => 2025-01-12 04:33:06
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:33:06' and `end` < '2025-01-12 04: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-01-12 04:33:11] Production.ERROR: CronJobId end10
[2025-01-12 04:33:11] Production.INFO: ==32638== Releasing lock...
[2025-01-12 04:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:33:13] Production.INFO: call_cost start
[2025-01-12 04:33:13] Production.INFO: call_cost end
[2025-01-12 04:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:33:14] Production.INFO: ==32634== Releasing lock...
[2025-01-12 04:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:33:19] Production.INFO: count ==313
[2025-01-12 04:33:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:33:06 - End Time 2025-01-12 04:33:06
[2025-01-12 04:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229177', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229177', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229177', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229177', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:33:19] Production.INFO: ProcessCDR(1,14229177,1,1,2)
[2025-01-12 04:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229177,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229177,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229177', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229177', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:33:22] Production.INFO: ==32642== Releasing lock...
[2025-01-12 04:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:33:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:34:01] Production.INFO: ==32707== Lock acquired, processing the job...
[2025-01-12 09:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:34:01] Production.INFO: neon service started
[2025-01-12 09:34:01] Production.INFO: neon service started
[2025-01-12 09:34:01] Production.INFO: ==32707== Releasing lock...
[2025-01-12 09:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:34:02] Production.INFO: ==32711== Lock acquired, processing the job...
[2025-01-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:34:02] Production.INFO: ==32711== Releasing lock...
[2025-01-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:34:02] Production.INFO: ==32709== Lock acquired, processing the job...
[2025-01-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:34:02] Production.INFO: ==32709== Releasing lock...
[2025-01-12 04:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:34:03] Production.INFO: ==32720== Lock acquired, processing the job...
[2025-01-12 04:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:34:03] Production.INFO: ==32718== Lock acquired, processing the job...
[2025-01-12 04:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:34:03] Production.INFO: ==32714== Lock acquired, processing the job...
[2025-01-12 04:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:34:03] Production.INFO: Account Balance Start.
[2025-01-12 04:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:34:03] Production.INFO: 117
[2025-01-12 04:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:34:03] Production.INFO: ==32716== Lock acquired, processing the job...
[2025-01-12 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:34:03] Production.INFO: Total Charge 0
[2025-01-12 04:34:03] Production.INFO: ==32722== Lock acquired, processing the job...
[2025-01-12 04:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:34:03] Production.INFO: CreateAllLog End
[2025-01-12 04:34:03] Production.INFO: ==32724== Lock acquired, processing the job...
[2025-01-12 04:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:34:03] Production.INFO: ==32716== Releasing lock...
[2025-01-12 04:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:34:03] Production.INFO: count ==21
[2025-01-12 04:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:34:03] Production.INFO: count ==21
[2025-01-12 04:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229181') start
[2025-01-12 04:34:03] Production.INFO: Account Balance End.
[2025-01-12 04:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:34:04] Production.INFO: ==32720== Releasing lock...
[2025-01-12 04:34:04] Production.ERROR: done
[2025-01-12 04:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229181') end
[2025-01-12 04:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:34:04] Production.INFO: 1
[2025-01-12 04:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:34:04] Production.ERROR: done
[2025-01-12 04:34:04] Production.INFO: ==32724== Releasing lock...
[2025-01-12 04:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:34:05
[end_date_ymd] => 2025-01-12 04:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:34:05' and `end` < '2025-01-12 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-01-12 04:34:10] Production.ERROR: CronJobId end10
[2025-01-12 04:34:10] Production.INFO: ==32718== Releasing lock...
[2025-01-12 04:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:34:13] Production.INFO: call_cost start
[2025-01-12 04:34:13] Production.INFO: call_cost end
[2025-01-12 04:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:34:14] Production.INFO: ==32714== Releasing lock...
[2025-01-12 04:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:34:18] Production.INFO: count ==313
[2025-01-12 04:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:34:05 - End Time 2025-01-12 04:34:05
[2025-01-12 04:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229182', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229182', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229182', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229182', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:34:18] Production.INFO: ProcessCDR(1,14229182,1,1,2)
[2025-01-12 04:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229182', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229182', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:34:22] Production.INFO: ==32722== Releasing lock...
[2025-01-12 04:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:34:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:35:02] Production.INFO: ==326== Lock acquired, processing the job...
[2025-01-12 09:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:35:02] Production.INFO: neon service started
[2025-01-12 09:35:02] Production.INFO: neon service started
[2025-01-12 09:35:02] Production.INFO: ==326== Releasing lock...
[2025-01-12 09:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:35:02] Production.INFO: ==330== Lock acquired, processing the job...
[2025-01-12 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:35:02] Production.INFO: ==330== Releasing lock...
[2025-01-12 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:35:02] Production.INFO: ==328== Lock acquired, processing the job...
[2025-01-12 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:35:02] Production.INFO: ==328== Releasing lock...
[2025-01-12 04:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:35:03] Production.INFO: ==335== Lock acquired, processing the job...
[2025-01-12 04:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:35:03] Production.INFO: ==337== Lock acquired, processing the job...
[2025-01-12 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:35:03] Production.INFO: ==353== Lock acquired, processing the job...
[2025-01-12 04:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:35:03] Production.INFO: Account Balance Start.
[2025-01-12 04:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:35:03] Production.INFO: 117
[2025-01-12 04:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:35:03] Production.INFO: ==339== Lock acquired, processing the job...
[2025-01-12 04:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:35:03] Production.INFO: ==355== Lock acquired, processing the job...
[2025-01-12 04:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:35:03] Production.INFO: ==357== Lock acquired, processing the job...
[2025-01-12 04:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:35:03] Production.INFO: Total Charge 0
[2025-01-12 04:35:03] Production.INFO: CreateAllLog End
[2025-01-12 04:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:35:03] Production.INFO: ==337== Releasing lock...
[2025-01-12 04:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04: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-01-12 04:35:04] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:35:04] Production.INFO: count ==21
[2025-01-12 04:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229186') start
[2025-01-12 04:35:04] Production.INFO: Account Balance End.
[2025-01-12 04:35:04] Production.ERROR: done
[2025-01-12 04:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:35:04] Production.INFO: ==353== Releasing lock...
[2025-01-12 04:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229186') end
[2025-01-12 04:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:35:04] Production.INFO: 1
[2025-01-12 04:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:35:04] Production.ERROR: done
[2025-01-12 04:35:04] Production.INFO: ==357== Releasing lock...
[2025-01-12 04:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:35:05
[end_date_ymd] => 2025-01-12 04:35:05
[RateCDR] => 1
)
[2025-01-12 04:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:35:05' and `end` < '2025-01-12 04:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:35:10] Production.ERROR: CronJobId end10
[2025-01-12 04:35:10] Production.INFO: ==339== Releasing lock...
[2025-01-12 04:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:35:12] Production.INFO: call_cost start
[2025-01-12 04:35:12] Production.INFO: call_cost end
[2025-01-12 04:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:35:13] Production.INFO: ==335== Releasing lock...
[2025-01-12 04:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:35:18] Production.INFO: count ==313
[2025-01-12 04:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:35:05 - End Time 2025-01-12 04:35:05
[2025-01-12 04:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229187', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229187', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229187', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229187', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:35:18] Production.INFO: ProcessCDR(1,14229187,1,1,2)
[2025-01-12 04:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229187', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229187', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:35:21] Production.INFO: ==355== Releasing lock...
[2025-01-12 04:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:35:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:36:01] Production.INFO: ==419== Lock acquired, processing the job...
[2025-01-12 09:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:36:01] Production.INFO: neon service started
[2025-01-12 09:36:01] Production.INFO: neon service started
[2025-01-12 09:36:01] Production.INFO: ==419== Releasing lock...
[2025-01-12 09:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:36:01] Production.INFO: ==421== Lock acquired, processing the job...
[2025-01-12 04:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:36:02] Production.INFO: ==421== Releasing lock...
[2025-01-12 04:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:36:02] Production.INFO: ==423== Lock acquired, processing the job...
[2025-01-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:36:02] Production.INFO: ==423== Releasing lock...
[2025-01-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:36:02] Production.INFO: ==427== Lock acquired, processing the job...
[2025-01-12 04:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:36:02] Production.INFO: ==425== Lock acquired, processing the job...
[2025-01-12 04:36:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:36:03] Production.INFO: ==435== Lock acquired, processing the job...
[2025-01-12 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:36:03] Production.INFO: ==429== Lock acquired, processing the job...
[2025-01-12 04:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:36:03] Production.INFO: ==431== Lock acquired, processing the job...
[2025-01-12 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:36:03] Production.INFO: ==427== Releasing lock...
[2025-01-12 04:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 04:36:03] Production.INFO: ==433== Lock acquired, processing the job...
[2025-01-12 04:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:36:03] Production.INFO: count ==21
[2025-01-12 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-01-12 04:36:03] Production.INFO: count ==21
[2025-01-12 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229190') start
[2025-01-12 04:36:03] Production.INFO: Account Balance Start.
[2025-01-12 04:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:36:03] Production.INFO: 117
[2025-01-12 04:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229190') end
[2025-01-12 04:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:36:03] Production.INFO: 1
[2025-01-12 04:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:36:03] Production.INFO: ==435== Releasing lock...
[2025-01-12 04:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:36:03] Production.INFO: Total Charge 0
[2025-01-12 04:36:03] Production.INFO: CreateAllLog End
[2025-01-12 04:36:03] Production.ERROR: done
[2025-01-12 04:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:36:03] Production.INFO: Account Balance End.
[2025-01-12 04:36:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:36:03] Production.INFO: ==431== Releasing lock...
[2025-01-12 04:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:36:03] Production.ERROR: done
[2025-01-12 04:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:36:04
[end_date_ymd] => 2025-01-12 04:36:04
[RateCDR] => 1
)
[2025-01-12 04:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:36:04' and `end` < '2025-01-12 04:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:36:10] Production.ERROR: CronJobId end10
[2025-01-12 04:36:10] Production.INFO: ==429== Releasing lock...
[2025-01-12 04:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:36:12] Production.INFO: call_cost start
[2025-01-12 04:36:12] Production.INFO: call_cost end
[2025-01-12 04:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:36:13] Production.INFO: ==425== Releasing lock...
[2025-01-12 04:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:36:18] Production.INFO: count ==313
[2025-01-12 04:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:36:04 - End Time 2025-01-12 04:36:04
[2025-01-12 04:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229192', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229192', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229192', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229192', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:36:18] Production.INFO: ProcessCDR(1,14229192,1,1,2)
[2025-01-12 04:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229192', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229192', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:36:21] Production.INFO: ==433== Releasing lock...
[2025-01-12 04:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:36:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:37:01] Production.INFO: ==500== Lock acquired, processing the job...
[2025-01-12 09:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:37:01] Production.INFO: neon service started
[2025-01-12 09:37:01] Production.INFO: neon service started
[2025-01-12 09:37:01] Production.INFO: ==500== Releasing lock...
[2025-01-12 09:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:37:02] Production.INFO: ==503== Lock acquired, processing the job...
[2025-01-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:37:02] Production.INFO: ==505== Lock acquired, processing the job...
[2025-01-12 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:37:02] Production.INFO: ==503== Releasing lock...
[2025-01-12 04:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:37:02] Production.INFO: ==505== Releasing lock...
[2025-01-12 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:37:03] Production.INFO: ==513== Lock acquired, processing the job...
[2025-01-12 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:37:03] Production.INFO: ==507== Lock acquired, processing the job...
[2025-01-12 04:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:37:03] Production.INFO: Account Balance Start.
[2025-01-12 04:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:37:03] Production.INFO: 117
[2025-01-12 04:37:03] Production.INFO: ==515== Lock acquired, processing the job...
[2025-01-12 04:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:37:03] Production.INFO: ==509== Lock acquired, processing the job...
[2025-01-12 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:37:03] Production.INFO: ==511== Lock acquired, processing the job...
[2025-01-12 04:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:37:03] Production.INFO: ==517== Lock acquired, processing the job...
[2025-01-12 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:37:03] Production.INFO: Total Charge 0
[2025-01-12 04:37:03] Production.ERROR: done
[2025-01-12 04:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:37:03] Production.INFO: CreateAllLog End
[2025-01-12 04:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:37:03] Production.INFO: count ==21
[2025-01-12 04:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:37:03] Production.INFO: count ==21
[2025-01-12 04:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229196') start
[2025-01-12 04:37:03] Production.ERROR: done
[2025-01-12 04:37:03] Production.INFO: ==509== Releasing lock...
[2025-01-12 04:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229196') end
[2025-01-12 04:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:37:03] Production.INFO: 1
[2025-01-12 04:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:37:03] Production.INFO: Account Balance End.
[2025-01-12 04:37:03] Production.INFO: ==517== Releasing lock...
[2025-01-12 04:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:37:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:37:03] Production.INFO: ==513== Releasing lock...
[2025-01-12 04:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:37:04
[end_date_ymd] => 2025-01-12 04:37:04
[RateCDR] => 1
)
[2025-01-12 04:37: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-01-12 01:37:04' and `end` < '2025-01-12 04:37: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-01-12 04:37:10] Production.ERROR: CronJobId end10
[2025-01-12 04:37:10] Production.INFO: ==511== Releasing lock...
[2025-01-12 04:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:37:12] Production.INFO: call_cost start
[2025-01-12 04:37:12] Production.INFO: call_cost end
[2025-01-12 04:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:37:13] Production.INFO: ==507== Releasing lock...
[2025-01-12 04:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:37:19] Production.INFO: count ==310
[2025-01-12 04:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:37:04 - End Time 2025-01-12 04:37:04
[2025-01-12 04:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229197', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229197', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229197', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229197', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:37:19] Production.INFO: ProcessCDR(1,14229197,1,1,2)
[2025-01-12 04:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229197', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229197', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:37:22] Production.INFO: ==515== Releasing lock...
[2025-01-12 04:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:37:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:38:02] Production.INFO: ==579== Lock acquired, processing the job...
[2025-01-12 09:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:38:02] Production.INFO: neon service started
[2025-01-12 09:38:02] Production.INFO: neon service started
[2025-01-12 09:38:02] Production.INFO: ==579== Releasing lock...
[2025-01-12 09:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:38:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:38:02] Production.INFO: ==582== Lock acquired, processing the job...
[2025-01-12 04:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:38:03] Production.INFO: ==582== Releasing lock...
[2025-01-12 04:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:38:03] Production.INFO: ==584== Lock acquired, processing the job...
[2025-01-12 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:38:03] Production.INFO: ==584== Releasing lock...
[2025-01-12 09:38:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:38:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:38:03] Production.INFO: ==592== Lock acquired, processing the job...
[2025-01-12 04:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:38:04] Production.INFO: ==597== Lock acquired, processing the job...
[2025-01-12 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:38:04] Production.INFO: Account Balance Start.
[2025-01-12 04:38:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:38:04] Production.INFO: 117
[2025-01-12 04:38:04] Production.INFO: ==586== Lock acquired, processing the job...
[2025-01-12 04:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:38:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:38:04] Production.INFO: ==588== Lock acquired, processing the job...
[2025-01-12 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:38:04] Production.INFO: ==590== Lock acquired, processing the job...
[2025-01-12 04:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:38:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:38:04] Production.INFO: count ==21
[2025-01-12 04:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:38:04] Production.INFO: ==595== Lock acquired, processing the job...
[2025-01-12 04:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:38:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:38:04] Production.INFO: count ==21
[2025-01-12 04:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229199') start
[2025-01-12 04:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229199') end
[2025-01-12 04:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:38:04] Production.INFO: 1
[2025-01-12 04:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:38:04] Production.INFO: Total Charge 0
[2025-01-12 04:38:04] Production.INFO: CreateAllLog End
[2025-01-12 04:38:04] Production.INFO: ==597== Releasing lock...
[2025-01-12 04:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:38:04] Production.ERROR: done
[2025-01-12 04:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:38:04] Production.INFO: ==588== Releasing lock...
[2025-01-12 04:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:38:04] Production.INFO: Account Balance End.
[2025-01-12 04:38:04] Production.ERROR: done
[2025-01-12 04:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:38:04] Production.INFO: ==592== Releasing lock...
[2025-01-12 04:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:38:05
[end_date_ymd] => 2025-01-12 04:38:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:38:05' and `end` < '2025-01-12 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-01-12 04:38:11] Production.ERROR: CronJobId end10
[2025-01-12 04:38:11] Production.INFO: ==590== Releasing lock...
[2025-01-12 04:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:38:13] Production.INFO: call_cost start
[2025-01-12 04:38:13] Production.INFO: call_cost end
[2025-01-12 04:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:38:14] Production.INFO: ==586== Releasing lock...
[2025-01-12 04:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:38:18] Production.INFO: count ==310
[2025-01-12 04:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:38:05 - End Time 2025-01-12 04:38:05
[2025-01-12 04:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229202', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229202', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229202', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229202', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:38:18] Production.INFO: ProcessCDR(1,14229202,1,1,2)
[2025-01-12 04:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229202', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229202', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:38:21] Production.INFO: ==595== Releasing lock...
[2025-01-12 04:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:38:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:39:01] Production.INFO: ==725== Lock acquired, processing the job...
[2025-01-12 09:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:39:01] Production.INFO: neon service started
[2025-01-12 09:39:01] Production.INFO: neon service started
[2025-01-12 09:39:01] Production.INFO: ==725== Releasing lock...
[2025-01-12 09:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:39:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:39:02] Production.INFO: ==727== Lock acquired, processing the job...
[2025-01-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:39:02] Production.INFO: ==727== Releasing lock...
[2025-01-12 04:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:39:02] Production.INFO: ==729== Lock acquired, processing the job...
[2025-01-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:39:02] Production.INFO: ==729== Releasing lock...
[2025-01-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:39:03] Production.INFO: ==737== Lock acquired, processing the job...
[2025-01-12 04:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:39:03] Production.INFO: ==741== Lock acquired, processing the job...
[2025-01-12 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:39:03] Production.INFO: Account Balance Start.
[2025-01-12 04:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:39:03] Production.INFO: 117
[2025-01-12 04:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 04: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-01-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:39:03] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:39:03] Production.INFO: count ==21
[2025-01-12 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229204') start
[2025-01-12 04:39:03] Production.INFO: ==731== Lock acquired, processing the job...
[2025-01-12 04:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:39:03] Production.INFO: ==733== Lock acquired, processing the job...
[2025-01-12 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:39:03] Production.INFO: ==739== Lock acquired, processing the job...
[2025-01-12 04:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:39:03] Production.INFO: ==735== Lock acquired, processing the job...
[2025-01-12 04:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229204') end
[2025-01-12 04:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:39:03] Production.INFO: 1
[2025-01-12 04:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:39:03] Production.INFO: ==741== Releasing lock...
[2025-01-12 04:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:39:03] Production.ERROR: done
[2025-01-12 04:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:39:03] Production.ERROR: done
[2025-01-12 04:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:39:03] Production.INFO: ==733== Releasing lock...
[2025-01-12 04:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:39:03] Production.INFO: Total Charge 0
[2025-01-12 04:39:03] Production.INFO: CreateAllLog End
[2025-01-12 04:39:03] Production.INFO: Account Balance End.
[2025-01-12 04:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:39:04] Production.INFO: ==737== Releasing lock...
[2025-01-12 04:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:39:04
[end_date_ymd] => 2025-01-12 04:39:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:39:04' and `end` < '2025-01-12 04: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-01-12 04:39:11] Production.ERROR: CronJobId end10
[2025-01-12 04:39:11] Production.INFO: ==735== Releasing lock...
[2025-01-12 04:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:39:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:39:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:39:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:39:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:39:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:39:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:39:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:39:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:39:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:39:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:39:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:39:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:39:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:39:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:39:12] Production.INFO: call_cost start
[2025-01-12 04:39:12] Production.INFO: call_cost end
[2025-01-12 04:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:39:13] Production.INFO: ==731== Releasing lock...
[2025-01-12 04:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:39:18] Production.INFO: count ==309
[2025-01-12 04:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:39:04 - End Time 2025-01-12 04:39:04
[2025-01-12 04:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229207', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229207', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229207', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229207', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:39:18] Production.INFO: ProcessCDR(1,14229207,1,1,2)
[2025-01-12 04:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229207', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229207', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:39:21] Production.INFO: ==739== Releasing lock...
[2025-01-12 04:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:39:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:40:02] Production.INFO: ==807== Lock acquired, processing the job...
[2025-01-12 09:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:40:02] Production.INFO: neon service started
[2025-01-12 09:40:02] Production.INFO: neon service started
[2025-01-12 09:40:02] Production.INFO: ==807== Releasing lock...
[2025-01-12 09:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:40:02] Production.INFO: ==811== Lock acquired, processing the job...
[2025-01-12 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:40:02] Production.INFO: ==811== Releasing lock...
[2025-01-12 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:40:02] Production.INFO: ==809== Lock acquired, processing the job...
[2025-01-12 04:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:40:03] Production.INFO: ==809== Releasing lock...
[2025-01-12 04:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:40:03] Production.INFO: ==816== Lock acquired, processing the job...
[2025-01-12 04:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:40:04] Production.INFO: ==814== Lock acquired, processing the job...
[2025-01-12 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 04:40:04] Production.INFO: ==824== Lock acquired, processing the job...
[2025-01-12 04:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:40:04] Production.INFO: ==818== Lock acquired, processing the job...
[2025-01-12 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:40:04] Production.ERROR: CronJob PID - 816
[2025-01-12 04:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 04:40:04] Production.ERROR: CronJob ID - 5
[2025-01-12 04:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 04:40:00
[2025-01-12 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 04:40:04] Production.ERROR: CronJob PID - 824
[2025-01-12 04:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 04:40:04] Production.ERROR: CronJob ID - 16
[2025-01-12 04:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 04:40:00
[2025-01-12 04:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 04:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 04:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 04:40:04] Production.INFO: ==814== Releasing lock...
[2025-01-12 04:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 04:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:40:04] Production.INFO: ==820== Lock acquired, processing the job...
[2025-01-12 04:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:40:04] Production.INFO: ==828== Lock acquired, processing the job...
[2025-01-12 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:40:04] Production.INFO: ==822== Lock acquired, processing the job...
[2025-01-12 04:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04: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-01-12 04:40:04] Production.INFO: Account Balance Start.
[2025-01-12 04:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:40:04] Production.INFO: 117
[2025-01-12 04:40:04] Production.INFO: ==826== Lock acquired, processing the job...
[2025-01-12 04:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 04:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:40:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:40:04] Production.INFO: count ==21
[2025-01-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229210') start
[2025-01-12 04:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:40:04] Production.ERROR: done
[2025-01-12 04:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229210') end
[2025-01-12 04:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:40:04] Production.INFO: 1
[2025-01-12 04:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:40:04] Production.INFO: ==828== Releasing lock...
[2025-01-12 04:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:40:04] Production.INFO: ==818== Releasing lock...
[2025-01-12 04:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:40:04] Production.ERROR: done
[2025-01-12 04:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:40:05] Production.INFO: Date 2025-01-12
[2025-01-12 04:40:05] Production.INFO: Reseller ==> 0
[2025-01-12 04:40:05] Production.ERROR: done
[2025-01-12 04:40:05] Production.INFO: Total Charge 0
[2025-01-12 04:40:05] Production.INFO: CreateAllLog End
[2025-01-12 04:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 04:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229213', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 04:40:05] Production.INFO: Account Balance End.
[2025-01-12 04:40:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:40:05] Production.INFO: ==822== Releasing lock...
[2025-01-12 04:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:40:05
[end_date_ymd] => 2025-01-12 04:40:05
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:40:05' and `end` < '2025-01-12 04: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-01-12 04:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229213', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 04:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 04:40:09] Production.INFO: ProcessCDR(1,14229213,1,1,2)
[2025-01-12 04:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229213,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:40:09] Production.INFO: ==826== Releasing lock...
[2025-01-12 04:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 04:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 04:40:13] Production.ERROR: CronJobId end10
[2025-01-12 04:40:13] Production.INFO: ==820== Releasing lock...
[2025-01-12 04:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:40:15] Production.INFO: call_cost start
[2025-01-12 04:40:15] Production.INFO: call_cost end
[2025-01-12 04:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:40:16] Production.INFO: ==816== Releasing lock...
[2025-01-12 04:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:40:18] Production.INFO: count ==305
[2025-01-12 04:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:40:05 - End Time 2025-01-12 04:40:05
[2025-01-12 04:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229212', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229212', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229212', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229212', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:40:18] Production.INFO: ProcessCDR(1,14229212,1,1,2)
[2025-01-12 04:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229212', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229212', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:40:21] Production.INFO: ==824== Releasing lock...
[2025-01-12 04:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:40:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 09:41:01] Production.INFO: ==885== Lock acquired, processing the job...
[2025-01-12 09:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:41:01] Production.INFO: neon service started
[2025-01-12 09:41:01] Production.INFO: neon service started
[2025-01-12 09:41:01] Production.INFO: ==885== Releasing lock...
[2025-01-12 09:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:41:02] Production.INFO: ==889== Lock acquired, processing the job...
[2025-01-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:41:02] Production.INFO: ==889== Releasing lock...
[2025-01-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:41:02] Production.INFO: ==887== Lock acquired, processing the job...
[2025-01-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:41:02] Production.INFO: ==887== Releasing lock...
[2025-01-12 04:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:41:03] Production.INFO: ==894== Lock acquired, processing the job...
[2025-01-12 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:41:03] Production.INFO: ==896== Lock acquired, processing the job...
[2025-01-12 04:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:41:03] Production.INFO: ==898== Lock acquired, processing the job...
[2025-01-12 04:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:41:03] Production.INFO: ==892== Lock acquired, processing the job...
[2025-01-12 04:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:41:03] Production.INFO: ==894== Releasing lock...
[2025-01-12 04:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:41:03] Production.INFO: Account Balance Start.
[2025-01-12 04:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:41:03] Production.INFO: 117
[2025-01-12 04:41:03] Production.INFO: ==902== Lock acquired, processing the job...
[2025-01-12 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:41:03] Production.INFO: ==900== Lock acquired, processing the job...
[2025-01-12 04:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 04:41:03] Production.INFO: count ==21
[2025-01-12 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-01-12 04:41:03] Production.INFO: count ==21
[2025-01-12 04:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229217') start
[2025-01-12 04:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229217') end
[2025-01-12 04:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:41:03] Production.INFO: 1
[2025-01-12 04:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:41:03] Production.INFO: Total Charge 0
[2025-01-12 04:41:03] Production.ERROR: done
[2025-01-12 04:41:03] Production.INFO: ==902== Releasing lock...
[2025-01-12 04:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:41:03] Production.INFO: CreateAllLog End
[2025-01-12 04:41:04] Production.ERROR: done
[2025-01-12 04:41:04] Production.INFO: Account Balance End.
[2025-01-12 04:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:41:04] Production.INFO: ==898== Releasing lock...
[2025-01-12 04:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:41:05
[end_date_ymd] => 2025-01-12 04:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:41:05' and `end` < '2025-01-12 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-01-12 04:41:10] Production.ERROR: CronJobId end10
[2025-01-12 04:41:10] Production.INFO: ==896== Releasing lock...
[2025-01-12 04:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:41:12] Production.INFO: call_cost start
[2025-01-12 04:41:12] Production.INFO: call_cost end
[2025-01-12 04:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:41:13] Production.INFO: ==892== Releasing lock...
[2025-01-12 04:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:41:18] Production.INFO: count ==279
[2025-01-12 04:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:41:05 - End Time 2025-01-12 04:41:05
[2025-01-12 04:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229218', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229218', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229218', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229218', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:41:18] Production.INFO: ProcessCDR(1,14229218,1,1,2)
[2025-01-12 04:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229218,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229218,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229218', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229218', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:41:21] Production.INFO: ==900== Releasing lock...
[2025-01-12 04:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:41:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:42:01] Production.INFO: ==962== Lock acquired, processing the job...
[2025-01-12 09:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:42:01] Production.INFO: neon service started
[2025-01-12 09:42:02] Production.INFO: neon service started
[2025-01-12 09:42:02] Production.INFO: ==962== Releasing lock...
[2025-01-12 09:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:42:02] Production.INFO: ==965== Lock acquired, processing the job...
[2025-01-12 04:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:42:02] Production.INFO: ==967== Lock acquired, processing the job...
[2025-01-12 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:42:02] Production.INFO: ==967== Releasing lock...
[2025-01-12 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:42:03] Production.INFO: ==965== Releasing lock...
[2025-01-12 04:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:42:03] Production.INFO: ==976== Lock acquired, processing the job...
[2025-01-12 04:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:42:03] Production.INFO: ==970== Lock acquired, processing the job...
[2025-01-12 04:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:42:03] Production.INFO: Account Balance Start.
[2025-01-12 04:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:42:03] Production.INFO: 117
[2025-01-12 04:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:42:04] Production.INFO: ==980== Lock acquired, processing the job...
[2025-01-12 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:42:04] Production.INFO: ==972== Lock acquired, processing the job...
[2025-01-12 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:42:04] Production.INFO: ==974== Lock acquired, processing the job...
[2025-01-12 04:42:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:42:04] Production.INFO: ==978== Lock acquired, processing the job...
[2025-01-12 04:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:42:04] Production.INFO: count ==21
[2025-01-12 04:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:42:04] Production.INFO: count ==21
[2025-01-12 04:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229221') start
[2025-01-12 04:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229221') end
[2025-01-12 04:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:42:04] Production.INFO: 1
[2025-01-12 04:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:42:04] Production.INFO: Total Charge 0
[2025-01-12 04:42:04] Production.INFO: ==980== Releasing lock...
[2025-01-12 04:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:42:04] Production.INFO: CreateAllLog End
[2025-01-12 04:42:04] Production.ERROR: done
[2025-01-12 04:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:42:04] Production.INFO: ==972== Releasing lock...
[2025-01-12 04:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:42:04] Production.INFO: Account Balance End.
[2025-01-12 04:42:04] Production.ERROR: done
[2025-01-12 04:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:42:04] Production.INFO: ==976== Releasing lock...
[2025-01-12 04:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:42:05
[end_date_ymd] => 2025-01-12 04:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:42:05' and `end` < '2025-01-12 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-01-12 04:42:11] Production.ERROR: CronJobId end10
[2025-01-12 04:42:11] Production.INFO: ==974== Releasing lock...
[2025-01-12 04:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:42:13] Production.INFO: call_cost start
[2025-01-12 04:42:13] Production.INFO: call_cost end
[2025-01-12 04:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:42:13] Production.INFO: ==970== Releasing lock...
[2025-01-12 04:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:42:19] Production.INFO: count ==279
[2025-01-12 04:42:19] Production.ERROR: pbx CDR StartTime 2025-01-12 01:42:05 - End Time 2025-01-12 04:42:05
[2025-01-12 04:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229223', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229223', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229223', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229223', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:42:19] Production.INFO: ProcessCDR(1,14229223,1,1,2)
[2025-01-12 04:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229223,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229223,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229223', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229223', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:42:22] Production.INFO: ==978== Releasing lock...
[2025-01-12 04:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:42:22] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:43:01] Production.INFO: ==1037== Lock acquired, processing the job...
[2025-01-12 09:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:43:01] Production.INFO: neon service started
[2025-01-12 09:43:01] Production.INFO: neon service started
[2025-01-12 09:43:01] Production.INFO: ==1037== Releasing lock...
[2025-01-12 09:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:43:01] Production.INFO: ==1039== Lock acquired, processing the job...
[2025-01-12 04:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:43:02] Production.INFO: ==1039== Releasing lock...
[2025-01-12 04:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:43:02] Production.INFO: ==1041== Lock acquired, processing the job...
[2025-01-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:43:02] Production.INFO: ==1041== Releasing lock...
[2025-01-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:43:02] Production.INFO: ==1044== Lock acquired, processing the job...
[2025-01-12 04:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:43:02] Production.INFO: ==1046== Lock acquired, processing the job...
[2025-01-12 04:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:43:02] Production.INFO: ==1048== Lock acquired, processing the job...
[2025-01-12 04:43:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:43:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:43:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:43:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:43:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:43:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:43:03] Production.INFO: ==1050== Lock acquired, processing the job...
[2025-01-12 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:43:03] Production.INFO: ==1046== Releasing lock...
[2025-01-12 04:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:43:03] Production.INFO: ==1052== Lock acquired, processing the job...
[2025-01-12 04:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:43:03] Production.INFO: Account Balance Start.
[2025-01-12 04:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:43:03] Production.INFO: 117
[2025-01-12 04:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:43:03] Production.INFO: ==1054== Lock acquired, processing the job...
[2025-01-12 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:43:03] Production.INFO: Total Charge 0
[2025-01-12 04:43:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 04:43:03] Production.INFO: count ==21
[2025-01-12 04:43:03] Production.ERROR: done
[2025-01-12 04:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 04:43:03] Production.INFO: count ==21
[2025-01-12 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229227') start
[2025-01-12 04:43:03] Production.INFO: Account Balance End.
[2025-01-12 04:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229227') end
[2025-01-12 04:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:43:03] Production.INFO: 1
[2025-01-12 04:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:43:03] Production.ERROR: done
[2025-01-12 04:43:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:43:03] Production.INFO: ==1050== Releasing lock...
[2025-01-12 04:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:43:03] Production.INFO: ==1054== Releasing lock...
[2025-01-12 04:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:43:04
[end_date_ymd] => 2025-01-12 04:43:04
[RateCDR] => 1
)
[2025-01-12 04:43:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:43:04' and `end` < '2025-01-12 04:43:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:43:10] Production.ERROR: CronJobId end10
[2025-01-12 04:43:10] Production.INFO: ==1048== Releasing lock...
[2025-01-12 04:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:43:12] Production.INFO: call_cost start
[2025-01-12 04:43:12] Production.INFO: call_cost end
[2025-01-12 04:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:43:13] Production.INFO: ==1044== Releasing lock...
[2025-01-12 04:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:43:17] Production.INFO: count ==279
[2025-01-12 04:43:17] Production.ERROR: pbx CDR StartTime 2025-01-12 01:43:04 - End Time 2025-01-12 04:43:04
[2025-01-12 04:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229228', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229228', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229228', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229228', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:43:17] Production.INFO: ProcessCDR(1,14229228,1,1,2)
[2025-01-12 04:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229228,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229228,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229228', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229228', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:43:21] Production.INFO: ==1052== Releasing lock...
[2025-01-12 04:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:43:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:44:01] Production.INFO: ==1111== Lock acquired, processing the job...
[2025-01-12 09:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:44:01] Production.INFO: neon service started
[2025-01-12 09:44:01] Production.INFO: neon service started
[2025-01-12 09:44:01] Production.INFO: ==1111== Releasing lock...
[2025-01-12 09:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:44:02] Production.INFO: ==1114== Lock acquired, processing the job...
[2025-01-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:44:02] Production.INFO: ==1116== Lock acquired, processing the job...
[2025-01-12 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:44:02] Production.INFO: ==1116== Releasing lock...
[2025-01-12 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:44:02] Production.INFO: ==1114== Releasing lock...
[2025-01-12 04:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:44:03] Production.INFO: ==1126== Lock acquired, processing the job...
[2025-01-12 04:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:44:03] Production.INFO: ==1118== Lock acquired, processing the job...
[2025-01-12 04:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:44:03] Production.INFO: ==1128== Lock acquired, processing the job...
[2025-01-12 04:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:44:03] Production.INFO: ==1120== Lock acquired, processing the job...
[2025-01-12 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:44:03] Production.INFO: ==1122== Lock acquired, processing the job...
[2025-01-12 04:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:44:03] Production.INFO: ==1124== Lock acquired, processing the job...
[2025-01-12 04:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04: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-01-12 04:44:03] Production.INFO: Account Balance Start.
[2025-01-12 04:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:44:03] Production.INFO: 117
[2025-01-12 04:44:03] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:44:03] Production.ERROR: done
[2025-01-12 04:44:03] Production.INFO: count ==21
[2025-01-12 04:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229230') start
[2025-01-12 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:44:03] Production.ERROR: done
[2025-01-12 04:44:03] Production.INFO: Total Charge 0
[2025-01-12 04:44:03] Production.INFO: CreateAllLog End
[2025-01-12 04:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229230') end
[2025-01-12 04:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:44:03] Production.INFO: 1
[2025-01-12 04:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:44:03] Production.INFO: ==1120== Releasing lock...
[2025-01-12 04:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:44:04] Production.INFO: Account Balance End.
[2025-01-12 04:44:04] Production.INFO: ==1128== Releasing lock...
[2025-01-12 04:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:44:04] Production.INFO: ==1124== Releasing lock...
[2025-01-12 04:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:44:04
[end_date_ymd] => 2025-01-12 04:44:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:44:04' and `end` < '2025-01-12 04: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-01-12 04:44:11] Production.ERROR: CronJobId end10
[2025-01-12 04:44:11] Production.INFO: ==1122== Releasing lock...
[2025-01-12 04:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:44:12] Production.INFO: call_cost start
[2025-01-12 04:44:12] Production.INFO: call_cost end
[2025-01-12 04:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:44:13] Production.INFO: ==1118== Releasing lock...
[2025-01-12 04:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:44:18] Production.INFO: count ==279
[2025-01-12 04:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:44:04 - End Time 2025-01-12 04:44:04
[2025-01-12 04:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229233', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229233', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229233', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229233', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:44:18] Production.INFO: ProcessCDR(1,14229233,1,1,2)
[2025-01-12 04:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229233', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229233', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:44:21] Production.INFO: ==1126== Releasing lock...
[2025-01-12 04:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:44:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:45:02] Production.INFO: ==1193== Lock acquired, processing the job...
[2025-01-12 09:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:45:02] Production.INFO: neon service started
[2025-01-12 09:45:02] Production.INFO: neon service started
[2025-01-12 09:45:02] Production.INFO: ==1193== Releasing lock...
[2025-01-12 09:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:45:02] Production.INFO: ==1195== Lock acquired, processing the job...
[2025-01-12 04:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:45:02] Production.INFO: ==1197== Lock acquired, processing the job...
[2025-01-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:45:02] Production.INFO: ==1197== Releasing lock...
[2025-01-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:45:03] Production.INFO: ==1195== Releasing lock...
[2025-01-12 04:45:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:45:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:45:03] Production.INFO: ==1200== Lock acquired, processing the job...
[2025-01-12 04:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:45:03] Production.INFO: ==1206== Lock acquired, processing the job...
[2025-01-12 04:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:45:03] Production.INFO: ==1204== Lock acquired, processing the job...
[2025-01-12 04:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:45:03] Production.INFO: Account Balance Start.
[2025-01-12 04:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:45:03] Production.INFO: 117
[2025-01-12 04:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:45:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:45:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:45:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:45:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:45:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:45:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:45:04] Production.INFO: Total Charge 0
[2025-01-12 04:45:04] Production.INFO: CreateAllLog End
[2025-01-12 04:45:04] Production.INFO: ==1202== Lock acquired, processing the job...
[2025-01-12 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:45:04] Production.INFO: Account Balance End.
[2025-01-12 04:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:45:04] Production.INFO: ==1206== Releasing lock...
[2025-01-12 04:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:45:04] Production.INFO: ==1208== Lock acquired, processing the job...
[2025-01-12 04:45:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:45:04] Production.INFO: ==1210== Lock acquired, processing the job...
[2025-01-12 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:45:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:45:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:45:04] Production.INFO: count ==21
[2025-01-12 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229237') start
[2025-01-12 04:45:04] Production.ERROR: done
[2025-01-12 04:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229237') end
[2025-01-12 04:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:45:04] Production.INFO: 1
[2025-01-12 04:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:45:04] Production.INFO: ==1202== Releasing lock...
[2025-01-12 04:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:45:04] Production.INFO: ==1210== Releasing lock...
[2025-01-12 04:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:45:04] Production.ERROR: done
[2025-01-12 04:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:45:05
[end_date_ymd] => 2025-01-12 04:45:05
[RateCDR] => 1
)
[2025-01-12 04:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:45:05' and `end` < '2025-01-12 04:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:45:12] Production.ERROR: CronJobId end10
[2025-01-12 04:45:12] Production.INFO: ==1204== Releasing lock...
[2025-01-12 04:45:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:45:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:45:13] Production.INFO: call_cost start
[2025-01-12 04:45:13] Production.INFO: call_cost end
[2025-01-12 04:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:45:14] Production.INFO: ==1200== Releasing lock...
[2025-01-12 04:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:45:18] Production.INFO: count ==279
[2025-01-12 04:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 01:45:05 - End Time 2025-01-12 04:45:05
[2025-01-12 04:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229238', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229238', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229238', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229238', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:45:18] Production.INFO: ProcessCDR(1,14229238,1,1,2)
[2025-01-12 04:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229238', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229238', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:45:21] Production.INFO: ==1208== Releasing lock...
[2025-01-12 04:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:45:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:46:01] Production.INFO: ==1278== Lock acquired, processing the job...
[2025-01-12 09:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:46:01] Production.INFO: neon service started
[2025-01-12 09:46:01] Production.INFO: neon service started
[2025-01-12 09:46:01] Production.INFO: ==1278== Releasing lock...
[2025-01-12 09:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:46:02] Production.INFO: ==1280== Lock acquired, processing the job...
[2025-01-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:46:02] Production.INFO: ==1282== Lock acquired, processing the job...
[2025-01-12 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:46:02] Production.INFO: ==1282== Releasing lock...
[2025-01-12 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:46:02] Production.INFO: ==1280== Releasing lock...
[2025-01-12 04:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:46:03] Production.INFO: ==1285== Lock acquired, processing the job...
[2025-01-12 04:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:46:03] Production.INFO: ==1287== Lock acquired, processing the job...
[2025-01-12 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:46:03] Production.INFO: ==1289== Lock acquired, processing the job...
[2025-01-12 04:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:46:03] Production.INFO: ==1293== Lock acquired, processing the job...
[2025-01-12 04:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:46:03] Production.INFO: ==1291== Lock acquired, processing the job...
[2025-01-12 04:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:46:03] Production.INFO: Account Balance Start.
[2025-01-12 04:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:46:03] Production.INFO: ==1287== Releasing lock...
[2025-01-12 04:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:46:03] Production.INFO: 117
[2025-01-12 04:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:46:03] Production.INFO: ==1295== Lock acquired, processing the job...
[2025-01-12 04:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:46:04] Production.ERROR: done
[2025-01-12 04:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 04:46:04] Production.INFO: count ==21
[2025-01-12 04:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 04:46:04] Production.INFO: count ==21
[2025-01-12 04:46:04] Production.INFO: Total Charge 0
[2025-01-12 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229242') start
[2025-01-12 04:46:04] Production.INFO: CreateAllLog End
[2025-01-12 04:46:04] Production.ERROR: done
[2025-01-12 04:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229242') end
[2025-01-12 04:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:46:04] Production.INFO: 1
[2025-01-12 04:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:46:04] Production.INFO: Account Balance End.
[2025-01-12 04:46:04] Production.INFO: ==1295== Releasing lock...
[2025-01-12 04:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:46:04] Production.INFO: ==1291== Releasing lock...
[2025-01-12 04:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:46:05
[end_date_ymd] => 2025-01-12 04:46:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:46:05' and `end` < '2025-01-12 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-01-12 04:46:10] Production.ERROR: CronJobId end10
[2025-01-12 04:46:10] Production.INFO: ==1289== Releasing lock...
[2025-01-12 04:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:46:12] Production.INFO: call_cost start
[2025-01-12 04:46:12] Production.INFO: call_cost end
[2025-01-12 04:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:46:13] Production.INFO: ==1285== Releasing lock...
[2025-01-12 04:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:46:25] Production.INFO: count ==278
[2025-01-12 04:46:25] Production.ERROR: pbx CDR StartTime 2025-01-12 01:46:05 - End Time 2025-01-12 04:46:05
[2025-01-12 04:46:25] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229243', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229243', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229243', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:46:25] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229243', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:46:25] Production.INFO: ProcessCDR(1,14229243,1,1,2)
[2025-01-12 04:46:25] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:46:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:46:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:46:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229243', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:46:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229243', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:46:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:46:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:46:28] Production.INFO: ==1293== Releasing lock...
[2025-01-12 04:46:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:46:28] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:47:02] Production.INFO: ==1355== Lock acquired, processing the job...
[2025-01-12 09:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:47:02] Production.INFO: neon service started
[2025-01-12 09:47:02] Production.INFO: neon service started
[2025-01-12 09:47:02] Production.INFO: ==1355== Releasing lock...
[2025-01-12 09:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:47:02] Production.INFO: ==1357== Lock acquired, processing the job...
[2025-01-12 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:47:02] Production.INFO: ==1357== Releasing lock...
[2025-01-12 04:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:47:02] Production.INFO: ==1359== Lock acquired, processing the job...
[2025-01-12 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:47:02] Production.INFO: ==1359== Releasing lock...
[2025-01-12 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:47:03] Production.INFO: ==1366== Lock acquired, processing the job...
[2025-01-12 04:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:47:03] Production.INFO: ==1362== Lock acquired, processing the job...
[2025-01-12 04:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:47:03] Production.INFO: ==1372== Lock acquired, processing the job...
[2025-01-12 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:47:03] Production.INFO: ==1364== Lock acquired, processing the job...
[2025-01-12 04:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 04:47:03] Production.INFO: count ==21
[2025-01-12 04:47:03] Production.INFO: ==1368== Lock acquired, processing the job...
[2025-01-12 04:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:47:03] Production.INFO: ==1370== Lock acquired, processing the job...
[2025-01-12 04:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 04:47:03] Production.INFO: count ==21
[2025-01-12 04:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229245') start
[2025-01-12 04:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229245') end
[2025-01-12 04:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:47:03] Production.INFO: 1
[2025-01-12 04:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:47:03] Production.INFO: Account Balance Start.
[2025-01-12 04:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:47:03] Production.INFO: 117
[2025-01-12 04:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:47:03] Production.INFO: ==1372== Releasing lock...
[2025-01-12 04:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:47:04] Production.INFO: ==1364== Releasing lock...
[2025-01-12 04:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:47:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:47:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:47:04] Production.ERROR: done
[2025-01-12 04:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:47:04] Production.ERROR: done
[2025-01-12 04:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:47:04] Production.INFO: Total Charge 0
[2025-01-12 04:47:04] Production.INFO: CreateAllLog End
[2025-01-12 04:47:04] Production.INFO: Account Balance End.
[2025-01-12 04:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:47:04] Production.INFO: ==1368== Releasing lock...
[2025-01-12 04:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:47:05
[end_date_ymd] => 2025-01-12 04:47:05
[RateCDR] => 1
)
[2025-01-12 04:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:47:05' and `end` < '2025-01-12 04:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:47:11] Production.ERROR: CronJobId end10
[2025-01-12 04:47:11] Production.INFO: ==1366== Releasing lock...
[2025-01-12 04:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:47:13] Production.INFO: call_cost start
[2025-01-12 04:47:13] Production.INFO: call_cost end
[2025-01-12 04:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:47:14] Production.INFO: ==1362== Releasing lock...
[2025-01-12 04:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:47:21] Production.INFO: count ==278
[2025-01-12 04:47:21] Production.ERROR: pbx CDR StartTime 2025-01-12 01:47:05 - End Time 2025-01-12 04:47:05
[2025-01-12 04:47:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229248', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229248', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229248', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:47:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229248', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:47:21] Production.INFO: ProcessCDR(1,14229248,1,1,2)
[2025-01-12 04:47:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229248', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229248', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:47:24] Production.INFO: ==1370== Releasing lock...
[2025-01-12 04:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:47:24] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:48:01] Production.INFO: ==1430== Lock acquired, processing the job...
[2025-01-12 09:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:48:01] Production.INFO: neon service started
[2025-01-12 09:48:01] Production.INFO: neon service started
[2025-01-12 09:48:01] Production.INFO: ==1430== Releasing lock...
[2025-01-12 09:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:48:01] Production.INFO: ==1432== Lock acquired, processing the job...
[2025-01-12 04:48:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:48:02] Production.INFO: ==1432== Releasing lock...
[2025-01-12 04:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:48:02] Production.INFO: ==1434== Lock acquired, processing the job...
[2025-01-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:48:02] Production.INFO: ==1434== Releasing lock...
[2025-01-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:48:02] Production.INFO: ==1446== Lock acquired, processing the job...
[2025-01-12 04:48:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:48:03] Production.INFO: ==1444== Lock acquired, processing the job...
[2025-01-12 04:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 04:48:03] Production.INFO: ==1436== Lock acquired, processing the job...
[2025-01-12 04:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:48:03] Production.INFO: ==1438== Lock acquired, processing the job...
[2025-01-12 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:48:03] Production.INFO: count ==21
[2025-01-12 04:48:03] Production.INFO: ==1440== Lock acquired, processing the job...
[2025-01-12 04:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 04:48:03] Production.INFO: ==1442== Lock acquired, processing the job...
[2025-01-12 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:48:03] Production.INFO: count ==21
[2025-01-12 04:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229249') start
[2025-01-12 04:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:48:03] Production.INFO: Account Balance Start.
[2025-01-12 04:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:48:03] Production.INFO: 117
[2025-01-12 04:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229249') end
[2025-01-12 04:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:48:03] Production.INFO: 1
[2025-01-12 04:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:48:03] Production.INFO: ==1446== Releasing lock...
[2025-01-12 04:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:48:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:48:03] Production.ERROR: done
[2025-01-12 04:48:03] Production.INFO: Total Charge 0
[2025-01-12 04:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:48:03] Production.INFO: CreateAllLog End
[2025-01-12 04:48:03] Production.INFO: ==1438== Releasing lock...
[2025-01-12 04:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:48:03] Production.ERROR: done
[2025-01-12 04:48:03] Production.INFO: Account Balance End.
[2025-01-12 04:48:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:48:03] Production.INFO: ==1442== Releasing lock...
[2025-01-12 04:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:48:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:48:04
[end_date_ymd] => 2025-01-12 04:48:04
[RateCDR] => 1
)
[2025-01-12 04:48:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 01:48:04' and `end` < '2025-01-12 04:48:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:48:10] Production.ERROR: CronJobId end10
[2025-01-12 04:48:10] Production.INFO: ==1440== Releasing lock...
[2025-01-12 04:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:48:13] Production.INFO: call_cost start
[2025-01-12 04:48:13] Production.INFO: call_cost end
[2025-01-12 04:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:48:13] Production.INFO: ==1436== Releasing lock...
[2025-01-12 04:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:48:20] Production.INFO: count ==278
[2025-01-12 04:48:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:48:04 - End Time 2025-01-12 04:48:04
[2025-01-12 04:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229253', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229253', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229253', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229253', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:48:20] Production.INFO: ProcessCDR(1,14229253,1,1,2)
[2025-01-12 04:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229253', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229253', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:48:23] Production.INFO: ==1444== Releasing lock...
[2025-01-12 04:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:48:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:49:01] Production.INFO: ==1537== Lock acquired, processing the job...
[2025-01-12 09:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:49:01] Production.INFO: neon service started
[2025-01-12 09:49:01] Production.INFO: neon service started
[2025-01-12 09:49:01] Production.INFO: ==1537== Releasing lock...
[2025-01-12 09:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:49:02] Production.INFO: ==1539== Lock acquired, processing the job...
[2025-01-12 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:49:02] Production.INFO: ==1541== Lock acquired, processing the job...
[2025-01-12 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:49:02] Production.INFO: ==1541== Releasing lock...
[2025-01-12 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:49:02] Production.INFO: ==1539== Releasing lock...
[2025-01-12 04:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:49:03] Production.INFO: ==1548== Lock acquired, processing the job...
[2025-01-12 04:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:49:03] Production.INFO: ==1550== Lock acquired, processing the job...
[2025-01-12 04:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:49:03] Production.INFO: ==1544== Lock acquired, processing the job...
[2025-01-12 04:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:49:03] Production.INFO: Account Balance Start.
[2025-01-12 04:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:49:03] Production.INFO: 117
[2025-01-12 04:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:49:03] Production.INFO: ==1546== Lock acquired, processing the job...
[2025-01-12 04:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:49:03] Production.INFO: ==1553== Lock acquired, processing the job...
[2025-01-12 04:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:49:03] Production.INFO: ==1555== Lock acquired, processing the job...
[2025-01-12 04:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:49:03] Production.INFO: Total Charge 0
[2025-01-12 04:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:49:03] Production.INFO: CreateAllLog End
[2025-01-12 04:49:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:49:04] Production.INFO: count ==21
[2025-01-12 04:49:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:49:04] Production.INFO: count ==21
[2025-01-12 04:49:04] Production.INFO: ==1546== Releasing lock...
[2025-01-12 04:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229257') start
[2025-01-12 04:49:04] Production.ERROR: done
[2025-01-12 04:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:49:04] Production.INFO: Account Balance End.
[2025-01-12 04:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229257') end
[2025-01-12 04:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:49:04] Production.INFO: 1
[2025-01-12 04:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:49:04] Production.INFO: ==1550== Releasing lock...
[2025-01-12 04:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:49:04] Production.ERROR: done
[2025-01-12 04:49:04] Production.INFO: ==1555== Releasing lock...
[2025-01-12 04:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:49:05
[end_date_ymd] => 2025-01-12 04:49:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:49:05' and `end` < '2025-01-12 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-01-12 04:49:11] Production.ERROR: CronJobId end10
[2025-01-12 04:49:11] Production.INFO: ==1548== Releasing lock...
[2025-01-12 04:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:49:13] Production.INFO: call_cost start
[2025-01-12 04:49:13] Production.INFO: call_cost end
[2025-01-12 04:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:49:14] Production.INFO: ==1544== Releasing lock...
[2025-01-12 04:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:49:21] Production.INFO: count ==278
[2025-01-12 04:49:21] Production.ERROR: pbx CDR StartTime 2025-01-12 01:49:05 - End Time 2025-01-12 04:49:05
[2025-01-12 04:49:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229258', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229258', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229258', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:49:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229258', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:49:21] Production.INFO: ProcessCDR(1,14229258,1,1,2)
[2025-01-12 04:49:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:49:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:49:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229258', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229258', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:49:24] Production.INFO: ==1553== Releasing lock...
[2025-01-12 04:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:49:24] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:50:02] Production.INFO: ==1617== Lock acquired, processing the job...
[2025-01-12 09:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:50:02] Production.INFO: neon service started
[2025-01-12 09:50:02] Production.INFO: neon service started
[2025-01-12 09:50:02] Production.INFO: ==1617== Releasing lock...
[2025-01-12 09:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:50:02] Production.INFO: ==1619== Lock acquired, processing the job...
[2025-01-12 04:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:50:02] Production.INFO: ==1621== Lock acquired, processing the job...
[2025-01-12 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:50:03] Production.INFO: ==1621== Releasing lock...
[2025-01-12 09:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:50:03] Production.INFO: ==1619== Releasing lock...
[2025-01-12 04:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:50:03] Production.INFO: ==1624== Lock acquired, processing the job...
[2025-01-12 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 04:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 04:50:03] Production.INFO: ==1626== Lock acquired, processing the job...
[2025-01-12 04:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 04:50:03] Production.INFO: ==1624== Releasing lock...
[2025-01-12 04:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 04:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 04:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:50:04] Production.INFO: ==1630== Lock acquired, processing the job...
[2025-01-12 04:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:50:04] Production.INFO: ==1628== Lock acquired, processing the job...
[2025-01-12 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:50:04] Production.INFO: ==1638== Lock acquired, processing the job...
[2025-01-12 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:50:04] Production.INFO: ==1632== Lock acquired, processing the job...
[2025-01-12 04:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 04:50:04] Production.INFO: ==1634== Lock acquired, processing the job...
[2025-01-12 04:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:50:04] Production.INFO: ==1636== Lock acquired, processing the job...
[2025-01-12 04:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 04:50:04] Production.INFO: count ==21
[2025-01-12 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:50:04] Production.INFO: Account Balance Start.
[2025-01-12 04:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 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-01-12 04:50:04] Production.INFO: 117
[2025-01-12 04:50:04] Production.INFO: count ==21
[2025-01-12 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229261') start
[2025-01-12 04:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229261') end
[2025-01-12 04:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:50:04] Production.INFO: 1
[2025-01-12 04:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:50:04] Production.INFO: ==1638== Releasing lock...
[2025-01-12 04:50:04] Production.INFO: ==1628== Releasing lock...
[2025-01-12 04:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:50:04] Production.ERROR: done
[2025-01-12 04:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:50:04] Production.ERROR: done
[2025-01-12 04:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:50:05] Production.ERROR: done
[2025-01-12 04:50:05] Production.INFO: Total Charge 0
[2025-01-12 04:50:05] Production.INFO: CreateAllLog End
[2025-01-12 04:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 04:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229264', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 04:50:05] Production.INFO: Account Balance End.
[2025-01-12 04:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 04:50:05] Production.INFO: ==1632== Releasing lock...
[2025-01-12 04:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:50:05
[end_date_ymd] => 2025-01-12 04:50:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:50:05' and `end` < '2025-01-12 04:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 04:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229264', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 04:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 04:50:09] Production.INFO: ProcessCDR(1,14229264,1,1,2)
[2025-01-12 04:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229264,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229264,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:50:09] Production.INFO: ==1636== Releasing lock...
[2025-01-12 04:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 04:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 04:50:14] Production.ERROR: CronJobId end10
[2025-01-12 04:50:14] Production.INFO: ==1630== Releasing lock...
[2025-01-12 04:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:50:15] Production.INFO: call_cost start
[2025-01-12 04:50:15] Production.INFO: call_cost end
[2025-01-12 04:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:50:16] Production.INFO: ==1626== Releasing lock...
[2025-01-12 04:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:50:22] Production.INFO: count ==272
[2025-01-12 04:50:22] Production.ERROR: pbx CDR StartTime 2025-01-12 01:50:05 - End Time 2025-01-12 04:50:05
[2025-01-12 04:50:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229263', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229263', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229263', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:50:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229263', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:50:22] Production.INFO: ProcessCDR(1,14229263,1,1,2)
[2025-01-12 04:50:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:50:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:50:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:50:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229263', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:50:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229263', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:50:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:50:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:50:25] Production.INFO: ==1634== Releasing lock...
[2025-01-12 04:50:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:50:25] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 09:51:01] Production.INFO: ==1695== Lock acquired, processing the job...
[2025-01-12 09:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:51:01] Production.INFO: neon service started
[2025-01-12 09:51:01] Production.INFO: neon service started
[2025-01-12 09:51:01] Production.INFO: ==1695== Releasing lock...
[2025-01-12 09:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:51:02] Production.INFO: ==1697== Lock acquired, processing the job...
[2025-01-12 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:51:02] Production.INFO: ==1699== Lock acquired, processing the job...
[2025-01-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:51:02] Production.INFO: ==1699== Releasing lock...
[2025-01-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:51:02] Production.INFO: ==1697== Releasing lock...
[2025-01-12 04:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:51:03] Production.INFO: ==1702== Lock acquired, processing the job...
[2025-01-12 04:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:51:03] Production.INFO: ==1704== Lock acquired, processing the job...
[2025-01-12 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:51:03] Production.INFO: ==1710== Lock acquired, processing the job...
[2025-01-12 04:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:51:03] Production.INFO: ==1706== Lock acquired, processing the job...
[2025-01-12 04:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:51:03] Production.INFO: ==1708== Lock acquired, processing the job...
[2025-01-12 04:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:51:03] Production.INFO: ==1712== Lock acquired, processing the job...
[2025-01-12 04:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:51:03] Production.ERROR: done
[2025-01-12 04:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:51:03] Production.INFO: Account Balance Start.
[2025-01-12 04:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:51:03] Production.INFO: 117
[2025-01-12 04:51:03] Production.INFO: ==1704== Releasing lock...
[2025-01-12 04:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:51:03] Production.ERROR: done
[2025-01-12 04:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:51:04] Production.INFO: count ==21
[2025-01-12 04:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:51:04] Production.INFO: count ==21
[2025-01-12 04:51:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229268') start
[2025-01-12 04:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229268') end
[2025-01-12 04:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:51:04] Production.INFO: 1
[2025-01-12 04:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:51:04] Production.INFO: Total Charge 0
[2025-01-12 04:51:04] Production.INFO: ==1712== Releasing lock...
[2025-01-12 04:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:51:04] Production.INFO: CreateAllLog End
[2025-01-12 04:51:04] Production.INFO: Account Balance End.
[2025-01-12 04:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:51:04] Production.INFO: ==1708== Releasing lock...
[2025-01-12 04:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:51:04
[end_date_ymd] => 2025-01-12 04:51:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:51:04' and `end` < '2025-01-12 04: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-01-12 04:51:10] Production.ERROR: CronJobId end10
[2025-01-12 04:51:10] Production.INFO: ==1706== Releasing lock...
[2025-01-12 04:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:51:12] Production.INFO: call_cost start
[2025-01-12 04:51:12] Production.INFO: call_cost end
[2025-01-12 04:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:51:13] Production.INFO: ==1702== Releasing lock...
[2025-01-12 04:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:51:20] Production.INFO: count ==259
[2025-01-12 04:51:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:51:04 - End Time 2025-01-12 04:51:04
[2025-01-12 04:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229269', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229269', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229269', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229269', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:51:20] Production.INFO: ProcessCDR(1,14229269,1,1,2)
[2025-01-12 04:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229269,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229269,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229269', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229269', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:51:24] Production.INFO: ==1710== Releasing lock...
[2025-01-12 04:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:51:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:52:02] Production.INFO: ==1773== Lock acquired, processing the job...
[2025-01-12 09:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:52:02] Production.INFO: neon service started
[2025-01-12 09:52:02] Production.INFO: neon service started
[2025-01-12 09:52:02] Production.INFO: ==1773== Releasing lock...
[2025-01-12 09:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:52:02] Production.INFO: ==1775== Lock acquired, processing the job...
[2025-01-12 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:52:02] Production.INFO: ==1777== Lock acquired, processing the job...
[2025-01-12 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:52:02] Production.INFO: ==1775== Releasing lock...
[2025-01-12 04:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:52:02] Production.INFO: ==1777== Releasing lock...
[2025-01-12 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:52:03] Production.INFO: ==1784== Lock acquired, processing the job...
[2025-01-12 04:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:52:03] Production.INFO: ==1780== Lock acquired, processing the job...
[2025-01-12 04:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:52:03] Production.INFO: ==1790== Lock acquired, processing the job...
[2025-01-12 04:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:52:03] Production.INFO: ==1782== Lock acquired, processing the job...
[2025-01-12 04:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 04:52:03] Production.INFO: ==1786== Lock acquired, processing the job...
[2025-01-12 04:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:52:03] Production.INFO: count ==21
[2025-01-12 04:52:03] Production.INFO: ==1788== Lock acquired, processing the job...
[2025-01-12 04:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:52:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:52:04] Production.INFO: count ==21
[2025-01-12 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229270') start
[2025-01-12 04:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:52:04] Production.INFO: Account Balance Start.
[2025-01-12 04:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:52:04] Production.INFO: 117
[2025-01-12 04:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229270') end
[2025-01-12 04:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:52:04] Production.INFO: 1
[2025-01-12 04:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:52:04] Production.INFO: ==1782== Releasing lock...
[2025-01-12 04:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:52:04] Production.INFO: ==1790== Releasing lock...
[2025-01-12 04:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:52:04] Production.ERROR: done
[2025-01-12 04:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:52:04] Production.INFO: Total Charge 0
[2025-01-12 04:52:04] Production.ERROR: done
[2025-01-12 04:52:04] Production.INFO: CreateAllLog End
[2025-01-12 04:52:04] Production.INFO: Account Balance End.
[2025-01-12 04:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:52:04] Production.INFO: ==1786== Releasing lock...
[2025-01-12 04:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:52:05
[end_date_ymd] => 2025-01-12 04:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:52:05' and `end` < '2025-01-12 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-01-12 04:52:10] Production.ERROR: CronJobId end10
[2025-01-12 04:52:10] Production.INFO: ==1784== Releasing lock...
[2025-01-12 04:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:52:13] Production.INFO: call_cost start
[2025-01-12 04:52:13] Production.INFO: call_cost end
[2025-01-12 04:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:52:14] Production.INFO: ==1780== Releasing lock...
[2025-01-12 04:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:52:22] Production.INFO: count ==259
[2025-01-12 04:52:22] Production.ERROR: pbx CDR StartTime 2025-01-12 01:52:05 - End Time 2025-01-12 04:52:05
[2025-01-12 04:52:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229274', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229274', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229274', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:52:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229274', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:52:22] Production.INFO: ProcessCDR(1,14229274,1,1,2)
[2025-01-12 04:52:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:52:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229274,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:52:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:52:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229274,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229274', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:52:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229274', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:52:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:52:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:52:25] Production.INFO: ==1788== Releasing lock...
[2025-01-12 04:52:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:52:25] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:53:01] Production.INFO: ==1853== Lock acquired, processing the job...
[2025-01-12 09:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:53:01] Production.INFO: neon service started
[2025-01-12 09:53:01] Production.INFO: neon service started
[2025-01-12 09:53:01] Production.INFO: ==1853== Releasing lock...
[2025-01-12 09:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:53:01] Production.INFO: ==1855== Lock acquired, processing the job...
[2025-01-12 04:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:53:02] Production.INFO: ==1855== Releasing lock...
[2025-01-12 04:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:53:02] Production.INFO: ==1857== Lock acquired, processing the job...
[2025-01-12 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:53:02] Production.INFO: ==1857== Releasing lock...
[2025-01-12 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:53:02] Production.INFO: ==1859== Lock acquired, processing the job...
[2025-01-12 04:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:53:02] Production.INFO: ==1863== Lock acquired, processing the job...
[2025-01-12 04:53:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:53:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:53:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:53:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:53:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:53:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:53:03] Production.INFO: ==1861== Lock acquired, processing the job...
[2025-01-12 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:53:03] Production.INFO: ==1865== Lock acquired, processing the job...
[2025-01-12 04:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:53:03] Production.INFO: ==1869== Lock acquired, processing the job...
[2025-01-12 04:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:53:03] Production.INFO: ==1867== Lock acquired, processing the job...
[2025-01-12 04:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:53:03] Production.INFO: Account Balance Start.
[2025-01-12 04:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:53:03] Production.INFO: 117
[2025-01-12 04:53:03] Production.INFO: count ==21
[2025-01-12 04:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:53:03] Production.INFO: ==1861== Releasing lock...
[2025-01-12 04:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:53:03] Production.INFO: count ==21
[2025-01-12 04:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229277') start
[2025-01-12 04:53:03] Production.ERROR: done
[2025-01-12 04:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229277') end
[2025-01-12 04:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:53:03] Production.INFO: 1
[2025-01-12 04:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:53:03] Production.INFO: Total Charge 0
[2025-01-12 04:53:03] Production.INFO: CreateAllLog End
[2025-01-12 04:53:03] Production.INFO: ==1869== Releasing lock...
[2025-01-12 04:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:53:04] Production.ERROR: done
[2025-01-12 04:53:04] Production.INFO: Account Balance End.
[2025-01-12 04:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:53:04] Production.INFO: ==1865== Releasing lock...
[2025-01-12 04:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:53:05
[end_date_ymd] => 2025-01-12 04:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:53:05' and `end` < '2025-01-12 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-01-12 04:53:10] Production.ERROR: CronJobId end10
[2025-01-12 04:53:10] Production.INFO: ==1863== Releasing lock...
[2025-01-12 04:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:53:12] Production.INFO: call_cost start
[2025-01-12 04:53:12] Production.INFO: call_cost end
[2025-01-12 04:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:53:13] Production.INFO: ==1859== Releasing lock...
[2025-01-12 04:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:53:22] Production.INFO: count ==259
[2025-01-12 04:53:22] Production.ERROR: pbx CDR StartTime 2025-01-12 01:53:05 - End Time 2025-01-12 04:53:05
[2025-01-12 04:53:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229279', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229279', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229279', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:53:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229279', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:53:22] Production.INFO: ProcessCDR(1,14229279,1,1,2)
[2025-01-12 04:53:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:53:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229279,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:53:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:53:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229279,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229279', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:53:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229279', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:53:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:53:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:53:25] Production.INFO: ==1867== Releasing lock...
[2025-01-12 04:53:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:53:25] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:54:01] Production.INFO: ==1971== Lock acquired, processing the job...
[2025-01-12 09:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:54:01] Production.INFO: neon service started
[2025-01-12 09:54:01] Production.INFO: neon service started
[2025-01-12 09:54:01] Production.INFO: ==1971== Releasing lock...
[2025-01-12 09:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:54:02] Production.INFO: ==1973== Lock acquired, processing the job...
[2025-01-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:54:02] Production.INFO: ==1973== Releasing lock...
[2025-01-12 04:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:54:02] Production.INFO: ==1975== Lock acquired, processing the job...
[2025-01-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:54:02] Production.INFO: ==1975== Releasing lock...
[2025-01-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:54:03] Production.INFO: ==1984== Lock acquired, processing the job...
[2025-01-12 04:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:54:03] Production.INFO: ==1986== Lock acquired, processing the job...
[2025-01-12 04:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:54:03] Production.INFO: Account Balance Start.
[2025-01-12 04:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:54:03] Production.INFO: 117
[2025-01-12 04:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:54:03] Production.INFO: ==1978== Lock acquired, processing the job...
[2025-01-12 04:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:54:03] Production.INFO: ==1980== Lock acquired, processing the job...
[2025-01-12 04:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:54:03] Production.INFO: ==1982== Lock acquired, processing the job...
[2025-01-12 04:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:54:03] Production.INFO: ==1988== Lock acquired, processing the job...
[2025-01-12 04:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:54:03] Production.INFO: Total Charge 0
[2025-01-12 04:54:03] Production.INFO: CreateAllLog End
[2025-01-12 04:54:04] Production.ERROR: done
[2025-01-12 04: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-01-12 04:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:54:04] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:54:04] Production.INFO: count ==21
[2025-01-12 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229283') start
[2025-01-12 04:54:04] Production.INFO: Account Balance End.
[2025-01-12 04:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:54:04] Production.INFO: ==1984== Releasing lock...
[2025-01-12 04:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:54:04] Production.ERROR: done
[2025-01-12 04:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229283') end
[2025-01-12 04:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:54:04] Production.INFO: 1
[2025-01-12 04:54:04] Production.INFO: ==1980== Releasing lock...
[2025-01-12 04:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:54:04] Production.INFO: ==1988== Releasing lock...
[2025-01-12 04:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:54:05
[end_date_ymd] => 2025-01-12 04:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:54:05' and `end` < '2025-01-12 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-01-12 04:54:11] Production.ERROR: CronJobId end10
[2025-01-12 04:54:11] Production.INFO: ==1982== Releasing lock...
[2025-01-12 04:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:54:13] Production.INFO: call_cost start
[2025-01-12 04:54:13] Production.INFO: call_cost end
[2025-01-12 04:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:54:14] Production.INFO: ==1978== Releasing lock...
[2025-01-12 04:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:54:21] Production.INFO: count ==259
[2025-01-12 04:54:21] Production.ERROR: pbx CDR StartTime 2025-01-12 01:54:05 - End Time 2025-01-12 04:54:05
[2025-01-12 04:54:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229284', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229284', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229284', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:54:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229284', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:54:21] Production.INFO: ProcessCDR(1,14229284,1,1,2)
[2025-01-12 04:54:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:54:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229284,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:54:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:54:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229284,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229284', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:54:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229284', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:54:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:54:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:54:25] Production.INFO: ==1986== Releasing lock...
[2025-01-12 04:54:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:54:25] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:55:01] Production.INFO: ==2050== Lock acquired, processing the job...
[2025-01-12 09:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:55:01] Production.INFO: neon service started
[2025-01-12 09:55:01] Production.INFO: neon service started
[2025-01-12 09:55:01] Production.INFO: ==2050== Releasing lock...
[2025-01-12 09:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:55:01] Production.INFO: ==2052== Lock acquired, processing the job...
[2025-01-12 04:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:55:02] Production.INFO: ==2052== Releasing lock...
[2025-01-12 04:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:55:02] Production.INFO: ==2054== Lock acquired, processing the job...
[2025-01-12 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:55:02] Production.INFO: ==2054== Releasing lock...
[2025-01-12 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:55:02] Production.INFO: ==2063== Lock acquired, processing the job...
[2025-01-12 04:55:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:55:02] Production.INFO: ==2067== Lock acquired, processing the job...
[2025-01-12 04:55:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:55:03] Production.INFO: ==2057== Lock acquired, processing the job...
[2025-01-12 04:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:55:03] Production.INFO: Account Balance Start.
[2025-01-12 04:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:55:03] Production.INFO: 117
[2025-01-12 04:55:03] Production.INFO: ==2059== Lock acquired, processing the job...
[2025-01-12 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:55:03] Production.INFO: count ==21
[2025-01-12 04:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 04:55:03] Production.INFO: ==2061== Lock acquired, processing the job...
[2025-01-12 04:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:55:03] Production.INFO: count ==21
[2025-01-12 04:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229286') start
[2025-01-12 04:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:55:03] Production.INFO: ==2065== Lock acquired, processing the job...
[2025-01-12 04:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:55:03] Production.INFO: Date 2025-01-12
[2025-01-12 04:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229286') end
[2025-01-12 04:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:55:03] Production.INFO: 1
[2025-01-12 04:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:55:03] Production.INFO: Total Charge 0
[2025-01-12 04:55:03] Production.INFO: CreateAllLog End
[2025-01-12 04:55:03] Production.INFO: ==2067== Releasing lock...
[2025-01-12 04:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:55:03] Production.ERROR: done
[2025-01-12 04:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:55:03] Production.INFO: Account Balance End.
[2025-01-12 04:55:03] Production.ERROR: CronJobId end 12
[2025-01-12 04:55:03] Production.INFO: ==2063== Releasing lock...
[2025-01-12 04:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:55:03] Production.ERROR: done
[2025-01-12 04:55:03] Production.INFO: ==2059== Releasing lock...
[2025-01-12 04:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:55:04
[end_date_ymd] => 2025-01-12 04:55:04
[RateCDR] => 1
)
[2025-01-12 04: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-01-12 01:55:04' and `end` < '2025-01-12 04: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-01-12 04:55:11] Production.ERROR: CronJobId end10
[2025-01-12 04:55:11] Production.INFO: ==2061== Releasing lock...
[2025-01-12 04:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:55:13] Production.INFO: call_cost start
[2025-01-12 04:55:13] Production.INFO: call_cost end
[2025-01-12 04:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:55:13] Production.INFO: ==2057== Releasing lock...
[2025-01-12 04:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:55:20] Production.INFO: count ==259
[2025-01-12 04:55:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:55:04 - End Time 2025-01-12 04:55:04
[2025-01-12 04:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229289', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229289', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229289', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229289', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:55:20] Production.INFO: ProcessCDR(1,14229289,1,1,2)
[2025-01-12 04:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229289', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229289', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:55:24] Production.INFO: ==2065== Releasing lock...
[2025-01-12 04:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:55:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:56:01] Production.INFO: ==2127== Lock acquired, processing the job...
[2025-01-12 09:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:56:01] Production.INFO: neon service started
[2025-01-12 09:56:01] Production.INFO: neon service started
[2025-01-12 09:56:01] Production.INFO: ==2127== Releasing lock...
[2025-01-12 09:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:56:02] Production.INFO: ==2129== Lock acquired, processing the job...
[2025-01-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 04:56:02] Production.INFO: ==2129== Releasing lock...
[2025-01-12 04:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:56:02] Production.INFO: ==2131== Lock acquired, processing the job...
[2025-01-12 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:56:02] Production.INFO: ==2131== Releasing lock...
[2025-01-12 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:56:03] Production.INFO: ==2136== Lock acquired, processing the job...
[2025-01-12 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:56:03] Production.INFO: ==2144== Lock acquired, processing the job...
[2025-01-12 04:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:56:03] Production.INFO: ==2136== Releasing lock...
[2025-01-12 04:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 04:56:03] Production.INFO: count ==21
[2025-01-12 04: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-01-12 04:56:03] Production.INFO: count ==21
[2025-01-12 04:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229291') start
[2025-01-12 04:56:03] Production.INFO: ==2134== Lock acquired, processing the job...
[2025-01-12 04:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:56:03] Production.INFO: ==2138== Lock acquired, processing the job...
[2025-01-12 04:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:56:03] Production.INFO: ==2140== Lock acquired, processing the job...
[2025-01-12 04:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:56:03] Production.INFO: ==2142== Lock acquired, processing the job...
[2025-01-12 04:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229291') end
[2025-01-12 04:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:56:03] Production.INFO: 1
[2025-01-12 04:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:56:03] Production.INFO: Account Balance Start.
[2025-01-12 04:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:56:03] Production.INFO: 117
[2025-01-12 04:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 04:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 04:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:56:04] Production.INFO: ==2144== Releasing lock...
[2025-01-12 04:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:56:04] Production.INFO: Total Charge 0
[2025-01-12 04:56:04] Production.INFO: CreateAllLog End
[2025-01-12 04:56:04] Production.ERROR: done
[2025-01-12 04:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:56:04] Production.ERROR: done
[2025-01-12 04:56:04] Production.INFO: Account Balance End.
[2025-01-12 04:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:56:04] Production.INFO: ==2140== Releasing lock...
[2025-01-12 04:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:56:05
[end_date_ymd] => 2025-01-12 04:56:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:56:05' and `end` < '2025-01-12 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-01-12 04:56:11] Production.ERROR: CronJobId end10
[2025-01-12 04:56:11] Production.INFO: ==2138== Releasing lock...
[2025-01-12 04:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:56:12] Production.INFO: call_cost start
[2025-01-12 04:56:12] Production.INFO: call_cost end
[2025-01-12 04:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:56:13] Production.INFO: ==2134== Releasing lock...
[2025-01-12 04:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:56:21] Production.INFO: count ==259
[2025-01-12 04:56:21] Production.ERROR: pbx CDR StartTime 2025-01-12 01:56:05 - End Time 2025-01-12 04:56:05
[2025-01-12 04:56:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229294', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229294', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229294', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:56:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229294', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:56:21] Production.INFO: ProcessCDR(1,14229294,1,1,2)
[2025-01-12 04:56:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229294', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229294', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:56:24] Production.INFO: ==2142== Releasing lock...
[2025-01-12 04:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:56:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:57:02] Production.INFO: ==2210== Lock acquired, processing the job...
[2025-01-12 09:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:57:02] Production.INFO: neon service started
[2025-01-12 09:57:02] Production.INFO: neon service started
[2025-01-12 09:57:02] Production.INFO: ==2210== Releasing lock...
[2025-01-12 09:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:57:02] Production.INFO: ==2215== Lock acquired, processing the job...
[2025-01-12 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 04:57:02] Production.INFO: ==2212== Lock acquired, processing the job...
[2025-01-12 04:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:57:02] Production.INFO: ==2215== Releasing lock...
[2025-01-12 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:57:03] Production.INFO: ==2212== Releasing lock...
[2025-01-12 04:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:57:03] Production.INFO: ==2219== Lock acquired, processing the job...
[2025-01-12 04:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:57:04] Production.INFO: ==2223== Lock acquired, processing the job...
[2025-01-12 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:57:04] Production.INFO: ==2227== Lock acquired, processing the job...
[2025-01-12 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:57:04] Production.INFO: Account Balance Start.
[2025-01-12 04:57:04] Production.INFO: CreateAllLog Start
[2025-01-12 04:57:04] Production.INFO: 117
[2025-01-12 04:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 04:57:04] Production.INFO: ==2225== Lock acquired, processing the job...
[2025-01-12 04:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:57:04] Production.INFO: ==2221== Lock acquired, processing the job...
[2025-01-12 04:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:57:04] Production.INFO: ==2217== Lock acquired, processing the job...
[2025-01-12 04:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 04:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:57:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:57:04] Production.INFO: count ==21
[2025-01-12 04:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229297') start
[2025-01-12 04:57:04] Production.INFO: ==2219== Releasing lock...
[2025-01-12 04:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229297') end
[2025-01-12 04:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:57:04] Production.INFO: 1
[2025-01-12 04:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:57:04] Production.INFO: Total Charge 0
[2025-01-12 04:57:04] Production.INFO: CreateAllLog End
[2025-01-12 04:57:04] Production.INFO: ==2227== Releasing lock...
[2025-01-12 04:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:57:04] Production.ERROR: done
[2025-01-12 04:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:57:04] Production.INFO: Account Balance End.
[2025-01-12 04:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:57:04] Production.INFO: ==2223== Releasing lock...
[2025-01-12 04:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:57:04] Production.ERROR: done
[2025-01-12 04:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:57:05
[end_date_ymd] => 2025-01-12 04:57:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:57:05' and `end` < '2025-01-12 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-01-12 04:57:11] Production.ERROR: CronJobId end10
[2025-01-12 04:57:11] Production.INFO: ==2221== Releasing lock...
[2025-01-12 04:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:57:13] Production.INFO: call_cost start
[2025-01-12 04:57:13] Production.INFO: call_cost end
[2025-01-12 04:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:57:14] Production.INFO: ==2217== Releasing lock...
[2025-01-12 04:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:57:21] Production.INFO: count ==259
[2025-01-12 04:57:21] Production.ERROR: pbx CDR StartTime 2025-01-12 01:57:05 - End Time 2025-01-12 04:57:05
[2025-01-12 04:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229299', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229299', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229299', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229299', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:57:21] Production.INFO: ProcessCDR(1,14229299,1,1,2)
[2025-01-12 04:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:57:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229299', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229299', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:57:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:57:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:57:25] Production.INFO: ==2225== Releasing lock...
[2025-01-12 04:57:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:57:25] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:58:01] Production.INFO: ==2286== Lock acquired, processing the job...
[2025-01-12 09:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:58:01] Production.INFO: neon service started
[2025-01-12 09:58:01] Production.INFO: neon service started
[2025-01-12 09:58:01] Production.INFO: ==2286== Releasing lock...
[2025-01-12 09:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:58:02] Production.INFO: ==2288== Lock acquired, processing the job...
[2025-01-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:58:02] Production.INFO: ==2290== Lock acquired, processing the job...
[2025-01-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:58:02] Production.INFO: ==2290== Releasing lock...
[2025-01-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:58:02] Production.INFO: ==2288== Releasing lock...
[2025-01-12 04:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:58:03] Production.INFO: ==2293== Lock acquired, processing the job...
[2025-01-12 04:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:58:03] Production.INFO: ==2301== Lock acquired, processing the job...
[2025-01-12 04:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:58:03] Production.INFO: ==2295== Lock acquired, processing the job...
[2025-01-12 04:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:58:03] Production.INFO: ==2297== Lock acquired, processing the job...
[2025-01-12 04:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:58:03] Production.INFO: ==2299== Lock acquired, processing the job...
[2025-01-12 04:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:58:03] Production.ERROR: done
[2025-01-12 04:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 04:58:03] Production.INFO: ==2303== Lock acquired, processing the job...
[2025-01-12 04:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:58:03] Production.INFO: Account Balance Start.
[2025-01-12 04:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:58:03] Production.INFO: 117
[2025-01-12 04:58:03] Production.ERROR: done
[2025-01-12 04:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:58:04] Production.INFO: ==2295== Releasing lock...
[2025-01-12 04:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:58:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:58:04] Production.INFO: count ==21
[2025-01-12 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229304') start
[2025-01-12 04:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:58:04] Production.INFO: Total Charge 0
[2025-01-12 04:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229304') end
[2025-01-12 04:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:58:04] Production.INFO: 1
[2025-01-12 04:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:58:04] Production.INFO: CreateAllLog End
[2025-01-12 04:58:04] Production.INFO: ==2303== Releasing lock...
[2025-01-12 04:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:58:04] Production.INFO: Account Balance End.
[2025-01-12 04:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:58:04] Production.INFO: ==2299== Releasing lock...
[2025-01-12 04:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:58:05
[end_date_ymd] => 2025-01-12 04:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:58:05' and `end` < '2025-01-12 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-01-12 04:58:11] Production.ERROR: CronJobId end10
[2025-01-12 04:58:11] Production.INFO: ==2297== Releasing lock...
[2025-01-12 04:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:58:13] Production.INFO: call_cost start
[2025-01-12 04:58:13] Production.INFO: call_cost end
[2025-01-12 04:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:58:14] Production.INFO: ==2293== Releasing lock...
[2025-01-12 04:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:58:20] Production.INFO: count ==259
[2025-01-12 04:58:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:58:05 - End Time 2025-01-12 04:58:05
[2025-01-12 04:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229303', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229303', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229303', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229303', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:58:20] Production.INFO: ProcessCDR(1,14229303,1,1,2)
[2025-01-12 04:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229303', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229303', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:58:23] Production.INFO: ==2301== Releasing lock...
[2025-01-12 04:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:58:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 09:59:02] Production.INFO: ==2361== Lock acquired, processing the job...
[2025-01-12 09:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 09:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 09:59:02] Production.INFO: neon service started
[2025-01-12 09:59:02] Production.INFO: neon service started
[2025-01-12 09:59:02] Production.INFO: ==2361== Releasing lock...
[2025-01-12 09:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 09:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 04:59:02] Production.INFO: ==2363== Lock acquired, processing the job...
[2025-01-12 04:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:59:02] Production.INFO: ==2365== Lock acquired, processing the job...
[2025-01-12 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:59:02] Production.INFO: ==2365== Releasing lock...
[2025-01-12 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 09:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 04:59:03] Production.INFO: ==2363== Releasing lock...
[2025-01-12 04:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 04:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 04:59:03] Production.INFO: ==2368== Lock acquired, processing the job...
[2025-01-12 04:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 04:59:03] Production.INFO: ==2374== Lock acquired, processing the job...
[2025-01-12 04:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 04:59:03] Production.INFO: ==2376== Lock acquired, processing the job...
[2025-01-12 04:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 04:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 04:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 04:59:03] Production.INFO: Account Balance Start.
[2025-01-12 04:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 04:59:03] Production.INFO: 117
[2025-01-12 04:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 04:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 04:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:59:04] Production.INFO: ==2370== Lock acquired, processing the job...
[2025-01-12 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 04:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:59:04] Production.INFO: ==2372== Lock acquired, processing the job...
[2025-01-12 04:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 04:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 04:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 04:59:04] Production.INFO: ==2378== Lock acquired, processing the job...
[2025-01-12 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 04:59:04] Production.INFO: Total Charge 0
[2025-01-12 04:59:04] Production.INFO: CreateAllLog End
[2025-01-12 04:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 04:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 04:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 04:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 04:59:04] Production.ERROR: done
[2025-01-12 04:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 04:59:04] Production.INFO: ==2370== Releasing lock...
[2025-01-12 04:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 04:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 04:59:04] Production.ERROR: done
[2025-01-12 04:59:04] Production.INFO: count ==21
[2025-01-12 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-01-12 04:59:04] Production.INFO: count ==21
[2025-01-12 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229308') start
[2025-01-12 04:59:04] Production.INFO: Account Balance End.
[2025-01-12 04:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229308') end
[2025-01-12 04:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 04:59:04] Production.INFO: 1
[2025-01-12 04:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 04:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 04:59:04] Production.INFO: ==2374== Releasing lock...
[2025-01-12 04:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 04:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 04:59:04] Production.INFO: ==2378== Releasing lock...
[2025-01-12 04:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 04:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 04:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 01:59:05
[end_date_ymd] => 2025-01-12 04:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 01:59:05' and `end` < '2025-01-12 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-01-12 04:59:11] Production.ERROR: CronJobId end10
[2025-01-12 04:59:11] Production.INFO: ==2372== Releasing lock...
[2025-01-12 04:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 04:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 04:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 04:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 04:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 04:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 04:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 04:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 04:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 04:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 04:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 04:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 04:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 04:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 04:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 04:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 04:59:13] Production.INFO: call_cost start
[2025-01-12 04:59:13] Production.INFO: call_cost end
[2025-01-12 04:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 04:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 04:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 04:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 04:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 04:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 04:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 04:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 04:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 04:59:14] Production.INFO: ==2368== Releasing lock...
[2025-01-12 04:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 04:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 04:59:20] Production.INFO: count ==259
[2025-01-12 04:59:20] Production.ERROR: pbx CDR StartTime 2025-01-12 01:59:05 - End Time 2025-01-12 04:59:05
[2025-01-12 04:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229309', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229309', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229309', 'tblTempVendorCDR_20' ) start
[2025-01-12 04:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229309', 'tblTempVendorCDR_20' ) end
[2025-01-12 04:59:20] Production.INFO: ProcessCDR(1,14229309,1,1,2)
[2025-01-12 04:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 04:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229309', 'tblTempUsageDetail_20' ) start
[2025-01-12 04:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229309', 'tblTempUsageDetail_20' ) end
[2025-01-12 04:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 04:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 04:59:23] Production.INFO: ==2376== Releasing lock...
[2025-01-12 04:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 04:59:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:00:01] Production.INFO: ==2437== Lock acquired, processing the job...
[2025-01-12 10:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:00:01] Production.INFO: neon service started
[2025-01-12 10:00:01] Production.INFO: neon service started
[2025-01-12 10:00:01] Production.INFO: ==2437== Releasing lock...
[2025-01-12 10:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:00:01] Production.INFO: ==2439== Lock acquired, processing the job...
[2025-01-12 05:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:00:02] Production.INFO: ==2441== Lock acquired, processing the job...
[2025-01-12 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:00:02] Production.INFO: ==2439== Releasing lock...
[2025-01-12 05:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:00:02] Production.INFO: ==2441== Releasing lock...
[2025-01-12 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:00:03] Production.INFO: ==2443== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 05:00:03] Production.INFO: ==2445== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 05:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 05:00:03] Production.INFO: ==2443== Releasing lock...
[2025-01-12 05:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 05:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:00:03] Production.INFO: ==2447== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:00:03] Production.INFO: ==2451== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:00:03] Production.INFO: ==2449== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:00:03] Production.INFO: ==2453== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:00:03] Production.INFO: ==2456== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 05:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:00:03] Production.INFO: Account Balance Start.
[2025-01-12 05:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:00:03] Production.INFO: 117
[2025-01-12 05:00:03] Production.INFO: ==2458== Lock acquired, processing the job...
[2025-01-12 05:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:00:03] Production.INFO: ==2447== Releasing lock...
[2025-01-12 05:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:00:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:00:04] Production.ERROR: done
[2025-01-12 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-01-12 05:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:00:04] Production.INFO: count ==21
[2025-01-12 05:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 05:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229314', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 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-01-12 05:00:04] Production.INFO: count ==21
[2025-01-12 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229313') start
[2025-01-12 05:00:04] Production.ERROR: done
[2025-01-12 05:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:00:04] Production.ERROR: done
[2025-01-12 05:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229313') end
[2025-01-12 05:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:00:04] Production.INFO: 1
[2025-01-12 05:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:00:04] Production.INFO: Total Charge 0
[2025-01-12 05:00:04] Production.INFO: ==2458== Releasing lock...
[2025-01-12 05:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:00:04] Production.INFO: CreateAllLog End
[2025-01-12 05:00:04] Production.INFO: Account Balance End.
[2025-01-12 05:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:00:04] Production.INFO: ==2451== Releasing lock...
[2025-01-12 05:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:00:05
[end_date_ymd] => 2025-01-12 05:00:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:00:05' and `end` < '2025-01-12 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-01-12 05:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229314', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 05:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 05:00:08] Production.INFO: ProcessCDR(1,14229314,1,1,2)
[2025-01-12 05:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229314,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229314,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:00:08] Production.INFO: ==2456== Releasing lock...
[2025-01-12 05:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 05:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 05:00:13] Production.ERROR: CronJobId end10
[2025-01-12 05:00:13] Production.INFO: ==2449== Releasing lock...
[2025-01-12 05:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:00:15] Production.INFO: call_cost start
[2025-01-12 05:00:15] Production.INFO: call_cost end
[2025-01-12 05:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:00:15] Production.INFO: ==2445== Releasing lock...
[2025-01-12 05:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:00:21] Production.INFO: count ==254
[2025-01-12 05:00:21] Production.ERROR: pbx CDR StartTime 2025-01-12 02:00:05 - End Time 2025-01-12 05:00:05
[2025-01-12 05:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229315', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229315', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229315', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229315', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:00:21] Production.INFO: ProcessCDR(1,14229315,1,1,2)
[2025-01-12 05:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229315,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229315,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229315', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229315', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:00:24] Production.INFO: ==2453== Releasing lock...
[2025-01-12 05:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:00:24] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:01:01] Production.INFO: ==2518== Lock acquired, processing the job...
[2025-01-12 10:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:01:02] Production.INFO: neon service started
[2025-01-12 10:01:02] Production.INFO: neon service started
[2025-01-12 10:01:02] Production.INFO: ==2518== Releasing lock...
[2025-01-12 10:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:01:02] Production.INFO: ==2530== Lock acquired, processing the job...
[2025-01-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:01:02] Production.INFO: ==2530== Releasing lock...
[2025-01-12 05:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:01:02] Production.INFO: ==2532== Lock acquired, processing the job...
[2025-01-12 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:01:02] Production.INFO: ==2532== Releasing lock...
[2025-01-12 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:01:03] Production.INFO: ==2535== Lock acquired, processing the job...
[2025-01-12 05:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:01:03] Production.INFO: ==2539== Lock acquired, processing the job...
[2025-01-12 05:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:01:03] Production.INFO: ==2541== Lock acquired, processing the job...
[2025-01-12 05:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:01:03] Production.INFO: Account Balance Start.
[2025-01-12 05:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:01:03] Production.INFO: 117
[2025-01-12 05:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:01:03] Production.INFO: ==2537== Lock acquired, processing the job...
[2025-01-12 05:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:01:03] Production.INFO: ==2543== Lock acquired, processing the job...
[2025-01-12 05:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:01:03] Production.INFO: Total Charge 0
[2025-01-12 05:01:03] Production.INFO: CreateAllLog End
[2025-01-12 05:01:03] Production.INFO: ==2545== Lock acquired, processing the job...
[2025-01-12 05:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05: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-01-12 05:01:04] Production.INFO: count ==21
[2025-01-12 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-01-12 05:01:04] Production.INFO: count ==21
[2025-01-12 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229319') start
[2025-01-12 05:01:04] Production.INFO: ==2537== Releasing lock...
[2025-01-12 05:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:01:04] Production.ERROR: done
[2025-01-12 05:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:01:04] Production.INFO: Account Balance End.
[2025-01-12 05:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229319') end
[2025-01-12 05:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:01:04] Production.INFO: 1
[2025-01-12 05:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:01:04] Production.INFO: ==2541== Releasing lock...
[2025-01-12 05:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:01:04] Production.INFO: ==2545== Releasing lock...
[2025-01-12 05:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:01:04] Production.ERROR: done
[2025-01-12 05:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:01:05
[end_date_ymd] => 2025-01-12 05:01:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:01:05' and `end` < '2025-01-12 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-01-12 05:01:11] Production.ERROR: CronJobId end10
[2025-01-12 05:01:11] Production.INFO: ==2539== Releasing lock...
[2025-01-12 05:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:01:14] Production.INFO: call_cost start
[2025-01-12 05:01:14] Production.INFO: call_cost end
[2025-01-12 05:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:01:15] Production.INFO: ==2535== Releasing lock...
[2025-01-12 05:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:01:22] Production.INFO: count ==242
[2025-01-12 05:01:22] Production.ERROR: pbx CDR StartTime 2025-01-12 02:01:05 - End Time 2025-01-12 05:01:05
[2025-01-12 05:01:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229320', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229320', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229320', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:01:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229320', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:01:22] Production.INFO: ProcessCDR(1,14229320,1,1,2)
[2025-01-12 05:01:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:01:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229320,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:01:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:01:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229320,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229320', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:01:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229320', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:01:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:01:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:01:25] Production.INFO: ==2543== Releasing lock...
[2025-01-12 05:01:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:01:25] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:02:01] Production.INFO: ==2603== Lock acquired, processing the job...
[2025-01-12 10:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:02:01] Production.INFO: neon service started
[2025-01-12 10:02:01] Production.INFO: neon service started
[2025-01-12 10:02:01] Production.INFO: ==2603== Releasing lock...
[2025-01-12 10:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:02:01] Production.INFO: ==2607== Lock acquired, processing the job...
[2025-01-12 10:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:02:01] Production.INFO: ==2607== Releasing lock...
[2025-01-12 10:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:02:01] Production.INFO: ==2605== Lock acquired, processing the job...
[2025-01-12 05:02:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:02:02] Production.INFO: ==2605== Releasing lock...
[2025-01-12 05:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:02:02] Production.INFO: ==2615== Lock acquired, processing the job...
[2025-01-12 05:02:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:02:03] Production.INFO: Account Balance Start.
[2025-01-12 05:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:02:03] Production.INFO: 117
[2025-01-12 05:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:02:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:02:03] Production.INFO: ==2619== Lock acquired, processing the job...
[2025-01-12 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:02:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:02:03] Production.INFO: ==2609== Lock acquired, processing the job...
[2025-01-12 05:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:02:03] Production.INFO: Total Charge 0
[2025-01-12 05:02:03] Production.INFO: ==2611== Lock acquired, processing the job...
[2025-01-12 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:02:03] Production.INFO: CreateAllLog End
[2025-01-12 05:02:03] Production.INFO: ==2613== Lock acquired, processing the job...
[2025-01-12 05:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 05:02:03] Production.INFO: count ==21
[2025-01-12 05:02:03] Production.INFO: ==2617== Lock acquired, processing the job...
[2025-01-12 05:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 05:02:03] Production.INFO: count ==21
[2025-01-12 05:02:03] Production.INFO: Account Balance End.
[2025-01-12 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229322') start
[2025-01-12 05:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:02:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:02:03] Production.INFO: ==2615== Releasing lock...
[2025-01-12 05:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229322') end
[2025-01-12 05:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:02:03] Production.INFO: 1
[2025-01-12 05:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:02:03] Production.INFO: ==2619== Releasing lock...
[2025-01-12 05:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:02:03] Production.INFO: ==2611== Releasing lock...
[2025-01-12 05:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:02:03] Production.ERROR: done
[2025-01-12 05:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:02:03] Production.ERROR: done
[2025-01-12 05:02:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:02:04
[end_date_ymd] => 2025-01-12 05:02:04
[RateCDR] => 1
)
[2025-01-12 05:02: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-01-12 02:02:04' and `end` < '2025-01-12 05:02: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-01-12 05:02:11] Production.ERROR: CronJobId end10
[2025-01-12 05:02:11] Production.INFO: ==2613== Releasing lock...
[2025-01-12 05:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:02:12] Production.INFO: call_cost start
[2025-01-12 05:02:12] Production.INFO: call_cost end
[2025-01-12 05:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:02:13] Production.INFO: ==2609== Releasing lock...
[2025-01-12 05:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:02:19] Production.INFO: count ==241
[2025-01-12 05:02:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:02:04 - End Time 2025-01-12 05:02:04
[2025-01-12 05:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229325', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229325', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229325', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229325', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:02:19] Production.INFO: ProcessCDR(1,14229325,1,1,2)
[2025-01-12 05:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229325,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229325,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229325', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229325', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:02:22] Production.INFO: ==2617== Releasing lock...
[2025-01-12 05:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:02:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:03:01] Production.INFO: ==2680== Lock acquired, processing the job...
[2025-01-12 10:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:03:01] Production.INFO: neon service started
[2025-01-12 10:03:01] Production.INFO: neon service started
[2025-01-12 10:03:01] Production.INFO: ==2680== Releasing lock...
[2025-01-12 10:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:03:02] Production.INFO: ==2682== Lock acquired, processing the job...
[2025-01-12 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:03:02] Production.INFO: ==2682== Releasing lock...
[2025-01-12 05:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:03:02] Production.INFO: ==2684== Lock acquired, processing the job...
[2025-01-12 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:03:02] Production.INFO: ==2684== Releasing lock...
[2025-01-12 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:03:03] Production.INFO: ==2686== Lock acquired, processing the job...
[2025-01-12 05:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:03:03] Production.INFO: ==2688== Lock acquired, processing the job...
[2025-01-12 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:03:03] Production.INFO: ==2696== Lock acquired, processing the job...
[2025-01-12 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 05:03:03] Production.INFO: ==2688== Releasing lock...
[2025-01-12 05:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:03:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:03:03] Production.INFO: count ==21
[2025-01-12 05:03:03] Production.INFO: ==2690== Lock acquired, processing the job...
[2025-01-12 05:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229328') start
[2025-01-12 05:03:03] Production.INFO: ==2692== Lock acquired, processing the job...
[2025-01-12 05:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:03:03] Production.INFO: ==2694== Lock acquired, processing the job...
[2025-01-12 05:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229328') end
[2025-01-12 05:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:03:03] Production.INFO: 1
[2025-01-12 05:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:03:03] Production.INFO: ==2696== Releasing lock...
[2025-01-12 05:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:03:03] Production.INFO: Account Balance Start.
[2025-01-12 05:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:03:03] Production.INFO: 117
[2025-01-12 05:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:03:04] Production.ERROR: done
[2025-01-12 05:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:03:04] Production.INFO: Total Charge 0
[2025-01-12 05:03:04] Production.INFO: CreateAllLog End
[2025-01-12 05:03:04] Production.ERROR: done
[2025-01-12 05:03:04] Production.INFO: Account Balance End.
[2025-01-12 05:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:03:04] Production.INFO: ==2692== Releasing lock...
[2025-01-12 05:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:03:05
[end_date_ymd] => 2025-01-12 05:03:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:03:05' and `end` < '2025-01-12 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-01-12 05:03:10] Production.ERROR: CronJobId end10
[2025-01-12 05:03:10] Production.INFO: ==2690== Releasing lock...
[2025-01-12 05:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:03:12] Production.INFO: call_cost start
[2025-01-12 05:03:12] Production.INFO: call_cost end
[2025-01-12 05:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:03:13] Production.INFO: ==2686== Releasing lock...
[2025-01-12 05:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:03:21] Production.INFO: count ==240
[2025-01-12 05:03:21] Production.ERROR: pbx CDR StartTime 2025-01-12 02:03:05 - End Time 2025-01-12 05:03:05
[2025-01-12 05:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229330', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229330', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229330', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229330', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:03:21] Production.INFO: ProcessCDR(1,14229330,1,1,2)
[2025-01-12 05:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229330,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229330,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229330', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229330', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:03:24] Production.INFO: ==2694== Releasing lock...
[2025-01-12 05:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:03:24] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:04:02] Production.INFO: ==2757== Lock acquired, processing the job...
[2025-01-12 10:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:04:02] Production.INFO: neon service started
[2025-01-12 10:04:02] Production.INFO: neon service started
[2025-01-12 10:04:02] Production.INFO: ==2757== Releasing lock...
[2025-01-12 10:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:04:02] Production.INFO: ==2759== Lock acquired, processing the job...
[2025-01-12 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:04:02] Production.INFO: ==2759== Releasing lock...
[2025-01-12 05:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:04:02] Production.INFO: ==2761== Lock acquired, processing the job...
[2025-01-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:04:02] Production.INFO: ==2761== Releasing lock...
[2025-01-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:04:03] Production.INFO: ==2763== Lock acquired, processing the job...
[2025-01-12 05:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:04:03] Production.INFO: ==2767== Lock acquired, processing the job...
[2025-01-12 05:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:04:03] Production.INFO: ==2774== Lock acquired, processing the job...
[2025-01-12 05:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 05:04:03] Production.INFO: count ==21
[2025-01-12 05:04:03] Production.INFO: ==2765== Lock acquired, processing the job...
[2025-01-12 05:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 05:04:03] Production.INFO: count ==21
[2025-01-12 05:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229332') start
[2025-01-12 05:04:03] Production.INFO: ==2770== Lock acquired, processing the job...
[2025-01-12 05:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:04:03] Production.INFO: ==2772== Lock acquired, processing the job...
[2025-01-12 05:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229332') end
[2025-01-12 05:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:04:04] Production.INFO: 1
[2025-01-12 05:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:04:04] Production.INFO: Account Balance Start.
[2025-01-12 05:04:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:04:04] Production.INFO: 117
[2025-01-12 05:04:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:04:04] Production.INFO: ==2774== Releasing lock...
[2025-01-12 05:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:04:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:04:04] Production.ERROR: done
[2025-01-12 05:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:04:04] Production.INFO: Total Charge 0
[2025-01-12 05:04:04] Production.INFO: CreateAllLog End
[2025-01-12 05:04:04] Production.INFO: ==2765== Releasing lock...
[2025-01-12 05:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:04:04] Production.ERROR: done
[2025-01-12 05:04:04] Production.INFO: Account Balance End.
[2025-01-12 05:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:04:04] Production.INFO: ==2770== Releasing lock...
[2025-01-12 05:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:04:05
[end_date_ymd] => 2025-01-12 05:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:04:05' and `end` < '2025-01-12 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-01-12 05:04:11] Production.ERROR: CronJobId end10
[2025-01-12 05:04:11] Production.INFO: ==2767== Releasing lock...
[2025-01-12 05:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:04:13] Production.INFO: call_cost start
[2025-01-12 05:04:13] Production.INFO: call_cost end
[2025-01-12 05:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:04:14] Production.INFO: ==2763== Releasing lock...
[2025-01-12 05:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:04:19] Production.INFO: count ==240
[2025-01-12 05:04:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:04:05 - End Time 2025-01-12 05:04:05
[2025-01-12 05:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229335', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229335', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229335', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229335', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:04:19] Production.INFO: ProcessCDR(1,14229335,1,1,2)
[2025-01-12 05:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229335,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229335,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229335', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229335', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:04:22] Production.INFO: ==2772== Releasing lock...
[2025-01-12 05:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:04:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:05:01] Production.INFO: ==2833== Lock acquired, processing the job...
[2025-01-12 10:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:05:01] Production.INFO: neon service started
[2025-01-12 10:05:01] Production.INFO: neon service started
[2025-01-12 10:05:01] Production.INFO: ==2833== Releasing lock...
[2025-01-12 10:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:05:02] Production.INFO: ==2835== Lock acquired, processing the job...
[2025-01-12 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:05:02] Production.INFO: ==2835== Releasing lock...
[2025-01-12 05:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:05:02] Production.INFO: ==2837== Lock acquired, processing the job...
[2025-01-12 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:05:02] Production.INFO: ==2837== Releasing lock...
[2025-01-12 10:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:05:03] Production.INFO: ==2844== Lock acquired, processing the job...
[2025-01-12 05:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:05:03] Production.INFO: ==2850== Lock acquired, processing the job...
[2025-01-12 05:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:05:03] Production.INFO: ==2840== Lock acquired, processing the job...
[2025-01-12 05:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:05:03] Production.INFO: ==2842== Lock acquired, processing the job...
[2025-01-12 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:05:03] Production.INFO: ==2846== Lock acquired, processing the job...
[2025-01-12 05:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:05:03] Production.INFO: ==2848== Lock acquired, processing the job...
[2025-01-12 05:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:05:03] Production.INFO: Account Balance Start.
[2025-01-12 05:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:05:03] Production.INFO: 117
[2025-01-12 05:05:03] Production.INFO: count ==21
[2025-01-12 05:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:05:03] Production.INFO: count ==21
[2025-01-12 05:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229337') start
[2025-01-12 05:05:03] Production.INFO: ==2842== Releasing lock...
[2025-01-12 05:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229337') end
[2025-01-12 05:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:05:03] Production.INFO: 1
[2025-01-12 05:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:05:03] Production.ERROR: done
[2025-01-12 05:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:05:04] Production.INFO: ==2850== Releasing lock...
[2025-01-12 05:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:05:04] Production.ERROR: done
[2025-01-12 05:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:05:04] Production.INFO: Total Charge 0
[2025-01-12 05:05:04] Production.INFO: CreateAllLog End
[2025-01-12 05:05:04] Production.INFO: Account Balance End.
[2025-01-12 05:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:05:04] Production.INFO: ==2846== Releasing lock...
[2025-01-12 05:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:05:05
[end_date_ymd] => 2025-01-12 05:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:05:05' and `end` < '2025-01-12 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-01-12 05:05:10] Production.ERROR: CronJobId end10
[2025-01-12 05:05:10] Production.INFO: ==2844== Releasing lock...
[2025-01-12 05:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:05:12] Production.INFO: call_cost start
[2025-01-12 05:05:12] Production.INFO: call_cost end
[2025-01-12 05:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:05:13] Production.INFO: ==2840== Releasing lock...
[2025-01-12 05:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:05:19] Production.INFO: count ==240
[2025-01-12 05:05:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:05:05 - End Time 2025-01-12 05:05:05
[2025-01-12 05:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229340', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229340', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229340', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229340', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:05:19] Production.INFO: ProcessCDR(1,14229340,1,1,2)
[2025-01-12 05:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229340', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229340', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:05:22] Production.INFO: ==2848== Releasing lock...
[2025-01-12 05:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:05:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:06:02] Production.INFO: ==2908== Lock acquired, processing the job...
[2025-01-12 10:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:06:02] Production.INFO: neon service started
[2025-01-12 10:06:02] Production.INFO: neon service started
[2025-01-12 10:06:02] Production.INFO: ==2908== Releasing lock...
[2025-01-12 10:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:06:02] Production.INFO: ==2911== Lock acquired, processing the job...
[2025-01-12 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:06:02] Production.INFO: ==2911== Releasing lock...
[2025-01-12 05:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:06:02] Production.INFO: ==2913== Lock acquired, processing the job...
[2025-01-12 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:06:03] Production.INFO: ==2913== Releasing lock...
[2025-01-12 10:06:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:06:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:06:03] Production.INFO: ==2923== Lock acquired, processing the job...
[2025-01-12 05:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:06:03] Production.INFO: ==2915== Lock acquired, processing the job...
[2025-01-12 05:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:06:03] Production.INFO: ==2919== Lock acquired, processing the job...
[2025-01-12 05:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:06:03] Production.INFO: ==2917== Lock acquired, processing the job...
[2025-01-12 05:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:06:03] Production.INFO: ==2921== Lock acquired, processing the job...
[2025-01-12 05:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:06:03] Production.INFO: ==2925== Lock acquired, processing the job...
[2025-01-12 05:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:06:03] Production.INFO: Account Balance Start.
[2025-01-12 05:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:06:03] Production.INFO: 117
[2025-01-12 05:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 05: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-01-12 05:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:06:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:06:04] Production.INFO: count ==21
[2025-01-12 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229344') start
[2025-01-12 05:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:06:04] Production.ERROR: done
[2025-01-12 05:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:06:04] Production.INFO: ==2917== Releasing lock...
[2025-01-12 05:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229344') end
[2025-01-12 05:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:06:04] Production.INFO: 1
[2025-01-12 05:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:06:04] Production.INFO: ==2925== Releasing lock...
[2025-01-12 05:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:06:04] Production.ERROR: done
[2025-01-12 05:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:06:04] Production.INFO: Total Charge 0
[2025-01-12 05:06:04] Production.INFO: CreateAllLog End
[2025-01-12 05:06:04] Production.INFO: Account Balance End.
[2025-01-12 05:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:06:04] Production.INFO: ==2921== Releasing lock...
[2025-01-12 05:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:06:05
[end_date_ymd] => 2025-01-12 05:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:06:05' and `end` < '2025-01-12 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-01-12 05:06:10] Production.ERROR: CronJobId end10
[2025-01-12 05:06:10] Production.INFO: ==2919== Releasing lock...
[2025-01-12 05:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:06:13] Production.INFO: call_cost start
[2025-01-12 05:06:13] Production.INFO: call_cost end
[2025-01-12 05:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:06:14] Production.INFO: ==2915== Releasing lock...
[2025-01-12 05:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:06:20] Production.INFO: count ==240
[2025-01-12 05:06:20] Production.ERROR: pbx CDR StartTime 2025-01-12 02:06:05 - End Time 2025-01-12 05:06:05
[2025-01-12 05:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229345', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229345', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229345', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229345', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:06:20] Production.INFO: ProcessCDR(1,14229345,1,1,2)
[2025-01-12 05:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229345', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229345', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:06:23] Production.INFO: ==2923== Releasing lock...
[2025-01-12 05:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:06:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:07:01] Production.INFO: ==2986== Lock acquired, processing the job...
[2025-01-12 10:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:07:01] Production.INFO: neon service started
[2025-01-12 10:07:01] Production.INFO: neon service started
[2025-01-12 10:07:01] Production.INFO: ==2986== Releasing lock...
[2025-01-12 10:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:07:01] Production.INFO: ==2988== Lock acquired, processing the job...
[2025-01-12 05:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:07:02] Production.INFO: ==2988== Releasing lock...
[2025-01-12 05:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:07:02] Production.INFO: ==2990== Lock acquired, processing the job...
[2025-01-12 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:07:02] Production.INFO: ==2990== Releasing lock...
[2025-01-12 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:07:03] Production.INFO: ==3000== Lock acquired, processing the job...
[2025-01-12 05:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:07:03] Production.INFO: ==2994== Lock acquired, processing the job...
[2025-01-12 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:07:03] Production.INFO: ==2992== Lock acquired, processing the job...
[2025-01-12 05:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:07:03] Production.INFO: ==3002== Lock acquired, processing the job...
[2025-01-12 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:07:03] Production.INFO: ==2996== Lock acquired, processing the job...
[2025-01-12 05:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:07:03] Production.INFO: ==2998== Lock acquired, processing the job...
[2025-01-12 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 05:07:03] Production.INFO: Account Balance Start.
[2025-01-12 05:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:07:03] Production.INFO: 117
[2025-01-12 05:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:07:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:07:03] Production.INFO: count ==21
[2025-01-12 05:07:03] Production.ERROR: done
[2025-01-12 05:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229348') start
[2025-01-12 05:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:07:03] Production.INFO: ==2994== Releasing lock...
[2025-01-12 05:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:07:03] Production.ERROR: done
[2025-01-12 05:07:03] Production.INFO: Total Charge 0
[2025-01-12 05:07:03] Production.INFO: CreateAllLog End
[2025-01-12 05:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229348') end
[2025-01-12 05:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:07:03] Production.INFO: 1
[2025-01-12 05:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:07:03] Production.INFO: ==3002== Releasing lock...
[2025-01-12 05:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:07:03] Production.INFO: Account Balance End.
[2025-01-12 05:07:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:07:03] Production.INFO: ==2998== Releasing lock...
[2025-01-12 05:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:07:04
[end_date_ymd] => 2025-01-12 05:07:04
[RateCDR] => 1
)
[2025-01-12 05:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:07:04' and `end` < '2025-01-12 05:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:07:10] Production.ERROR: CronJobId end10
[2025-01-12 05:07:10] Production.INFO: ==2996== Releasing lock...
[2025-01-12 05:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:07:13] Production.INFO: call_cost start
[2025-01-12 05:07:13] Production.INFO: call_cost end
[2025-01-12 05:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:07:14] Production.INFO: ==2992== Releasing lock...
[2025-01-12 05:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:07:24] Production.INFO: count ==240
[2025-01-12 05:07:24] Production.ERROR: pbx CDR StartTime 2025-01-12 02:07:04 - End Time 2025-01-12 05:07:04
[2025-01-12 05:07:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229350', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229350', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229350', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:07:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229350', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:07:24] Production.INFO: ProcessCDR(1,14229350,1,1,2)
[2025-01-12 05:07:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:07:25] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:07:25] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:07:27] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229350', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:07:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229350', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:07:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:07:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:07:28] Production.INFO: ==3000== Releasing lock...
[2025-01-12 05:07:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:07:28] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:08:01] Production.INFO: ==3070== Lock acquired, processing the job...
[2025-01-12 10:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:08:01] Production.INFO: neon service started
[2025-01-12 10:08:01] Production.INFO: neon service started
[2025-01-12 10:08:01] Production.INFO: ==3070== Releasing lock...
[2025-01-12 10:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:08:02] Production.INFO: ==3074== Lock acquired, processing the job...
[2025-01-12 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:08:02] Production.INFO: ==3074== Releasing lock...
[2025-01-12 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:08:02] Production.INFO: ==3072== Lock acquired, processing the job...
[2025-01-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:08:02] Production.INFO: ==3072== Releasing lock...
[2025-01-12 05:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:08:03] Production.INFO: ==3076== Lock acquired, processing the job...
[2025-01-12 05:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:08:03] Production.INFO: ==3086== Lock acquired, processing the job...
[2025-01-12 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05: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-01-12 05:08:03] Production.INFO: count ==21
[2025-01-12 05: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-01-12 05:08:03] Production.INFO: count ==21
[2025-01-12 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229352') start
[2025-01-12 05:08:03] Production.INFO: ==3078== Lock acquired, processing the job...
[2025-01-12 05:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:08:03] Production.INFO: ==3080== Lock acquired, processing the job...
[2025-01-12 05:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:08:03] Production.INFO: ==3082== Lock acquired, processing the job...
[2025-01-12 05:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229352') end
[2025-01-12 05:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:08:03] Production.INFO: 1
[2025-01-12 05:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:08:03] Production.INFO: ==3084== Lock acquired, processing the job...
[2025-01-12 05:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:08:03] Production.INFO: ==3086== Releasing lock...
[2025-01-12 05:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:08:03] Production.INFO: Account Balance Start.
[2025-01-12 05:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:08:03] Production.INFO: 117
[2025-01-12 05:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:08:04] Production.INFO: Total Charge 0
[2025-01-12 05:08:04] Production.INFO: CreateAllLog End
[2025-01-12 05:08:04] Production.ERROR: done
[2025-01-12 05:08:04] Production.INFO: ==3078== Releasing lock...
[2025-01-12 05:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:08:04] Production.ERROR: done
[2025-01-12 05:08:04] Production.INFO: Account Balance End.
[2025-01-12 05:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:08:04] Production.INFO: ==3082== Releasing lock...
[2025-01-12 05:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:08:05
[end_date_ymd] => 2025-01-12 05:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:08:05' and `end` < '2025-01-12 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-01-12 05:08:11] Production.ERROR: CronJobId end10
[2025-01-12 05:08:11] Production.INFO: ==3080== Releasing lock...
[2025-01-12 05:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:08:14] Production.INFO: call_cost start
[2025-01-12 05:08:14] Production.INFO: call_cost end
[2025-01-12 05:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:08:14] Production.INFO: ==3076== Releasing lock...
[2025-01-12 05:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:08:20] Production.INFO: count ==240
[2025-01-12 05:08:20] Production.ERROR: pbx CDR StartTime 2025-01-12 02:08:05 - End Time 2025-01-12 05:08:05
[2025-01-12 05:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229355', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229355', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229355', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229355', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:08:20] Production.INFO: ProcessCDR(1,14229355,1,1,2)
[2025-01-12 05:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229355', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229355', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:08:23] Production.INFO: ==3084== Releasing lock...
[2025-01-12 05:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:08:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:09:02] Production.INFO: ==3151== Lock acquired, processing the job...
[2025-01-12 10:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:09:02] Production.INFO: neon service started
[2025-01-12 10:09:02] Production.INFO: neon service started
[2025-01-12 10:09:02] Production.INFO: ==3151== Releasing lock...
[2025-01-12 10:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:09:02] Production.INFO: ==3155== Lock acquired, processing the job...
[2025-01-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:09:02] Production.INFO: ==3155== Releasing lock...
[2025-01-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:09:02] Production.INFO: ==3153== Lock acquired, processing the job...
[2025-01-12 05:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:09:03] Production.INFO: ==3153== Releasing lock...
[2025-01-12 05:09:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:09:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:09:03] Production.INFO: ==3159== Lock acquired, processing the job...
[2025-01-12 05:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:09:04] Production.INFO: ==3168== Lock acquired, processing the job...
[2025-01-12 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:09:04] Production.INFO: ==3157== Lock acquired, processing the job...
[2025-01-12 05:09:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:09:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:09:04] Production.INFO: count ==21
[2025-01-12 05:09:04] Production.INFO: ==3162== Lock acquired, processing the job...
[2025-01-12 05:09:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:09:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:09:04] Production.INFO: count ==21
[2025-01-12 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229357') start
[2025-01-12 05:09:04] Production.INFO: ==3159== Releasing lock...
[2025-01-12 05:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:09:04] Production.INFO: ==3164== Lock acquired, processing the job...
[2025-01-12 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:09:04] Production.INFO: ==3166== Lock acquired, processing the job...
[2025-01-12 05:09:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229357') end
[2025-01-12 05:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:09:04] Production.INFO: 1
[2025-01-12 05:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:09:04] Production.INFO: Account Balance Start.
[2025-01-12 05:09:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:09:04] Production.INFO: 117
[2025-01-12 05:09:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:09:04] Production.INFO: ==3168== Releasing lock...
[2025-01-12 05:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:09:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:09:04] Production.INFO: Total Charge 0
[2025-01-12 05:09:04] Production.INFO: CreateAllLog End
[2025-01-12 05:09:04] Production.ERROR: done
[2025-01-12 05:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:09:04] Production.ERROR: done
[2025-01-12 05:09:04] Production.INFO: Account Balance End.
[2025-01-12 05:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:09:04] Production.INFO: ==3164== Releasing lock...
[2025-01-12 05:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:09:05
[end_date_ymd] => 2025-01-12 05:09:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:09:05' and `end` < '2025-01-12 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-01-12 05:09:12] Production.ERROR: CronJobId end10
[2025-01-12 05:09:12] Production.INFO: ==3162== Releasing lock...
[2025-01-12 05:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:09:14] Production.INFO: call_cost start
[2025-01-12 05:09:14] Production.INFO: call_cost end
[2025-01-12 05:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:09:14] Production.INFO: ==3157== Releasing lock...
[2025-01-12 05:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:09:19] Production.INFO: count ==240
[2025-01-12 05:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:09:05 - End Time 2025-01-12 05:09:05
[2025-01-12 05:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229360', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229360', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229360', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229360', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:09:19] Production.INFO: ProcessCDR(1,14229360,1,1,2)
[2025-01-12 05:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229360', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229360', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:09:22] Production.INFO: ==3166== Releasing lock...
[2025-01-12 05:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:09:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:10:01] Production.INFO: ==3267== Lock acquired, processing the job...
[2025-01-12 10:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:10:01] Production.INFO: neon service started
[2025-01-12 10:10:01] Production.INFO: neon service started
[2025-01-12 10:10:01] Production.INFO: ==3267== Releasing lock...
[2025-01-12 10:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:10:02] Production.INFO: ==3269== Lock acquired, processing the job...
[2025-01-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:10:02] Production.INFO: ==3271== Lock acquired, processing the job...
[2025-01-12 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:10:02] Production.INFO: ==3269== Releasing lock...
[2025-01-12 05:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:10:02] Production.INFO: ==3271== Releasing lock...
[2025-01-12 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:10:03] Production.INFO: ==3273== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 05:10:03] Production.INFO: ==3276== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 05:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 05:10:03] Production.ERROR: CronJob PID - 3276
[2025-01-12 05:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 05:10:03] Production.ERROR: CronJob ID - 5
[2025-01-12 05:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 05:10:00
[2025-01-12 05:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 05:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 05:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 05:10:03] Production.INFO: ==3273== Releasing lock...
[2025-01-12 05:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 05:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:10:03] Production.INFO: ==3280== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:10:03] Production.INFO: ==3278== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:10:03] Production.INFO: ==3282== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:10:03] Production.INFO: Account Balance Start.
[2025-01-12 05:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:10:03] Production.INFO: 117
[2025-01-12 05:10:03] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:10:03] Production.INFO: ==3286== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 05:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:10:03] Production.INFO: ==3288== Lock acquired, processing the job...
[2025-01-12 05:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 05:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:10:04] Production.INFO: count ==21
[2025-01-12 05:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:10:04] Production.INFO: count ==21
[2025-01-12 05:10:04] Production.INFO: ==3278== Releasing lock...
[2025-01-12 05:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229364') start
[2025-01-12 05:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:10:04] Production.ERROR: done
[2025-01-12 05:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229364') end
[2025-01-12 05:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:10:04] Production.INFO: 1
[2025-01-12 05:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:10:04] Production.INFO: ==3288== Releasing lock...
[2025-01-12 05:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:10:04] Production.ERROR: done
[2025-01-12 05:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:10:04] Production.INFO: Total Charge 0
[2025-01-12 05:10:04] Production.INFO: CreateAllLog End
[2025-01-12 05:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 05:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229365', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 05:10:04] Production.ERROR: done
[2025-01-12 05:10:04] Production.INFO: Account Balance End.
[2025-01-12 05:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:10:04] Production.INFO: ==3282== Releasing lock...
[2025-01-12 05:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:10:05
[end_date_ymd] => 2025-01-12 05:10:05
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:10:05' and `end` < '2025-01-12 05: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-01-12 05:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229365', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 05:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 05:10:08] Production.INFO: ProcessCDR(1,14229365,1,1,2)
[2025-01-12 05:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229365,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229365,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:10:08] Production.INFO: ==3286== Releasing lock...
[2025-01-12 05:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 05:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 05:10:13] Production.ERROR: CronJobId end10
[2025-01-12 05:10:13] Production.INFO: ==3280== Releasing lock...
[2025-01-12 05:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:10:15] Production.INFO: call_cost start
[2025-01-12 05:10:15] Production.INFO: call_cost end
[2025-01-12 05:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:10:15] Production.INFO: ==3276== Releasing lock...
[2025-01-12 05:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:10:18] Production.INFO: count ==236
[2025-01-12 05:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:10:05 - End Time 2025-01-12 05:10:05
[2025-01-12 05:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229366', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229366', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229366', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229366', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:10:18] Production.INFO: ProcessCDR(1,14229366,1,1,2)
[2025-01-12 05:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229366,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229366,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229366', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229366', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:10:22] Production.INFO: ==3284== Releasing lock...
[2025-01-12 05:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:10:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 10:11:02] Production.INFO: ==3349== Lock acquired, processing the job...
[2025-01-12 10:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:11:02] Production.INFO: neon service started
[2025-01-12 10:11:02] Production.INFO: neon service started
[2025-01-12 10:11:02] Production.INFO: ==3349== Releasing lock...
[2025-01-12 10:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:11:02] Production.INFO: ==3351== Lock acquired, processing the job...
[2025-01-12 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:11:02] Production.INFO: ==3351== Releasing lock...
[2025-01-12 05:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:11:02] Production.INFO: ==3353== Lock acquired, processing the job...
[2025-01-12 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:11:03] Production.INFO: ==3353== Releasing lock...
[2025-01-12 10:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:11:03] Production.INFO: ==3362== Lock acquired, processing the job...
[2025-01-12 05:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:11:03] Production.INFO: ==3364== Lock acquired, processing the job...
[2025-01-12 05:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:11:03] Production.INFO: Account Balance Start.
[2025-01-12 05:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:11:03] Production.INFO: 117
[2025-01-12 05:11:03] Production.INFO: ==3356== Lock acquired, processing the job...
[2025-01-12 05:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:11:03] Production.INFO: ==3358== Lock acquired, processing the job...
[2025-01-12 05:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:11:04] Production.INFO: ==3360== Lock acquired, processing the job...
[2025-01-12 05:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:11:04] Production.INFO: ==3366== Lock acquired, processing the job...
[2025-01-12 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:11:04] Production.INFO: Total Charge 0
[2025-01-12 05:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:11:04] Production.INFO: CreateAllLog End
[2025-01-12 05:11:04] Production.ERROR: done
[2025-01-12 05:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05: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-01-12 05:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 05:11:04] Production.INFO: count ==21
[2025-01-12 05:11:04] Production.INFO: Account Balance End.
[2025-01-12 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229370') start
[2025-01-12 05:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:11:04] Production.INFO: ==3362== Releasing lock...
[2025-01-12 05:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:11:04] Production.INFO: ==3358== Releasing lock...
[2025-01-12 05:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:11:04] Production.ERROR: done
[2025-01-12 05:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229370') end
[2025-01-12 05:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:11:04] Production.INFO: 1
[2025-01-12 05:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:11:04] Production.INFO: ==3366== Releasing lock...
[2025-01-12 05:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:11:05
[end_date_ymd] => 2025-01-12 05:11:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:11:05' and `end` < '2025-01-12 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-01-12 05:11:11] Production.ERROR: CronJobId end10
[2025-01-12 05:11:11] Production.INFO: ==3360== Releasing lock...
[2025-01-12 05:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:11:13] Production.INFO: call_cost start
[2025-01-12 05:11:13] Production.INFO: call_cost end
[2025-01-12 05:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:11:14] Production.INFO: ==3356== Releasing lock...
[2025-01-12 05:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:11:19] Production.INFO: count ==220
[2025-01-12 05:11:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:11:05 - End Time 2025-01-12 05:11:05
[2025-01-12 05:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229371', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229371', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229371', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229371', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:11:19] Production.INFO: ProcessCDR(1,14229371,1,1,2)
[2025-01-12 05:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229371,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229371,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229371', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229371', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:11:22] Production.INFO: ==3364== Releasing lock...
[2025-01-12 05:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:11:22] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:12:01] Production.INFO: ==3426== Lock acquired, processing the job...
[2025-01-12 10:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:12:01] Production.INFO: neon service started
[2025-01-12 10:12:01] Production.INFO: neon service started
[2025-01-12 10:12:01] Production.INFO: ==3426== Releasing lock...
[2025-01-12 10:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:12:01] Production.INFO: ==3428== Lock acquired, processing the job...
[2025-01-12 05:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:12:02] Production.INFO: ==3428== Releasing lock...
[2025-01-12 05:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:12:02] Production.INFO: ==3430== Lock acquired, processing the job...
[2025-01-12 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:12:02] Production.INFO: ==3430== Releasing lock...
[2025-01-12 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:12:03] Production.INFO: ==3436== Lock acquired, processing the job...
[2025-01-12 05:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:12:03] Production.INFO: ==3443== Lock acquired, processing the job...
[2025-01-12 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:12:03] Production.INFO: ==3432== Lock acquired, processing the job...
[2025-01-12 05:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 05:12:03] Production.INFO: count ==21
[2025-01-12 05:12:03] Production.INFO: ==3434== Lock acquired, processing the job...
[2025-01-12 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 05:12:03] Production.INFO: count ==21
[2025-01-12 05:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229372') start
[2025-01-12 05:12:03] Production.INFO: ==3438== Lock acquired, processing the job...
[2025-01-12 05:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229372') end
[2025-01-12 05:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:12:03] Production.INFO: 1
[2025-01-12 05:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:12:03] Production.INFO: ==3440== Lock acquired, processing the job...
[2025-01-12 05:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:12:03] Production.INFO: Account Balance Start.
[2025-01-12 05:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:12:03] Production.INFO: 117
[2025-01-12 05:12:03] Production.INFO: ==3443== Releasing lock...
[2025-01-12 05:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:12:03] Production.INFO: ==3434== Releasing lock...
[2025-01-12 05:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:12:04] Production.ERROR: done
[2025-01-12 05:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:12:04] Production.INFO: Total Charge 0
[2025-01-12 05:12:04] Production.INFO: CreateAllLog End
[2025-01-12 05:12:04] Production.ERROR: done
[2025-01-12 05:12:04] Production.INFO: Account Balance End.
[2025-01-12 05:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:12:04] Production.INFO: ==3438== Releasing lock...
[2025-01-12 05:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:12:05
[end_date_ymd] => 2025-01-12 05:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:12:05' and `end` < '2025-01-12 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-01-12 05:12:10] Production.ERROR: CronJobId end10
[2025-01-12 05:12:10] Production.INFO: ==3436== Releasing lock...
[2025-01-12 05:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:12:13] Production.INFO: call_cost start
[2025-01-12 05:12:13] Production.INFO: call_cost end
[2025-01-12 05:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:12:14] Production.INFO: ==3432== Releasing lock...
[2025-01-12 05:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:12:19] Production.INFO: count ==220
[2025-01-12 05:12:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:12:05 - End Time 2025-01-12 05:12:05
[2025-01-12 05:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229376', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229376', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229376', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229376', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:12:19] Production.INFO: ProcessCDR(1,14229376,1,1,2)
[2025-01-12 05:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229376,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229376,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229376', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229376', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:12:22] Production.INFO: ==3440== Releasing lock...
[2025-01-12 05:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:12:22] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:13:01] Production.INFO: ==3508== Lock acquired, processing the job...
[2025-01-12 10:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:13:01] Production.INFO: neon service started
[2025-01-12 10:13:02] Production.INFO: neon service started
[2025-01-12 10:13:02] Production.INFO: ==3508== Releasing lock...
[2025-01-12 10:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:13:02] Production.INFO: ==3512== Lock acquired, processing the job...
[2025-01-12 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:13:02] Production.INFO: ==3512== Releasing lock...
[2025-01-12 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:13:02] Production.INFO: ==3510== Lock acquired, processing the job...
[2025-01-12 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:13:02] Production.INFO: ==3510== Releasing lock...
[2025-01-12 05:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:13:03] Production.INFO: ==3523== Lock acquired, processing the job...
[2025-01-12 05:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:13:03] Production.INFO: ==3525== Lock acquired, processing the job...
[2025-01-12 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:13:03] Production.INFO: ==3515== Lock acquired, processing the job...
[2025-01-12 05:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:13:03] Production.INFO: ==3517== Lock acquired, processing the job...
[2025-01-12 05:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 05:13:03] Production.INFO: ==3519== Lock acquired, processing the job...
[2025-01-12 05:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:13:03] Production.INFO: ==3521== Lock acquired, processing the job...
[2025-01-12 05:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:13:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:13:03] Production.INFO: count ==21
[2025-01-12 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229377') start
[2025-01-12 05:13:03] Production.ERROR: done
[2025-01-12 05:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:13:03] Production.INFO: Account Balance Start.
[2025-01-12 05:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:13:03] Production.INFO: 117
[2025-01-12 05:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229377') end
[2025-01-12 05:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:13:03] Production.INFO: 1
[2025-01-12 05:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:13:03] Production.INFO: ==3525== Releasing lock...
[2025-01-12 05:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:13:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:13:04] Production.ERROR: done
[2025-01-12 05:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:13:04] Production.INFO: ==3517== Releasing lock...
[2025-01-12 05:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:13:04] Production.INFO: Total Charge 0
[2025-01-12 05:13:04] Production.INFO: CreateAllLog End
[2025-01-12 05:13:04] Production.INFO: Account Balance End.
[2025-01-12 05:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:13:04] Production.INFO: ==3521== Releasing lock...
[2025-01-12 05:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:13:04
[end_date_ymd] => 2025-01-12 05:13:04
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:13:04' and `end` < '2025-01-12 05: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-01-12 05:13:11] Production.ERROR: CronJobId end10
[2025-01-12 05:13:11] Production.INFO: ==3519== Releasing lock...
[2025-01-12 05:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:13:13] Production.INFO: call_cost start
[2025-01-12 05:13:13] Production.INFO: call_cost end
[2025-01-12 05:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:13:14] Production.INFO: ==3515== Releasing lock...
[2025-01-12 05:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:13:18] Production.INFO: count ==220
[2025-01-12 05:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:13:04 - End Time 2025-01-12 05:13:04
[2025-01-12 05:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229381', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229381', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229381', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229381', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:13:18] Production.INFO: ProcessCDR(1,14229381,1,1,2)
[2025-01-12 05:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229381,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229381,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229381', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229381', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:13:21] Production.INFO: ==3523== Releasing lock...
[2025-01-12 05:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:13:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:14:01] Production.INFO: ==3585== Lock acquired, processing the job...
[2025-01-12 10:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:14:01] Production.INFO: neon service started
[2025-01-12 10:14:01] Production.INFO: neon service started
[2025-01-12 10:14:01] Production.INFO: ==3585== Releasing lock...
[2025-01-12 10:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:14:01] Production.INFO: ==3587== Lock acquired, processing the job...
[2025-01-12 05:14:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:14:02] Production.INFO: ==3587== Releasing lock...
[2025-01-12 05:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:14:02] Production.INFO: ==3589== Lock acquired, processing the job...
[2025-01-12 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:14:02] Production.INFO: ==3589== Releasing lock...
[2025-01-12 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:14:02] Production.INFO: ==3593== Lock acquired, processing the job...
[2025-01-12 05:14:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:14:02] Production.INFO: ==3597== Lock acquired, processing the job...
[2025-01-12 05:14:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:14:02] Production.INFO: ==3591== Lock acquired, processing the job...
[2025-01-12 05:14:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:14:03] Production.INFO: ==3599== Lock acquired, processing the job...
[2025-01-12 05:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:14:03] Production.INFO: ==3595== Lock acquired, processing the job...
[2025-01-12 05:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:14:03] Production.INFO: Account Balance Start.
[2025-01-12 05:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:14:03] Production.INFO: 117
[2025-01-12 05:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:14:03] Production.INFO: ==3601== Lock acquired, processing the job...
[2025-01-12 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:14:03] Production.INFO: ==3593== Releasing lock...
[2025-01-12 05:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:14:03] Production.INFO: Total Charge 0
[2025-01-12 05:14:03] Production.INFO: count ==21
[2025-01-12 05:14:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 05:14:03] Production.INFO: count ==21
[2025-01-12 05:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229385') start
[2025-01-12 05:14:03] Production.ERROR: done
[2025-01-12 05:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229385') end
[2025-01-12 05:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:14:03] Production.INFO: 1
[2025-01-12 05:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:14:03] Production.INFO: Account Balance End.
[2025-01-12 05:14:03] Production.ERROR: done
[2025-01-12 05:14:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:14:03] Production.INFO: ==3597== Releasing lock...
[2025-01-12 05:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:14:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:14:03] Production.INFO: ==3601== Releasing lock...
[2025-01-12 05:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:14:04
[end_date_ymd] => 2025-01-12 05:14:04
[RateCDR] => 1
)
[2025-01-12 05:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:14:04' and `end` < '2025-01-12 05:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:14:10] Production.ERROR: CronJobId end10
[2025-01-12 05:14:10] Production.INFO: ==3595== Releasing lock...
[2025-01-12 05:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:14:12] Production.INFO: call_cost start
[2025-01-12 05:14:12] Production.INFO: call_cost end
[2025-01-12 05:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:14:13] Production.INFO: ==3591== Releasing lock...
[2025-01-12 05:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:14:17] Production.INFO: count ==220
[2025-01-12 05:14:17] Production.ERROR: pbx CDR StartTime 2025-01-12 02:14:04 - End Time 2025-01-12 05:14:04
[2025-01-12 05:14:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229386', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229386', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229386', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:14:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229386', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:14:17] Production.INFO: ProcessCDR(1,14229386,1,1,2)
[2025-01-12 05:14:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:14:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229386,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:14:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:14:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229386,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229386', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:14:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229386', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:14:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:14:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:14:20] Production.INFO: ==3599== Releasing lock...
[2025-01-12 05:14:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:14:20] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:15:01] Production.INFO: ==3664== Lock acquired, processing the job...
[2025-01-12 10:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:15:01] Production.INFO: neon service started
[2025-01-12 10:15:01] Production.INFO: neon service started
[2025-01-12 10:15:01] Production.INFO: ==3664== Releasing lock...
[2025-01-12 10:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:15:02] Production.INFO: ==3666== Lock acquired, processing the job...
[2025-01-12 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:15:02] Production.INFO: ==3668== Lock acquired, processing the job...
[2025-01-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:15:02] Production.INFO: ==3668== Releasing lock...
[2025-01-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:15:02] Production.INFO: ==3666== Releasing lock...
[2025-01-12 05:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:15:03] Production.INFO: ==3670== Lock acquired, processing the job...
[2025-01-12 05:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:15:03] Production.INFO: ==3672== Lock acquired, processing the job...
[2025-01-12 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:15:03] Production.INFO: ==3678== Lock acquired, processing the job...
[2025-01-12 05:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:15:03] Production.INFO: ==3676== Lock acquired, processing the job...
[2025-01-12 05:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:15:03] Production.INFO: ==3674== Lock acquired, processing the job...
[2025-01-12 05:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:15:03] Production.INFO: ==3672== Releasing lock...
[2025-01-12 05:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:15:03] Production.INFO: Account Balance Start.
[2025-01-12 05:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:15:03] Production.INFO: 117
[2025-01-12 05:15:03] Production.INFO: ==3681== Lock acquired, processing the job...
[2025-01-12 05:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:15:03] Production.ERROR: done
[2025-01-12 05:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 05:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:15:03] Production.ERROR: done
[2025-01-12 05:15:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:15:03] Production.INFO: count ==21
[2025-01-12 05:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229390') start
[2025-01-12 05:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:15:04] Production.INFO: Total Charge 0
[2025-01-12 05:15:04] Production.INFO: CreateAllLog End
[2025-01-12 05:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229390') end
[2025-01-12 05:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:15:04] Production.INFO: 1
[2025-01-12 05:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:15:04] Production.INFO: ==3681== Releasing lock...
[2025-01-12 05:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:15:04] Production.INFO: Account Balance End.
[2025-01-12 05:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:15:04] Production.INFO: ==3676== Releasing lock...
[2025-01-12 05:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:15:04
[end_date_ymd] => 2025-01-12 05:15:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:15:04' and `end` < '2025-01-12 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-01-12 05:15:12] Production.ERROR: CronJobId end10
[2025-01-12 05:15:12] Production.INFO: ==3674== Releasing lock...
[2025-01-12 05:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:15:13] Production.INFO: call_cost start
[2025-01-12 05:15:13] Production.INFO: call_cost end
[2025-01-12 05:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:15:14] Production.INFO: ==3670== Releasing lock...
[2025-01-12 05:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:15:18] Production.INFO: count ==218
[2025-01-12 05:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:15:04 - End Time 2025-01-12 05:15:04
[2025-01-12 05:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229391', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229391', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229391', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229391', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:15:18] Production.INFO: ProcessCDR(1,14229391,1,1,2)
[2025-01-12 05:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:15:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:15:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229391', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229391', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:15:21] Production.INFO: ==3678== Releasing lock...
[2025-01-12 05:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:15:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:16:02] Production.INFO: ==3745== Lock acquired, processing the job...
[2025-01-12 10:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:16:02] Production.INFO: neon service started
[2025-01-12 10:16:02] Production.INFO: neon service started
[2025-01-12 10:16:02] Production.INFO: ==3745== Releasing lock...
[2025-01-12 10:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:16:02] Production.INFO: ==3749== Lock acquired, processing the job...
[2025-01-12 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:16:02] Production.INFO: ==3749== Releasing lock...
[2025-01-12 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:16:02] Production.INFO: ==3747== Lock acquired, processing the job...
[2025-01-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:16:02] Production.INFO: ==3747== Releasing lock...
[2025-01-12 05:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:16:03] Production.INFO: ==3751== Lock acquired, processing the job...
[2025-01-12 05:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:16:03] Production.INFO: ==3753== Lock acquired, processing the job...
[2025-01-12 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:16:03] Production.INFO: ==3761== Lock acquired, processing the job...
[2025-01-12 05:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:16:03] Production.INFO: ==3755== Lock acquired, processing the job...
[2025-01-12 05:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:16:03] Production.INFO: ==3753== Releasing lock...
[2025-01-12 05:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:16:03] Production.INFO: ==3757== Lock acquired, processing the job...
[2025-01-12 05:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:16:03] Production.INFO: count ==21
[2025-01-12 05:16:03] Production.INFO: ==3759== Lock acquired, processing the job...
[2025-01-12 05:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:16:03] Production.INFO: count ==21
[2025-01-12 05:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229394') start
[2025-01-12 05:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229394') end
[2025-01-12 05:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:16:04] Production.INFO: 1
[2025-01-12 05:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:16:04] Production.INFO: ==3761== Releasing lock...
[2025-01-12 05:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:16:04] Production.INFO: Account Balance Start.
[2025-01-12 05:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:16:04] Production.INFO: 117
[2025-01-12 05:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:16:04] Production.ERROR: done
[2025-01-12 05:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:16:04] Production.INFO: Total Charge 0
[2025-01-12 05:16:04] Production.ERROR: done
[2025-01-12 05:16:04] Production.INFO: CreateAllLog End
[2025-01-12 05:16:04] Production.INFO: Account Balance End.
[2025-01-12 05:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:16:04] Production.INFO: ==3757== Releasing lock...
[2025-01-12 05:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:16:05
[end_date_ymd] => 2025-01-12 05:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:16:05' and `end` < '2025-01-12 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-01-12 05:16:11] Production.ERROR: CronJobId end10
[2025-01-12 05:16:11] Production.INFO: ==3755== Releasing lock...
[2025-01-12 05:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:16:13] Production.INFO: call_cost start
[2025-01-12 05:16:13] Production.INFO: call_cost end
[2025-01-12 05:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:16:14] Production.INFO: ==3751== Releasing lock...
[2025-01-12 05:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:16:18] Production.INFO: count ==217
[2025-01-12 05:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:16:05 - End Time 2025-01-12 05:16:05
[2025-01-12 05:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229396', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229396', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229396', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229396', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:16:18] Production.INFO: ProcessCDR(1,14229396,1,1,2)
[2025-01-12 05:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229396', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229396', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:16:21] Production.INFO: ==3759== Releasing lock...
[2025-01-12 05:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:16:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:17:01] Production.INFO: ==3821== Lock acquired, processing the job...
[2025-01-12 10:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:17:01] Production.INFO: neon service started
[2025-01-12 10:17:01] Production.INFO: neon service started
[2025-01-12 10:17:01] Production.INFO: ==3821== Releasing lock...
[2025-01-12 10:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:17:02] Production.INFO: ==3823== Lock acquired, processing the job...
[2025-01-12 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:17:02] Production.INFO: ==3825== Lock acquired, processing the job...
[2025-01-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:17:02] Production.INFO: ==3825== Releasing lock...
[2025-01-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:17:02] Production.INFO: ==3823== Releasing lock...
[2025-01-12 05:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:17:03] Production.INFO: ==3830== Lock acquired, processing the job...
[2025-01-12 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:17:03] Production.INFO: ==3832== Lock acquired, processing the job...
[2025-01-12 05:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:17:03] Production.INFO: ==3838== Lock acquired, processing the job...
[2025-01-12 05:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05: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-01-12 05:17:03] Production.INFO: ==3827== Lock acquired, processing the job...
[2025-01-12 05:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:17:03] Production.INFO: count ==21
[2025-01-12 05:17:03] Production.INFO: ==3830== Releasing lock...
[2025-01-12 05:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05: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-01-12 05:17:03] Production.INFO: count ==21
[2025-01-12 05:17:03] Production.INFO: ==3836== Lock acquired, processing the job...
[2025-01-12 05:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229398') start
[2025-01-12 05:17:03] Production.INFO: ==3834== Lock acquired, processing the job...
[2025-01-12 05:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:17:03] Production.INFO: Account Balance Start.
[2025-01-12 05:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:17:03] Production.INFO: 117
[2025-01-12 05:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229398') end
[2025-01-12 05:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:17:03] Production.INFO: 1
[2025-01-12 05:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:17:03] Production.INFO: ==3838== Releasing lock...
[2025-01-12 05:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:17:03] Production.ERROR: done
[2025-01-12 05:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:17:03] Production.INFO: Total Charge 0
[2025-01-12 05:17:03] Production.INFO: CreateAllLog End
[2025-01-12 05:17:04] Production.ERROR: done
[2025-01-12 05:17:04] Production.INFO: Account Balance End.
[2025-01-12 05:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:17:04] Production.INFO: ==3834== Releasing lock...
[2025-01-12 05:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:17:04
[end_date_ymd] => 2025-01-12 05:17:04
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:17:04' and `end` < '2025-01-12 05: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-01-12 05:17:10] Production.ERROR: CronJobId end10
[2025-01-12 05:17:10] Production.INFO: ==3832== Releasing lock...
[2025-01-12 05:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:17:12] Production.INFO: call_cost start
[2025-01-12 05:17:12] Production.INFO: call_cost end
[2025-01-12 05:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:17:13] Production.INFO: ==3827== Releasing lock...
[2025-01-12 05:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:17:18] Production.INFO: count ==216
[2025-01-12 05:17:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:17:04 - End Time 2025-01-12 05:17:04
[2025-01-12 05:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229401', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229401', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229401', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229401', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:17:18] Production.INFO: ProcessCDR(1,14229401,1,1,2)
[2025-01-12 05:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229401', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229401', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:17:21] Production.INFO: ==3836== Releasing lock...
[2025-01-12 05:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:17:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:18:01] Production.INFO: ==3901== Lock acquired, processing the job...
[2025-01-12 10:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:18:01] Production.INFO: neon service started
[2025-01-12 10:18:01] Production.INFO: neon service started
[2025-01-12 10:18:01] Production.INFO: ==3901== Releasing lock...
[2025-01-12 10:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:18:02] Production.INFO: ==3907== Lock acquired, processing the job...
[2025-01-12 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:18:02] Production.INFO: ==3907== Releasing lock...
[2025-01-12 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:18:02] Production.INFO: ==3905== Lock acquired, processing the job...
[2025-01-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:18:02] Production.INFO: ==3905== Releasing lock...
[2025-01-12 05:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:18:03] Production.INFO: ==3911== Lock acquired, processing the job...
[2025-01-12 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:18:03] Production.INFO: ==3909== Lock acquired, processing the job...
[2025-01-12 05:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:18:03] Production.INFO: ==3919== Lock acquired, processing the job...
[2025-01-12 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:18:03] Production.INFO: ==3911== Releasing lock...
[2025-01-12 05:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 05:18:03] Production.INFO: ==3913== Lock acquired, processing the job...
[2025-01-12 05:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:18:03] Production.INFO: ==3915== Lock acquired, processing the job...
[2025-01-12 05:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:18:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:18:03] Production.INFO: count ==21
[2025-01-12 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229403') start
[2025-01-12 05:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:18:03] Production.INFO: ==3917== Lock acquired, processing the job...
[2025-01-12 05:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229403') end
[2025-01-12 05:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:18:03] Production.INFO: 1
[2025-01-12 05:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:18:03] Production.INFO: Account Balance Start.
[2025-01-12 05:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:18:03] Production.INFO: 117
[2025-01-12 05:18:03] Production.INFO: ==3919== Releasing lock...
[2025-01-12 05:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:18:04] Production.ERROR: done
[2025-01-12 05:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:18:04] Production.INFO: Total Charge 0
[2025-01-12 05:18:04] Production.INFO: CreateAllLog End
[2025-01-12 05:18:04] Production.ERROR: done
[2025-01-12 05:18:04] Production.INFO: Account Balance End.
[2025-01-12 05:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:18:04] Production.INFO: ==3915== Releasing lock...
[2025-01-12 05:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:18:05
[end_date_ymd] => 2025-01-12 05:18:05
[RateCDR] => 1
)
[2025-01-12 05:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:18:05' and `end` < '2025-01-12 05:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:18:11] Production.ERROR: CronJobId end10
[2025-01-12 05:18:11] Production.INFO: ==3913== Releasing lock...
[2025-01-12 05:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:18:13] Production.INFO: call_cost start
[2025-01-12 05:18:13] Production.INFO: call_cost end
[2025-01-12 05:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:18:14] Production.INFO: ==3909== Releasing lock...
[2025-01-12 05:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:18:19] Production.INFO: count ==216
[2025-01-12 05:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:18:05 - End Time 2025-01-12 05:18:05
[2025-01-12 05:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229406', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229406', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229406', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229406', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:18:19] Production.INFO: ProcessCDR(1,14229406,1,1,2)
[2025-01-12 05:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229406', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229406', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:18:22] Production.INFO: ==3917== Releasing lock...
[2025-01-12 05:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:18:22] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:19:01] Production.INFO: ==3980== Lock acquired, processing the job...
[2025-01-12 10:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:19:01] Production.INFO: neon service started
[2025-01-12 10:19:01] Production.INFO: neon service started
[2025-01-12 10:19:01] Production.INFO: ==3980== Releasing lock...
[2025-01-12 10:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:19:01] Production.INFO: ==3982== Lock acquired, processing the job...
[2025-01-12 05:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:19:01] Production.INFO: ==3982== Releasing lock...
[2025-01-12 05:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:19:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:19:02] Production.INFO: ==3984== Lock acquired, processing the job...
[2025-01-12 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:19:02] Production.INFO: ==3984== Releasing lock...
[2025-01-12 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:19:02] Production.INFO: ==3989== Lock acquired, processing the job...
[2025-01-12 05:19:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:19:02] Production.INFO: ==3991== Lock acquired, processing the job...
[2025-01-12 05:19:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:19:02] Production.INFO: ==3987== Lock acquired, processing the job...
[2025-01-12 05:19:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:19:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:19:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:19:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:19:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:19:02] Production.INFO: ==3993== Lock acquired, processing the job...
[2025-01-12 05:19:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:19:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:19:02] Production.INFO: ==3995== Lock acquired, processing the job...
[2025-01-12 05:19:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:19:03] Production.INFO: Account Balance Start.
[2025-01-12 05:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:19:03] Production.INFO: ==3989== Releasing lock...
[2025-01-12 05:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:19:03] Production.INFO: 117
[2025-01-12 05:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:19:03] Production.INFO: ==3997== Lock acquired, processing the job...
[2025-01-12 05:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 05: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-01-12 05:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:19:03] Production.INFO: count ==21
[2025-01-12 05:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 05: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-01-12 05:19:03] Production.INFO: count ==21
[2025-01-12 05:19:03] Production.INFO: Total Charge 0
[2025-01-12 05:19:03] Production.INFO: CreateAllLog End
[2025-01-12 05:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229410') start
[2025-01-12 05:19:03] Production.ERROR: done
[2025-01-12 05:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:19:03] Production.INFO: Account Balance End.
[2025-01-12 05:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229410') end
[2025-01-12 05:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:19:03] Production.INFO: 1
[2025-01-12 05:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:19:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:19:03] Production.INFO: ==3993== Releasing lock...
[2025-01-12 05:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:19:03] Production.ERROR: done
[2025-01-12 05:19:03] Production.INFO: ==3997== Releasing lock...
[2025-01-12 05:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:19:04
[end_date_ymd] => 2025-01-12 05:19:04
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:19:04' and `end` < '2025-01-12 05: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-01-12 05:19:10] Production.ERROR: CronJobId end10
[2025-01-12 05:19:10] Production.INFO: ==3991== Releasing lock...
[2025-01-12 05:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:19:13] Production.INFO: call_cost start
[2025-01-12 05:19:13] Production.INFO: call_cost end
[2025-01-12 05:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:19:14] Production.INFO: ==3987== Releasing lock...
[2025-01-12 05:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:19:18] Production.INFO: count ==216
[2025-01-12 05:19:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:19:04 - End Time 2025-01-12 05:19:04
[2025-01-12 05:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229411', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229411', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229411', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229411', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:19:18] Production.INFO: ProcessCDR(1,14229411,1,1,2)
[2025-01-12 05:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:19:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:19:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229411', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229411', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:19:21] Production.INFO: ==3995== Releasing lock...
[2025-01-12 05:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:19:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:20:01] Production.INFO: ==4060== Lock acquired, processing the job...
[2025-01-12 10:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:20:01] Production.INFO: neon service started
[2025-01-12 10:20:01] Production.INFO: neon service started
[2025-01-12 10:20:01] Production.INFO: ==4060== Releasing lock...
[2025-01-12 10:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:20:02] Production.INFO: ==4062== Lock acquired, processing the job...
[2025-01-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:20:02] Production.INFO: ==4064== Lock acquired, processing the job...
[2025-01-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:20:02] Production.INFO: ==4064== Releasing lock...
[2025-01-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:20:02] Production.INFO: ==4062== Releasing lock...
[2025-01-12 05:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:20:03] Production.INFO: ==4067== Lock acquired, processing the job...
[2025-01-12 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 05:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 05:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 05:20:03] Production.INFO: ==4067== Releasing lock...
[2025-01-12 05:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 05:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:20:03] Production.INFO: ==4069== Lock acquired, processing the job...
[2025-01-12 05:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:20:03] Production.INFO: ==4071== Lock acquired, processing the job...
[2025-01-12 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:20:03] Production.INFO: ==4073== Lock acquired, processing the job...
[2025-01-12 05:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:20:03] Production.INFO: ==4075== Lock acquired, processing the job...
[2025-01-12 05:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:20:03] Production.INFO: ==4071== Releasing lock...
[2025-01-12 05:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:20:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:20:03] Production.INFO: ==4077== Lock acquired, processing the job...
[2025-01-12 05:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:20:03] Production.INFO: ==4079== Lock acquired, processing the job...
[2025-01-12 05:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 05:20:03] Production.INFO: Account Balance Start.
[2025-01-12 05:20:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:20:03] Production.INFO: 117
[2025-01-12 05:20:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:20:04] Production.INFO: ==4081== Lock acquired, processing the job...
[2025-01-12 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:20:04] Production.INFO: Total Charge 0
[2025-01-12 05:20:04] Production.INFO: CreateAllLog End
[2025-01-12 05:20:04] Production.ERROR: done
[2025-01-12 05:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 05:20:04] Production.INFO: count ==21
[2025-01-12 05:20:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 05:20:04] Production.INFO: count ==21
[2025-01-12 05:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:20:04] Production.INFO: ==4075== Releasing lock...
[2025-01-12 05:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229415') start
[2025-01-12 05:20:04] Production.ERROR: done
[2025-01-12 05:20:04] Production.ERROR: done
[2025-01-12 05:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 05:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229417', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 05:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229415') end
[2025-01-12 05:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:20:04] Production.INFO: 1
[2025-01-12 05:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:20:04] Production.INFO: ==4081== Releasing lock...
[2025-01-12 05:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:20:05
[end_date_ymd] => 2025-01-12 05:20:05
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:20:05' and `end` < '2025-01-12 05: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-01-12 05:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229417', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 05:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 05:20:08] Production.INFO: ProcessCDR(1,14229417,1,1,2)
[2025-01-12 05:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229417,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229417,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:20:08] Production.INFO: ==4079== Releasing lock...
[2025-01-12 05:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 05:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 05:20:12] Production.ERROR: CronJobId end10
[2025-01-12 05:20:12] Production.INFO: ==4073== Releasing lock...
[2025-01-12 05:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:20:15] Production.INFO: call_cost start
[2025-01-12 05:20:15] Production.INFO: call_cost end
[2025-01-12 05:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:20:15] Production.INFO: ==4069== Releasing lock...
[2025-01-12 05:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:20:19] Production.INFO: count ==210
[2025-01-12 05:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:20:05 - End Time 2025-01-12 05:20:05
[2025-01-12 05:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229416', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229416', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229416', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229416', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:20:19] Production.INFO: ProcessCDR(1,14229416,1,1,2)
[2025-01-12 05:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229416', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229416', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:20:23] Production.INFO: ==4077== Releasing lock...
[2025-01-12 05:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:20:23] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:21:02] Production.INFO: ==4152== Lock acquired, processing the job...
[2025-01-12 10:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:21:02] Production.INFO: neon service started
[2025-01-12 10:21:02] Production.INFO: neon service started
[2025-01-12 10:21:02] Production.INFO: ==4152== Releasing lock...
[2025-01-12 10:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:21:02] Production.INFO: ==4155== Lock acquired, processing the job...
[2025-01-12 05:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:21:02] Production.INFO: ==4157== Lock acquired, processing the job...
[2025-01-12 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:21:02] Production.INFO: ==4157== Releasing lock...
[2025-01-12 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:21:03] Production.INFO: ==4155== Releasing lock...
[2025-01-12 05:21:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:21:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:21:03] Production.INFO: ==4164== Lock acquired, processing the job...
[2025-01-12 05:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:21:04] Production.INFO: ==4168== Lock acquired, processing the job...
[2025-01-12 05:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:21:04] Production.INFO: ==4160== Lock acquired, processing the job...
[2025-01-12 05:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:21:04] Production.INFO: ==4162== Lock acquired, processing the job...
[2025-01-12 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:21:04] Production.INFO: ==4166== Lock acquired, processing the job...
[2025-01-12 05:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:21:04] Production.INFO: ==4170== Lock acquired, processing the job...
[2025-01-12 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:21:04] Production.ERROR: done
[2025-01-12 05:21:04] Production.INFO: Account Balance Start.
[2025-01-12 05:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:21:04] Production.INFO: 117
[2025-01-12 05:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:21:04] Production.INFO: count ==21
[2025-01-12 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-01-12 05:21:04] Production.INFO: count ==21
[2025-01-12 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229419') start
[2025-01-12 05:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:21:04] Production.ERROR: done
[2025-01-12 05:21:04] Production.INFO: Total Charge 0
[2025-01-12 05:21:04] Production.INFO: CreateAllLog End
[2025-01-12 05:21:04] Production.INFO: ==4162== Releasing lock...
[2025-01-12 05:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229419') end
[2025-01-12 05:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:21:04] Production.INFO: 1
[2025-01-12 05:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:21:04] Production.INFO: ==4170== Releasing lock...
[2025-01-12 05:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:21:04] Production.INFO: Account Balance End.
[2025-01-12 05:21:05] Production.ERROR: CronJobId end 12
[2025-01-12 05:21:05] Production.INFO: ==4166== Releasing lock...
[2025-01-12 05:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:21:05
[end_date_ymd] => 2025-01-12 05:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:21:05' and `end` < '2025-01-12 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-01-12 05:21:11] Production.ERROR: CronJobId end10
[2025-01-12 05:21:11] Production.INFO: ==4164== Releasing lock...
[2025-01-12 05:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:21:13] Production.INFO: call_cost start
[2025-01-12 05:21:13] Production.INFO: call_cost end
[2025-01-12 05:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:21:14] Production.INFO: ==4160== Releasing lock...
[2025-01-12 05:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:21:20] Production.INFO: count ==210
[2025-01-12 05:21:20] Production.ERROR: pbx CDR StartTime 2025-01-12 02:21:05 - End Time 2025-01-12 05:21:05
[2025-01-12 05:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229422', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229422', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229422', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229422', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:21:20] Production.INFO: ProcessCDR(1,14229422,1,1,2)
[2025-01-12 05:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229422,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229422,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229422', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229422', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:21:23] Production.INFO: ==4168== Releasing lock...
[2025-01-12 05:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:21:23] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:22:01] Production.INFO: ==4241== Lock acquired, processing the job...
[2025-01-12 10:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:22:01] Production.INFO: neon service started
[2025-01-12 10:22:01] Production.INFO: neon service started
[2025-01-12 10:22:01] Production.INFO: ==4241== Releasing lock...
[2025-01-12 10:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:22:02] Production.INFO: ==4243== Lock acquired, processing the job...
[2025-01-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:22:02] Production.INFO: ==4243== Releasing lock...
[2025-01-12 05:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:22:02] Production.INFO: ==4245== Lock acquired, processing the job...
[2025-01-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:22:02] Production.INFO: ==4245== Releasing lock...
[2025-01-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:22:03] Production.INFO: ==4247== Lock acquired, processing the job...
[2025-01-12 05:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:22:03] Production.INFO: ==4249== Lock acquired, processing the job...
[2025-01-12 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:22:03] Production.INFO: ==4251== Lock acquired, processing the job...
[2025-01-12 05:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:22:03] Production.INFO: ==4253== Lock acquired, processing the job...
[2025-01-12 05:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:22:03] Production.INFO: ==4256== Lock acquired, processing the job...
[2025-01-12 05:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:22:03] Production.INFO: ==4258== Lock acquired, processing the job...
[2025-01-12 05:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:22:03] Production.INFO: Account Balance Start.
[2025-01-12 05:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:22:03] Production.INFO: 117
[2025-01-12 05:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:22:03] Production.INFO: ==4249== Releasing lock...
[2025-01-12 05:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:22:03] Production.INFO: count ==21
[2025-01-12 05:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:22:03] Production.INFO: count ==21
[2025-01-12 05:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229426') start
[2025-01-12 05:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:22:04] Production.ERROR: done
[2025-01-12 05:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:22:04] Production.INFO: Total Charge 0
[2025-01-12 05:22:04] Production.INFO: CreateAllLog End
[2025-01-12 05:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229426') end
[2025-01-12 05:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:22:04] Production.INFO: 1
[2025-01-12 05:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:22:04] Production.ERROR: done
[2025-01-12 05:22:04] Production.INFO: ==4258== Releasing lock...
[2025-01-12 05:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:22:04] Production.INFO: Account Balance End.
[2025-01-12 05:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:22:04] Production.INFO: ==4253== Releasing lock...
[2025-01-12 05:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:22:05
[end_date_ymd] => 2025-01-12 05:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:22:05' and `end` < '2025-01-12 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-01-12 05:22:11] Production.ERROR: CronJobId end10
[2025-01-12 05:22:11] Production.INFO: ==4251== Releasing lock...
[2025-01-12 05:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:22:14] Production.INFO: call_cost start
[2025-01-12 05:22:14] Production.INFO: call_cost end
[2025-01-12 05:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:22:14] Production.INFO: ==4247== Releasing lock...
[2025-01-12 05:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:22:19] Production.INFO: count ==210
[2025-01-12 05:22:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:22:05 - End Time 2025-01-12 05:22:05
[2025-01-12 05:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229427', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229427', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229427', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229427', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:22:19] Production.INFO: ProcessCDR(1,14229427,1,1,2)
[2025-01-12 05:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229427,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229427,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229427', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229427', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:22:23] Production.INFO: ==4256== Releasing lock...
[2025-01-12 05:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:22:23] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:23:02] Production.INFO: ==4317== Lock acquired, processing the job...
[2025-01-12 10:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:23:02] Production.INFO: neon service started
[2025-01-12 10:23:02] Production.INFO: neon service started
[2025-01-12 10:23:02] Production.INFO: ==4317== Releasing lock...
[2025-01-12 10:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:23:02] Production.INFO: ==4319== Lock acquired, processing the job...
[2025-01-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:23:02] Production.INFO: ==4319== Releasing lock...
[2025-01-12 05:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:23:02] Production.INFO: ==4321== Lock acquired, processing the job...
[2025-01-12 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:23:02] Production.INFO: ==4321== Releasing lock...
[2025-01-12 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:23:03] Production.INFO: ==4323== Lock acquired, processing the job...
[2025-01-12 05:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:23:03] Production.INFO: ==4325== Lock acquired, processing the job...
[2025-01-12 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:23:03] Production.INFO: ==4329== Lock acquired, processing the job...
[2025-01-12 05:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:23:03] Production.INFO: Account Balance Start.
[2025-01-12 05:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:23:03] Production.INFO: 117
[2025-01-12 05:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:23:03] Production.INFO: ==4327== Lock acquired, processing the job...
[2025-01-12 05:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:23:03] Production.INFO: ==4333== Lock acquired, processing the job...
[2025-01-12 05:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:23:03] Production.INFO: Total Charge 0
[2025-01-12 05:23:03] Production.INFO: ==4325== Releasing lock...
[2025-01-12 05:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:23:03] Production.INFO: ==4331== Lock acquired, processing the job...
[2025-01-12 05:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:23:03] Production.INFO: CreateAllLog End
[2025-01-12 05:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05: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-01-12 05:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:23:04] Production.INFO: count ==21
[2025-01-12 05:23:04] Production.INFO: Account Balance End.
[2025-01-12 05: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-01-12 05:23:04] Production.INFO: count ==21
[2025-01-12 05:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:23:04] Production.INFO: ==4329== Releasing lock...
[2025-01-12 05:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229431') start
[2025-01-12 05:23:04] Production.ERROR: done
[2025-01-12 05:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229431') end
[2025-01-12 05:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:23:04] Production.INFO: 1
[2025-01-12 05:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:23:04] Production.INFO: ==4333== Releasing lock...
[2025-01-12 05:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:23:04] Production.ERROR: done
[2025-01-12 05:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:23:05
[end_date_ymd] => 2025-01-12 05:23:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:23:05' and `end` < '2025-01-12 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-01-12 05:23:12] Production.ERROR: CronJobId end10
[2025-01-12 05:23:12] Production.INFO: ==4327== Releasing lock...
[2025-01-12 05:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:23:14] Production.INFO: call_cost start
[2025-01-12 05:23:14] Production.INFO: call_cost end
[2025-01-12 05:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:23:14] Production.INFO: ==4323== Releasing lock...
[2025-01-12 05:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:23:18] Production.INFO: count ==210
[2025-01-12 05:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:23:05 - End Time 2025-01-12 05:23:05
[2025-01-12 05:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229432', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229432', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229432', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229432', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:23:18] Production.INFO: ProcessCDR(1,14229432,1,1,2)
[2025-01-12 05:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229432,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229432,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229432', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229432', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:23:21] Production.INFO: ==4331== Releasing lock...
[2025-01-12 05:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:23:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:24:01] Production.INFO: ==4397== Lock acquired, processing the job...
[2025-01-12 10:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:24:01] Production.INFO: neon service started
[2025-01-12 10:24:01] Production.INFO: neon service started
[2025-01-12 10:24:01] Production.INFO: ==4397== Releasing lock...
[2025-01-12 10:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:24:01] Production.INFO: ==4399== Lock acquired, processing the job...
[2025-01-12 05:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:24:02] Production.INFO: ==4399== Releasing lock...
[2025-01-12 05:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:24:02] Production.INFO: ==4401== Lock acquired, processing the job...
[2025-01-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:24:02] Production.INFO: ==4401== Releasing lock...
[2025-01-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:24:03] Production.INFO: ==4404== Lock acquired, processing the job...
[2025-01-12 05:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:24:03] Production.INFO: ==4412== Lock acquired, processing the job...
[2025-01-12 05:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:24:03] Production.INFO: ==4408== Lock acquired, processing the job...
[2025-01-12 05:24:03] Production.INFO: ==4406== Lock acquired, processing the job...
[2025-01-12 05:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:24:03] Production.INFO: ==4410== Lock acquired, processing the job...
[2025-01-12 05:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:24:03] Production.INFO: ==4414== Lock acquired, processing the job...
[2025-01-12 05:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:24:03] Production.INFO: Account Balance Start.
[2025-01-12 05:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:24:03] Production.INFO: 117
[2025-01-12 05:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:24:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:24:03] Production.INFO: count ==21
[2025-01-12 05:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229436') start
[2025-01-12 05:24:03] Production.INFO: ==4406== Releasing lock...
[2025-01-12 05:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:24:04] Production.INFO: Total Charge 0
[2025-01-12 05:24:04] Production.ERROR: done
[2025-01-12 05:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:24:04] Production.INFO: CreateAllLog End
[2025-01-12 05:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229436') end
[2025-01-12 05:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:24:04] Production.INFO: 1
[2025-01-12 05:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:24:04] Production.INFO: ==4414== Releasing lock...
[2025-01-12 05:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:24:04] Production.ERROR: done
[2025-01-12 05:24:04] Production.INFO: Account Balance End.
[2025-01-12 05:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:24:04] Production.INFO: ==4410== Releasing lock...
[2025-01-12 05:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:24:05
[end_date_ymd] => 2025-01-12 05:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:24:05' and `end` < '2025-01-12 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-01-12 05:24:12] Production.ERROR: CronJobId end10
[2025-01-12 05:24:12] Production.INFO: ==4408== Releasing lock...
[2025-01-12 05:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:24:14] Production.INFO: call_cost start
[2025-01-12 05:24:14] Production.INFO: call_cost end
[2025-01-12 05:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:24:15] Production.INFO: ==4404== Releasing lock...
[2025-01-12 05:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:24:18] Production.INFO: count ==210
[2025-01-12 05:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:24:05 - End Time 2025-01-12 05:24:05
[2025-01-12 05:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229437', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229437', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229437', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229437', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:24:18] Production.INFO: ProcessCDR(1,14229437,1,1,2)
[2025-01-12 05:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:24:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:24:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229437', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229437', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:24:22] Production.INFO: ==4412== Releasing lock...
[2025-01-12 05:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:24:22] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:25:01] Production.INFO: ==4478== Lock acquired, processing the job...
[2025-01-12 10:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:25:01] Production.INFO: neon service started
[2025-01-12 10:25:01] Production.INFO: neon service started
[2025-01-12 10:25:01] Production.INFO: ==4478== Releasing lock...
[2025-01-12 10:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:25:02] Production.INFO: ==4480== Lock acquired, processing the job...
[2025-01-12 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:25:02] Production.INFO: ==4482== Lock acquired, processing the job...
[2025-01-12 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:25:02] Production.INFO: ==4482== Releasing lock...
[2025-01-12 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:25:02] Production.INFO: ==4480== Releasing lock...
[2025-01-12 05:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:25:03] Production.INFO: ==4490== Lock acquired, processing the job...
[2025-01-12 05:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:25:03] Production.INFO: ==4484== Lock acquired, processing the job...
[2025-01-12 05:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:25:03] Production.INFO: ==4495== Lock acquired, processing the job...
[2025-01-12 05:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 05:25:03] Production.INFO: ==4486== Lock acquired, processing the job...
[2025-01-12 05:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:25:03] Production.INFO: Account Balance Start.
[2025-01-12 05:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:25:03] Production.INFO: 117
[2025-01-12 05:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:25:03] Production.INFO: count ==21
[2025-01-12 05:25:03] Production.INFO: ==4488== Lock acquired, processing the job...
[2025-01-12 05:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:25:03] Production.INFO: count ==21
[2025-01-12 05:25:03] Production.INFO: ==4492== Lock acquired, processing the job...
[2025-01-12 05:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229440') start
[2025-01-12 05:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:25:03] Production.INFO: Total Charge 0
[2025-01-12 05:25:03] Production.INFO: CreateAllLog End
[2025-01-12 05:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229440') end
[2025-01-12 05:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:25:04] Production.INFO: 1
[2025-01-12 05:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:25:04] Production.INFO: ==4495== Releasing lock...
[2025-01-12 05:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:25:04] Production.INFO: ==4486== Releasing lock...
[2025-01-12 05:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:25:04] Production.ERROR: done
[2025-01-12 05:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:25:04] Production.INFO: Account Balance End.
[2025-01-12 05:25:04] Production.ERROR: done
[2025-01-12 05:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:25:04] Production.INFO: ==4490== Releasing lock...
[2025-01-12 05:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:25:05
[end_date_ymd] => 2025-01-12 05:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:25:05' and `end` < '2025-01-12 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-01-12 05:25:12] Production.ERROR: CronJobId end10
[2025-01-12 05:25:12] Production.INFO: ==4488== Releasing lock...
[2025-01-12 05:25:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:25:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:25:14] Production.INFO: call_cost start
[2025-01-12 05:25:14] Production.INFO: call_cost end
[2025-01-12 05:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:25:15] Production.INFO: ==4484== Releasing lock...
[2025-01-12 05:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:25:19] Production.INFO: count ==210
[2025-01-12 05:25:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:25:05 - End Time 2025-01-12 05:25:05
[2025-01-12 05:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229442', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229442', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229442', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229442', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:25:19] Production.INFO: ProcessCDR(1,14229442,1,1,2)
[2025-01-12 05:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229442', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229442', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:25:22] Production.INFO: ==4492== Releasing lock...
[2025-01-12 05:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:25:22] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:26:02] Production.INFO: ==4602== Lock acquired, processing the job...
[2025-01-12 10:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:26:02] Production.INFO: neon service started
[2025-01-12 10:26:02] Production.INFO: neon service started
[2025-01-12 10:26:02] Production.INFO: ==4602== Releasing lock...
[2025-01-12 10:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:26:02] Production.INFO: ==4605== Lock acquired, processing the job...
[2025-01-12 05:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:26:02] Production.INFO: ==4607== Lock acquired, processing the job...
[2025-01-12 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:26:03] Production.INFO: ==4607== Releasing lock...
[2025-01-12 10:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:26:03] Production.INFO: ==4605== Releasing lock...
[2025-01-12 05:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:26:04] Production.INFO: ==4611== Lock acquired, processing the job...
[2025-01-12 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:26:04] Production.INFO: ==4613== Lock acquired, processing the job...
[2025-01-12 05:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:26:04] Production.INFO: ==4615== Lock acquired, processing the job...
[2025-01-12 05:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:26:04] Production.INFO: ==4609== Lock acquired, processing the job...
[2025-01-12 05:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:26:04] Production.INFO: Account Balance Start.
[2025-01-12 05:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:26:04] Production.INFO: 117
[2025-01-12 05:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:26:04] Production.INFO: ==4617== Lock acquired, processing the job...
[2025-01-12 05:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:26:04] Production.INFO: ==4611== Releasing lock...
[2025-01-12 05:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:26:04] Production.INFO: ==4619== Lock acquired, processing the job...
[2025-01-12 05:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:26:04] Production.INFO: Total Charge 0
[2025-01-12 05:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:26:04] Production.INFO: CreateAllLog End
[2025-01-12 05:26:04] Production.INFO: count ==21
[2025-01-12 05:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:26:04] Production.ERROR: done
[2025-01-12 05:26:04] Production.INFO: count ==21
[2025-01-12 05:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229446') start
[2025-01-12 05:26:04] Production.ERROR: done
[2025-01-12 05:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229446') end
[2025-01-12 05:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:26:04] Production.INFO: 1
[2025-01-12 05:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:26:05] Production.INFO: ==4619== Releasing lock...
[2025-01-12 05:26:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:26:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:26:05] Production.INFO: Account Balance End.
[2025-01-12 05:26:05] Production.ERROR: CronJobId end 12
[2025-01-12 05:26:05] Production.INFO: ==4615== Releasing lock...
[2025-01-12 05:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:26:05
[end_date_ymd] => 2025-01-12 05:26:05
[RateCDR] => 1
)
[2025-01-12 05:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:26:05' and `end` < '2025-01-12 05:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:26:11] Production.ERROR: CronJobId end10
[2025-01-12 05:26:11] Production.INFO: ==4613== Releasing lock...
[2025-01-12 05:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:26:13] Production.INFO: call_cost start
[2025-01-12 05:26:13] Production.INFO: call_cost end
[2025-01-12 05:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:26:14] Production.INFO: ==4609== Releasing lock...
[2025-01-12 05:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:26:18] Production.INFO: count ==210
[2025-01-12 05:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:26:05 - End Time 2025-01-12 05:26:05
[2025-01-12 05:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229447', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229447', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229447', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229447', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:26:19] Production.INFO: ProcessCDR(1,14229447,1,1,2)
[2025-01-12 05:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229447', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229447', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:26:22] Production.INFO: ==4617== Releasing lock...
[2025-01-12 05:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:26:22] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:27:01] Production.INFO: ==4680== Lock acquired, processing the job...
[2025-01-12 10:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:27:01] Production.INFO: neon service started
[2025-01-12 10:27:01] Production.INFO: neon service started
[2025-01-12 10:27:01] Production.INFO: ==4680== Releasing lock...
[2025-01-12 10:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:27:02] Production.INFO: ==4682== Lock acquired, processing the job...
[2025-01-12 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:27:02] Production.INFO: ==4682== Releasing lock...
[2025-01-12 05:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:27:02] Production.INFO: ==4684== Lock acquired, processing the job...
[2025-01-12 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:27:02] Production.INFO: ==4684== Releasing lock...
[2025-01-12 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:27:03] Production.INFO: ==4693== Lock acquired, processing the job...
[2025-01-12 05:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:27:03] Production.INFO: ==4697== Lock acquired, processing the job...
[2025-01-12 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:27:03] Production.INFO: ==4687== Lock acquired, processing the job...
[2025-01-12 05:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:27:03] Production.INFO: Account Balance Start.
[2025-01-12 05:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:27:03] Production.INFO: 117
[2025-01-12 05:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:27:03] Production.INFO: ==4689== Lock acquired, processing the job...
[2025-01-12 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:27:03] Production.INFO: count ==21
[2025-01-12 05:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:27:03] Production.INFO: count ==21
[2025-01-12 05:27:03] Production.INFO: ==4691== Lock acquired, processing the job...
[2025-01-12 05:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229449') start
[2025-01-12 05:27:03] Production.INFO: ==4695== Lock acquired, processing the job...
[2025-01-12 05:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229449') end
[2025-01-12 05:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:27:03] Production.INFO: 1
[2025-01-12 05:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:27:03] Production.INFO: ==4697== Releasing lock...
[2025-01-12 05:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:27:03] Production.INFO: ==4689== Releasing lock...
[2025-01-12 05:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:27:03] Production.INFO: Total Charge 0
[2025-01-12 05:27:03] Production.INFO: CreateAllLog End
[2025-01-12 05:27:03] Production.ERROR: done
[2025-01-12 05:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:27:04] Production.INFO: Account Balance End.
[2025-01-12 05:27:04] Production.ERROR: done
[2025-01-12 05:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:27:04] Production.INFO: ==4693== Releasing lock...
[2025-01-12 05:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:27:05
[end_date_ymd] => 2025-01-12 05:27:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:27:05' and `end` < '2025-01-12 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-01-12 05:27:11] Production.ERROR: CronJobId end10
[2025-01-12 05:27:11] Production.INFO: ==4691== Releasing lock...
[2025-01-12 05:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:27:12] Production.INFO: call_cost start
[2025-01-12 05:27:12] Production.INFO: call_cost end
[2025-01-12 05:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:27:13] Production.INFO: ==4687== Releasing lock...
[2025-01-12 05:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:27:18] Production.INFO: count ==209
[2025-01-12 05:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:27:05 - End Time 2025-01-12 05:27:05
[2025-01-12 05:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229452', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229452', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229452', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229452', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:27:18] Production.INFO: ProcessCDR(1,14229452,1,1,2)
[2025-01-12 05:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229452', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229452', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:27:21] Production.INFO: ==4695== Releasing lock...
[2025-01-12 05:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:27:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:28:02] Production.INFO: ==4758== Lock acquired, processing the job...
[2025-01-12 10:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:28:02] Production.INFO: neon service started
[2025-01-12 10:28:02] Production.INFO: neon service started
[2025-01-12 10:28:02] Production.INFO: ==4758== Releasing lock...
[2025-01-12 10:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:28:02] Production.INFO: ==4760== Lock acquired, processing the job...
[2025-01-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:28:02] Production.INFO: ==4760== Releasing lock...
[2025-01-12 05:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:28:02] Production.INFO: ==4762== Lock acquired, processing the job...
[2025-01-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:28:02] Production.INFO: ==4762== Releasing lock...
[2025-01-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:28:03] Production.INFO: ==4773== Lock acquired, processing the job...
[2025-01-12 05:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:28:03] Production.INFO: ==4771== Lock acquired, processing the job...
[2025-01-12 05:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:28:03] Production.INFO: ==4765== Lock acquired, processing the job...
[2025-01-12 05:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:28:03] Production.INFO: ==4767== Lock acquired, processing the job...
[2025-01-12 05:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:28:03] Production.INFO: Account Balance Start.
[2025-01-12 05:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:28:03] Production.INFO: 117
[2025-01-12 05:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:28:03] Production.INFO: ==4775== Lock acquired, processing the job...
[2025-01-12 05:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:28:03] Production.INFO: ==4769== Lock acquired, processing the job...
[2025-01-12 05:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05: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-01-12 05:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:28:04] Production.INFO: Total Charge 0
[2025-01-12 05:28:04] Production.INFO: count ==21
[2025-01-12 05: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-01-12 05:28:04] Production.INFO: count ==21
[2025-01-12 05:28:04] Production.ERROR: done
[2025-01-12 05:28:04] Production.INFO: CreateAllLog End
[2025-01-12 05:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229456') start
[2025-01-12 05:28:04] Production.INFO: ==4767== Releasing lock...
[2025-01-12 05:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:28:04] Production.ERROR: done
[2025-01-12 05:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229456') end
[2025-01-12 05:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:28:04] Production.INFO: 1
[2025-01-12 05:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:28:04] Production.INFO: ==4775== Releasing lock...
[2025-01-12 05:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:28:04] Production.INFO: Account Balance End.
[2025-01-12 05:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:28:04] Production.INFO: ==4771== Releasing lock...
[2025-01-12 05:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:28:05
[end_date_ymd] => 2025-01-12 05:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:28:05' and `end` < '2025-01-12 05:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:28:11] Production.ERROR: CronJobId end10
[2025-01-12 05:28:11] Production.INFO: ==4769== Releasing lock...
[2025-01-12 05:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:28:13] Production.INFO: call_cost start
[2025-01-12 05:28:13] Production.INFO: call_cost end
[2025-01-12 05:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:28:14] Production.INFO: ==4765== Releasing lock...
[2025-01-12 05:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:28:18] Production.INFO: count ==209
[2025-01-12 05:28:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:28:05 - End Time 2025-01-12 05:28:05
[2025-01-12 05:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229457', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229457', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229457', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229457', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:28:18] Production.INFO: ProcessCDR(1,14229457,1,1,2)
[2025-01-12 05:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229457', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229457', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:28:21] Production.INFO: ==4773== Releasing lock...
[2025-01-12 05:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:28:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:29:01] Production.INFO: ==4838== Lock acquired, processing the job...
[2025-01-12 10:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:29:01] Production.INFO: neon service started
[2025-01-12 10:29:01] Production.INFO: neon service started
[2025-01-12 10:29:01] Production.INFO: ==4838== Releasing lock...
[2025-01-12 10:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:29:01] Production.INFO: ==4840== Lock acquired, processing the job...
[2025-01-12 05:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:29:02] Production.INFO: ==4842== Lock acquired, processing the job...
[2025-01-12 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:29:02] Production.INFO: ==4840== Releasing lock...
[2025-01-12 05:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:29:02] Production.INFO: ==4842== Releasing lock...
[2025-01-12 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:29:03] Production.INFO: ==4848== Lock acquired, processing the job...
[2025-01-12 05:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:29:03] Production.INFO: ==4850== Lock acquired, processing the job...
[2025-01-12 05:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:29:03] Production.INFO: ==4846== Lock acquired, processing the job...
[2025-01-12 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:29:03] Production.INFO: ==4852== Lock acquired, processing the job...
[2025-01-12 05:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:29:03] Production.INFO: ==4844== Lock acquired, processing the job...
[2025-01-12 05:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:29:03] Production.INFO: ==4855== Lock acquired, processing the job...
[2025-01-12 05:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:29:03] Production.INFO: Account Balance Start.
[2025-01-12 05:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:29:03] Production.INFO: 117
[2025-01-12 05:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:29:03] Production.INFO: count ==21
[2025-01-12 05:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:29:03] Production.INFO: count ==21
[2025-01-12 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229461') start
[2025-01-12 05:29:03] Production.ERROR: done
[2025-01-12 05:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229461') end
[2025-01-12 05:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:29:03] Production.INFO: 1
[2025-01-12 05:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:29:03] Production.INFO: ==4855== Releasing lock...
[2025-01-12 05:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:29:03] Production.INFO: ==4846== Releasing lock...
[2025-01-12 05:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:29:03] Production.ERROR: done
[2025-01-12 05:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:29:03] Production.INFO: Total Charge 0
[2025-01-12 05:29:04] Production.INFO: CreateAllLog End
[2025-01-12 05:29:04] Production.INFO: Account Balance End.
[2025-01-12 05:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:29:04] Production.INFO: ==4850== Releasing lock...
[2025-01-12 05:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:29:04
[end_date_ymd] => 2025-01-12 05:29:04
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:29:04' and `end` < '2025-01-12 05: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-01-12 05:29:10] Production.ERROR: CronJobId end10
[2025-01-12 05:29:10] Production.INFO: ==4848== Releasing lock...
[2025-01-12 05:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:29:12] Production.INFO: call_cost start
[2025-01-12 05:29:12] Production.INFO: call_cost end
[2025-01-12 05:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:29:13] Production.INFO: ==4844== Releasing lock...
[2025-01-12 05:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:29:18] Production.INFO: count ==209
[2025-01-12 05:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:29:04 - End Time 2025-01-12 05:29:04
[2025-01-12 05:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229462', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229462', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229462', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229462', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:29:18] Production.INFO: ProcessCDR(1,14229462,1,1,2)
[2025-01-12 05:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229462', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229462', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:29:21] Production.INFO: ==4852== Releasing lock...
[2025-01-12 05:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:29:21] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:30:02] Production.INFO: ==4914== Lock acquired, processing the job...
[2025-01-12 10:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:30:02] Production.INFO: neon service started
[2025-01-12 10:30:02] Production.INFO: neon service started
[2025-01-12 10:30:02] Production.INFO: ==4914== Releasing lock...
[2025-01-12 10:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:30:02] Production.INFO: ==4917== Lock acquired, processing the job...
[2025-01-12 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:30:02] Production.INFO: ==4919== Lock acquired, processing the job...
[2025-01-12 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:30:02] Production.INFO: ==4919== Releasing lock...
[2025-01-12 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:30:02] Production.INFO: ==4917== Releasing lock...
[2025-01-12 05:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:30:03] Production.INFO: ==4921== Lock acquired, processing the job...
[2025-01-12 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 05:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 05:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 05:30:03] Production.INFO: ==4921== Releasing lock...
[2025-01-12 05:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 05:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:30:03] Production.INFO: ==4923== Lock acquired, processing the job...
[2025-01-12 05:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:30:03] Production.INFO: ==4927== Lock acquired, processing the job...
[2025-01-12 05:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:30:03] Production.INFO: ==4925== Lock acquired, processing the job...
[2025-01-12 05:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:30:04] Production.INFO: ==4933== Lock acquired, processing the job...
[2025-01-12 05:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 05:30:04] Production.INFO: ==4929== Lock acquired, processing the job...
[2025-01-12 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:30:04] Production.INFO: Account Balance Start.
[2025-01-12 05:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:30:04] Production.INFO: 117
[2025-01-12 05:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:30:04] Production.INFO: ==4931== Lock acquired, processing the job...
[2025-01-12 05:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:30:04] Production.INFO: ==4935== Lock acquired, processing the job...
[2025-01-12 05:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:30:04] Production.INFO: ==4925== Releasing lock...
[2025-01-12 05:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:30:04] Production.ERROR: done
[2025-01-12 05:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 05:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229466', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 05:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:30:04] Production.INFO: Total Charge 0
[2025-01-12 05:30:04] Production.INFO: count ==21
[2025-01-12 05:30:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 05:30:04] Production.INFO: count ==21
[2025-01-12 05:30:04] Production.ERROR: done
[2025-01-12 05:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229467') start
[2025-01-12 05:30:04] Production.INFO: Account Balance End.
[2025-01-12 05:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229467') end
[2025-01-12 05:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:30:04] Production.INFO: 1
[2025-01-12 05:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:30:04] Production.ERROR: done
[2025-01-12 05:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:30:04] Production.INFO: ==4929== Releasing lock...
[2025-01-12 05:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:30:05] Production.INFO: ==4935== Releasing lock...
[2025-01-12 05:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:30:06
[end_date_ymd] => 2025-01-12 05:30:06
[RateCDR] => 1
)
[2025-01-12 05:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:30:06' and `end` < '2025-01-12 05:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229466', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 05:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 05:30:08] Production.INFO: ProcessCDR(1,14229466,1,1,2)
[2025-01-12 05:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229466,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229466,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:30:08] Production.INFO: ==4933== Releasing lock...
[2025-01-12 05:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 05:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 05:30:12] Production.ERROR: CronJobId end10
[2025-01-12 05:30:12] Production.INFO: ==4927== Releasing lock...
[2025-01-12 05:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:30:14] Production.INFO: call_cost start
[2025-01-12 05:30:14] Production.INFO: call_cost end
[2025-01-12 05:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:30:15] Production.INFO: ==4923== Releasing lock...
[2025-01-12 05:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:30:19] Production.INFO: count ==205
[2025-01-12 05:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:30:06 - End Time 2025-01-12 05:30:06
[2025-01-12 05:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229468', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229468', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229468', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229468', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:30:19] Production.INFO: ProcessCDR(1,14229468,1,1,2)
[2025-01-12 05:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229468,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:30:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229468,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229468', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:30:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229468', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:30:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:30:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:30:22] Production.INFO: ==4931== Releasing lock...
[2025-01-12 05:30:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:30:22] Production.INFO: 29 MB #Memory Used#
[2025-01-12 10:31:01] Production.INFO: ==5002== Lock acquired, processing the job...
[2025-01-12 10:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:31:01] Production.INFO: neon service started
[2025-01-12 10:31:01] Production.INFO: neon service started
[2025-01-12 10:31:01] Production.INFO: ==5002== Releasing lock...
[2025-01-12 10:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:31:02] Production.INFO: ==5004== Lock acquired, processing the job...
[2025-01-12 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:31:02] Production.INFO: ==5006== Lock acquired, processing the job...
[2025-01-12 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:31:02] Production.INFO: ==5006== Releasing lock...
[2025-01-12 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:31:02] Production.INFO: ==5004== Releasing lock...
[2025-01-12 05:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:31:03] Production.INFO: ==5009== Lock acquired, processing the job...
[2025-01-12 05:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:31:03] Production.INFO: ==5011== Lock acquired, processing the job...
[2025-01-12 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:31:03] Production.INFO: ==5013== Lock acquired, processing the job...
[2025-01-12 05:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:31:03] Production.INFO: ==5015== Lock acquired, processing the job...
[2025-01-12 05:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:31:03] Production.INFO: ==5017== Lock acquired, processing the job...
[2025-01-12 05:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:31:03] Production.INFO: Account Balance Start.
[2025-01-12 05:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:31:03] Production.INFO: 117
[2025-01-12 05:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:31:03] Production.INFO: ==5019== Lock acquired, processing the job...
[2025-01-12 05:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:31:03] Production.INFO: ==5011== Releasing lock...
[2025-01-12 05:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 05:31:03] Production.ERROR: done
[2025-01-12 05:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:31:03] Production.INFO: Total Charge 0
[2025-01-12 05:31:03] Production.INFO: count ==21
[2025-01-12 05:31:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 05:31:03] Production.INFO: count ==21
[2025-01-12 05:31:04] Production.ERROR: done
[2025-01-12 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229472') start
[2025-01-12 05:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229472') end
[2025-01-12 05:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:31:04] Production.INFO: 1
[2025-01-12 05:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:31:04] Production.INFO: Account Balance End.
[2025-01-12 05:31:04] Production.INFO: ==5019== Releasing lock...
[2025-01-12 05:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:31:04] Production.INFO: ==5015== Releasing lock...
[2025-01-12 05:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:31:05
[end_date_ymd] => 2025-01-12 05:31:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:31:05' and `end` < '2025-01-12 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-01-12 05:31:10] Production.ERROR: CronJobId end10
[2025-01-12 05:31:10] Production.INFO: ==5013== Releasing lock...
[2025-01-12 05:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:31:12] Production.INFO: call_cost start
[2025-01-12 05:31:12] Production.INFO: call_cost end
[2025-01-12 05:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:31:13] Production.INFO: ==5009== Releasing lock...
[2025-01-12 05:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:31:18] Production.INFO: count ==190
[2025-01-12 05:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:31:05 - End Time 2025-01-12 05:31:05
[2025-01-12 05:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229473', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229473', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229473', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229473', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:31:18] Production.INFO: ProcessCDR(1,14229473,1,1,2)
[2025-01-12 05:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229473,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229473,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229473', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229473', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:31:21] Production.INFO: ==5017== Releasing lock...
[2025-01-12 05:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:31:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:32:01] Production.INFO: ==5080== Lock acquired, processing the job...
[2025-01-12 10:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:32:01] Production.INFO: neon service started
[2025-01-12 10:32:01] Production.INFO: neon service started
[2025-01-12 10:32:01] Production.INFO: ==5080== Releasing lock...
[2025-01-12 10:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:32:02] Production.INFO: ==5084== Lock acquired, processing the job...
[2025-01-12 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:32:02] Production.INFO: ==5084== Releasing lock...
[2025-01-12 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:32:02] Production.INFO: ==5082== Lock acquired, processing the job...
[2025-01-12 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:32:02] Production.INFO: ==5082== Releasing lock...
[2025-01-12 05:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:32:03] Production.INFO: ==5095== Lock acquired, processing the job...
[2025-01-12 05:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:32:03] Production.INFO: ==5091== Lock acquired, processing the job...
[2025-01-12 05:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:32:03] Production.INFO: ==5087== Lock acquired, processing the job...
[2025-01-12 05:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:32:03] Production.INFO: ==5089== Lock acquired, processing the job...
[2025-01-12 05:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:32:03] Production.INFO: ==5093== Lock acquired, processing the job...
[2025-01-12 05:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:32:03] Production.INFO: ==5097== Lock acquired, processing the job...
[2025-01-12 05:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:32:03] Production.ERROR: done
[2025-01-12 05:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:32:03] Production.INFO: Account Balance Start.
[2025-01-12 05:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:32:03] Production.INFO: 117
[2025-01-12 05:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 05: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-01-12 05:32:04] Production.INFO: count ==21
[2025-01-12 05:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 05:32:04] Production.ERROR: done
[2025-01-12 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:32:04] Production.INFO: count ==21
[2025-01-12 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229477') start
[2025-01-12 05:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:32:04] Production.INFO: ==5089== Releasing lock...
[2025-01-12 05:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:32:04] Production.INFO: Total Charge 0
[2025-01-12 05:32:04] Production.INFO: CreateAllLog End
[2025-01-12 05:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229477') end
[2025-01-12 05:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:32:04] Production.INFO: 1
[2025-01-12 05:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:32:04] Production.INFO: ==5097== Releasing lock...
[2025-01-12 05:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:32:04] Production.INFO: Account Balance End.
[2025-01-12 05:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:32:04] Production.INFO: ==5093== Releasing lock...
[2025-01-12 05:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:32:05
[end_date_ymd] => 2025-01-12 05:32:05
[RateCDR] => 1
)
[2025-01-12 05:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:32:05' and `end` < '2025-01-12 05:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:32:11] Production.ERROR: CronJobId end10
[2025-01-12 05:32:11] Production.INFO: ==5091== Releasing lock...
[2025-01-12 05:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:32:13] Production.INFO: call_cost start
[2025-01-12 05:32:13] Production.INFO: call_cost end
[2025-01-12 05:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:32:14] Production.INFO: ==5087== Releasing lock...
[2025-01-12 05:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:32:18] Production.INFO: count ==190
[2025-01-12 05:32:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:32:05 - End Time 2025-01-12 05:32:05
[2025-01-12 05:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229478', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229478', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229478', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229478', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:32:18] Production.INFO: ProcessCDR(1,14229478,1,1,2)
[2025-01-12 05:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229478,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229478,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229478', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229478', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:32:21] Production.INFO: ==5095== Releasing lock...
[2025-01-12 05:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:32:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:33:02] Production.INFO: ==5162== Lock acquired, processing the job...
[2025-01-12 10:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:33:02] Production.INFO: neon service started
[2025-01-12 10:33:02] Production.INFO: neon service started
[2025-01-12 10:33:02] Production.INFO: ==5162== Releasing lock...
[2025-01-12 10:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:33:02] Production.INFO: ==5164== Lock acquired, processing the job...
[2025-01-12 05:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:33:02] Production.INFO: ==5166== Lock acquired, processing the job...
[2025-01-12 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:33:03] Production.INFO: ==5166== Releasing lock...
[2025-01-12 10:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:33:03] Production.INFO: ==5164== Releasing lock...
[2025-01-12 05:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:33:03] Production.INFO: ==5171== Lock acquired, processing the job...
[2025-01-12 05:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:33:04] Production.INFO: ==5169== Lock acquired, processing the job...
[2025-01-12 05:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:33:04] Production.INFO: ==5177== Lock acquired, processing the job...
[2025-01-12 05:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:33:04] Production.INFO: ==5173== Lock acquired, processing the job...
[2025-01-12 05:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:33:04] Production.INFO: ==5171== Releasing lock...
[2025-01-12 05:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:33:04] Production.INFO: ==5175== Lock acquired, processing the job...
[2025-01-12 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:33:04] Production.INFO: Account Balance Start.
[2025-01-12 05:33:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:33:04] Production.INFO: 117
[2025-01-12 05:33:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:33:04] Production.INFO: ==5179== Lock acquired, processing the job...
[2025-01-12 05:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:33:04] Production.INFO: Total Charge 0
[2025-01-12 05:33:04] Production.ERROR: done
[2025-01-12 05:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:33:04] Production.INFO: CreateAllLog End
[2025-01-12 05:33:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:33:04] Production.INFO: count ==21
[2025-01-12 05:33:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:33:04] Production.INFO: count ==21
[2025-01-12 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229482') start
[2025-01-12 05:33:04] Production.ERROR: done
[2025-01-12 05:33:04] Production.INFO: Account Balance End.
[2025-01-12 05:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:33:04] Production.INFO: ==5175== Releasing lock...
[2025-01-12 05:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229482') end
[2025-01-12 05:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:33:04] Production.INFO: 1
[2025-01-12 05:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:33:05] Production.INFO: ==5179== Releasing lock...
[2025-01-12 05:33:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:33:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:33:05
[end_date_ymd] => 2025-01-12 05:33:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:33:05' and `end` < '2025-01-12 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-01-12 05:33:10] Production.ERROR: CronJobId end10
[2025-01-12 05:33:10] Production.INFO: ==5173== Releasing lock...
[2025-01-12 05:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:33:13] Production.INFO: call_cost start
[2025-01-12 05:33:13] Production.INFO: call_cost end
[2025-01-12 05:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:33:14] Production.INFO: ==5169== Releasing lock...
[2025-01-12 05:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:33:19] Production.INFO: count ==190
[2025-01-12 05:33:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:33:05 - End Time 2025-01-12 05:33:05
[2025-01-12 05:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229483', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229483', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229483', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229483', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:33:19] Production.INFO: ProcessCDR(1,14229483,1,1,2)
[2025-01-12 05:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229483,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229483,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229483', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229483', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:33:22] Production.INFO: ==5177== Releasing lock...
[2025-01-12 05:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:33:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:34:01] Production.INFO: ==5243== Lock acquired, processing the job...
[2025-01-12 10:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:34:01] Production.INFO: neon service started
[2025-01-12 10:34:01] Production.INFO: neon service started
[2025-01-12 10:34:01] Production.INFO: ==5243== Releasing lock...
[2025-01-12 10:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:34:02] Production.INFO: ==5245== Lock acquired, processing the job...
[2025-01-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:34:02] Production.INFO: ==5247== Lock acquired, processing the job...
[2025-01-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:34:02] Production.INFO: ==5245== Releasing lock...
[2025-01-12 05:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:34:02] Production.INFO: ==5247== Releasing lock...
[2025-01-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:34:03] Production.INFO: ==5250== Lock acquired, processing the job...
[2025-01-12 05:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:34:03] Production.INFO: ==5256== Lock acquired, processing the job...
[2025-01-12 05:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:34:03] Production.INFO: ==5252== Lock acquired, processing the job...
[2025-01-12 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:34:03] Production.INFO: Account Balance Start.
[2025-01-12 05:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:34:03] Production.INFO: 117
[2025-01-12 05:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:34:03] Production.INFO: ==5254== Lock acquired, processing the job...
[2025-01-12 05:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:34:03] Production.INFO: ==5258== Lock acquired, processing the job...
[2025-01-12 05:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:34:03] Production.INFO: ==5260== Lock acquired, processing the job...
[2025-01-12 05:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:34:03] Production.INFO: Total Charge 0
[2025-01-12 05:34:03] Production.INFO: CreateAllLog End
[2025-01-12 05:34:03] Production.INFO: ==5252== Releasing lock...
[2025-01-12 05:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:34:03] Production.ERROR: done
[2025-01-12 05:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:34:03] Production.INFO: count ==21
[2025-01-12 05:34:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 05:34:04] Production.INFO: count ==21
[2025-01-12 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229487') start
[2025-01-12 05:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:34:04] Production.INFO: ==5256== Releasing lock...
[2025-01-12 05:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:34:04] Production.ERROR: done
[2025-01-12 05:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229487') end
[2025-01-12 05:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:34:04] Production.INFO: 1
[2025-01-12 05:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:34:04] Production.INFO: ==5260== Releasing lock...
[2025-01-12 05:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:34:05
[end_date_ymd] => 2025-01-12 05:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:34:05' and `end` < '2025-01-12 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-01-12 05:34:11] Production.ERROR: CronJobId end10
[2025-01-12 05:34:11] Production.INFO: ==5254== Releasing lock...
[2025-01-12 05:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:34:13] Production.INFO: call_cost start
[2025-01-12 05:34:13] Production.INFO: call_cost end
[2025-01-12 05:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:34:14] Production.INFO: ==5250== Releasing lock...
[2025-01-12 05:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:34:19] Production.INFO: count ==190
[2025-01-12 05:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:34:05 - End Time 2025-01-12 05:34:05
[2025-01-12 05:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229488', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229488', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229488', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229488', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:34:19] Production.INFO: ProcessCDR(1,14229488,1,1,2)
[2025-01-12 05:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229488', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229488', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:34:22] Production.INFO: ==5258== Releasing lock...
[2025-01-12 05:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:34:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:35:02] Production.INFO: ==5322== Lock acquired, processing the job...
[2025-01-12 10:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:35:02] Production.INFO: neon service started
[2025-01-12 10:35:02] Production.INFO: neon service started
[2025-01-12 10:35:02] Production.INFO: ==5322== Releasing lock...
[2025-01-12 10:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:35:02] Production.INFO: ==5324== Lock acquired, processing the job...
[2025-01-12 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:35:02] Production.INFO: ==5324== Releasing lock...
[2025-01-12 05:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:35:02] Production.INFO: ==5326== Lock acquired, processing the job...
[2025-01-12 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:35:02] Production.INFO: ==5326== Releasing lock...
[2025-01-12 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:35:03] Production.INFO: ==5334== Lock acquired, processing the job...
[2025-01-12 05:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:35:03] Production.INFO: ==5336== Lock acquired, processing the job...
[2025-01-12 05:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:35:03] Production.INFO: Account Balance Start.
[2025-01-12 05:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:35:03] Production.INFO: 117
[2025-01-12 05:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:35:03] Production.INFO: ==5328== Lock acquired, processing the job...
[2025-01-12 05:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:35:03] Production.INFO: ==5330== Lock acquired, processing the job...
[2025-01-12 05:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:35:03] Production.INFO: ==5338== Lock acquired, processing the job...
[2025-01-12 05:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:35:03] Production.INFO: ==5332== Lock acquired, processing the job...
[2025-01-12 05:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:35:04] Production.INFO: Total Charge 0
[2025-01-12 05:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:35:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:35:04] Production.INFO: CreateAllLog End
[2025-01-12 05:35:04] Production.INFO: count ==21
[2025-01-12 05:35:04] Production.ERROR: done
[2025-01-12 05:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:35:04] Production.INFO: count ==21
[2025-01-12 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229491') start
[2025-01-12 05:35:04] Production.INFO: ==5330== Releasing lock...
[2025-01-12 05:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:35:04] Production.INFO: Account Balance End.
[2025-01-12 05:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229491') end
[2025-01-12 05:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:35:04] Production.INFO: 1
[2025-01-12 05:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:35:04] Production.INFO: ==5334== Releasing lock...
[2025-01-12 05:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:35:04] Production.INFO: ==5338== Releasing lock...
[2025-01-12 05:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:35:04] Production.ERROR: done
[2025-01-12 05:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:35:05
[end_date_ymd] => 2025-01-12 05:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:35:05' and `end` < '2025-01-12 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-01-12 05:35:11] Production.ERROR: CronJobId end10
[2025-01-12 05:35:11] Production.INFO: ==5332== Releasing lock...
[2025-01-12 05:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:35:12] Production.INFO: call_cost start
[2025-01-12 05:35:12] Production.INFO: call_cost end
[2025-01-12 05:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:35:13] Production.INFO: ==5328== Releasing lock...
[2025-01-12 05:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:35:18] Production.INFO: count ==190
[2025-01-12 05:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:35:05 - End Time 2025-01-12 05:35:05
[2025-01-12 05:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229493', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229493', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229493', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229493', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:35:18] Production.INFO: ProcessCDR(1,14229493,1,1,2)
[2025-01-12 05:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229493', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229493', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:35:21] Production.INFO: ==5336== Releasing lock...
[2025-01-12 05:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:35:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:36:01] Production.INFO: ==5399== Lock acquired, processing the job...
[2025-01-12 10:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:36:01] Production.INFO: neon service started
[2025-01-12 10:36:01] Production.INFO: neon service started
[2025-01-12 10:36:01] Production.INFO: ==5399== Releasing lock...
[2025-01-12 10:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:36:01] Production.INFO: ==5401== Lock acquired, processing the job...
[2025-01-12 05:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:36:02] Production.INFO: ==5401== Releasing lock...
[2025-01-12 05:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:36:02] Production.INFO: ==5403== Lock acquired, processing the job...
[2025-01-12 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:36:02] Production.INFO: ==5403== Releasing lock...
[2025-01-12 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:36:02] Production.INFO: ==5407== Lock acquired, processing the job...
[2025-01-12 05:36:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:36:02] Production.INFO: ==5413== Lock acquired, processing the job...
[2025-01-12 05:36:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:36:02] Production.INFO: ==5411== Lock acquired, processing the job...
[2025-01-12 05:36:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:36:03] Production.INFO: Account Balance Start.
[2025-01-12 05:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:36:03] Production.INFO: 117
[2025-01-12 05:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:36:03] Production.INFO: ==5407== Releasing lock...
[2025-01-12 05:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:36:03] Production.INFO: ==5409== Lock acquired, processing the job...
[2025-01-12 05:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:36:03] Production.INFO: ==5405== Lock acquired, processing the job...
[2025-01-12 05:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:36:03] Production.INFO: Total Charge 0
[2025-01-12 05:36:03] Production.INFO: ==5415== Lock acquired, processing the job...
[2025-01-12 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:36:03] Production.INFO: CreateAllLog End
[2025-01-12 05:36:03] Production.ERROR: done
[2025-01-12 05:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:36:03] Production.INFO: count ==21
[2025-01-12 05:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:36:03] Production.INFO: Account Balance End.
[2025-01-12 05:36:03] Production.INFO: count ==21
[2025-01-12 05:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229496') start
[2025-01-12 05:36:03] Production.ERROR: done
[2025-01-12 05:36:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:36:03] Production.INFO: ==5411== Releasing lock...
[2025-01-12 05:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:36:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229496') end
[2025-01-12 05:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:36:03] Production.INFO: 1
[2025-01-12 05:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:36:03] Production.INFO: ==5415== Releasing lock...
[2025-01-12 05:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:36:04
[end_date_ymd] => 2025-01-12 05:36:04
[RateCDR] => 1
)
[2025-01-12 05:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:36:04' and `end` < '2025-01-12 05:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:36:09] 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-01-12 05:36:09] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:36:09] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:36:09] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:36:09] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:36:09] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:36:09] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:36:09] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:36:09] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:36:09] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:36:09] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:36:09] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:36:09] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:36:09] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:36:09] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:36:10] Production.INFO: call_cost start
[2025-01-12 05:36:10] Production.INFO: call_cost end
[2025-01-12 05:36:10] Production.ERROR: CronJobId end10
[2025-01-12 05:36:10] Production.INFO: ==5409== Releasing lock...
[2025-01-12 05:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:36:10] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:36:10] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:36:10] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:36:10] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:36:10] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:36:10] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:36:10] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:36:10] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:36:10] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:36:10] Production.INFO: ==5405== Releasing lock...
[2025-01-12 05:36:10] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:36:10] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:36:17] Production.INFO: count ==190
[2025-01-12 05:36:17] Production.ERROR: pbx CDR StartTime 2025-01-12 02:36:04 - End Time 2025-01-12 05:36:04
[2025-01-12 05:36:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229498', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229498', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229498', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:36:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229498', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:36:17] Production.INFO: ProcessCDR(1,14229498,1,1,2)
[2025-01-12 05:36:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:36:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:36:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:36:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229498', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:36:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229498', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:36:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:36:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:36:20] Production.INFO: ==5413== Releasing lock...
[2025-01-12 05:36:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:36:20] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:37:01] Production.INFO: ==5477== Lock acquired, processing the job...
[2025-01-12 10:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:37:01] Production.INFO: neon service started
[2025-01-12 10:37:01] Production.INFO: neon service started
[2025-01-12 10:37:01] Production.INFO: ==5477== Releasing lock...
[2025-01-12 10:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:37:02] Production.INFO: ==5479== Lock acquired, processing the job...
[2025-01-12 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:37:02] Production.INFO: ==5479== Releasing lock...
[2025-01-12 05:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:37:02] Production.INFO: ==5481== Lock acquired, processing the job...
[2025-01-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:37:02] Production.INFO: ==5481== Releasing lock...
[2025-01-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:37:03] Production.INFO: ==5483== Lock acquired, processing the job...
[2025-01-12 05:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:37:03] Production.INFO: ==5487== Lock acquired, processing the job...
[2025-01-12 05:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:37:03] Production.INFO: ==5489== Lock acquired, processing the job...
[2025-01-12 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:37:03] Production.INFO: Account Balance Start.
[2025-01-12 05:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:37:03] Production.INFO: 117
[2025-01-12 05:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:37:03] Production.INFO: ==5485== Lock acquired, processing the job...
[2025-01-12 05:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:37:03] Production.INFO: Total Charge 0
[2025-01-12 05:37:03] Production.INFO: CreateAllLog End
[2025-01-12 05:37:03] Production.INFO: ==5491== Lock acquired, processing the job...
[2025-01-12 05:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:37:03] Production.INFO: ==5493== Lock acquired, processing the job...
[2025-01-12 05:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:37:03] Production.INFO: Account Balance End.
[2025-01-12 05:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:37:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:37:03] Production.INFO: ==5489== Releasing lock...
[2025-01-12 05:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 05:37:04] Production.INFO: count ==21
[2025-01-12 05:37:04] Production.ERROR: done
[2025-01-12 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-01-12 05:37:04] Production.INFO: count ==21
[2025-01-12 05:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229502') start
[2025-01-12 05:37:04] Production.INFO: ==5485== Releasing lock...
[2025-01-12 05:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229502') end
[2025-01-12 05:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:37:04] Production.INFO: 1
[2025-01-12 05:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:37:04] Production.INFO: ==5493== Releasing lock...
[2025-01-12 05:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:37:04] Production.ERROR: done
[2025-01-12 05:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:37:05
[end_date_ymd] => 2025-01-12 05:37:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:37:05' and `end` < '2025-01-12 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-01-12 05:37:10] Production.ERROR: CronJobId end10
[2025-01-12 05:37:10] Production.INFO: ==5487== Releasing lock...
[2025-01-12 05:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:37:13] Production.INFO: call_cost start
[2025-01-12 05:37:13] Production.INFO: call_cost end
[2025-01-12 05:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:37:14] Production.INFO: ==5483== Releasing lock...
[2025-01-12 05:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:37:18] Production.INFO: count ==190
[2025-01-12 05:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:37:05 - End Time 2025-01-12 05:37:05
[2025-01-12 05:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229503', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229503', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229503', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229503', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:37:18] Production.INFO: ProcessCDR(1,14229503,1,1,2)
[2025-01-12 05:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229503', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229503', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:37:22] Production.INFO: ==5491== Releasing lock...
[2025-01-12 05:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:37:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:38:01] Production.INFO: ==5553== Lock acquired, processing the job...
[2025-01-12 10:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:38:01] Production.INFO: neon service started
[2025-01-12 10:38:01] Production.INFO: neon service started
[2025-01-12 10:38:01] Production.INFO: ==5553== Releasing lock...
[2025-01-12 10:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:38:01] Production.INFO: ==5557== Lock acquired, processing the job...
[2025-01-12 10:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:38:01] Production.INFO: ==5557== Releasing lock...
[2025-01-12 10:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:38:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:38:01] Production.INFO: ==5555== Lock acquired, processing the job...
[2025-01-12 05:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:38:02] Production.INFO: ==5555== Releasing lock...
[2025-01-12 05:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:38:02] Production.INFO: ==5559== Lock acquired, processing the job...
[2025-01-12 05:38:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:38:02] Production.INFO: ==5563== Lock acquired, processing the job...
[2025-01-12 05:38:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:38:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:38:02] Production.INFO: ==5565== Lock acquired, processing the job...
[2025-01-12 05:38:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:38:03] Production.INFO: ==5561== Lock acquired, processing the job...
[2025-01-12 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:38:03] Production.INFO: Account Balance Start.
[2025-01-12 05:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:38:03] Production.INFO: 117
[2025-01-12 05:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:38:03] Production.INFO: Total Charge 0
[2025-01-12 05:38:03] Production.INFO: CreateAllLog End
[2025-01-12 05:38:03] Production.INFO: ==5569== Lock acquired, processing the job...
[2025-01-12 05:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:38:03] Production.INFO: ==5567== Lock acquired, processing the job...
[2025-01-12 05:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:38:03] Production.INFO: ==5561== Releasing lock...
[2025-01-12 05:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:38:03] Production.INFO: Account Balance End.
[2025-01-12 05:38:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:38:03] Production.INFO: ==5565== Releasing lock...
[2025-01-12 05:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05: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-01-12 05:38:03] Production.INFO: count ==21
[2025-01-12 05: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-01-12 05:38:03] Production.INFO: count ==21
[2025-01-12 05:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229507') start
[2025-01-12 05:38:03] Production.ERROR: done
[2025-01-12 05:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:38:04] Production.ERROR: done
[2025-01-12 05:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229507') end
[2025-01-12 05:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:38:04] Production.INFO: 1
[2025-01-12 05:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:38:04] Production.INFO: ==5569== Releasing lock...
[2025-01-12 05:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:38:04
[end_date_ymd] => 2025-01-12 05:38:04
[RateCDR] => 1
)
[2025-01-12 05:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:38:04' and `end` < '2025-01-12 05:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:38:10] Production.ERROR: CronJobId end10
[2025-01-12 05:38:10] Production.INFO: ==5563== Releasing lock...
[2025-01-12 05:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:38:12] Production.INFO: call_cost start
[2025-01-12 05:38:12] Production.INFO: call_cost end
[2025-01-12 05:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:38:13] Production.INFO: ==5559== Releasing lock...
[2025-01-12 05:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:38:18] Production.INFO: count ==190
[2025-01-12 05:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:38:04 - End Time 2025-01-12 05:38:04
[2025-01-12 05:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229508', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229508', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229508', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229508', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:38:18] Production.INFO: ProcessCDR(1,14229508,1,1,2)
[2025-01-12 05:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:38:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229508', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:38:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229508', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:38:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:38:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:38:21] Production.INFO: ==5567== Releasing lock...
[2025-01-12 05:38:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:38:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:39:01] Production.INFO: ==5628== Lock acquired, processing the job...
[2025-01-12 10:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:39:01] Production.INFO: neon service started
[2025-01-12 10:39:01] Production.INFO: neon service started
[2025-01-12 10:39:01] Production.INFO: ==5628== Releasing lock...
[2025-01-12 10:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:39:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:39:02] Production.INFO: ==5630== Lock acquired, processing the job...
[2025-01-12 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:39:02] Production.INFO: ==5632== Lock acquired, processing the job...
[2025-01-12 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:39:02] Production.INFO: ==5632== Releasing lock...
[2025-01-12 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:39:02] Production.INFO: ==5630== Releasing lock...
[2025-01-12 05:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:39:03] Production.INFO: ==5639== Lock acquired, processing the job...
[2025-01-12 05:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:39:03] Production.INFO: ==5641== Lock acquired, processing the job...
[2025-01-12 05:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:39:03] Production.INFO: ==5635== Lock acquired, processing the job...
[2025-01-12 05:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:39:03] Production.INFO: Account Balance Start.
[2025-01-12 05:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:39:03] Production.INFO: 117
[2025-01-12 05:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:39:03] Production.INFO: ==5637== Lock acquired, processing the job...
[2025-01-12 05:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:39:03] Production.INFO: ==5645== Lock acquired, processing the job...
[2025-01-12 05:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:39:03] Production.INFO: ==5643== Lock acquired, processing the job...
[2025-01-12 05:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:39:03] Production.INFO: count ==21
[2025-01-12 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-01-12 05:39:03] Production.INFO: count ==21
[2025-01-12 05:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229511') start
[2025-01-12 05:39:03] Production.INFO: Total Charge 0
[2025-01-12 05:39:03] Production.INFO: CreateAllLog End
[2025-01-12 05:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229511') end
[2025-01-12 05:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:39:04] Production.INFO: 1
[2025-01-12 05:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:39:04] Production.INFO: ==5645== Releasing lock...
[2025-01-12 05:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:39:04] Production.ERROR: done
[2025-01-12 05:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:39:04] Production.INFO: ==5637== Releasing lock...
[2025-01-12 05:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:39:04] Production.ERROR: done
[2025-01-12 05:39:04] Production.INFO: Account Balance End.
[2025-01-12 05:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:39:04] Production.INFO: ==5641== Releasing lock...
[2025-01-12 05:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:39:05
[end_date_ymd] => 2025-01-12 05:39:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:39:05' and `end` < '2025-01-12 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-01-12 05:39:11] Production.ERROR: CronJobId end10
[2025-01-12 05:39:11] Production.INFO: ==5639== Releasing lock...
[2025-01-12 05:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:39:12] Production.INFO: call_cost start
[2025-01-12 05:39:12] Production.INFO: call_cost end
[2025-01-12 05:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:39:13] Production.INFO: ==5635== Releasing lock...
[2025-01-12 05:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:39:19] Production.INFO: count ==190
[2025-01-12 05:39:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:39:05 - End Time 2025-01-12 05:39:05
[2025-01-12 05:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229513', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229513', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229513', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229513', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:39:19] Production.INFO: ProcessCDR(1,14229513,1,1,2)
[2025-01-12 05:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229513', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229513', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:39:22] Production.INFO: ==5643== Releasing lock...
[2025-01-12 05:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:39:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:40:02] Production.INFO: ==5704== Lock acquired, processing the job...
[2025-01-12 10:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:40:02] Production.INFO: neon service started
[2025-01-12 10:40:02] Production.INFO: neon service started
[2025-01-12 10:40:02] Production.INFO: ==5704== Releasing lock...
[2025-01-12 10:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:40:02] Production.INFO: ==5706== Lock acquired, processing the job...
[2025-01-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:40:02] Production.INFO: ==5706== Releasing lock...
[2025-01-12 05:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:40:03] Production.INFO: ==5708== Lock acquired, processing the job...
[2025-01-12 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:40:03] Production.INFO: ==5708== Releasing lock...
[2025-01-12 10:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:40:03] Production.INFO: ==5710== Lock acquired, processing the job...
[2025-01-12 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 05:40:03] Production.INFO: ==5712== Lock acquired, processing the job...
[2025-01-12 05:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 05:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 05:40:03] Production.ERROR: CronJob PID - 5712
[2025-01-12 05:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 05:40:03] Production.ERROR: CronJob ID - 5
[2025-01-12 05:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 05:40:00
[2025-01-12 05:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 05:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 05:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 05:40:03] Production.INFO: ==5710== Releasing lock...
[2025-01-12 05:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 05:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:40:03] Production.INFO: ==5714== Lock acquired, processing the job...
[2025-01-12 05:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:40:04] Production.INFO: ==5716== Lock acquired, processing the job...
[2025-01-12 05:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:40:04] Production.INFO: ==5719== Lock acquired, processing the job...
[2025-01-12 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:40:04] Production.INFO: Account Balance Start.
[2025-01-12 05:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:40:04] Production.INFO: 117
[2025-01-12 05:40:04] Production.INFO: ==5721== Lock acquired, processing the job...
[2025-01-12 05:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:40:04] Production.INFO: ==5723== Lock acquired, processing the job...
[2025-01-12 05:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:40:04] Production.INFO: ==5714== Releasing lock...
[2025-01-12 05:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:40:04] Production.INFO: ==5725== Lock acquired, processing the job...
[2025-01-12 05:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:40:04] Production.INFO: Total Charge 0
[2025-01-12 05:40:04] Production.INFO: CreateAllLog End
[2025-01-12 05:40:04] Production.ERROR: done
[2025-01-12 05:40:04] Production.ERROR: done
[2025-01-12 05:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 05:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 05:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229518', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 05:40:04] Production.INFO: count ==21
[2025-01-12 05:40:04] Production.ERROR: done
[2025-01-12 05:40:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 05:40:04] Production.INFO: count ==21
[2025-01-12 05:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:40:04] Production.INFO: ==5719== Releasing lock...
[2025-01-12 05:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229517') start
[2025-01-12 05:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14229517') end
[2025-01-12 05:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:40:05] Production.INFO: 1
[2025-01-12 05:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:40:05] Production.INFO: ==5725== Releasing lock...
[2025-01-12 05:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:40:05
[end_date_ymd] => 2025-01-12 05:40:05
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:40:05' and `end` < '2025-01-12 05: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-01-12 05:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229518', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 05:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 05:40:08] Production.INFO: ProcessCDR(1,14229518,1,1,2)
[2025-01-12 05:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229518,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229518,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:40:08] Production.INFO: ==5723== Releasing lock...
[2025-01-12 05:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 05:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 05:40:13] Production.ERROR: CronJobId end10
[2025-01-12 05:40:13] Production.INFO: ==5716== Releasing lock...
[2025-01-12 05:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:40:15] Production.INFO: call_cost start
[2025-01-12 05:40:15] Production.INFO: call_cost end
[2025-01-12 05:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:40:15] Production.INFO: ==5712== Releasing lock...
[2025-01-12 05:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:40:18] Production.INFO: count ==184
[2025-01-12 05:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:40:05 - End Time 2025-01-12 05:40:05
[2025-01-12 05:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229519', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229519', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229519', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229519', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:40:18] Production.INFO: ProcessCDR(1,14229519,1,1,2)
[2025-01-12 05:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229519,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229519,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229519', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229519', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:40:21] Production.INFO: ==5721== Releasing lock...
[2025-01-12 05:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:40:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 10:41:01] Production.INFO: ==5822== Lock acquired, processing the job...
[2025-01-12 10:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:41:01] Production.INFO: neon service started
[2025-01-12 10:41:01] Production.INFO: neon service started
[2025-01-12 10:41:01] Production.INFO: ==5822== Releasing lock...
[2025-01-12 10:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:41:01] Production.INFO: ==5824== Lock acquired, processing the job...
[2025-01-12 05:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:41:02] Production.INFO: ==5824== Releasing lock...
[2025-01-12 05:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:41:02] Production.INFO: ==5826== Lock acquired, processing the job...
[2025-01-12 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:41:02] Production.INFO: ==5826== Releasing lock...
[2025-01-12 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:41:03] Production.INFO: ==5832== Lock acquired, processing the job...
[2025-01-12 05:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:41:03] Production.INFO: ==5838== Lock acquired, processing the job...
[2025-01-12 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:41:03] Production.INFO: ==5828== Lock acquired, processing the job...
[2025-01-12 05:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:41:03] Production.INFO: ==5830== Lock acquired, processing the job...
[2025-01-12 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:41:03] Production.INFO: count ==21
[2025-01-12 05:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:41:03] Production.INFO: count ==21
[2025-01-12 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229520') start
[2025-01-12 05:41:03] Production.INFO: ==5834== Lock acquired, processing the job...
[2025-01-12 05:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:41:03] Production.INFO: ==5836== Lock acquired, processing the job...
[2025-01-12 05:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229520') end
[2025-01-12 05:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:41:03] Production.INFO: 1
[2025-01-12 05:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:41:03] Production.INFO: Account Balance Start.
[2025-01-12 05:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:41:03] Production.INFO: 117
[2025-01-12 05:41:03] Production.INFO: ==5838== Releasing lock...
[2025-01-12 05:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:41:03] Production.INFO: ==5830== Releasing lock...
[2025-01-12 05:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:41:03] Production.ERROR: done
[2025-01-12 05:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:41:03] Production.INFO: Total Charge 0
[2025-01-12 05:41:03] Production.INFO: CreateAllLog End
[2025-01-12 05:41:03] Production.ERROR: done
[2025-01-12 05:41:04] Production.INFO: Account Balance End.
[2025-01-12 05:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:41:04] Production.INFO: ==5834== Releasing lock...
[2025-01-12 05:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:41:04
[end_date_ymd] => 2025-01-12 05:41:04
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:41:04' and `end` < '2025-01-12 05: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-01-12 05:41:09] Production.ERROR: CronJobId end10
[2025-01-12 05:41:09] Production.INFO: ==5832== Releasing lock...
[2025-01-12 05:41:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:41:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:41:12] Production.INFO: call_cost start
[2025-01-12 05:41:12] Production.INFO: call_cost end
[2025-01-12 05:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:41:13] Production.INFO: ==5828== Releasing lock...
[2025-01-12 05:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:41:17] Production.INFO: count ==150
[2025-01-12 05:41:17] Production.ERROR: pbx CDR StartTime 2025-01-12 02:41:04 - End Time 2025-01-12 05:41:04
[2025-01-12 05:41:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229524', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229524', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229524', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:41:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229524', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:41:17] Production.INFO: ProcessCDR(1,14229524,1,1,2)
[2025-01-12 05:41:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:41:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229524,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:41:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229524,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229524', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229524', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:41:21] Production.INFO: ==5836== Releasing lock...
[2025-01-12 05:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:41:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:42:01] Production.INFO: ==5900== Lock acquired, processing the job...
[2025-01-12 10:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:42:01] Production.INFO: neon service started
[2025-01-12 10:42:02] Production.INFO: neon service started
[2025-01-12 10:42:02] Production.INFO: ==5900== Releasing lock...
[2025-01-12 10:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:42:02] Production.INFO: ==5902== Lock acquired, processing the job...
[2025-01-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:42:02] Production.INFO: ==5904== Lock acquired, processing the job...
[2025-01-12 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:42:02] Production.INFO: ==5902== Releasing lock...
[2025-01-12 05:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:42:02] Production.INFO: ==5904== Releasing lock...
[2025-01-12 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:42:03] Production.INFO: ==5906== Lock acquired, processing the job...
[2025-01-12 05:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:42:03] Production.INFO: ==5914== Lock acquired, processing the job...
[2025-01-12 05:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:42:03] Production.INFO: ==5908== Lock acquired, processing the job...
[2025-01-12 05:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:42:03] Production.INFO: ==5916== Lock acquired, processing the job...
[2025-01-12 05:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:42:03] Production.INFO: ==5910== Lock acquired, processing the job...
[2025-01-12 05:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:42:03] Production.INFO: ==5912== Lock acquired, processing the job...
[2025-01-12 05:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05: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-01-12 05:42:03] Production.INFO: count ==21
[2025-01-12 05:42:03] Production.INFO: Account Balance Start.
[2025-01-12 05:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:42:03] Production.INFO: 117
[2025-01-12 05:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:42:03] Production.ERROR: done
[2025-01-12 05: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-01-12 05:42:03] Production.INFO: count ==21
[2025-01-12 05:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229527') start
[2025-01-12 05:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229527') end
[2025-01-12 05:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:42:04] Production.INFO: 1
[2025-01-12 05:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:42:04] Production.INFO: ==5916== Releasing lock...
[2025-01-12 05:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:42:04] Production.ERROR: done
[2025-01-12 05:42:04] Production.INFO: ==5908== Releasing lock...
[2025-01-12 05:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:42:04] Production.INFO: Total Charge 0
[2025-01-12 05:42:04] Production.INFO: CreateAllLog End
[2025-01-12 05:42:04] Production.INFO: Account Balance End.
[2025-01-12 05:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:42:04] Production.INFO: ==5912== Releasing lock...
[2025-01-12 05:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:42:05
[end_date_ymd] => 2025-01-12 05:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:42:05' and `end` < '2025-01-12 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-01-12 05:42:12] Production.ERROR: CronJobId end10
[2025-01-12 05:42:12] Production.INFO: ==5910== Releasing lock...
[2025-01-12 05:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:42:14] Production.INFO: call_cost start
[2025-01-12 05:42:14] Production.INFO: call_cost end
[2025-01-12 05:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:42:14] Production.INFO: ==5906== Releasing lock...
[2025-01-12 05:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:42:19] Production.INFO: count ==147
[2025-01-12 05:42:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:42:05 - End Time 2025-01-12 05:42:05
[2025-01-12 05:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229529', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229529', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229529', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229529', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:42:19] Production.INFO: ProcessCDR(1,14229529,1,1,2)
[2025-01-12 05:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229529,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229529,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229529', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229529', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:42:22] Production.INFO: ==5914== Releasing lock...
[2025-01-12 05:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:42:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:43:01] Production.INFO: ==5974== Lock acquired, processing the job...
[2025-01-12 10:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:43:01] Production.INFO: neon service started
[2025-01-12 10:43:01] Production.INFO: neon service started
[2025-01-12 10:43:01] Production.INFO: ==5974== Releasing lock...
[2025-01-12 10:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:43:02] Production.INFO: ==5978== Lock acquired, processing the job...
[2025-01-12 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:43:02] Production.INFO: ==5976== Lock acquired, processing the job...
[2025-01-12 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:43:02] Production.INFO: ==5978== Releasing lock...
[2025-01-12 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:43:02] Production.INFO: ==5976== Releasing lock...
[2025-01-12 05:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:43:02] Production.INFO: ==5981== Lock acquired, processing the job...
[2025-01-12 05:43:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:43:03] Production.INFO: ==5985== Lock acquired, processing the job...
[2025-01-12 05:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:43:03] Production.INFO: ==5991== Lock acquired, processing the job...
[2025-01-12 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:43:03] Production.INFO: ==5983== Lock acquired, processing the job...
[2025-01-12 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:43:03] Production.INFO: count ==21
[2025-01-12 05:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:43:03] Production.INFO: count ==21
[2025-01-12 05:43:03] Production.INFO: ==5987== Lock acquired, processing the job...
[2025-01-12 05:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229531') start
[2025-01-12 05:43:03] Production.INFO: ==5989== Lock acquired, processing the job...
[2025-01-12 05:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229531') end
[2025-01-12 05:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:43:03] Production.INFO: 1
[2025-01-12 05:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:43:03] Production.INFO: ==5991== Releasing lock...
[2025-01-12 05:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:43:03] Production.INFO: Account Balance Start.
[2025-01-12 05:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:43:03] Production.INFO: 117
[2025-01-12 05:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:43:03] Production.INFO: ==5983== Releasing lock...
[2025-01-12 05:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:43:04] Production.ERROR: done
[2025-01-12 05:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:43:04] Production.INFO: Total Charge 0
[2025-01-12 05:43:04] Production.INFO: CreateAllLog End
[2025-01-12 05:43:04] Production.ERROR: done
[2025-01-12 05:43:04] Production.INFO: Account Balance End.
[2025-01-12 05:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:43:04] Production.INFO: ==5987== Releasing lock...
[2025-01-12 05:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:43:05
[end_date_ymd] => 2025-01-12 05:43:05
[RateCDR] => 1
)
[2025-01-12 05:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:43:05' and `end` < '2025-01-12 05:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:43:10] Production.ERROR: CronJobId end10
[2025-01-12 05:43:10] Production.INFO: ==5985== Releasing lock...
[2025-01-12 05:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:43:13] Production.INFO: call_cost start
[2025-01-12 05:43:13] Production.INFO: call_cost end
[2025-01-12 05:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:43:14] Production.INFO: ==5981== Releasing lock...
[2025-01-12 05:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:43:18] Production.INFO: count ==147
[2025-01-12 05:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:43:05 - End Time 2025-01-12 05:43:05
[2025-01-12 05:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229534', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229534', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229534', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229534', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:43:18] Production.INFO: ProcessCDR(1,14229534,1,1,2)
[2025-01-12 05:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229534,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229534,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229534', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229534', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:43:21] Production.INFO: ==5989== Releasing lock...
[2025-01-12 05:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:43:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:44:01] Production.INFO: ==6053== Lock acquired, processing the job...
[2025-01-12 10:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:44:01] Production.INFO: neon service started
[2025-01-12 10:44:02] Production.INFO: neon service started
[2025-01-12 10:44:02] Production.INFO: ==6053== Releasing lock...
[2025-01-12 10:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:44:02] Production.INFO: ==6057== Lock acquired, processing the job...
[2025-01-12 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:44:02] Production.INFO: ==6055== Lock acquired, processing the job...
[2025-01-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:44:02] Production.INFO: ==6057== Releasing lock...
[2025-01-12 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:44:02] Production.INFO: ==6055== Releasing lock...
[2025-01-12 05:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:44:03] Production.INFO: ==6060== Lock acquired, processing the job...
[2025-01-12 05:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:44:03] Production.INFO: ==6062== Lock acquired, processing the job...
[2025-01-12 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:44:03] Production.INFO: ==6068== Lock acquired, processing the job...
[2025-01-12 05:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:44:03] Production.INFO: ==6064== Lock acquired, processing the job...
[2025-01-12 05:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:44:03] Production.INFO: ==6066== Lock acquired, processing the job...
[2025-01-12 05:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:44:03] Production.INFO: ==6062== Releasing lock...
[2025-01-12 05:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:44:04] Production.INFO: ==6070== Lock acquired, processing the job...
[2025-01-12 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:44:04] Production.INFO: Account Balance Start.
[2025-01-12 05:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:44:04] Production.INFO: 117
[2025-01-12 05:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:44:04] Production.ERROR: done
[2025-01-12 05:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:44:04] Production.INFO: count ==21
[2025-01-12 05:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:44:04] Production.INFO: count ==21
[2025-01-12 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229538') start
[2025-01-12 05:44:04] Production.ERROR: done
[2025-01-12 05:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229538') end
[2025-01-12 05:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:44:04] Production.INFO: 1
[2025-01-12 05:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:44:04] Production.INFO: Total Charge 0
[2025-01-12 05:44:04] Production.INFO: CreateAllLog End
[2025-01-12 05:44:04] Production.INFO: ==6070== Releasing lock...
[2025-01-12 05:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:44:04] Production.INFO: Account Balance End.
[2025-01-12 05:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:44:04] Production.INFO: ==6066== Releasing lock...
[2025-01-12 05:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:44:05
[end_date_ymd] => 2025-01-12 05:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:44:05' and `end` < '2025-01-12 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-01-12 05:44:11] Production.ERROR: CronJobId end10
[2025-01-12 05:44:11] Production.INFO: ==6064== Releasing lock...
[2025-01-12 05:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:44:13] Production.INFO: call_cost start
[2025-01-12 05:44:13] Production.INFO: call_cost end
[2025-01-12 05:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:44:14] Production.INFO: ==6060== Releasing lock...
[2025-01-12 05:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:44:18] Production.INFO: count ==147
[2025-01-12 05:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:44:05 - End Time 2025-01-12 05:44:05
[2025-01-12 05:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229539', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229539', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229539', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229539', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:44:18] Production.INFO: ProcessCDR(1,14229539,1,1,2)
[2025-01-12 05:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229539,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229539,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229539', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229539', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:44:22] Production.INFO: ==6068== Releasing lock...
[2025-01-12 05:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:44:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:45:01] Production.INFO: ==6126== Lock acquired, processing the job...
[2025-01-12 10:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:45:01] Production.INFO: neon service started
[2025-01-12 10:45:01] Production.INFO: neon service started
[2025-01-12 10:45:01] Production.INFO: ==6126== Releasing lock...
[2025-01-12 10:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:45:01] Production.INFO: ==6128== Lock acquired, processing the job...
[2025-01-12 05:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:45:02] Production.INFO: ==6128== Releasing lock...
[2025-01-12 05:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:45:02] Production.INFO: ==6130== Lock acquired, processing the job...
[2025-01-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:45:02] Production.INFO: ==6130== Releasing lock...
[2025-01-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:45:02] Production.INFO: ==6141== Lock acquired, processing the job...
[2025-01-12 05:45:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:45:03] Production.INFO: ==6143== Lock acquired, processing the job...
[2025-01-12 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:45:03] Production.INFO: ==6133== Lock acquired, processing the job...
[2025-01-12 05:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:45:03] Production.INFO: count ==21
[2025-01-12 05:45:03] Production.INFO: ==6135== Lock acquired, processing the job...
[2025-01-12 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:45:03] Production.INFO: ==6137== Lock acquired, processing the job...
[2025-01-12 05:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:45:03] Production.INFO: count ==21
[2025-01-12 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229540') start
[2025-01-12 05:45:03] Production.INFO: ==6139== Lock acquired, processing the job...
[2025-01-12 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:45:03] Production.ERROR: done
[2025-01-12 05:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229540') end
[2025-01-12 05:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:45:03] Production.INFO: 1
[2025-01-12 05:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:45:03] Production.INFO: ==6143== Releasing lock...
[2025-01-12 05:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:45:03] Production.INFO: Account Balance Start.
[2025-01-12 05:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:45:03] Production.INFO: 117
[2025-01-12 05:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:45:03] Production.ERROR: done
[2025-01-12 05:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:45:03] Production.INFO: Total Charge 0
[2025-01-12 05:45:03] Production.INFO: CreateAllLog End
[2025-01-12 05:45:03] Production.INFO: ==6135== Releasing lock...
[2025-01-12 05:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:45:03] Production.INFO: Account Balance End.
[2025-01-12 05:45:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:45:03] Production.INFO: ==6139== Releasing lock...
[2025-01-12 05:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:45:04
[end_date_ymd] => 2025-01-12 05:45:04
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:45:04' and `end` < '2025-01-12 05: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-01-12 05:45:10] Production.ERROR: CronJobId end10
[2025-01-12 05:45:10] Production.INFO: ==6137== Releasing lock...
[2025-01-12 05:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:45:13] Production.INFO: call_cost start
[2025-01-12 05:45:13] Production.INFO: call_cost end
[2025-01-12 05:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:45:14] Production.INFO: ==6133== Releasing lock...
[2025-01-12 05:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:45:18] Production.INFO: count ==147
[2025-01-12 05:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:45:04 - End Time 2025-01-12 05:45:04
[2025-01-12 05:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229544', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229544', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229544', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229544', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:45:18] Production.INFO: ProcessCDR(1,14229544,1,1,2)
[2025-01-12 05:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229544', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229544', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:45:21] Production.INFO: ==6141== Releasing lock...
[2025-01-12 05:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:45:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:46:01] Production.INFO: ==6202== Lock acquired, processing the job...
[2025-01-12 10:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:46:01] Production.INFO: neon service started
[2025-01-12 10:46:01] Production.INFO: neon service started
[2025-01-12 10:46:01] Production.INFO: ==6202== Releasing lock...
[2025-01-12 10:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:46:02] Production.INFO: ==6204== Lock acquired, processing the job...
[2025-01-12 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:46:02] Production.INFO: ==6206== Lock acquired, processing the job...
[2025-01-12 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:46:02] Production.INFO: ==6206== Releasing lock...
[2025-01-12 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:46:02] Production.INFO: ==6204== Releasing lock...
[2025-01-12 05:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:46:03] Production.INFO: ==6213== Lock acquired, processing the job...
[2025-01-12 05:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:46:03] Production.INFO: ==6217== Lock acquired, processing the job...
[2025-01-12 05:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:46:03] Production.INFO: ==6209== Lock acquired, processing the job...
[2025-01-12 05:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:46:03] Production.INFO: ==6211== Lock acquired, processing the job...
[2025-01-12 05:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:46:04] Production.INFO: ==6215== Lock acquired, processing the job...
[2025-01-12 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:46:04] Production.INFO: ==6219== Lock acquired, processing the job...
[2025-01-12 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:46:04] Production.INFO: Account Balance Start.
[2025-01-12 05:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:46:04] Production.INFO: 117
[2025-01-12 05:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:46:04] Production.INFO: count ==21
[2025-01-12 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-01-12 05:46:04] Production.INFO: count ==21
[2025-01-12 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229548') start
[2025-01-12 05:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:46:04] Production.ERROR: done
[2025-01-12 05:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:46:04] Production.INFO: ==6211== Releasing lock...
[2025-01-12 05:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:46:04] Production.INFO: Total Charge 0
[2025-01-12 05:46:04] Production.INFO: CreateAllLog End
[2025-01-12 05:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229548') end
[2025-01-12 05:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:46:04] Production.INFO: 1
[2025-01-12 05:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:46:04] Production.ERROR: done
[2025-01-12 05:46:04] Production.INFO: ==6219== Releasing lock...
[2025-01-12 05:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:46:04] Production.INFO: Account Balance End.
[2025-01-12 05:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:46:04] Production.INFO: ==6215== Releasing lock...
[2025-01-12 05:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:46:05
[end_date_ymd] => 2025-01-12 05:46:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:46:05' and `end` < '2025-01-12 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-01-12 05:46:11] Production.ERROR: CronJobId end10
[2025-01-12 05:46:11] Production.INFO: ==6213== Releasing lock...
[2025-01-12 05:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:46:13] Production.INFO: call_cost start
[2025-01-12 05:46:13] Production.INFO: call_cost end
[2025-01-12 05:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:46:13] Production.INFO: ==6209== Releasing lock...
[2025-01-12 05:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:46:20] Production.INFO: count ==147
[2025-01-12 05:46:20] Production.ERROR: pbx CDR StartTime 2025-01-12 02:46:05 - End Time 2025-01-12 05:46:05
[2025-01-12 05:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229549', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229549', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229549', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229549', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:46:20] Production.INFO: ProcessCDR(1,14229549,1,1,2)
[2025-01-12 05:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229549', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229549', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:46:23] Production.INFO: ==6217== Releasing lock...
[2025-01-12 05:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:46:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:47:02] Production.INFO: ==6279== Lock acquired, processing the job...
[2025-01-12 10:47:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:47:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:47:02] Production.INFO: neon service started
[2025-01-12 10:47:02] Production.INFO: neon service started
[2025-01-12 10:47:02] Production.INFO: ==6279== Releasing lock...
[2025-01-12 10:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:47:02] Production.INFO: ==6282== Lock acquired, processing the job...
[2025-01-12 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:47:02] Production.INFO: ==6282== Releasing lock...
[2025-01-12 05:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:47:03] Production.INFO: ==6284== Lock acquired, processing the job...
[2025-01-12 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:47:03] Production.INFO: ==6284== Releasing lock...
[2025-01-12 10:47:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:47:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:47:03] Production.INFO: ==6290== Lock acquired, processing the job...
[2025-01-12 05:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:47:03] Production.INFO: ==6296== Lock acquired, processing the job...
[2025-01-12 05:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:47:04] Production.INFO: ==6286== Lock acquired, processing the job...
[2025-01-12 05:47:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:47:04] Production.INFO: ==6288== Lock acquired, processing the job...
[2025-01-12 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 05:47:04] Production.INFO: ==6292== Lock acquired, processing the job...
[2025-01-12 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:47:04] Production.INFO: count ==21
[2025-01-12 05:47:04] Production.INFO: ==6294== Lock acquired, processing the job...
[2025-01-12 05:47:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 05:47:04] Production.INFO: count ==21
[2025-01-12 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229550') start
[2025-01-12 05:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:47:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:47:04] Production.INFO: Account Balance Start.
[2025-01-12 05:47:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:47:04] Production.INFO: 117
[2025-01-12 05:47:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:47:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229550') end
[2025-01-12 05:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:47:04] Production.INFO: 1
[2025-01-12 05:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:47:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:47:04] Production.INFO: ==6296== Releasing lock...
[2025-01-12 05:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:47:04] Production.INFO: ==6288== Releasing lock...
[2025-01-12 05:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:47:04] Production.ERROR: done
[2025-01-12 05:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:47:04] Production.ERROR: done
[2025-01-12 05:47:04] Production.INFO: Total Charge 0
[2025-01-12 05:47:04] Production.INFO: CreateAllLog End
[2025-01-12 05:47:04] Production.INFO: Account Balance End.
[2025-01-12 05:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:47:04] Production.INFO: ==6292== Releasing lock...
[2025-01-12 05:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:47:05
[end_date_ymd] => 2025-01-12 05:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:47:05' and `end` < '2025-01-12 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-01-12 05:47:10] Production.ERROR: CronJobId end10
[2025-01-12 05:47:10] Production.INFO: ==6290== Releasing lock...
[2025-01-12 05:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:47:13] Production.INFO: call_cost start
[2025-01-12 05:47:13] Production.INFO: call_cost end
[2025-01-12 05:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:47:14] Production.INFO: ==6286== Releasing lock...
[2025-01-12 05:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:47:19] Production.INFO: count ==147
[2025-01-12 05:47:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:47:05 - End Time 2025-01-12 05:47:05
[2025-01-12 05:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229554', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229554', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229554', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229554', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:47:19] Production.INFO: ProcessCDR(1,14229554,1,1,2)
[2025-01-12 05:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229554', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229554', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:47:22] Production.INFO: ==6294== Releasing lock...
[2025-01-12 05:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:47:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:48:01] Production.INFO: ==6353== Lock acquired, processing the job...
[2025-01-12 10:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:48:01] Production.INFO: neon service started
[2025-01-12 10:48:01] Production.INFO: neon service started
[2025-01-12 10:48:01] Production.INFO: ==6353== Releasing lock...
[2025-01-12 10:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:48:02] Production.INFO: ==6357== Lock acquired, processing the job...
[2025-01-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:48:02] Production.INFO: ==6355== Lock acquired, processing the job...
[2025-01-12 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:48:02] Production.INFO: ==6357== Releasing lock...
[2025-01-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:48:02] Production.INFO: ==6355== Releasing lock...
[2025-01-12 05:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:48:03] Production.INFO: ==6360== Lock acquired, processing the job...
[2025-01-12 05:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:48:03] Production.INFO: ==6362== Lock acquired, processing the job...
[2025-01-12 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:48:03] Production.INFO: ==6368== Lock acquired, processing the job...
[2025-01-12 05:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:48:03] Production.INFO: ==6364== Lock acquired, processing the job...
[2025-01-12 05:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:48:03] Production.INFO: ==6366== Lock acquired, processing the job...
[2025-01-12 05:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:48:03] Production.INFO: ==6370== Lock acquired, processing the job...
[2025-01-12 05:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:48:03] Production.INFO: ==6362== Releasing lock...
[2025-01-12 05:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:48:03] Production.INFO: Account Balance Start.
[2025-01-12 05:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:48:03] Production.INFO: 117
[2025-01-12 05:48:03] Production.ERROR: done
[2025-01-12 05:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 05:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:48:04] Production.INFO: count ==21
[2025-01-12 05: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-01-12 05:48:04] Production.INFO: count ==21
[2025-01-12 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229558') start
[2025-01-12 05:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:48:04] Production.ERROR: done
[2025-01-12 05:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:48:04] Production.INFO: Total Charge 0
[2025-01-12 05:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229558') end
[2025-01-12 05:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:48:04] Production.INFO: 1
[2025-01-12 05:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:48:04] Production.INFO: CreateAllLog End
[2025-01-12 05:48:04] Production.INFO: ==6370== Releasing lock...
[2025-01-12 05:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:48:04] Production.INFO: Account Balance End.
[2025-01-12 05:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:48:04] Production.INFO: ==6366== Releasing lock...
[2025-01-12 05:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:48:05
[end_date_ymd] => 2025-01-12 05:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:48:05' and `end` < '2025-01-12 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-01-12 05:48:11] Production.ERROR: CronJobId end10
[2025-01-12 05:48:11] Production.INFO: ==6364== Releasing lock...
[2025-01-12 05:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:48:13] Production.INFO: call_cost start
[2025-01-12 05:48:13] Production.INFO: call_cost end
[2025-01-12 05:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:48:14] Production.INFO: ==6360== Releasing lock...
[2025-01-12 05:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:48:19] Production.INFO: count ==146
[2025-01-12 05:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:48:05 - End Time 2025-01-12 05:48:05
[2025-01-12 05:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229559', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229559', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229559', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229559', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:48:19] Production.INFO: ProcessCDR(1,14229559,1,1,2)
[2025-01-12 05:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229559', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229559', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:48:22] Production.INFO: ==6368== Releasing lock...
[2025-01-12 05:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:48:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 10:49:02] Production.INFO: ==6434== Lock acquired, processing the job...
[2025-01-12 10:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:49:02] Production.INFO: neon service started
[2025-01-12 10:49:02] Production.INFO: neon service started
[2025-01-12 10:49:02] Production.INFO: ==6434== Releasing lock...
[2025-01-12 10:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:49:02] Production.INFO: ==6436== Lock acquired, processing the job...
[2025-01-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:49:02] Production.INFO: ==6436== Releasing lock...
[2025-01-12 05:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:49:03] Production.INFO: ==6438== Lock acquired, processing the job...
[2025-01-12 10:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:49:03] Production.INFO: ==6438== Releasing lock...
[2025-01-12 10:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:49:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:49:03] Production.INFO: ==6444== Lock acquired, processing the job...
[2025-01-12 05:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:49:03] Production.INFO: ==6442== Lock acquired, processing the job...
[2025-01-12 05:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:49:03] Production.INFO: ==6448== Lock acquired, processing the job...
[2025-01-12 05:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:49:03] Production.INFO: ==6440== Lock acquired, processing the job...
[2025-01-12 05:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:49:03] Production.INFO: ==6450== Lock acquired, processing the job...
[2025-01-12 05:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:49:04] Production.INFO: ==6446== Lock acquired, processing the job...
[2025-01-12 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:49:04] Production.ERROR: done
[2025-01-12 05:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:49:04] Production.INFO: ==6442== Releasing lock...
[2025-01-12 05:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:49:04] Production.ERROR: done
[2025-01-12 05:49:04] Production.INFO: Account Balance Start.
[2025-01-12 05:49:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:49:04] Production.INFO: 117
[2025-01-12 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-01-12 05:49:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:49:04] Production.INFO: count ==21
[2025-01-12 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-01-12 05:49:04] Production.INFO: count ==21
[2025-01-12 05:49:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229561') start
[2025-01-12 05:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229561') end
[2025-01-12 05:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:49:04] Production.INFO: 1
[2025-01-12 05:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:49:04] Production.INFO: Total Charge 0
[2025-01-12 05:49:04] Production.INFO: ==6450== Releasing lock...
[2025-01-12 05:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:49:04] Production.INFO: CreateAllLog End
[2025-01-12 05:49:04] Production.INFO: Account Balance End.
[2025-01-12 05:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:49:04] Production.INFO: ==6446== Releasing lock...
[2025-01-12 05:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:49:05
[end_date_ymd] => 2025-01-12 05:49:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:49:05' and `end` < '2025-01-12 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-01-12 05:49:11] Production.ERROR: CronJobId end10
[2025-01-12 05:49:11] Production.INFO: ==6444== Releasing lock...
[2025-01-12 05:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:49:14] Production.INFO: call_cost start
[2025-01-12 05:49:14] Production.INFO: call_cost end
[2025-01-12 05:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:49:14] Production.INFO: ==6440== Releasing lock...
[2025-01-12 05:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:49:19] Production.INFO: count ==143
[2025-01-12 05:49:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:49:05 - End Time 2025-01-12 05:49:05
[2025-01-12 05:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229564', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229564', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229564', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229564', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:49:19] Production.INFO: ProcessCDR(1,14229564,1,1,2)
[2025-01-12 05:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229564', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229564', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:49:22] Production.INFO: ==6448== Releasing lock...
[2025-01-12 05:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:49:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:50:01] Production.INFO: ==6513== Lock acquired, processing the job...
[2025-01-12 10:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:50:01] Production.INFO: neon service started
[2025-01-12 10:50:01] Production.INFO: neon service started
[2025-01-12 10:50:01] Production.INFO: ==6513== Releasing lock...
[2025-01-12 10:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:50:01] Production.INFO: ==6515== Lock acquired, processing the job...
[2025-01-12 05:50:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:50:02] Production.INFO: ==6517== Lock acquired, processing the job...
[2025-01-12 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 05:50:02] Production.INFO: ==6515== Releasing lock...
[2025-01-12 05:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:50:02] Production.INFO: ==6517== Releasing lock...
[2025-01-12 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:50:03] Production.INFO: ==6520== Lock acquired, processing the job...
[2025-01-12 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 05:50:03] Production.INFO: ==6526== Lock acquired, processing the job...
[2025-01-12 05:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 05:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 05:50:03] Production.ERROR: CronJob PID - 6526
[2025-01-12 05:50:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 05:50:03] Production.ERROR: CronJob ID - 10
[2025-01-12 05:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 05:50:00
[2025-01-12 05:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 05:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 05:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 05:50:03] Production.INFO: ==6520== Releasing lock...
[2025-01-12 05:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 05:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 05:50:03] Production.INFO: ==6530== Lock acquired, processing the job...
[2025-01-12 05:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:50:03] Production.INFO: ==6522== Lock acquired, processing the job...
[2025-01-12 05:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:50:03] Production.INFO: ==6524== Lock acquired, processing the job...
[2025-01-12 05:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:50:03] Production.ERROR: done
[2025-01-12 05:50:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:50:03] Production.INFO: ==6528== Lock acquired, processing the job...
[2025-01-12 05:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:50:04] Production.INFO: ==6532== Lock acquired, processing the job...
[2025-01-12 05:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 05:50:04] Production.INFO: ==6534== Lock acquired, processing the job...
[2025-01-12 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:50:04] Production.ERROR: done
[2025-01-12 05:50:04] Production.INFO: Account Balance Start.
[2025-01-12 05:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:50:04] Production.INFO: 117
[2025-01-12 05:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 05:50:04] Production.INFO: count ==21
[2025-01-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:50:04] Production.INFO: count ==21
[2025-01-12 05:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:50:04] Production.INFO: ==6524== Releasing lock...
[2025-01-12 05:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229568') start
[2025-01-12 05:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:50:04] Production.ERROR: done
[2025-01-12 05:50:04] Production.INFO: Total Charge 0
[2025-01-12 05:50:04] Production.INFO: CreateAllLog End
[2025-01-12 05:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229568') end
[2025-01-12 05:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:50:04] Production.INFO: 1
[2025-01-12 05:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 05:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229570', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 05:50:04] Production.INFO: ==6534== Releasing lock...
[2025-01-12 05:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:50:04] Production.INFO: Account Balance End.
[2025-01-12 05:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:50:04] Production.INFO: ==6528== Releasing lock...
[2025-01-12 05:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:50:05
[end_date_ymd] => 2025-01-12 05:50:05
[RateCDR] => 1
)
[2025-01-12 05:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:50:05' and `end` < '2025-01-12 05:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229570', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 05:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 05:50:08] Production.INFO: ProcessCDR(1,14229570,1,1,2)
[2025-01-12 05:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229570,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229570,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:50:08] Production.INFO: ==6532== Releasing lock...
[2025-01-12 05:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 05:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 05:50:11] Production.ERROR: CronJobId end10
[2025-01-12 05:50:11] Production.INFO: ==6526== Releasing lock...
[2025-01-12 05:50:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:50:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:50:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:50:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:50:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:50:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:50:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:50:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:50:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:50:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:50:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:50:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:50:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:50:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:50:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:50:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:50:14] Production.INFO: call_cost start
[2025-01-12 05:50:14] Production.INFO: call_cost end
[2025-01-12 05:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:50:15] Production.INFO: ==6522== Releasing lock...
[2025-01-12 05:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:50:18] Production.INFO: count ==136
[2025-01-12 05:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:50:05 - End Time 2025-01-12 05:50:05
[2025-01-12 05:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229569', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229569', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229569', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229569', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:50:18] Production.INFO: ProcessCDR(1,14229569,1,1,2)
[2025-01-12 05:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229569', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229569', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:50:21] Production.INFO: ==6530== Releasing lock...
[2025-01-12 05:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:50:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:51:01] Production.INFO: ==6592== Lock acquired, processing the job...
[2025-01-12 10:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:51:02] Production.INFO: neon service started
[2025-01-12 10:51:02] Production.INFO: neon service started
[2025-01-12 10:51:02] Production.INFO: ==6592== Releasing lock...
[2025-01-12 10:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:51:02] Production.INFO: ==6594== Lock acquired, processing the job...
[2025-01-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:51:02] Production.INFO: ==6596== Lock acquired, processing the job...
[2025-01-12 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:51:02] Production.INFO: ==6596== Releasing lock...
[2025-01-12 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:51:02] Production.INFO: ==6594== Releasing lock...
[2025-01-12 05:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:51:03] Production.INFO: ==6601== Lock acquired, processing the job...
[2025-01-12 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:51:03] Production.INFO: ==6599== Lock acquired, processing the job...
[2025-01-12 05:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:51:03] Production.INFO: ==6605== Lock acquired, processing the job...
[2025-01-12 05:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:51:03] Production.INFO: Account Balance Start.
[2025-01-12 05:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:51:03] Production.INFO: 117
[2025-01-12 05:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:51:03] Production.INFO: ==6603== Lock acquired, processing the job...
[2025-01-12 05:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:51:03] Production.INFO: ==6601== Releasing lock...
[2025-01-12 05:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:51:04] Production.INFO: ==6607== Lock acquired, processing the job...
[2025-01-12 05:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:51:04] Production.INFO: Total Charge 0
[2025-01-12 05:51:04] Production.INFO: ==6609== Lock acquired, processing the job...
[2025-01-12 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:51:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 05:51:04] Production.INFO: count ==21
[2025-01-12 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-01-12 05:51:04] Production.INFO: count ==21
[2025-01-12 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229574') start
[2025-01-12 05:51:04] Production.ERROR: done
[2025-01-12 05:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229574') end
[2025-01-12 05:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:51:04] Production.INFO: 1
[2025-01-12 05:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:51:04] Production.INFO: Account Balance End.
[2025-01-12 05:51:04] Production.INFO: ==6609== Releasing lock...
[2025-01-12 05:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:51:04] Production.INFO: ==6605== Releasing lock...
[2025-01-12 05:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:51:04] Production.ERROR: done
[2025-01-12 05:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:51:05
[end_date_ymd] => 2025-01-12 05:51:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:51:05' and `end` < '2025-01-12 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-01-12 05:51:11] Production.ERROR: CronJobId end10
[2025-01-12 05:51:11] Production.INFO: ==6603== Releasing lock...
[2025-01-12 05:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:51:13] Production.INFO: call_cost start
[2025-01-12 05:51:13] Production.INFO: call_cost end
[2025-01-12 05:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:51:14] Production.INFO: ==6599== Releasing lock...
[2025-01-12 05:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:51:18] Production.INFO: count ==124
[2025-01-12 05:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:51:05 - End Time 2025-01-12 05:51:05
[2025-01-12 05:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229575', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229575', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229575', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229575', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:51:18] Production.INFO: ProcessCDR(1,14229575,1,1,2)
[2025-01-12 05:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229575,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229575,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229575', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229575', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:51:21] Production.INFO: ==6607== Releasing lock...
[2025-01-12 05:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:51:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:52:01] Production.INFO: ==6673== Lock acquired, processing the job...
[2025-01-12 10:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:52:01] Production.INFO: neon service started
[2025-01-12 10:52:01] Production.INFO: neon service started
[2025-01-12 10:52:01] Production.INFO: ==6673== Releasing lock...
[2025-01-12 10:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:52:01] Production.INFO: ==6675== Lock acquired, processing the job...
[2025-01-12 05:52:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:52:02] Production.INFO: ==6675== Releasing lock...
[2025-01-12 05:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:52:02] Production.INFO: ==6677== Lock acquired, processing the job...
[2025-01-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:52:02] Production.INFO: ==6677== Releasing lock...
[2025-01-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:52:02] Production.INFO: ==6679== Lock acquired, processing the job...
[2025-01-12 05:52:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:52:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:52:02] Production.INFO: ==6683== Lock acquired, processing the job...
[2025-01-12 05:52:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:52:03] Production.INFO: ==6685== Lock acquired, processing the job...
[2025-01-12 05:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:52:03] Production.INFO: ==6681== Lock acquired, processing the job...
[2025-01-12 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:52:03] Production.INFO: Account Balance Start.
[2025-01-12 05:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:52:03] Production.INFO: 117
[2025-01-12 05:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:52:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:52:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:52:03] Production.INFO: ==6689== Lock acquired, processing the job...
[2025-01-12 05:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:52:03] Production.INFO: ==6687== Lock acquired, processing the job...
[2025-01-12 05:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:52:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 05:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:52:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:52:03] Production.INFO: Total Charge 0
[2025-01-12 05:52:03] Production.INFO: count ==21
[2025-01-12 05:52:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 05:52:03] Production.INFO: count ==21
[2025-01-12 05:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229579') start
[2025-01-12 05:52:03] Production.INFO: ==6681== Releasing lock...
[2025-01-12 05:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:52:04] Production.ERROR: done
[2025-01-12 05:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229579') end
[2025-01-12 05:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:52:04] Production.INFO: 1
[2025-01-12 05:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:52:04] Production.INFO: ==6689== Releasing lock...
[2025-01-12 05:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:52:04] Production.INFO: Account Balance End.
[2025-01-12 05:52:04] Production.ERROR: done
[2025-01-12 05:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:52:04] Production.INFO: ==6685== Releasing lock...
[2025-01-12 05:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:52:05
[end_date_ymd] => 2025-01-12 05:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:52:05' and `end` < '2025-01-12 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-01-12 05:52:11] Production.ERROR: CronJobId end10
[2025-01-12 05:52:11] Production.INFO: ==6683== Releasing lock...
[2025-01-12 05:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:52:13] Production.INFO: call_cost start
[2025-01-12 05:52:13] Production.INFO: call_cost end
[2025-01-12 05:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:52:13] Production.INFO: ==6679== Releasing lock...
[2025-01-12 05:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:52:18] Production.INFO: count ==124
[2025-01-12 05:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:52:05 - End Time 2025-01-12 05:52:05
[2025-01-12 05:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229580', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229580', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229580', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229580', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:52:18] Production.INFO: ProcessCDR(1,14229580,1,1,2)
[2025-01-12 05:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229580,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229580,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229580', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229580', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:52:21] Production.INFO: ==6687== Releasing lock...
[2025-01-12 05:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:52:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:53:01] Production.INFO: ==6748== Lock acquired, processing the job...
[2025-01-12 10:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:53:01] Production.INFO: neon service started
[2025-01-12 10:53:01] Production.INFO: neon service started
[2025-01-12 10:53:01] Production.INFO: ==6748== Releasing lock...
[2025-01-12 10:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:53:02] Production.INFO: ==6750== Lock acquired, processing the job...
[2025-01-12 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:53:02] Production.INFO: ==6752== Lock acquired, processing the job...
[2025-01-12 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:53:02] Production.INFO: ==6752== Releasing lock...
[2025-01-12 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:53:02] Production.INFO: ==6750== Releasing lock...
[2025-01-12 05:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:53:03] Production.INFO: ==6755== Lock acquired, processing the job...
[2025-01-12 05:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:53:03] Production.INFO: ==6761== Lock acquired, processing the job...
[2025-01-12 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:53:03] Production.INFO: ==6763== Lock acquired, processing the job...
[2025-01-12 05:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:53:03] Production.INFO: Account Balance Start.
[2025-01-12 05:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:53:03] Production.INFO: 117
[2025-01-12 05:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:53:03] Production.INFO: ==6757== Lock acquired, processing the job...
[2025-01-12 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:53:03] Production.INFO: ==6759== Lock acquired, processing the job...
[2025-01-12 05:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:53:03] Production.INFO: Total Charge 0
[2025-01-12 05:53:03] Production.INFO: ==6765== Lock acquired, processing the job...
[2025-01-12 05:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:53:03] Production.INFO: CreateAllLog End
[2025-01-12 05:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:53:03] Production.ERROR: done
[2025-01-12 05:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:53:03] Production.INFO: count ==21
[2025-01-12 05:53:03] Production.ERROR: done
[2025-01-12 05:53:03] Production.INFO: Account Balance End.
[2025-01-12 05:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:53:03] Production.INFO: count ==21
[2025-01-12 05:53:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:53:03] Production.INFO: ==6761== Releasing lock...
[2025-01-12 05:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229584') start
[2025-01-12 05:53:03] Production.INFO: ==6757== Releasing lock...
[2025-01-12 05:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229584') end
[2025-01-12 05:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:53:03] Production.INFO: 1
[2025-01-12 05:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:53:04] Production.INFO: ==6765== Releasing lock...
[2025-01-12 05:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:53:04
[end_date_ymd] => 2025-01-12 05:53:04
[RateCDR] => 1
)
[2025-01-12 05:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:53:04' and `end` < '2025-01-12 05:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:53:11] Production.ERROR: CronJobId end10
[2025-01-12 05:53:11] Production.INFO: ==6759== Releasing lock...
[2025-01-12 05:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:53:13] Production.INFO: call_cost start
[2025-01-12 05:53:13] Production.INFO: call_cost end
[2025-01-12 05:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:53:14] Production.INFO: ==6755== Releasing lock...
[2025-01-12 05:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:53:18] Production.INFO: count ==124
[2025-01-12 05:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:53:04 - End Time 2025-01-12 05:53:04
[2025-01-12 05:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229585', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229585', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229585', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229585', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:53:18] Production.INFO: ProcessCDR(1,14229585,1,1,2)
[2025-01-12 05:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229585,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229585,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229585', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229585', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:53:21] Production.INFO: ==6763== Releasing lock...
[2025-01-12 05:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:53:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:54:02] Production.INFO: ==6825== Lock acquired, processing the job...
[2025-01-12 10:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:54:02] Production.INFO: neon service started
[2025-01-12 10:54:02] Production.INFO: neon service started
[2025-01-12 10:54:02] Production.INFO: ==6825== Releasing lock...
[2025-01-12 10:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:54:02] Production.INFO: ==6827== Lock acquired, processing the job...
[2025-01-12 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:54:02] Production.INFO: ==6827== Releasing lock...
[2025-01-12 05:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:54:02] Production.INFO: ==6829== Lock acquired, processing the job...
[2025-01-12 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:54:03] Production.INFO: ==6829== Releasing lock...
[2025-01-12 10:54:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:54:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:54:03] Production.INFO: ==6831== Lock acquired, processing the job...
[2025-01-12 05:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:54:03] Production.INFO: ==6837== Lock acquired, processing the job...
[2025-01-12 05:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:54:03] Production.INFO: ==6839== Lock acquired, processing the job...
[2025-01-12 05:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:54:03] Production.INFO: ==6833== Lock acquired, processing the job...
[2025-01-12 05:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:54:03] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-01-12 05:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:54:03] Production.INFO: Account Balance Start.
[2025-01-12 05:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:54:03] Production.INFO: 117
[2025-01-12 05:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:54:03] Production.INFO: ==6841== Lock acquired, processing the job...
[2025-01-12 05:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:54:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:54:04] Production.INFO: Total Charge 0
[2025-01-12 05:54:04] Production.INFO: CreateAllLog End
[2025-01-12 05:54:04] Production.INFO: count ==21
[2025-01-12 05:54:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:54:04] Production.INFO: ==6833== Releasing lock...
[2025-01-12 05:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:54:04] Production.INFO: count ==21
[2025-01-12 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229589') start
[2025-01-12 05:54:04] Production.ERROR: done
[2025-01-12 05:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:54:04] Production.INFO: Account Balance End.
[2025-01-12 05:54:04] Production.ERROR: done
[2025-01-12 05:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229589') end
[2025-01-12 05:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:54:04] Production.INFO: 1
[2025-01-12 05:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:54:04] Production.INFO: ==6837== Releasing lock...
[2025-01-12 05:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:54:04] Production.INFO: ==6841== Releasing lock...
[2025-01-12 05:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:54:05
[end_date_ymd] => 2025-01-12 05:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:54:05' and `end` < '2025-01-12 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-01-12 05:54:11] Production.ERROR: CronJobId end10
[2025-01-12 05:54:11] Production.INFO: ==6835== Releasing lock...
[2025-01-12 05:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:54:13] Production.INFO: call_cost start
[2025-01-12 05:54:13] Production.INFO: call_cost end
[2025-01-12 05:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:54:14] Production.INFO: ==6831== Releasing lock...
[2025-01-12 05:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:54:19] Production.INFO: count ==121
[2025-01-12 05:54:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:54:05 - End Time 2025-01-12 05:54:05
[2025-01-12 05:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229590', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229590', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229590', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229590', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:54:19] Production.INFO: ProcessCDR(1,14229590,1,1,2)
[2025-01-12 05:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229590', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229590', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:54:22] Production.INFO: ==6839== Releasing lock...
[2025-01-12 05:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:54:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:55:01] Production.INFO: ==6902== Lock acquired, processing the job...
[2025-01-12 10:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:55:01] Production.INFO: neon service started
[2025-01-12 10:55:01] Production.INFO: neon service started
[2025-01-12 10:55:01] Production.INFO: ==6902== Releasing lock...
[2025-01-12 10:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:55:01] Production.INFO: ==6906== Lock acquired, processing the job...
[2025-01-12 10:55:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:55:02] Production.INFO: ==6906== Releasing lock...
[2025-01-12 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:55:02] Production.INFO: ==6904== Lock acquired, processing the job...
[2025-01-12 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:55:02] Production.INFO: ==6904== Releasing lock...
[2025-01-12 05:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:55:03] Production.INFO: ==6910== Lock acquired, processing the job...
[2025-01-12 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:55:03] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-01-12 05:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:55:03] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-01-12 05:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:55:03] Production.INFO: ==6908== Lock acquired, processing the job...
[2025-01-12 05:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:55:03] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-01-12 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:55:03] Production.INFO: ==6913== Lock acquired, processing the job...
[2025-01-12 05:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:55:03] Production.INFO: ==6910== Releasing lock...
[2025-01-12 05:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:55:03] Production.INFO: Account Balance Start.
[2025-01-12 05:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 05:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:55:03] Production.INFO: count ==21
[2025-01-12 05:55:03] Production.INFO: 117
[2025-01-12 05: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-01-12 05:55:03] Production.INFO: count ==21
[2025-01-12 05:55:03] Production.ERROR: done
[2025-01-12 05:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229593') start
[2025-01-12 05:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229593') end
[2025-01-12 05:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:55:03] Production.INFO: 1
[2025-01-12 05:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:55:03] Production.INFO: ==6919== Releasing lock...
[2025-01-12 05:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:55:03] Production.ERROR: done
[2025-01-12 05:55:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:55:03] Production.INFO: Total Charge 0
[2025-01-12 05:55:03] Production.INFO: CreateAllLog End
[2025-01-12 05:55:04] Production.INFO: Account Balance End.
[2025-01-12 05:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:55:04] Production.INFO: ==6915== Releasing lock...
[2025-01-12 05:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:55:04
[end_date_ymd] => 2025-01-12 05:55:04
[RateCDR] => 1
)
[2025-01-12 05: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-01-12 02:55:04' and `end` < '2025-01-12 05: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-01-12 05:55:11] Production.ERROR: CronJobId end10
[2025-01-12 05:55:11] Production.INFO: ==6913== Releasing lock...
[2025-01-12 05:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:55:13] Production.INFO: call_cost start
[2025-01-12 05:55:13] Production.INFO: call_cost end
[2025-01-12 05:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:55:13] Production.INFO: ==6908== Releasing lock...
[2025-01-12 05:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:55:17] Production.INFO: count ==121
[2025-01-12 05:55:17] Production.ERROR: pbx CDR StartTime 2025-01-12 02:55:04 - End Time 2025-01-12 05:55:04
[2025-01-12 05:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229595', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229595', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229595', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229595', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:55:17] Production.INFO: ProcessCDR(1,14229595,1,1,2)
[2025-01-12 05:55:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:55:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:55:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:55:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229595', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:55:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229595', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:55:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:55:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:55:20] Production.INFO: ==6917== Releasing lock...
[2025-01-12 05:55:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:55:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:56:02] Production.INFO: ==6976== Lock acquired, processing the job...
[2025-01-12 10:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:56:02] Production.INFO: neon service started
[2025-01-12 10:56:02] Production.INFO: neon service started
[2025-01-12 10:56:02] Production.INFO: ==6976== Releasing lock...
[2025-01-12 10:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:56:02] Production.INFO: ==6980== Lock acquired, processing the job...
[2025-01-12 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:56:02] Production.INFO: ==6980== Releasing lock...
[2025-01-12 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:56:02] Production.INFO: ==6978== Lock acquired, processing the job...
[2025-01-12 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:56:02] Production.INFO: ==6978== Releasing lock...
[2025-01-12 05:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:56:03] Production.INFO: ==6982== Lock acquired, processing the job...
[2025-01-12 05:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:56:03] Production.INFO: ==6993== Lock acquired, processing the job...
[2025-01-12 05:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05: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-01-12 05:56:03] Production.INFO: count ==21
[2025-01-12 05: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-01-12 05:56:03] Production.INFO: count ==21
[2025-01-12 05:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229596') start
[2025-01-12 05:56:03] Production.INFO: ==6990== Lock acquired, processing the job...
[2025-01-12 05:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:56:03] Production.INFO: ==6984== Lock acquired, processing the job...
[2025-01-12 05:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:56:04] Production.INFO: ==6988== Lock acquired, processing the job...
[2025-01-12 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:56:04] Production.INFO: ==6986== Lock acquired, processing the job...
[2025-01-12 05:56:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229596') end
[2025-01-12 05:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:56:04] Production.INFO: 1
[2025-01-12 05:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:56:04] Production.INFO: ==6993== Releasing lock...
[2025-01-12 05:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:56:04] Production.INFO: Account Balance Start.
[2025-01-12 05:56:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:56:04] Production.INFO: 117
[2025-01-12 05:56:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:56:04] Production.ERROR: done
[2025-01-12 05:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:56:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:56:04] Production.ERROR: done
[2025-01-12 05:56:04] Production.INFO: ==6984== Releasing lock...
[2025-01-12 05:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:56:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:56:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:56:04] Production.INFO: Total Charge 0
[2025-01-12 05:56:04] Production.INFO: CreateAllLog End
[2025-01-12 05:56:04] Production.INFO: Account Balance End.
[2025-01-12 05:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:56:04] Production.INFO: ==6988== Releasing lock...
[2025-01-12 05:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:56:05
[end_date_ymd] => 2025-01-12 05:56:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:56:05' and `end` < '2025-01-12 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-01-12 05:56:11] Production.ERROR: CronJobId end10
[2025-01-12 05:56:11] Production.INFO: ==6986== Releasing lock...
[2025-01-12 05:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:56:13] Production.INFO: call_cost start
[2025-01-12 05:56:13] Production.INFO: call_cost end
[2025-01-12 05:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:56:14] Production.INFO: ==6982== Releasing lock...
[2025-01-12 05:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:56:19] Production.INFO: count ==121
[2025-01-12 05:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 02:56:05 - End Time 2025-01-12 05:56:05
[2025-01-12 05:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229600', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229600', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229600', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229600', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:56:19] Production.INFO: ProcessCDR(1,14229600,1,1,2)
[2025-01-12 05:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229600', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229600', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:56:22] Production.INFO: ==6990== Releasing lock...
[2025-01-12 05:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:56:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:57:01] Production.INFO: ==7090== Lock acquired, processing the job...
[2025-01-12 10:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:57:01] Production.INFO: neon service started
[2025-01-12 10:57:01] Production.INFO: neon service started
[2025-01-12 10:57:01] Production.INFO: ==7090== Releasing lock...
[2025-01-12 10:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:57:01] Production.INFO: ==7092== Lock acquired, processing the job...
[2025-01-12 05:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:57:02] Production.INFO: ==7092== Releasing lock...
[2025-01-12 05:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:57:02] Production.INFO: ==7094== Lock acquired, processing the job...
[2025-01-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:57:02] Production.INFO: ==7094== Releasing lock...
[2025-01-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:57:02] Production.INFO: ==7100== Lock acquired, processing the job...
[2025-01-12 05:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:57:02] Production.INFO: ==7102== Lock acquired, processing the job...
[2025-01-12 05:57:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:57:02] Production.INFO: ==7096== Lock acquired, processing the job...
[2025-01-12 05:57:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:57:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:57:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:57:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:57:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:57:02] Production.INFO: Account Balance Start.
[2025-01-12 05:57:02] Production.INFO: CreateAllLog Start
[2025-01-12 05:57:02] Production.INFO: 117
[2025-01-12 05:57:02] Production.INFO: Date 2025-01-08
[2025-01-12 05:57:02] Production.INFO: Reseller ==> 0
[2025-01-12 05:57:02] Production.INFO: Date 2025-01-09
[2025-01-12 05:57:02] Production.INFO: Reseller ==> 0
[2025-01-12 05:57:02] Production.INFO: Date 2025-01-10
[2025-01-12 05:57:02] Production.INFO: Reseller ==> 0
[2025-01-12 05:57:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 05:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 05:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 05:57:03] Production.INFO: Total Charge 0
[2025-01-12 05:57:03] Production.INFO: CreateAllLog End
[2025-01-12 05:57:03] Production.INFO: ==7098== Lock acquired, processing the job...
[2025-01-12 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:57:03] Production.INFO: Account Balance End.
[2025-01-12 05:57:03] Production.INFO: ==7104== Lock acquired, processing the job...
[2025-01-12 05:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:57:03] Production.ERROR: CronJobId end 12
[2025-01-12 05:57:03] Production.INFO: ==7102== Releasing lock...
[2025-01-12 05:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:57:03] Production.INFO: ==7106== Lock acquired, processing the job...
[2025-01-12 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:57:03] Production.INFO: count ==21
[2025-01-12 05:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 05:57:03] Production.INFO: ==7098== Releasing lock...
[2025-01-12 05:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:57:03] Production.INFO: count ==21
[2025-01-12 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229604') start
[2025-01-12 05:57:03] Production.ERROR: done
[2025-01-12 05:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229604') end
[2025-01-12 05:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:57:03] Production.INFO: 1
[2025-01-12 05:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:57:03] Production.INFO: ==7106== Releasing lock...
[2025-01-12 05:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:57:03] Production.ERROR: done
[2025-01-12 05:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:57:04
[end_date_ymd] => 2025-01-12 05:57:04
[RateCDR] => 1
)
[2025-01-12 05:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:57:04' and `end` < '2025-01-12 05:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:57:11] Production.ERROR: CronJobId end10
[2025-01-12 05:57:11] Production.INFO: ==7100== Releasing lock...
[2025-01-12 05:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:57:13] Production.INFO: call_cost start
[2025-01-12 05:57:13] Production.INFO: call_cost end
[2025-01-12 05:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:57:14] Production.INFO: ==7096== Releasing lock...
[2025-01-12 05:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:57:18] Production.INFO: count ==121
[2025-01-12 05:57:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:57:04 - End Time 2025-01-12 05:57:04
[2025-01-12 05:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229605', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229605', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229605', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229605', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:57:18] Production.INFO: ProcessCDR(1,14229605,1,1,2)
[2025-01-12 05:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229605', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229605', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:57:21] Production.INFO: ==7104== Releasing lock...
[2025-01-12 05:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:57:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:58:01] Production.INFO: ==7169== Lock acquired, processing the job...
[2025-01-12 10:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:58:01] Production.INFO: neon service started
[2025-01-12 10:58:01] Production.INFO: neon service started
[2025-01-12 10:58:01] Production.INFO: ==7169== Releasing lock...
[2025-01-12 10:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:58:02] Production.INFO: ==7174== Lock acquired, processing the job...
[2025-01-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:58:02] Production.INFO: ==7174== Releasing lock...
[2025-01-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:58:02] Production.INFO: ==7172== Lock acquired, processing the job...
[2025-01-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 05:58:02] Production.INFO: ==7172== Releasing lock...
[2025-01-12 05:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:58:03] Production.INFO: ==7176== Lock acquired, processing the job...
[2025-01-12 05:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:58:03] Production.INFO: ==7180== Lock acquired, processing the job...
[2025-01-12 05:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:58:03] Production.INFO: ==7184== Lock acquired, processing the job...
[2025-01-12 05:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:58:03] Production.INFO: ==7178== Lock acquired, processing the job...
[2025-01-12 05:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:58:03] Production.INFO: ==7182== Lock acquired, processing the job...
[2025-01-12 05:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:58:03] Production.INFO: ==7186== Lock acquired, processing the job...
[2025-01-12 05:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:58:04] Production.ERROR: done
[2025-01-12 05:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 05:58:04] Production.INFO: Account Balance Start.
[2025-01-12 05:58:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:58:04] Production.INFO: 117
[2025-01-12 05:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:58:04] Production.INFO: count ==21
[2025-01-12 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-01-12 05:58:04] Production.INFO: count ==21
[2025-01-12 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229609') start
[2025-01-12 05:58:04] Production.INFO: ==7178== Releasing lock...
[2025-01-12 05:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:58:04] Production.ERROR: done
[2025-01-12 05:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 05:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229609') end
[2025-01-12 05:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:58:04] Production.INFO: 1
[2025-01-12 05:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:58:04] Production.INFO: ==7186== Releasing lock...
[2025-01-12 05:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:58:04] Production.INFO: Total Charge 0
[2025-01-12 05:58:04] Production.INFO: CreateAllLog End
[2025-01-12 05:58:04] Production.INFO: Account Balance End.
[2025-01-12 05:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:58:04] Production.INFO: ==7182== Releasing lock...
[2025-01-12 05:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:58:05
[end_date_ymd] => 2025-01-12 05:58:05
[RateCDR] => 1
)
[2025-01-12 05:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 02:58:05' and `end` < '2025-01-12 05:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 05:58:11] Production.ERROR: CronJobId end10
[2025-01-12 05:58:11] Production.INFO: ==7180== Releasing lock...
[2025-01-12 05:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:58:13] Production.INFO: call_cost start
[2025-01-12 05:58:13] Production.INFO: call_cost end
[2025-01-12 05:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:58:14] Production.INFO: ==7176== Releasing lock...
[2025-01-12 05:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:58:18] Production.INFO: count ==121
[2025-01-12 05:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 02:58:05 - End Time 2025-01-12 05:58:05
[2025-01-12 05:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229610', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229610', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229610', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229610', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:58:18] Production.INFO: ProcessCDR(1,14229610,1,1,2)
[2025-01-12 05:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229610', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229610', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:58:21] Production.INFO: ==7184== Releasing lock...
[2025-01-12 05:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:58:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:59:02] Production.INFO: ==7243== Lock acquired, processing the job...
[2025-01-12 10:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 10:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 10:59:02] Production.INFO: neon service started
[2025-01-12 10:59:02] Production.INFO: neon service started
[2025-01-12 10:59:02] Production.INFO: ==7243== Releasing lock...
[2025-01-12 10:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 10:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 05:59:02] Production.INFO: ==7246== Lock acquired, processing the job...
[2025-01-12 05:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:59:03] Production.INFO: ==7248== Lock acquired, processing the job...
[2025-01-12 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:59:03] Production.INFO: ==7248== Releasing lock...
[2025-01-12 10:59:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 10:59:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 05:59:03] Production.INFO: ==7246== Releasing lock...
[2025-01-12 05:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 05:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 05:59:03] Production.INFO: ==7250== Lock acquired, processing the job...
[2025-01-12 05:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 05:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 05:59:04] Production.INFO: ==7252== Lock acquired, processing the job...
[2025-01-12 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 05:59:04] Production.INFO: ==7256== Lock acquired, processing the job...
[2025-01-12 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 05:59:04] Production.INFO: ==7254== Lock acquired, processing the job...
[2025-01-12 05:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 05:59:04] Production.INFO: Account Balance Start.
[2025-01-12 05:59:04] Production.INFO: CreateAllLog Start
[2025-01-12 05:59:04] Production.INFO: 117
[2025-01-12 05:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 05:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 05:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 05:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 05:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 05:59:04] Production.INFO: ==7258== Lock acquired, processing the job...
[2025-01-12 05:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 05:59:04] Production.INFO: ==7260== Lock acquired, processing the job...
[2025-01-12 05:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 05:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 05: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-01-12 05:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 05:59:04] Production.INFO: count ==21
[2025-01-12 05:59:04] Production.INFO: ==7252== Releasing lock...
[2025-01-12 05:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 05:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 05:59:04] Production.ERROR: done
[2025-01-12 05:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 05:59:04] Production.INFO: count ==21
[2025-01-12 05:59:04] Production.INFO: Total Charge 0
[2025-01-12 05:59:04] Production.INFO: CreateAllLog End
[2025-01-12 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229614') start
[2025-01-12 05:59:04] Production.ERROR: done
[2025-01-12 05:59:04] Production.INFO: Account Balance End.
[2025-01-12 05:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 05:59:04] Production.INFO: ==7256== Releasing lock...
[2025-01-12 05:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 05:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 05:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229614') end
[2025-01-12 05:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 05:59:04] Production.INFO: 1
[2025-01-12 05:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 05:59:05] Production.INFO: ==7260== Releasing lock...
[2025-01-12 05:59:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 05:59:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 05:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 02:59:05
[end_date_ymd] => 2025-01-12 05:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 02:59:05' and `end` < '2025-01-12 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-01-12 05:59:11] Production.ERROR: CronJobId end10
[2025-01-12 05:59:11] Production.INFO: ==7254== Releasing lock...
[2025-01-12 05:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 05:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 05:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 05:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 05:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 05:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 05:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 05:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 05:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 05:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 05:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 05:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 05:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 05:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 05:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 05:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 05:59:13] Production.INFO: call_cost start
[2025-01-12 05:59:13] Production.INFO: call_cost end
[2025-01-12 05:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 05:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 05:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 05:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 05:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 05:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 05:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 05:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 05:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 05:59:14] Production.INFO: ==7250== Releasing lock...
[2025-01-12 05:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 05:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 05:59:20] Production.INFO: count ==121
[2025-01-12 05:59:20] Production.ERROR: pbx CDR StartTime 2025-01-12 02:59:05 - End Time 2025-01-12 05:59:05
[2025-01-12 05:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 05:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229615', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229615', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229615', 'tblTempVendorCDR_20' ) start
[2025-01-12 05:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229615', 'tblTempVendorCDR_20' ) end
[2025-01-12 05:59:20] Production.INFO: ProcessCDR(1,14229615,1,1,2)
[2025-01-12 05:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 05:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 05:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229615', 'tblTempUsageDetail_20' ) start
[2025-01-12 05:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229615', 'tblTempUsageDetail_20' ) end
[2025-01-12 05:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 05:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 05:59:23] Production.INFO: ==7258== Releasing lock...
[2025-01-12 05:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 05:59:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:00:01] Production.INFO: ==7319== Lock acquired, processing the job...
[2025-01-12 11:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:00:01] Production.INFO: neon service started
[2025-01-12 11:00:01] Production.INFO: neon service started
[2025-01-12 11:00:01] Production.INFO: ==7319== Releasing lock...
[2025-01-12 11:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:00:02] Production.INFO: ==7321== Lock acquired, processing the job...
[2025-01-12 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:00:02] Production.INFO: ==7323== Lock acquired, processing the job...
[2025-01-12 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:00:02] Production.INFO: ==7321== Releasing lock...
[2025-01-12 06:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:00:02] Production.INFO: ==7323== Releasing lock...
[2025-01-12 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:00:03] Production.INFO: ==7335== Lock acquired, processing the job...
[2025-01-12 06:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:00:03] Production.INFO: ==7339== Lock acquired, processing the job...
[2025-01-12 06:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 06:00:03] Production.INFO: ==7337== Lock acquired, processing the job...
[2025-01-12 06:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:00:03] Production.INFO: Account Balance Start.
[2025-01-12 06:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:00:03] Production.INFO: 117
[2025-01-12 06:00:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:00:03] Production.INFO: ==7327== Lock acquired, processing the job...
[2025-01-12 06:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 06:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:00:04] Production.INFO: ==7329== Lock acquired, processing the job...
[2025-01-12 06:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:00:04] Production.INFO: ==7331== Lock acquired, processing the job...
[2025-01-12 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:00:04] Production.INFO: ==7333== Lock acquired, processing the job...
[2025-01-12 06:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:00:04] Production.INFO: ==7341== Lock acquired, processing the job...
[2025-01-12 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:00:04] Production.ERROR: CronJob PID - 7329
[2025-01-12 06:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 06:00:04] Production.ERROR: CronJob ID - 5
[2025-01-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:00:00
[2025-01-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:00:04] Production.ERROR: CronJob PID - 7331
[2025-01-12 06:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 06:00:04] Production.ERROR: CronJob ID - 7
[2025-01-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:00:00
[2025-01-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:00:04] Production.ERROR: CronJob PID - 7333
[2025-01-12 06:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 06:00:04] Production.ERROR: CronJob ID - 10
[2025-01-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:00:00
[2025-01-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:00:04] Production.ERROR: CronJob PID - 7335
[2025-01-12 06:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 06:00:04] Production.ERROR: CronJob ID - 12
[2025-01-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:00:00
[2025-01-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:00:04] Production.ERROR: CronJob PID - 7337
[2025-01-12 06:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 06:00:04] Production.ERROR: CronJob ID - 16
[2025-01-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:00:00
[2025-01-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:00:04] Production.ERROR: CronJob PID - 7339
[2025-01-12 06:00:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 06:00:04] Production.ERROR: CronJob ID - 17
[2025-01-12 06:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:00:00
[2025-01-12 06:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:00:04] Production.INFO: Total Charge 0
[2025-01-12 06:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 06:00:04] Production.INFO: ==7327== Releasing lock...
[2025-01-12 06:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 06:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:00:04] Production.INFO: CreateAllLog End
[2025-01-12 06:00:04] Production.ERROR: done
[2025-01-12 06:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:00:04] Production.ERROR: done
[2025-01-12 06:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:00:04] Production.INFO: count ==21
[2025-01-12 06:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:00:04] Production.INFO: count ==21
[2025-01-12 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229619') start
[2025-01-12 06:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 06:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229620', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 06:00:04] Production.ERROR: done
[2025-01-12 06:00:04] Production.INFO: ==7331== Releasing lock...
[2025-01-12 06:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:00:04] Production.INFO: Account Balance End.
[2025-01-12 06:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229619') end
[2025-01-12 06:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:00:04] Production.INFO: 1
[2025-01-12 06:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:00:04] Production.INFO: ==7335== Releasing lock...
[2025-01-12 06:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:00:04] Production.INFO: ==7341== Releasing lock...
[2025-01-12 06:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:00:05
[end_date_ymd] => 2025-01-12 06:00:05
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:00:05' and `end` < '2025-01-12 06: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-01-12 06:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229620', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 06:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 06:00:08] Production.INFO: ProcessCDR(1,14229620,1,1,2)
[2025-01-12 06:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229620,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229620,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:00:09] Production.INFO: ==7339== Releasing lock...
[2025-01-12 06:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 06:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 06:00:14] Production.ERROR: CronJobId end10
[2025-01-12 06:00:14] Production.INFO: ==7333== Releasing lock...
[2025-01-12 06:00:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:00:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:00:16] Production.INFO: call_cost start
[2025-01-12 06:00:16] Production.INFO: call_cost end
[2025-01-12 06:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:00:16] Production.INFO: ==7329== Releasing lock...
[2025-01-12 06:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:00:19] Production.INFO: count ==117
[2025-01-12 06:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:00:05 - End Time 2025-01-12 06:00:05
[2025-01-12 06:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229621', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229621', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229621', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229621', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:00:19] Production.INFO: ProcessCDR(1,14229621,1,1,2)
[2025-01-12 06:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229621,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229621,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229621', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229621', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:00:22] Production.INFO: ==7337== Releasing lock...
[2025-01-12 06:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:00:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:01:01] Production.INFO: ==7412== Lock acquired, processing the job...
[2025-01-12 11:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:01:01] Production.INFO: neon service started
[2025-01-12 11:01:01] Production.INFO: neon service started
[2025-01-12 11:01:01] Production.INFO: ==7412== Releasing lock...
[2025-01-12 11:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:01:01] Production.INFO: ==7421== Lock acquired, processing the job...
[2025-01-12 06:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:01:02] Production.INFO: ==7423== Lock acquired, processing the job...
[2025-01-12 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:01:02] Production.INFO: ==7421== Releasing lock...
[2025-01-12 06:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:01:02] Production.INFO: ==7423== Releasing lock...
[2025-01-12 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:01:03] Production.INFO: ==7430== Lock acquired, processing the job...
[2025-01-12 06:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:01:03] Production.INFO: ==7434== Lock acquired, processing the job...
[2025-01-12 06:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:01:03] Production.INFO: ==7426== Lock acquired, processing the job...
[2025-01-12 06:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:01:03] Production.INFO: ==7428== Lock acquired, processing the job...
[2025-01-12 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:01:03] Production.INFO: ==7436== Lock acquired, processing the job...
[2025-01-12 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:01:03] Production.INFO: ==7432== Lock acquired, processing the job...
[2025-01-12 06:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06: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-01-12 06:01:03] Production.INFO: Account Balance Start.
[2025-01-12 06:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:01:03] Production.INFO: 117
[2025-01-12 06:01:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:01:03] Production.INFO: count ==21
[2025-01-12 06:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229622') start
[2025-01-12 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:01:03] Production.ERROR: done
[2025-01-12 06:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:01:03] Production.ERROR: done
[2025-01-12 06:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229622') end
[2025-01-12 06:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:01:03] Production.INFO: 1
[2025-01-12 06:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:01:03] Production.INFO: ==7436== Releasing lock...
[2025-01-12 06:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:01:03] Production.INFO: ==7428== Releasing lock...
[2025-01-12 06:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:01:03] Production.INFO: Total Charge 0
[2025-01-12 06:01:03] Production.INFO: CreateAllLog End
[2025-01-12 06:01:04] Production.INFO: Account Balance End.
[2025-01-12 06:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:01:04] Production.INFO: ==7432== Releasing lock...
[2025-01-12 06:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:01:04
[end_date_ymd] => 2025-01-12 06:01:04
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:01:04' and `end` < '2025-01-12 06: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-01-12 06:01:11] Production.ERROR: CronJobId end10
[2025-01-12 06:01:11] Production.INFO: ==7430== Releasing lock...
[2025-01-12 06:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:01:13] Production.INFO: call_cost start
[2025-01-12 06:01:13] Production.INFO: call_cost end
[2025-01-12 06:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:01:14] Production.INFO: ==7426== Releasing lock...
[2025-01-12 06:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:01:18] Production.INFO: count ==109
[2025-01-12 06:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:01:04 - End Time 2025-01-12 06:01:04
[2025-01-12 06:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229626', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229626', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229626', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229626', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:01:18] Production.INFO: ProcessCDR(1,14229626,1,1,2)
[2025-01-12 06:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229626,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229626,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229626', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229626', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:01:21] Production.INFO: ==7434== Releasing lock...
[2025-01-12 06:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:01:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:02:02] Production.INFO: ==7527== Lock acquired, processing the job...
[2025-01-12 11:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:02:02] Production.INFO: neon service started
[2025-01-12 11:02:02] Production.INFO: neon service started
[2025-01-12 11:02:02] Production.INFO: ==7527== Releasing lock...
[2025-01-12 11:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:02:02] Production.INFO: ==7529== Lock acquired, processing the job...
[2025-01-12 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:02:02] Production.INFO: ==7531== Lock acquired, processing the job...
[2025-01-12 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:02:02] Production.INFO: ==7531== Releasing lock...
[2025-01-12 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:02:02] Production.INFO: ==7529== Releasing lock...
[2025-01-12 06:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:02:03] Production.INFO: ==7537== Lock acquired, processing the job...
[2025-01-12 06:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:02:03] Production.INFO: ==7544== Lock acquired, processing the job...
[2025-01-12 06:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06: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-01-12 06:02:03] Production.INFO: count ==21
[2025-01-12 06:02:03] Production.INFO: ==7533== Lock acquired, processing the job...
[2025-01-12 06:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06: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-01-12 06:02:03] Production.INFO: count ==21
[2025-01-12 06:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229627') start
[2025-01-12 06:02:03] Production.INFO: ==7535== Lock acquired, processing the job...
[2025-01-12 06:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:02:03] Production.INFO: ==7539== Lock acquired, processing the job...
[2025-01-12 06:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229627') end
[2025-01-12 06:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:02:04] Production.INFO: 1
[2025-01-12 06:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:02:04] Production.INFO: ==7541== Lock acquired, processing the job...
[2025-01-12 06:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:02:04] Production.INFO: ==7544== Releasing lock...
[2025-01-12 06:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:02:04] Production.INFO: Account Balance Start.
[2025-01-12 06:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:02:04] Production.INFO: 117
[2025-01-12 06:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:02:04] Production.INFO: ==7535== Releasing lock...
[2025-01-12 06:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:02:04] Production.ERROR: done
[2025-01-12 06:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:02:04] Production.INFO: Total Charge 0
[2025-01-12 06:02:04] Production.ERROR: done
[2025-01-12 06:02:04] Production.INFO: CreateAllLog End
[2025-01-12 06:02:04] Production.INFO: Account Balance End.
[2025-01-12 06:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:02:04] Production.INFO: ==7539== Releasing lock...
[2025-01-12 06:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:02:05
[end_date_ymd] => 2025-01-12 06:02:05
[RateCDR] => 1
)
[2025-01-12 06:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:02:05' and `end` < '2025-01-12 06:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:02:11] Production.ERROR: CronJobId end10
[2025-01-12 06:02:11] Production.INFO: ==7537== Releasing lock...
[2025-01-12 06:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:02:13] Production.INFO: call_cost start
[2025-01-12 06:02:13] Production.INFO: call_cost end
[2025-01-12 06:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:02:14] Production.INFO: ==7533== Releasing lock...
[2025-01-12 06:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:02:20] Production.INFO: count ==109
[2025-01-12 06:02:20] Production.ERROR: pbx CDR StartTime 2025-01-12 03:02:05 - End Time 2025-01-12 06:02:05
[2025-01-12 06:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229631', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229631', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229631', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229631', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:02:20] Production.INFO: ProcessCDR(1,14229631,1,1,2)
[2025-01-12 06:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229631,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229631,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229631', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229631', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:02:23] Production.INFO: ==7541== Releasing lock...
[2025-01-12 06:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:02:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:03:01] Production.INFO: ==7636== Lock acquired, processing the job...
[2025-01-12 11:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:03:01] Production.INFO: neon service started
[2025-01-12 11:03:01] Production.INFO: neon service started
[2025-01-12 11:03:01] Production.INFO: ==7636== Releasing lock...
[2025-01-12 11:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:03:01] Production.INFO: ==7638== Lock acquired, processing the job...
[2025-01-12 06:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:03:02] Production.INFO: ==7638== Releasing lock...
[2025-01-12 06:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:03:02] Production.INFO: ==7640== Lock acquired, processing the job...
[2025-01-12 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:03:02] Production.INFO: ==7640== Releasing lock...
[2025-01-12 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:03:03] Production.INFO: ==7642== Lock acquired, processing the job...
[2025-01-12 06:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:03:03] Production.INFO: ==7650== Lock acquired, processing the job...
[2025-01-12 06:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:03:03] Production.INFO: ==7644== Lock acquired, processing the job...
[2025-01-12 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:03:03] Production.INFO: ==7648== Lock acquired, processing the job...
[2025-01-12 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:03:03] Production.INFO: ==7646== Lock acquired, processing the job...
[2025-01-12 06:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:03:03] Production.INFO: ==7652== Lock acquired, processing the job...
[2025-01-12 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:03:03] Production.INFO: Account Balance Start.
[2025-01-12 06:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:03:03] Production.INFO: 117
[2025-01-12 06:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:03:03] Production.ERROR: done
[2025-01-12 06:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 06: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-01-12 06:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:03:03] Production.INFO: Total Charge 0
[2025-01-12 06:03:03] Production.INFO: CreateAllLog End
[2025-01-12 06:03:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:03:03] Production.INFO: count ==21
[2025-01-12 06:03:03] Production.INFO: ==7644== Releasing lock...
[2025-01-12 06:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229635') start
[2025-01-12 06:03:03] Production.ERROR: done
[2025-01-12 06:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229635') end
[2025-01-12 06:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:03:03] Production.INFO: 1
[2025-01-12 06:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:03:03] Production.INFO: Account Balance End.
[2025-01-12 06:03:03] Production.INFO: ==7652== Releasing lock...
[2025-01-12 06:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:03:03] Production.ERROR: CronJobId end 12
[2025-01-12 06:03:03] Production.INFO: ==7648== Releasing lock...
[2025-01-12 06:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:03:04
[end_date_ymd] => 2025-01-12 06:03:04
[RateCDR] => 1
)
[2025-01-12 06:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:03:04' and `end` < '2025-01-12 06:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:03:10] Production.ERROR: CronJobId end10
[2025-01-12 06:03:10] Production.INFO: ==7646== Releasing lock...
[2025-01-12 06:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:03:13] Production.INFO: call_cost start
[2025-01-12 06:03:13] Production.INFO: call_cost end
[2025-01-12 06:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:03:14] Production.INFO: ==7642== Releasing lock...
[2025-01-12 06:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:03:18] Production.INFO: count ==109
[2025-01-12 06:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:03:04 - End Time 2025-01-12 06:03:04
[2025-01-12 06:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229636', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229636', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229636', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229636', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:03:18] Production.INFO: ProcessCDR(1,14229636,1,1,2)
[2025-01-12 06:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229636,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229636,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229636', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229636', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:03:21] Production.INFO: ==7650== Releasing lock...
[2025-01-12 06:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:03:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:04:01] Production.INFO: ==7740== Lock acquired, processing the job...
[2025-01-12 11:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:04:01] Production.INFO: neon service started
[2025-01-12 11:04:02] Production.INFO: neon service started
[2025-01-12 11:04:02] Production.INFO: ==7740== Releasing lock...
[2025-01-12 11:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:04:02] Production.INFO: ==7742== Lock acquired, processing the job...
[2025-01-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:04:02] Production.INFO: ==7744== Lock acquired, processing the job...
[2025-01-12 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:04:02] Production.INFO: ==7742== Releasing lock...
[2025-01-12 06:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:04:02] Production.INFO: ==7744== Releasing lock...
[2025-01-12 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:04:03] Production.INFO: ==7746== Lock acquired, processing the job...
[2025-01-12 06:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:04:03] Production.INFO: ==7748== Lock acquired, processing the job...
[2025-01-12 06:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:04:03] Production.INFO: ==7751== Lock acquired, processing the job...
[2025-01-12 06:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:04:03] Production.INFO: ==7753== Lock acquired, processing the job...
[2025-01-12 06:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:04:03] Production.INFO: ==7755== Lock acquired, processing the job...
[2025-01-12 06:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:04:03] Production.INFO: Account Balance Start.
[2025-01-12 06:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:04:03] Production.INFO: 117
[2025-01-12 06:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:04:03] Production.INFO: ==7757== Lock acquired, processing the job...
[2025-01-12 06:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:04:04] Production.INFO: ==7748== Releasing lock...
[2025-01-12 06:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:04:04] Production.INFO: count ==21
[2025-01-12 06:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:04:04] Production.ERROR: done
[2025-01-12 06:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 06:04:04] Production.INFO: count ==21
[2025-01-12 06:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229640') start
[2025-01-12 06:04:04] Production.INFO: Total Charge 0
[2025-01-12 06:04:04] Production.INFO: CreateAllLog End
[2025-01-12 06:04:04] Production.ERROR: done
[2025-01-12 06:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229640') end
[2025-01-12 06:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:04:04] Production.INFO: 1
[2025-01-12 06:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:04:04] Production.INFO: ==7757== Releasing lock...
[2025-01-12 06:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:04:04] Production.INFO: Account Balance End.
[2025-01-12 06:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:04:04] Production.INFO: ==7753== Releasing lock...
[2025-01-12 06:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:04:05
[end_date_ymd] => 2025-01-12 06:04:05
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:04:05' and `end` < '2025-01-12 06: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-01-12 06:04:10] Production.ERROR: CronJobId end10
[2025-01-12 06:04:10] Production.INFO: ==7751== Releasing lock...
[2025-01-12 06:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:04:12] Production.INFO: call_cost start
[2025-01-12 06:04:12] Production.INFO: call_cost end
[2025-01-12 06:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:04:13] Production.INFO: ==7746== Releasing lock...
[2025-01-12 06:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:04:19] Production.INFO: count ==109
[2025-01-12 06:04:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:04:05 - End Time 2025-01-12 06:04:05
[2025-01-12 06:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229641', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229641', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229641', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229641', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:04:19] Production.INFO: ProcessCDR(1,14229641,1,1,2)
[2025-01-12 06:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229641', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229641', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:04:23] Production.INFO: ==7755== Releasing lock...
[2025-01-12 06:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:04:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:05:01] Production.INFO: ==7819== Lock acquired, processing the job...
[2025-01-12 11:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:05:01] Production.INFO: neon service started
[2025-01-12 11:05:01] Production.INFO: neon service started
[2025-01-12 11:05:01] Production.INFO: ==7819== Releasing lock...
[2025-01-12 11:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:05:01] Production.INFO: ==7823== Lock acquired, processing the job...
[2025-01-12 11:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:05:01] Production.INFO: ==7823== Releasing lock...
[2025-01-12 11:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:05:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:05:02] Production.INFO: ==7821== Lock acquired, processing the job...
[2025-01-12 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:05:02] Production.INFO: ==7821== Releasing lock...
[2025-01-12 06:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:05:03] Production.INFO: ==7826== Lock acquired, processing the job...
[2025-01-12 06:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:05:03] Production.INFO: ==7828== Lock acquired, processing the job...
[2025-01-12 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:05:03] Production.INFO: ==7834== Lock acquired, processing the job...
[2025-01-12 06:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:05:03] Production.INFO: ==7832== Lock acquired, processing the job...
[2025-01-12 06:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:05:03] Production.INFO: ==7830== Lock acquired, processing the job...
[2025-01-12 06:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:05:03] Production.INFO: ==7836== Lock acquired, processing the job...
[2025-01-12 06:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:05:03] Production.INFO: Account Balance Start.
[2025-01-12 06:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:05:03] Production.INFO: 117
[2025-01-12 06:05:03] Production.INFO: ==7828== Releasing lock...
[2025-01-12 06:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:05:03] Production.INFO: count ==21
[2025-01-12 06:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:05:03] Production.INFO: count ==21
[2025-01-12 06:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229645') start
[2025-01-12 06:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:05:03] Production.ERROR: done
[2025-01-12 06:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:05:04] Production.INFO: Total Charge 0
[2025-01-12 06:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229645') end
[2025-01-12 06:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:05:04] Production.INFO: 1
[2025-01-12 06:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:05:04] Production.ERROR: done
[2025-01-12 06:05:04] Production.INFO: CreateAllLog End
[2025-01-12 06:05:04] Production.INFO: ==7836== Releasing lock...
[2025-01-12 06:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:05:04] Production.INFO: Account Balance End.
[2025-01-12 06:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:05:04] Production.INFO: ==7832== Releasing lock...
[2025-01-12 06:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:05:05
[end_date_ymd] => 2025-01-12 06:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:05:05' and `end` < '2025-01-12 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-01-12 06:05:11] Production.ERROR: CronJobId end10
[2025-01-12 06:05:11] Production.INFO: ==7830== Releasing lock...
[2025-01-12 06:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:05:13] Production.INFO: call_cost start
[2025-01-12 06:05:13] Production.INFO: call_cost end
[2025-01-12 06:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:05:14] Production.INFO: ==7826== Releasing lock...
[2025-01-12 06:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:05:18] Production.INFO: count ==109
[2025-01-12 06:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:05:05 - End Time 2025-01-12 06:05:05
[2025-01-12 06:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229646', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229646', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229646', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229646', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:05:18] Production.INFO: ProcessCDR(1,14229646,1,1,2)
[2025-01-12 06:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229646', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229646', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:05:21] Production.INFO: ==7834== Releasing lock...
[2025-01-12 06:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:05:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:06:02] Production.INFO: ==7904== Lock acquired, processing the job...
[2025-01-12 11:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:06:02] Production.INFO: neon service started
[2025-01-12 11:06:02] Production.INFO: neon service started
[2025-01-12 11:06:02] Production.INFO: ==7904== Releasing lock...
[2025-01-12 11:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:06:02] Production.INFO: ==7908== Lock acquired, processing the job...
[2025-01-12 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:06:02] Production.INFO: ==7908== Releasing lock...
[2025-01-12 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:06:02] Production.INFO: ==7906== Lock acquired, processing the job...
[2025-01-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:06:02] Production.INFO: ==7906== Releasing lock...
[2025-01-12 06:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:06:03] Production.INFO: ==7910== Lock acquired, processing the job...
[2025-01-12 06:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:06:03] Production.INFO: ==7914== Lock acquired, processing the job...
[2025-01-12 06:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:06:03] Production.INFO: ==7919== Lock acquired, processing the job...
[2025-01-12 06:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:06:03] Production.INFO: ==7912== Lock acquired, processing the job...
[2025-01-12 06:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:06:03] Production.INFO: ==7916== Lock acquired, processing the job...
[2025-01-12 06:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:06:03] Production.INFO: ==7921== Lock acquired, processing the job...
[2025-01-12 06:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:06:04] Production.INFO: Account Balance Start.
[2025-01-12 06:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:06:04] Production.INFO: 117
[2025-01-12 06:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:06:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:06:04] Production.INFO: count ==21
[2025-01-12 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229649') start
[2025-01-12 06:06:04] Production.ERROR: done
[2025-01-12 06:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229649') end
[2025-01-12 06:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:06:04] Production.INFO: 1
[2025-01-12 06:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:06:04] Production.INFO: Total Charge 0
[2025-01-12 06:06:04] Production.INFO: CreateAllLog End
[2025-01-12 06:06:04] Production.INFO: ==7921== Releasing lock...
[2025-01-12 06:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:06:04] Production.ERROR: done
[2025-01-12 06:06:04] Production.INFO: ==7912== Releasing lock...
[2025-01-12 06:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:06:04] Production.INFO: Account Balance End.
[2025-01-12 06:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:06:04] Production.INFO: ==7916== Releasing lock...
[2025-01-12 06:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:06:05
[end_date_ymd] => 2025-01-12 06:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:06:05' and `end` < '2025-01-12 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-01-12 06:06:10] Production.ERROR: CronJobId end10
[2025-01-12 06:06:10] Production.INFO: ==7914== Releasing lock...
[2025-01-12 06:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:06:12] Production.INFO: call_cost start
[2025-01-12 06:06:12] Production.INFO: call_cost end
[2025-01-12 06:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:06:13] Production.INFO: ==7910== Releasing lock...
[2025-01-12 06:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:06:19] Production.INFO: count ==109
[2025-01-12 06:06:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:06:05 - End Time 2025-01-12 06:06:05
[2025-01-12 06:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229651', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229651', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229651', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229651', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:06:19] Production.INFO: ProcessCDR(1,14229651,1,1,2)
[2025-01-12 06:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229651', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229651', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:06:22] Production.INFO: ==7919== Releasing lock...
[2025-01-12 06:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:06:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:07:01] Production.INFO: ==7992== Lock acquired, processing the job...
[2025-01-12 11:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:07:01] Production.INFO: neon service started
[2025-01-12 11:07:01] Production.INFO: neon service started
[2025-01-12 11:07:01] Production.INFO: ==7992== Releasing lock...
[2025-01-12 11:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:07:01] Production.INFO: ==7996== Lock acquired, processing the job...
[2025-01-12 11:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:07:01] Production.INFO: ==7996== Releasing lock...
[2025-01-12 11:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:07:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:07:01] Production.INFO: ==7994== Lock acquired, processing the job...
[2025-01-12 06:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:07:02] Production.INFO: ==7994== Releasing lock...
[2025-01-12 06:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:07:03] Production.INFO: ==8002== Lock acquired, processing the job...
[2025-01-12 06:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:07:03] Production.INFO: ==8004== Lock acquired, processing the job...
[2025-01-12 06:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:07:03] Production.INFO: ==7998== Lock acquired, processing the job...
[2025-01-12 06:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:07:03] Production.INFO: ==8000== Lock acquired, processing the job...
[2025-01-12 06:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:07:03] Production.INFO: Account Balance Start.
[2025-01-12 06:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:07:03] Production.INFO: 117
[2025-01-12 06:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:07:03] Production.INFO: ==8006== Lock acquired, processing the job...
[2025-01-12 06:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:07:03] Production.INFO: Total Charge 0
[2025-01-12 06:07:03] Production.INFO: ==8009== Lock acquired, processing the job...
[2025-01-12 06:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:07:03] Production.INFO: CreateAllLog End
[2025-01-12 06:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 06:07:03] Production.INFO: count ==21
[2025-01-12 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-01-12 06:07:03] Production.INFO: count ==21
[2025-01-12 06:07:04] Production.INFO: ==8000== Releasing lock...
[2025-01-12 06:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229655') start
[2025-01-12 06:07:04] Production.INFO: Account Balance End.
[2025-01-12 06:07:04] Production.ERROR: done
[2025-01-12 06:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229655') end
[2025-01-12 06:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:07:04] Production.INFO: 1
[2025-01-12 06:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:07:04] Production.INFO: ==8004== Releasing lock...
[2025-01-12 06:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:07:04] Production.INFO: ==8009== Releasing lock...
[2025-01-12 06:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:07:04] Production.ERROR: done
[2025-01-12 06:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:07:05
[end_date_ymd] => 2025-01-12 06:07:05
[RateCDR] => 1
)
[2025-01-12 06:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:07:05' and `end` < '2025-01-12 06:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:07:11] Production.ERROR: CronJobId end10
[2025-01-12 06:07:11] Production.INFO: ==8002== Releasing lock...
[2025-01-12 06:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:07:13] Production.INFO: call_cost start
[2025-01-12 06:07:13] Production.INFO: call_cost end
[2025-01-12 06:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:07:14] Production.INFO: ==7998== Releasing lock...
[2025-01-12 06:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:07:18] Production.INFO: count ==109
[2025-01-12 06:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:07:05 - End Time 2025-01-12 06:07:05
[2025-01-12 06:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229656', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229656', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229656', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229656', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:07:18] Production.INFO: ProcessCDR(1,14229656,1,1,2)
[2025-01-12 06:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229656', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229656', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:07:21] Production.INFO: ==8006== Releasing lock...
[2025-01-12 06:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:07:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:08:01] Production.INFO: ==8083== Lock acquired, processing the job...
[2025-01-12 11:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:08:01] Production.INFO: neon service started
[2025-01-12 11:08:01] Production.INFO: neon service started
[2025-01-12 11:08:01] Production.INFO: ==8083== Releasing lock...
[2025-01-12 11:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:08:02] Production.INFO: ==8085== Lock acquired, processing the job...
[2025-01-12 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:08:02] Production.INFO: ==8085== Releasing lock...
[2025-01-12 06:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:08:02] Production.INFO: ==8087== Lock acquired, processing the job...
[2025-01-12 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:08:02] Production.INFO: ==8087== Releasing lock...
[2025-01-12 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:08:03] Production.INFO: ==8091== Lock acquired, processing the job...
[2025-01-12 06:08:03] Production.INFO: ==8089== Lock acquired, processing the job...
[2025-01-12 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:08:03] Production.INFO: ==8093== Lock acquired, processing the job...
[2025-01-12 06:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:08:03] Production.INFO: ==8099== Lock acquired, processing the job...
[2025-01-12 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:08:03] Production.INFO: ==8095== Lock acquired, processing the job...
[2025-01-12 06:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:08:03] Production.INFO: count ==21
[2025-01-12 06:08:03] Production.INFO: ==8097== Lock acquired, processing the job...
[2025-01-12 06:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:08:03] Production.INFO: count ==21
[2025-01-12 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229658') start
[2025-01-12 06:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229658') end
[2025-01-12 06:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:08:03] Production.INFO: 1
[2025-01-12 06:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:08:03] Production.INFO: Account Balance Start.
[2025-01-12 06:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:08:03] Production.INFO: 117
[2025-01-12 06:08:03] Production.INFO: ==8091== Releasing lock...
[2025-01-12 06:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:08:03] Production.INFO: ==8099== Releasing lock...
[2025-01-12 06:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:08:04] Production.ERROR: done
[2025-01-12 06:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:08:04] Production.INFO: Total Charge 0
[2025-01-12 06:08:04] Production.INFO: CreateAllLog End
[2025-01-12 06:08:04] Production.ERROR: done
[2025-01-12 06:08:04] Production.INFO: Account Balance End.
[2025-01-12 06:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:08:04] Production.INFO: ==8095== Releasing lock...
[2025-01-12 06:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:08:05
[end_date_ymd] => 2025-01-12 06:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:08:05' and `end` < '2025-01-12 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-01-12 06:08:11] Production.ERROR: CronJobId end10
[2025-01-12 06:08:11] Production.INFO: ==8093== Releasing lock...
[2025-01-12 06:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:08:13] Production.INFO: call_cost start
[2025-01-12 06:08:13] Production.INFO: call_cost end
[2025-01-12 06:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:08:14] Production.INFO: ==8089== Releasing lock...
[2025-01-12 06:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:08:18] Production.INFO: count ==109
[2025-01-12 06:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:08:05 - End Time 2025-01-12 06:08:05
[2025-01-12 06:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229661', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229661', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229661', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229661', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:08:18] Production.INFO: ProcessCDR(1,14229661,1,1,2)
[2025-01-12 06:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229661', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229661', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:08:21] Production.INFO: ==8097== Releasing lock...
[2025-01-12 06:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:08:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:09:02] Production.INFO: ==8173== Lock acquired, processing the job...
[2025-01-12 11:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:09:02] Production.INFO: neon service started
[2025-01-12 11:09:02] Production.INFO: neon service started
[2025-01-12 11:09:02] Production.INFO: ==8173== Releasing lock...
[2025-01-12 11:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:09:02] Production.INFO: ==8175== Lock acquired, processing the job...
[2025-01-12 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:09:02] Production.INFO: ==8177== Lock acquired, processing the job...
[2025-01-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:09:02] Production.INFO: ==8177== Releasing lock...
[2025-01-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:09:02] Production.INFO: ==8175== Releasing lock...
[2025-01-12 06:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:09:03] Production.INFO: ==8181== Lock acquired, processing the job...
[2025-01-12 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:09:03] Production.INFO: ==8185== Lock acquired, processing the job...
[2025-01-12 06:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:09:03] Production.INFO: ==8189== Lock acquired, processing the job...
[2025-01-12 06:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:09:03] Production.INFO: Account Balance Start.
[2025-01-12 06:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:09:03] Production.INFO: 117
[2025-01-12 06:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:09:03] Production.INFO: ==8183== Lock acquired, processing the job...
[2025-01-12 06:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:09:03] Production.INFO: ==8179== Lock acquired, processing the job...
[2025-01-12 06:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:09:03] Production.INFO: count ==21
[2025-01-12 06:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:09:03] Production.INFO: count ==21
[2025-01-12 06:09:03] Production.INFO: ==8181== Releasing lock...
[2025-01-12 06:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:09:03] Production.INFO: ==8187== Lock acquired, processing the job...
[2025-01-12 06:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229664') start
[2025-01-12 06:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:09:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:09:04] Production.INFO: Total Charge 0
[2025-01-12 06:09:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:09:04] Production.INFO: CreateAllLog End
[2025-01-12 06:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229664') end
[2025-01-12 06:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:09:04] Production.INFO: 1
[2025-01-12 06:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:09:04] Production.INFO: ==8189== Releasing lock...
[2025-01-12 06:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:09:04] Production.ERROR: done
[2025-01-12 06:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:09:04] Production.INFO: Account Balance End.
[2025-01-12 06:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:09:04] Production.INFO: ==8185== Releasing lock...
[2025-01-12 06:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:09:04] Production.ERROR: done
[2025-01-12 06:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:09:05
[end_date_ymd] => 2025-01-12 06:09:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:09:05' and `end` < '2025-01-12 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-01-12 06:09:12] Production.ERROR: CronJobId end10
[2025-01-12 06:09:12] Production.INFO: ==8183== Releasing lock...
[2025-01-12 06:09:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:09:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:09:13] Production.INFO: call_cost start
[2025-01-12 06:09:13] Production.INFO: call_cost end
[2025-01-12 06:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:09:14] Production.INFO: ==8179== Releasing lock...
[2025-01-12 06:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:09:19] Production.INFO: count ==109
[2025-01-12 06:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:09:05 - End Time 2025-01-12 06:09:05
[2025-01-12 06:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229666', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229666', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229666', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229666', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:09:19] Production.INFO: ProcessCDR(1,14229666,1,1,2)
[2025-01-12 06:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229666', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229666', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:09:22] Production.INFO: ==8187== Releasing lock...
[2025-01-12 06:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:09:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:10:01] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-01-12 11:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:10:01] Production.INFO: neon service started
[2025-01-12 11:10:01] Production.INFO: neon service started
[2025-01-12 11:10:01] Production.INFO: ==8261== Releasing lock...
[2025-01-12 11:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:10:02] Production.INFO: ==8265== Lock acquired, processing the job...
[2025-01-12 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:10:02] Production.INFO: ==8265== Releasing lock...
[2025-01-12 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:10:02] Production.INFO: ==8263== Lock acquired, processing the job...
[2025-01-12 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:10:02] Production.INFO: ==8263== Releasing lock...
[2025-01-12 06:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:10:03] Production.INFO: ==8270== Lock acquired, processing the job...
[2025-01-12 06:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:10:03] Production.INFO: ==8272== Lock acquired, processing the job...
[2025-01-12 06:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:10:03] Production.INFO: ==8274== Lock acquired, processing the job...
[2025-01-12 06:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:10:03] Production.INFO: ==8268== Lock acquired, processing the job...
[2025-01-12 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 06:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:10:03] Production.ERROR: CronJob PID - 8270
[2025-01-12 06:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 06:10:03] Production.ERROR: CronJob ID - 5
[2025-01-12 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 06:10:00
[2025-01-12 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:10:03] Production.ERROR: CronJob PID - 8272
[2025-01-12 06:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 06:10:03] Production.ERROR: CronJob ID - 7
[2025-01-12 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 06:10:00
[2025-01-12 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:10:03] Production.ERROR: CronJob PID - 8274
[2025-01-12 06:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 06:10:03] Production.ERROR: CronJob ID - 10
[2025-01-12 06:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 06:10:00
[2025-01-12 06:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:10:03] Production.INFO: ==8280== Lock acquired, processing the job...
[2025-01-12 06:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 06:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 06:10:03] Production.INFO: ==8268== Releasing lock...
[2025-01-12 06:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 06:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:10:04] Production.INFO: ==8276== Lock acquired, processing the job...
[2025-01-12 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:10:04] Production.INFO: Account Balance Start.
[2025-01-12 06:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:10:04] Production.INFO: 117
[2025-01-12 06:10:04] Production.INFO: ==8272== Releasing lock...
[2025-01-12 06:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:10:04] Production.INFO: ==8278== Lock acquired, processing the job...
[2025-01-12 06:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:10:04] Production.INFO: ==8283== Lock acquired, processing the job...
[2025-01-12 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:10:04] Production.ERROR: done
[2025-01-12 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-01-12 06:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 06:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229671', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 06:10:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:10:04] Production.INFO: count ==21
[2025-01-12 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229670') start
[2025-01-12 06:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229670') end
[2025-01-12 06:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:10:04] Production.INFO: 1
[2025-01-12 06:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:10:04] Production.ERROR: done
[2025-01-12 06:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:10:04] Production.INFO: ==8283== Releasing lock...
[2025-01-12 06:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:10:04] Production.INFO: Total Charge 0
[2025-01-12 06:10:04] Production.ERROR: done
[2025-01-12 06:10:04] Production.INFO: CreateAllLog End
[2025-01-12 06:10:04] Production.INFO: Account Balance End.
[2025-01-12 06:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:10:04] Production.INFO: ==8276== Releasing lock...
[2025-01-12 06:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:10:05
[end_date_ymd] => 2025-01-12 06:10:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:10:05' and `end` < '2025-01-12 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-01-12 06:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229671', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 06:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 06:10:09] Production.INFO: ProcessCDR(1,14229671,1,1,2)
[2025-01-12 06:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229671,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229671,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:10:09] Production.INFO: ==8280== Releasing lock...
[2025-01-12 06:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 06:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 06:10:13] Production.ERROR: CronJobId end10
[2025-01-12 06:10:13] Production.INFO: ==8274== Releasing lock...
[2025-01-12 06:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:10:15] Production.INFO: call_cost start
[2025-01-12 06:10:15] Production.INFO: call_cost end
[2025-01-12 06:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:10:15] Production.INFO: ==8270== Releasing lock...
[2025-01-12 06:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:10:19] Production.INFO: count ==103
[2025-01-12 06:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:10:05 - End Time 2025-01-12 06:10:05
[2025-01-12 06:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229672', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229672', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229672', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229672', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:10:19] Production.INFO: ProcessCDR(1,14229672,1,1,2)
[2025-01-12 06:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229672,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229672,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229672', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229672', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:10:22] Production.INFO: ==8278== Releasing lock...
[2025-01-12 06:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:10:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:11:02] Production.INFO: ==8366== Lock acquired, processing the job...
[2025-01-12 11:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:11:02] Production.INFO: neon service started
[2025-01-12 11:11:02] Production.INFO: neon service started
[2025-01-12 11:11:02] Production.INFO: ==8366== Releasing lock...
[2025-01-12 11:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:11:02] Production.INFO: ==8370== Lock acquired, processing the job...
[2025-01-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:11:02] Production.INFO: ==8370== Releasing lock...
[2025-01-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:11:02] Production.INFO: ==8368== Lock acquired, processing the job...
[2025-01-12 06:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:11:03] Production.INFO: ==8368== Releasing lock...
[2025-01-12 06:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:11:03] Production.INFO: ==8373== Lock acquired, processing the job...
[2025-01-12 06:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:11:03] Production.INFO: ==8377== Lock acquired, processing the job...
[2025-01-12 06:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:11:03] Production.INFO: ==8381== Lock acquired, processing the job...
[2025-01-12 06:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:11:04] Production.INFO: ==8375== Lock acquired, processing the job...
[2025-01-12 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:11:04] Production.INFO: ==8379== Lock acquired, processing the job...
[2025-01-12 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:11:04] Production.ERROR: done
[2025-01-12 06:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:11:04] Production.INFO: ==8383== Lock acquired, processing the job...
[2025-01-12 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:11:04] Production.INFO: Account Balance Start.
[2025-01-12 06:11:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:11:04] Production.INFO: 117
[2025-01-12 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-01-12 06:11:04] Production.ERROR: done
[2025-01-12 06:11:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:11:04] Production.INFO: count ==21
[2025-01-12 06:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229676') start
[2025-01-12 06:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:11:04] Production.INFO: ==8375== Releasing lock...
[2025-01-12 06:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:11:04] Production.INFO: Total Charge 0
[2025-01-12 06:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229676') end
[2025-01-12 06:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:11:04] Production.INFO: 1
[2025-01-12 06:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:11:04] Production.INFO: CreateAllLog End
[2025-01-12 06:11:04] Production.INFO: ==8383== Releasing lock...
[2025-01-12 06:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:11:04] Production.INFO: Account Balance End.
[2025-01-12 06:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:11:04] Production.INFO: ==8379== Releasing lock...
[2025-01-12 06:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:11:05
[end_date_ymd] => 2025-01-12 06:11:05
[RateCDR] => 1
)
[2025-01-12 06:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:11:05' and `end` < '2025-01-12 06:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:11:11] Production.ERROR: CronJobId end10
[2025-01-12 06:11:11] Production.INFO: ==8377== Releasing lock...
[2025-01-12 06:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:11:13] Production.INFO: call_cost start
[2025-01-12 06:11:13] Production.INFO: call_cost end
[2025-01-12 06:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:11:14] Production.INFO: ==8373== Releasing lock...
[2025-01-12 06:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:11:19] Production.INFO: count ==99
[2025-01-12 06:11:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:11:05 - End Time 2025-01-12 06:11:05
[2025-01-12 06:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229677', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229677', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229677', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229677', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:11:19] Production.INFO: ProcessCDR(1,14229677,1,1,2)
[2025-01-12 06:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229677,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229677,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229677', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229677', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:11:22] Production.INFO: ==8381== Releasing lock...
[2025-01-12 06:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:11:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:12:01] Production.INFO: ==8494== Lock acquired, processing the job...
[2025-01-12 11:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:12:01] Production.INFO: neon service started
[2025-01-12 11:12:01] Production.INFO: neon service started
[2025-01-12 11:12:01] Production.INFO: ==8494== Releasing lock...
[2025-01-12 11:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:12:02] Production.INFO: ==8498== Lock acquired, processing the job...
[2025-01-12 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:12:02] Production.INFO: ==8498== Releasing lock...
[2025-01-12 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:12:02] Production.INFO: ==8496== Lock acquired, processing the job...
[2025-01-12 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:12:02] Production.INFO: ==8496== Releasing lock...
[2025-01-12 06:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:12:03] Production.INFO: ==8503== Lock acquired, processing the job...
[2025-01-12 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:12:03] Production.INFO: ==8509== Lock acquired, processing the job...
[2025-01-12 06:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:12:03] Production.INFO: ==8501== Lock acquired, processing the job...
[2025-01-12 06:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:12:03] Production.INFO: ==8503== Releasing lock...
[2025-01-12 06:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:12:03] Production.INFO: ==8505== Lock acquired, processing the job...
[2025-01-12 06:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:12:03] Production.INFO: ==8511== Lock acquired, processing the job...
[2025-01-12 06:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:12:03] Production.INFO: ==8507== Lock acquired, processing the job...
[2025-01-12 06:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:12:03] Production.ERROR: done
[2025-01-12 06:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:12:03] Production.INFO: Account Balance Start.
[2025-01-12 06:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:12:03] Production.INFO: 117
[2025-01-12 06:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:12:03] Production.INFO: count ==21
[2025-01-12 06:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:12:03] Production.INFO: count ==21
[2025-01-12 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229681') start
[2025-01-12 06:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:12:04] Production.ERROR: done
[2025-01-12 06:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:12:04] Production.INFO: Total Charge 0
[2025-01-12 06:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229681') end
[2025-01-12 06:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:12:04] Production.INFO: 1
[2025-01-12 06:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:12:04] Production.INFO: CreateAllLog End
[2025-01-12 06:12:04] Production.INFO: ==8511== Releasing lock...
[2025-01-12 06:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:12:04] Production.INFO: Account Balance End.
[2025-01-12 06:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:12:04] Production.INFO: ==8507== Releasing lock...
[2025-01-12 06:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:12:05
[end_date_ymd] => 2025-01-12 06:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:12:05' and `end` < '2025-01-12 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-01-12 06:12:11] Production.ERROR: CronJobId end10
[2025-01-12 06:12:11] Production.INFO: ==8505== Releasing lock...
[2025-01-12 06:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:12:13] Production.INFO: call_cost start
[2025-01-12 06:12:13] Production.INFO: call_cost end
[2025-01-12 06:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:12:14] Production.INFO: ==8501== Releasing lock...
[2025-01-12 06:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:12:19] Production.INFO: count ==99
[2025-01-12 06:12:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:12:05 - End Time 2025-01-12 06:12:05
[2025-01-12 06:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229682', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229682', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229682', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229682', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:12:19] Production.INFO: ProcessCDR(1,14229682,1,1,2)
[2025-01-12 06:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229682,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229682,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229682', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229682', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:12:22] Production.INFO: ==8509== Releasing lock...
[2025-01-12 06:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:12:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:13:02] Production.INFO: ==8596== Lock acquired, processing the job...
[2025-01-12 11:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:13:02] Production.INFO: neon service started
[2025-01-12 11:13:02] Production.INFO: neon service started
[2025-01-12 11:13:02] Production.INFO: ==8596== Releasing lock...
[2025-01-12 11:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:13:02] Production.INFO: ==8600== Lock acquired, processing the job...
[2025-01-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:13:02] Production.INFO: ==8600== Releasing lock...
[2025-01-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:13:02] Production.INFO: ==8598== Lock acquired, processing the job...
[2025-01-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:13:02] Production.INFO: ==8598== Releasing lock...
[2025-01-12 06:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:13:03] Production.INFO: ==8607== Lock acquired, processing the job...
[2025-01-12 06:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:13:03] Production.INFO: ==8613== Lock acquired, processing the job...
[2025-01-12 06:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:13:03] Production.INFO: ==8603== Lock acquired, processing the job...
[2025-01-12 06:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:13:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:13:03] Production.INFO: count ==21
[2025-01-12 06:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229683') start
[2025-01-12 06:13:03] Production.INFO: ==8605== Lock acquired, processing the job...
[2025-01-12 06:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:13:04] Production.INFO: ==8609== Lock acquired, processing the job...
[2025-01-12 06:13:04] Production.INFO: ==8611== Lock acquired, processing the job...
[2025-01-12 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229683') end
[2025-01-12 06:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:13:04] Production.INFO: 1
[2025-01-12 06:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:13:04] Production.INFO: ==8613== Releasing lock...
[2025-01-12 06:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:13:04] Production.INFO: Account Balance Start.
[2025-01-12 06:13:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:13:04] Production.INFO: 117
[2025-01-12 06:13:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:13:04] Production.INFO: ==8605== Releasing lock...
[2025-01-12 06:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:13:04] Production.ERROR: done
[2025-01-12 06:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:13:04] Production.INFO: Total Charge 0
[2025-01-12 06:13:04] Production.INFO: CreateAllLog End
[2025-01-12 06:13:04] Production.ERROR: done
[2025-01-12 06:13:04] Production.INFO: Account Balance End.
[2025-01-12 06:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:13:04] Production.INFO: ==8609== Releasing lock...
[2025-01-12 06:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:13:05
[end_date_ymd] => 2025-01-12 06:13:05
[RateCDR] => 1
)
[2025-01-12 06:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:13:05' and `end` < '2025-01-12 06:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:13:11] Production.ERROR: CronJobId end10
[2025-01-12 06:13:11] Production.INFO: ==8607== Releasing lock...
[2025-01-12 06:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:13:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:13:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:13:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:13:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:13:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:13:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:13:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:13:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:13:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:13:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:13:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:13:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:13:14] Production.INFO: call_cost start
[2025-01-12 06:13:14] Production.INFO: call_cost end
[2025-01-12 06:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:13:15] Production.INFO: ==8603== Releasing lock...
[2025-01-12 06:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:13:19] Production.INFO: count ==99
[2025-01-12 06:13:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:13:05 - End Time 2025-01-12 06:13:05
[2025-01-12 06:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229687', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229687', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229687', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229687', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:13:19] Production.INFO: ProcessCDR(1,14229687,1,1,2)
[2025-01-12 06:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229687,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229687,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229687', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229687', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:13:22] Production.INFO: ==8611== Releasing lock...
[2025-01-12 06:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:13:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:14:01] Production.INFO: ==8702== Lock acquired, processing the job...
[2025-01-12 11:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:14:01] Production.INFO: neon service started
[2025-01-12 11:14:01] Production.INFO: neon service started
[2025-01-12 11:14:01] Production.INFO: ==8702== Releasing lock...
[2025-01-12 11:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:14:02] Production.INFO: ==8704== Lock acquired, processing the job...
[2025-01-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:14:02] Production.INFO: ==8706== Lock acquired, processing the job...
[2025-01-12 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:14:02] Production.INFO: ==8706== Releasing lock...
[2025-01-12 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:14:02] Production.INFO: ==8704== Releasing lock...
[2025-01-12 06:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:14:03] Production.INFO: ==8709== Lock acquired, processing the job...
[2025-01-12 06:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:14:03] Production.INFO: ==8715== Lock acquired, processing the job...
[2025-01-12 06:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:14:03] Production.INFO: ==8711== Lock acquired, processing the job...
[2025-01-12 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:14:03] Production.INFO: ==8713== Lock acquired, processing the job...
[2025-01-12 06:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:14:03] Production.INFO: ==8719== Lock acquired, processing the job...
[2025-01-12 06:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:14:03] Production.INFO: ==8717== Lock acquired, processing the job...
[2025-01-12 06:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-12 06:14:03] Production.INFO: Account Balance Start.
[2025-01-12 06:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:14:03] Production.INFO: 117
[2025-01-12 06:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:14:03] Production.INFO: ==8721== Lock acquired, processing the job...
[2025-01-12 06:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:14:03] Production.INFO: -- Xero Api Check --
[2025-01-12 06:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:14:03] Production.INFO: ==8711== Releasing lock...
[2025-01-12 06:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:14:04] Production.INFO: count ==21
[2025-01-12 06:14:04] Production.INFO: Total Charge 0
[2025-01-12 06:14:04] Production.INFO: CreateAllLog End
[2025-01-12 06:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:14:04] Production.INFO: count ==21
[2025-01-12 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229691') start
[2025-01-12 06:14:04] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 854
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 0.529244
[namelookup_time] => 0.275933
[connect_time] => 0.27726
[pretransfer_time] => 0.467521
[size_upload] => 82
[size_download] => 2755
[speed_download] => 5205
[speed_upload] => 154
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 0.529182
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 23.53.4.17
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 45974
)
[2025-01-12 06:14:04] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2ODA0NDQsImV4cCI6MTczNjY4MDc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NjgwNDQ0LCJhdF9oYXNoIjoiUXhSRktlZ0dhOE00VVdsR0lsMFZQZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.jOeCnr3gY0TmrKNalo3TTycEkZuKKcBGdxpHEmm_ajmD5B8msjwk32UNla0d2p_43px3gbkY2hDXSPg-DBeoaQIOJWBRqnlHRiOH7HOad1Oi_RpVT-gWl7NmXVmVz2RO0mHubHl8ciCI3-JMSvuh94dcbc1tEh3vJPZN0gx933Zmqyu4FhRxSPPVgniqc-Rv6hMUnjCHUB8ZCxXk74zAz4UIc8ULNexhJb_CLA98cH6kl_PVyVRXYayZJoklquCWJSdpIbaQDF7dNDVnO5l4zeuL9ibj5V5IdlJawtDdNgan3F8GqbidE2BSe8-PpJAxIR0x4w8RVPQoipyKiTrIiQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2ODA0NDQsImV4cCI6MTczNjY4MjI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Tbext5v46Fls1dqtTaNy22ejswKdLpYEkzcsmUFaipxj6YqKNDiWWSqLL0Qg8Y5QjGq361cVx-mry5qpnzXhD4D0G2_SJe2TjIV0Ze_ApVDQMCvha1pCoPRbdHq59Rt1YJ_CiYrEq-2Xt5A4UTJ90vKPOGgaPCx3Ei-FcM2hmZ9N_DaekFr6WbOM9q9Z0BL-1xHhRoqQik7iyNqX0gokM7B1sWcbAVMQN9kLYUS035Mr2ck9hcSmF5yp5zOdY9EfpleU1rq7IaxXuDdKXR3te3eM65L0ermk1qGG2obrcEE6KPOA2vQpDHXF1CZnyC9goucjzWjRu1-szUIcCKfhkg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => oOGcgbaeI36njcj9qCo97jIjGzR3yo67o2IA9HKcNME
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-12 06:14:04] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2ODA0NDQsImV4cCI6MTczNjY4MDc0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NjgwNDQ0LCJhdF9oYXNoIjoiUXhSRktlZ0dhOE00VVdsR0lsMFZQZyIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.jOeCnr3gY0TmrKNalo3TTycEkZuKKcBGdxpHEmm_ajmD5B8msjwk32UNla0d2p_43px3gbkY2hDXSPg-DBeoaQIOJWBRqnlHRiOH7HOad1Oi_RpVT-gWl7NmXVmVz2RO0mHubHl8ciCI3-JMSvuh94dcbc1tEh3vJPZN0gx933Zmqyu4FhRxSPPVgniqc-Rv6hMUnjCHUB8ZCxXk74zAz4UIc8ULNexhJb_CLA98cH6kl_PVyVRXYayZJoklquCWJSdpIbaQDF7dNDVnO5l4zeuL9ibj5V5IdlJawtDdNgan3F8GqbidE2BSe8-PpJAxIR0x4w8RVPQoipyKiTrIiQ
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY2ODA0NDQsImV4cCI6MTczNjY4MjI0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.Tbext5v46Fls1dqtTaNy22ejswKdLpYEkzcsmUFaipxj6YqKNDiWWSqLL0Qg8Y5QjGq361cVx-mry5qpnzXhD4D0G2_SJe2TjIV0Ze_ApVDQMCvha1pCoPRbdHq59Rt1YJ_CiYrEq-2Xt5A4UTJ90vKPOGgaPCx3Ei-FcM2hmZ9N_DaekFr6WbOM9q9Z0BL-1xHhRoqQik7iyNqX0gokM7B1sWcbAVMQN9kLYUS035Mr2ck9hcSmF5yp5zOdY9EfpleU1rq7IaxXuDdKXR3te3eM65L0ermk1qGG2obrcEE6KPOA2vQpDHXF1CZnyC9goucjzWjRu1-szUIcCKfhkg
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => oOGcgbaeI36njcj9qCo97jIjGzR3yo67o2IA9HKcNME
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-12 06:14:04] Production.ERROR: Invoice Payment Date 2025-01-11 00:00:00
[2025-01-12 06:14:04] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,11)
[2025-01-12 06:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229691') end
[2025-01-12 06:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:14:04] Production.INFO: 1
[2025-01-12 06:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:14:04] Production.INFO: Account Balance End.
[2025-01-12 06:14:04] Production.ERROR: done
[2025-01-12 06:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:14:04] Production.INFO: ==8721== Releasing lock...
[2025-01-12 06:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:14:04] Production.INFO: ==8715== Releasing lock...
[2025-01-12 06:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:14:04] Production.ERROR: done
[2025-01-12 06:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:14:05
[end_date_ymd] => 2025-01-12 06:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:14:05' and `end` < '2025-01-12 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-01-12 06:14:07] Production.INFO: Batch insert start
[2025-01-12 06:14:07] Production.INFO: global counter1
[2025-01-12 06:14:07] Production.INFO: insertion start
[2025-01-12 06:14:07] Production.INFO: last batch insert 1
[2025-01-12 06:14:07] Production.INFO: insertion end
[2025-01-12 06:14:07] Production.INFO: CALL prc_importPaymentAccounting ('554ce900-d0d6-11ef-85cc-d9d48322fefc') start
[2025-01-12 06:14:07] Production.INFO: CALL prc_importPaymentAccounting ('554ce900-d0d6-11ef-85cc-d9d48322fefc') end
[2025-01-12 06:14:07] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-12 06:14:07] Production.INFO: 2
[2025-01-12 06:14:07] Production.ERROR: CronJobId end14
[2025-01-12 06:14:07] Production.INFO: ==8717== Releasing lock...
[2025-01-12 06:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-12 06:14:07] Production.INFO: 26 MB #Memory Used#
[2025-01-12 06:14:11] Production.ERROR: CronJobId end10
[2025-01-12 06:14:11] Production.INFO: ==8713== Releasing lock...
[2025-01-12 06:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:14:13] Production.INFO: call_cost start
[2025-01-12 06:14:13] Production.INFO: call_cost end
[2025-01-12 06:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:14:14] Production.INFO: ==8709== Releasing lock...
[2025-01-12 06:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:14:18] Production.INFO: count ==99
[2025-01-12 06:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:14:05 - End Time 2025-01-12 06:14:05
[2025-01-12 06:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229692', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229692', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229692', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229692', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:14:18] Production.INFO: ProcessCDR(1,14229692,1,1,2)
[2025-01-12 06:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229692', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229692', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:14:21] Production.INFO: ==8719== Releasing lock...
[2025-01-12 06:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:14:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:15:02] Production.INFO: ==8807== Lock acquired, processing the job...
[2025-01-12 11:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:15:02] Production.INFO: neon service started
[2025-01-12 11:15:02] Production.INFO: neon service started
[2025-01-12 11:15:02] Production.INFO: ==8807== Releasing lock...
[2025-01-12 11:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:15:02] Production.INFO: ==8811== Lock acquired, processing the job...
[2025-01-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:15:02] Production.INFO: ==8811== Releasing lock...
[2025-01-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:15:02] Production.INFO: ==8809== Lock acquired, processing the job...
[2025-01-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:15:02] Production.INFO: ==8809== Releasing lock...
[2025-01-12 06:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:15:03] Production.INFO: ==8814== Lock acquired, processing the job...
[2025-01-12 06:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:15:03] Production.INFO: ==8824== Lock acquired, processing the job...
[2025-01-12 06:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:15:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:15:03] Production.INFO: count ==21
[2025-01-12 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-01-12 06:15:04] Production.INFO: count ==21
[2025-01-12 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229694') start
[2025-01-12 06:15:04] Production.INFO: ==8822== Lock acquired, processing the job...
[2025-01-12 06:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:15:04] Production.INFO: ==8816== Lock acquired, processing the job...
[2025-01-12 06:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229694') end
[2025-01-12 06:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:15:04] Production.INFO: 1
[2025-01-12 06:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:15:04] Production.INFO: ==8824== Releasing lock...
[2025-01-12 06:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:15:04] Production.INFO: ==8818== Lock acquired, processing the job...
[2025-01-12 06:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:15:04] Production.INFO: ==8820== Lock acquired, processing the job...
[2025-01-12 06:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:15:04] Production.INFO: Account Balance Start.
[2025-01-12 06:15:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:15:04] Production.INFO: 117
[2025-01-12 06:15:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:15:04] Production.INFO: ==8816== Releasing lock...
[2025-01-12 06:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:15:04] Production.ERROR: done
[2025-01-12 06:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:15:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:15:04] Production.ERROR: done
[2025-01-12 06:15:04] Production.INFO: Total Charge 0
[2025-01-12 06:15:04] Production.INFO: CreateAllLog End
[2025-01-12 06:15:05] Production.INFO: Account Balance End.
[2025-01-12 06:15:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:15:05] Production.INFO: ==8820== Releasing lock...
[2025-01-12 06:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:15:05
[end_date_ymd] => 2025-01-12 06:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:15:05' and `end` < '2025-01-12 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-01-12 06:15:12] Production.ERROR: CronJobId end10
[2025-01-12 06:15:12] Production.INFO: ==8818== Releasing lock...
[2025-01-12 06:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:15:14] Production.INFO: call_cost start
[2025-01-12 06:15:14] Production.INFO: call_cost end
[2025-01-12 06:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:15:15] Production.INFO: ==8814== Releasing lock...
[2025-01-12 06:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:15:19] Production.INFO: count ==99
[2025-01-12 06:15:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:15:05 - End Time 2025-01-12 06:15:05
[2025-01-12 06:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229697', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229697', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229697', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229697', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:15:19] Production.INFO: ProcessCDR(1,14229697,1,1,2)
[2025-01-12 06:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229697', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229697', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:15:22] Production.INFO: ==8822== Releasing lock...
[2025-01-12 06:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:15:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:16:01] Production.INFO: ==8907== Lock acquired, processing the job...
[2025-01-12 11:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:16:01] Production.INFO: neon service started
[2025-01-12 11:16:01] Production.INFO: neon service started
[2025-01-12 11:16:01] Production.INFO: ==8907== Releasing lock...
[2025-01-12 11:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:16:01] Production.INFO: ==8911== Lock acquired, processing the job...
[2025-01-12 11:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:16:01] Production.INFO: ==8911== Releasing lock...
[2025-01-12 11:16:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:16:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:16:02] Production.INFO: ==8909== Lock acquired, processing the job...
[2025-01-12 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:16:02] Production.INFO: ==8909== Releasing lock...
[2025-01-12 06:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:16:03] Production.INFO: ==8923== Lock acquired, processing the job...
[2025-01-12 06:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:16:03] Production.INFO: ==8916== Lock acquired, processing the job...
[2025-01-12 06:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:16:03] Production.INFO: ==8927== Lock acquired, processing the job...
[2025-01-12 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:16:03] Production.INFO: Account Balance Start.
[2025-01-12 06:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:16:03] Production.INFO: 117
[2025-01-12 06:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 06: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-01-12 06:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:16:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:16:03] Production.INFO: ==8918== Lock acquired, processing the job...
[2025-01-12 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:16:03] Production.INFO: ==8920== Lock acquired, processing the job...
[2025-01-12 06:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:16:03] Production.INFO: count ==21
[2025-01-12 06:16:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 06: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-01-12 06:16:03] Production.INFO: count ==21
[2025-01-12 06:16:03] Production.INFO: ==8925== Lock acquired, processing the job...
[2025-01-12 06:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229699') start
[2025-01-12 06:16:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:16:03] Production.INFO: Total Charge 0
[2025-01-12 06:16:03] Production.INFO: CreateAllLog End
[2025-01-12 06:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229699') end
[2025-01-12 06:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:16:03] Production.INFO: 1
[2025-01-12 06:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:16:03] Production.INFO: ==8927== Releasing lock...
[2025-01-12 06:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:16:03] Production.ERROR: done
[2025-01-12 06:16:03] Production.INFO: ==8918== Releasing lock...
[2025-01-12 06:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:16:03] Production.INFO: Account Balance End.
[2025-01-12 06:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:16:04] Production.INFO: ==8923== Releasing lock...
[2025-01-12 06:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:16:04] Production.ERROR: done
[2025-01-12 06:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:16:05
[end_date_ymd] => 2025-01-12 06:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:16:05' and `end` < '2025-01-12 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-01-12 06:16:11] Production.ERROR: CronJobId end10
[2025-01-12 06:16:11] Production.INFO: ==8920== Releasing lock...
[2025-01-12 06:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:16:13] Production.INFO: call_cost start
[2025-01-12 06:16:13] Production.INFO: call_cost end
[2025-01-12 06:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:16:14] Production.INFO: ==8916== Releasing lock...
[2025-01-12 06:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:16:19] Production.INFO: count ==99
[2025-01-12 06:16:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:16:05 - End Time 2025-01-12 06:16:05
[2025-01-12 06:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229702', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229702', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229702', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229702', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:16:19] Production.INFO: ProcessCDR(1,14229702,1,1,2)
[2025-01-12 06:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229702', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229702', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:16:22] Production.INFO: ==8925== Releasing lock...
[2025-01-12 06:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:16:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:17:01] Production.INFO: ==9013== Lock acquired, processing the job...
[2025-01-12 11:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:17:01] Production.INFO: neon service started
[2025-01-12 11:17:02] Production.INFO: neon service started
[2025-01-12 11:17:02] Production.INFO: ==9013== Releasing lock...
[2025-01-12 11:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:17:02] Production.INFO: ==9017== Lock acquired, processing the job...
[2025-01-12 06:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:17:02] Production.INFO: ==9019== Lock acquired, processing the job...
[2025-01-12 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:17:02] Production.INFO: ==9019== Releasing lock...
[2025-01-12 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:17:03] Production.INFO: ==9017== Releasing lock...
[2025-01-12 06:17:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:17:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:17:03] Production.INFO: ==9022== Lock acquired, processing the job...
[2025-01-12 06:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:17:03] Production.INFO: ==9028== Lock acquired, processing the job...
[2025-01-12 06:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:17:03] Production.INFO: Account Balance Start.
[2025-01-12 06:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:17:03] Production.INFO: 117
[2025-01-12 06:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:17:03] Production.INFO: ==9032== Lock acquired, processing the job...
[2025-01-12 06:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:17:04] Production.INFO: ==9024== Lock acquired, processing the job...
[2025-01-12 06:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06: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-01-12 06:17:04] Production.INFO: ==9026== Lock acquired, processing the job...
[2025-01-12 06:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:17:04] Production.INFO: count ==21
[2025-01-12 06:17:04] Production.INFO: ==9030== Lock acquired, processing the job...
[2025-01-12 06:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 06:17:04] Production.INFO: count ==21
[2025-01-12 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229705') start
[2025-01-12 06:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:17:04] Production.INFO: Total Charge 0
[2025-01-12 06:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:17:04] Production.INFO: CreateAllLog End
[2025-01-12 06:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229705') end
[2025-01-12 06:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:17:04] Production.INFO: 1
[2025-01-12 06:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:17:04] Production.INFO: ==9024== Releasing lock...
[2025-01-12 06:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:17:04] Production.INFO: ==9032== Releasing lock...
[2025-01-12 06:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:17:04] Production.INFO: Account Balance End.
[2025-01-12 06:17:04] Production.ERROR: done
[2025-01-12 06:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:17:04] Production.INFO: ==9028== Releasing lock...
[2025-01-12 06:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:17:04] Production.ERROR: done
[2025-01-12 06:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:17:05
[end_date_ymd] => 2025-01-12 06:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:17:05' and `end` < '2025-01-12 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-01-12 06:17:11] Production.ERROR: CronJobId end10
[2025-01-12 06:17:11] Production.INFO: ==9026== Releasing lock...
[2025-01-12 06:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:17:14] Production.INFO: call_cost start
[2025-01-12 06:17:14] Production.INFO: call_cost end
[2025-01-12 06:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:17:14] Production.INFO: ==9022== Releasing lock...
[2025-01-12 06:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:17:20] Production.INFO: count ==99
[2025-01-12 06:17:20] Production.ERROR: pbx CDR StartTime 2025-01-12 03:17:05 - End Time 2025-01-12 06:17:05
[2025-01-12 06:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229707', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229707', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229707', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229707', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:17:20] Production.INFO: ProcessCDR(1,14229707,1,1,2)
[2025-01-12 06:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229707', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229707', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:17:23] Production.INFO: ==9030== Releasing lock...
[2025-01-12 06:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:17:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:18:01] Production.INFO: ==9123== Lock acquired, processing the job...
[2025-01-12 11:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:18:01] Production.INFO: neon service started
[2025-01-12 11:18:01] Production.INFO: neon service started
[2025-01-12 11:18:01] Production.INFO: ==9123== Releasing lock...
[2025-01-12 11:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:18:01] Production.INFO: ==9125== Lock acquired, processing the job...
[2025-01-12 06:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:18:02] Production.INFO: ==9127== Lock acquired, processing the job...
[2025-01-12 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:18:02] Production.INFO: ==9125== Releasing lock...
[2025-01-12 06:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:18:02] Production.INFO: ==9127== Releasing lock...
[2025-01-12 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:18:02] Production.INFO: ==9129== Lock acquired, processing the job...
[2025-01-12 06:18:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:18:02] Production.INFO: ==9131== Lock acquired, processing the job...
[2025-01-12 06:18:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:18:03] Production.INFO: ==9135== Lock acquired, processing the job...
[2025-01-12 06:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:18:03] Production.INFO: Account Balance Start.
[2025-01-12 06:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:18:03] Production.INFO: 117
[2025-01-12 06:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:18:03] Production.INFO: ==9133== Lock acquired, processing the job...
[2025-01-12 06:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:18:03] Production.INFO: ==9137== Lock acquired, processing the job...
[2025-01-12 06:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:18:03] Production.INFO: ==9139== Lock acquired, processing the job...
[2025-01-12 06:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:18:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:18:03] Production.INFO: ==9131== Releasing lock...
[2025-01-12 06:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:18:03] Production.INFO: Total Charge 0
[2025-01-12 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-01-12 06:18:03] Production.INFO: CreateAllLog End
[2025-01-12 06:18:03] Production.INFO: count ==21
[2025-01-12 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-01-12 06:18:03] Production.INFO: count ==21
[2025-01-12 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229711') start
[2025-01-12 06:18:03] Production.ERROR: done
[2025-01-12 06:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229711') end
[2025-01-12 06:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:18:03] Production.INFO: 1
[2025-01-12 06:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:18:03] Production.INFO: Account Balance End.
[2025-01-12 06:18:04] Production.INFO: ==9139== Releasing lock...
[2025-01-12 06:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:18:04] Production.ERROR: done
[2025-01-12 06:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:18:04] Production.INFO: ==9135== Releasing lock...
[2025-01-12 06:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:18:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:18:04
[end_date_ymd] => 2025-01-12 06:18:04
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:18:04' and `end` < '2025-01-12 06: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-01-12 06:18:11] Production.ERROR: CronJobId end10
[2025-01-12 06:18:11] Production.INFO: ==9133== Releasing lock...
[2025-01-12 06:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:18:13] Production.INFO: call_cost start
[2025-01-12 06:18:13] Production.INFO: call_cost end
[2025-01-12 06:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:18:14] Production.INFO: ==9129== Releasing lock...
[2025-01-12 06:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:18:18] Production.INFO: count ==99
[2025-01-12 06:18:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:18:04 - End Time 2025-01-12 06:18:04
[2025-01-12 06:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229712', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229712', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229712', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229712', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:18:18] Production.INFO: ProcessCDR(1,14229712,1,1,2)
[2025-01-12 06:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229712', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229712', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:18:22] Production.INFO: ==9137== Releasing lock...
[2025-01-12 06:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:18:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:19:01] Production.INFO: ==9227== Lock acquired, processing the job...
[2025-01-12 11:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:19:01] Production.INFO: neon service started
[2025-01-12 11:19:01] Production.INFO: neon service started
[2025-01-12 11:19:01] Production.INFO: ==9227== Releasing lock...
[2025-01-12 11:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:19:02] Production.INFO: ==9229== Lock acquired, processing the job...
[2025-01-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:19:02] Production.INFO: ==9229== Releasing lock...
[2025-01-12 06:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:19:02] Production.INFO: ==9231== Lock acquired, processing the job...
[2025-01-12 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:19:02] Production.INFO: ==9231== Releasing lock...
[2025-01-12 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:19:03] Production.INFO: ==9238== Lock acquired, processing the job...
[2025-01-12 06:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:19:03] Production.INFO: ==9234== Lock acquired, processing the job...
[2025-01-12 06:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:19:03] Production.INFO: ==9242== Lock acquired, processing the job...
[2025-01-12 06:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:19:03] Production.INFO: ==9236== Lock acquired, processing the job...
[2025-01-12 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:19:03] Production.INFO: ==9240== Lock acquired, processing the job...
[2025-01-12 06:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:19:03] Production.INFO: ==9244== Lock acquired, processing the job...
[2025-01-12 06:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:19:03] Production.INFO: Account Balance Start.
[2025-01-12 06:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:19:03] Production.INFO: 117
[2025-01-12 06:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:19:03] Production.ERROR: done
[2025-01-12 06:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:19:03] Production.INFO: ==9236== Releasing lock...
[2025-01-12 06:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:19:04] Production.INFO: Total Charge 0
[2025-01-12 06:19:04] Production.INFO: CreateAllLog End
[2025-01-12 06:19:04] Production.INFO: count ==21
[2025-01-12 06:19:04] Production.ERROR: done
[2025-01-12 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-01-12 06:19:04] Production.INFO: count ==21
[2025-01-12 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229716') start
[2025-01-12 06:19:04] Production.INFO: Account Balance End.
[2025-01-12 06:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229716') end
[2025-01-12 06:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:19:04] Production.INFO: 1
[2025-01-12 06:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:19:04] Production.INFO: ==9240== Releasing lock...
[2025-01-12 06:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:19:04] Production.INFO: ==9244== Releasing lock...
[2025-01-12 06:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:19:05
[end_date_ymd] => 2025-01-12 06:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:19:05' and `end` < '2025-01-12 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-01-12 06:19: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-01-12 06:19:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:19:10] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:19:10] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:19:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:19:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:19:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:19:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:19:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:19:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:19:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:19:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:19:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:19:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:19:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:19:10] Production.INFO: call_cost start
[2025-01-12 06:19:10] Production.INFO: call_cost end
[2025-01-12 06:19:11] Production.ERROR: CronJobId end10
[2025-01-12 06:19:11] Production.INFO: ==9238== Releasing lock...
[2025-01-12 06:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:19:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:19:11] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:19:11] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:19:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:19:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:19:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:19:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:19:11] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:19:11] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:19:11] Production.INFO: ==9234== Releasing lock...
[2025-01-12 06:19:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:19:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:19:19] Production.INFO: count ==99
[2025-01-12 06:19:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:19:05 - End Time 2025-01-12 06:19:05
[2025-01-12 06:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229717', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229717', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229717', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229717', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:19:19] Production.INFO: ProcessCDR(1,14229717,1,1,2)
[2025-01-12 06:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229717', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229717', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:19:22] Production.INFO: ==9242== Releasing lock...
[2025-01-12 06:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:19:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:20:02] Production.INFO: ==9334== Lock acquired, processing the job...
[2025-01-12 11:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:20:02] Production.INFO: neon service started
[2025-01-12 11:20:02] Production.INFO: neon service started
[2025-01-12 11:20:02] Production.INFO: ==9334== Releasing lock...
[2025-01-12 11:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:20:02] Production.INFO: ==9336== Lock acquired, processing the job...
[2025-01-12 06:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:20:03] Production.INFO: ==9338== Lock acquired, processing the job...
[2025-01-12 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:20:03] Production.INFO: ==9336== Releasing lock...
[2025-01-12 06:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:20:03] Production.INFO: ==9338== Releasing lock...
[2025-01-12 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:20:04] Production.INFO: ==9349== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:20:04] Production.INFO: ==9341== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 06:20:04] Production.INFO: ==9343== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:20:04] Production.INFO: ==9351== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:20:04] Production.INFO: ==9345== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:20:04] Production.INFO: Account Balance Start.
[2025-01-12 06:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:20:04] Production.INFO: 117
[2025-01-12 06:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:20:04] Production.INFO: ==9347== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:20:04] Production.ERROR: CronJob PID - 9343
[2025-01-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 06:20:04] Production.ERROR: CronJob ID - 5
[2025-01-12 06:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:20:00
[2025-01-12 06:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:20:04] Production.ERROR: CronJob PID - 9349
[2025-01-12 06:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 06:20:04] Production.ERROR: CronJob ID - 12
[2025-01-12 06:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:20:00
[2025-01-12 06:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:20:04] Production.ERROR: CronJob PID - 9351
[2025-01-12 06:20:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 06:20:04] Production.ERROR: CronJob ID - 16
[2025-01-12 06:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:20:00
[2025-01-12 06:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:20:04] Production.INFO: ==9355== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 06:20:04] Production.INFO: ==9341== Releasing lock...
[2025-01-12 06:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 06:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:20:04] Production.INFO: ==9353== Lock acquired, processing the job...
[2025-01-12 06:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 06:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:20:04] Production.INFO: count ==21
[2025-01-12 06:20:04] Production.INFO: Total Charge 0
[2025-01-12 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-01-12 06:20:04] Production.INFO: count ==21
[2025-01-12 06:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:20:04] Production.INFO: CreateAllLog End
[2025-01-12 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229721') start
[2025-01-12 06:20:04] Production.ERROR: done
[2025-01-12 06:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:20:04] Production.INFO: ==9345== Releasing lock...
[2025-01-12 06:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229721') end
[2025-01-12 06:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:20:04] Production.INFO: 1
[2025-01-12 06:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:20:04] Production.ERROR: done
[2025-01-12 06:20:04] Production.INFO: ==9355== Releasing lock...
[2025-01-12 06:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:20:04] Production.ERROR: done
[2025-01-12 06:20:05] Production.INFO: Account Balance End.
[2025-01-12 06:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:20:05] Production.INFO: ==9349== Releasing lock...
[2025-01-12 06:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 06:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229723', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 06:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:20:05
[end_date_ymd] => 2025-01-12 06:20:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:20:05' and `end` < '2025-01-12 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-01-12 06:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229723', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 06:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 06:20:09] Production.INFO: ProcessCDR(1,14229723,1,1,2)
[2025-01-12 06:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229723,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229723,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:20:09] Production.INFO: ==9353== Releasing lock...
[2025-01-12 06:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 06:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 06:20:13] Production.ERROR: CronJobId end10
[2025-01-12 06:20:13] Production.INFO: ==9347== Releasing lock...
[2025-01-12 06:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:20:16] Production.INFO: call_cost start
[2025-01-12 06:20:16] Production.INFO: call_cost end
[2025-01-12 06:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:20:16] Production.INFO: ==9343== Releasing lock...
[2025-01-12 06:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:20:20] Production.INFO: count ==95
[2025-01-12 06:20:20] Production.ERROR: pbx CDR StartTime 2025-01-12 03:20:05 - End Time 2025-01-12 06:20:05
[2025-01-12 06:20:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229722', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229722', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229722', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:20:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229722', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:20:20] Production.INFO: ProcessCDR(1,14229722,1,1,2)
[2025-01-12 06:20:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229722', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229722', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:20:23] Production.INFO: ==9351== Releasing lock...
[2025-01-12 06:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:20:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:21:01] Production.INFO: ==9440== Lock acquired, processing the job...
[2025-01-12 11:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:21:01] Production.INFO: neon service started
[2025-01-12 11:21:01] Production.INFO: neon service started
[2025-01-12 11:21:01] Production.INFO: ==9440== Releasing lock...
[2025-01-12 11:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:21:02] Production.INFO: ==9444== Lock acquired, processing the job...
[2025-01-12 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:21:02] Production.INFO: ==9444== Releasing lock...
[2025-01-12 06:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:21:02] Production.INFO: ==9446== Lock acquired, processing the job...
[2025-01-12 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:21:02] Production.INFO: ==9446== Releasing lock...
[2025-01-12 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:21:03] Production.INFO: ==9457== Lock acquired, processing the job...
[2025-01-12 06:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:21:03] Production.INFO: ==9461== Lock acquired, processing the job...
[2025-01-12 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:21:03] Production.INFO: Account Balance Start.
[2025-01-12 06:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:21:03] Production.INFO: 117
[2025-01-12 06:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:21:03] Production.INFO: ==9451== Lock acquired, processing the job...
[2025-01-12 06:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:21:03] Production.INFO: ==9453== Lock acquired, processing the job...
[2025-01-12 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06: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-01-12 06:21:03] Production.INFO: ==9455== Lock acquired, processing the job...
[2025-01-12 06:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:21:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:21:03] Production.INFO: count ==21
[2025-01-12 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229725') start
[2025-01-12 06:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:21:03] Production.INFO: ==9459== Lock acquired, processing the job...
[2025-01-12 06:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:21:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:21:03] Production.INFO: Total Charge 0
[2025-01-12 06:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229725') end
[2025-01-12 06:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:21:03] Production.INFO: 1
[2025-01-12 06:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:21:03] Production.INFO: CreateAllLog End
[2025-01-12 06:21:03] Production.INFO: ==9453== Releasing lock...
[2025-01-12 06:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:21:03] Production.INFO: ==9461== Releasing lock...
[2025-01-12 06:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:21:04] Production.ERROR: done
[2025-01-12 06:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:21:04] Production.INFO: Account Balance End.
[2025-01-12 06:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:21:04] Production.INFO: ==9457== Releasing lock...
[2025-01-12 06:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:21:04] Production.ERROR: done
[2025-01-12 06:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:21:05
[end_date_ymd] => 2025-01-12 06:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:21:05' and `end` < '2025-01-12 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-01-12 06:21:11] Production.ERROR: CronJobId end10
[2025-01-12 06:21:11] Production.INFO: ==9455== Releasing lock...
[2025-01-12 06:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:21:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:21:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:21:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:21:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:21:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:21:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:21:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:21:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:21:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:21:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:21:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:21:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:21:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:21:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:21:14] Production.INFO: call_cost start
[2025-01-12 06:21:14] Production.INFO: call_cost end
[2025-01-12 06:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:21:15] Production.INFO: ==9451== Releasing lock...
[2025-01-12 06:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:21:18] Production.INFO: count ==80
[2025-01-12 06:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:21:05 - End Time 2025-01-12 06:21:05
[2025-01-12 06:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229728', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229728', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229728', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229728', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:21:18] Production.INFO: ProcessCDR(1,14229728,1,1,2)
[2025-01-12 06:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229728,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229728,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229728', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229728', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:21:21] Production.INFO: ==9459== Releasing lock...
[2025-01-12 06:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:21:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:22:02] Production.INFO: ==9548== Lock acquired, processing the job...
[2025-01-12 11:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:22:02] Production.INFO: neon service started
[2025-01-12 11:22:02] Production.INFO: neon service started
[2025-01-12 11:22:02] Production.INFO: ==9548== Releasing lock...
[2025-01-12 11:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:22:02] Production.INFO: ==9550== Lock acquired, processing the job...
[2025-01-12 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:22:02] Production.INFO: ==9550== Releasing lock...
[2025-01-12 06:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:22:03] Production.INFO: ==9552== Lock acquired, processing the job...
[2025-01-12 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:22:03] Production.INFO: ==9552== Releasing lock...
[2025-01-12 11:22:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:22:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:22:03] Production.INFO: ==9558== Lock acquired, processing the job...
[2025-01-12 06:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:22:03] Production.INFO: ==9564== Lock acquired, processing the job...
[2025-01-12 06:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:22:04] Production.INFO: ==9554== Lock acquired, processing the job...
[2025-01-12 06:22:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:22:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:22:04] Production.INFO: ==9556== Lock acquired, processing the job...
[2025-01-12 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:22:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:22:04] Production.INFO: ==9560== Lock acquired, processing the job...
[2025-01-12 06:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:22:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:22:04] Production.INFO: count ==21
[2025-01-12 06:22:04] Production.INFO: ==9562== Lock acquired, processing the job...
[2025-01-12 06:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229729') start
[2025-01-12 06:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:22:04] Production.INFO: Account Balance Start.
[2025-01-12 06:22:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:22:04] Production.INFO: 117
[2025-01-12 06:22:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:22:04] Production.INFO: ==9556== Releasing lock...
[2025-01-12 06:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229729') end
[2025-01-12 06:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:22:04] Production.INFO: 1
[2025-01-12 06:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:22:04] Production.INFO: Total Charge 0
[2025-01-12 06:22:04] Production.INFO: CreateAllLog End
[2025-01-12 06:22:04] Production.INFO: ==9564== Releasing lock...
[2025-01-12 06:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:22:04] Production.ERROR: done
[2025-01-12 06:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:22:05] Production.ERROR: done
[2025-01-12 06:22:05] Production.INFO: Account Balance End.
[2025-01-12 06:22:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:22:05] Production.INFO: ==9560== Releasing lock...
[2025-01-12 06:22:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:22:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:22:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:22:06
[end_date_ymd] => 2025-01-12 06:22:06
[RateCDR] => 1
)
[2025-01-12 06:22:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:22:06' and `end` < '2025-01-12 06:22:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:22:12] Production.ERROR: CronJobId end10
[2025-01-12 06:22:12] Production.INFO: ==9558== Releasing lock...
[2025-01-12 06:22:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:22:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:22:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:22:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:22:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:22:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:22:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:22:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:22:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:22:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:22:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:22:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:22:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:22:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:22:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:22:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:22:14] Production.INFO: call_cost start
[2025-01-12 06:22:14] Production.INFO: call_cost end
[2025-01-12 06:22:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:22:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:22:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:22:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:22:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:22:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:22:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:22:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:22:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:22:15] Production.INFO: ==9554== Releasing lock...
[2025-01-12 06:22:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:22:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:22:19] Production.INFO: count ==80
[2025-01-12 06:22:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:22:06 - End Time 2025-01-12 06:22:06
[2025-01-12 06:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229733', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229733', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229733', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229733', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:22:19] Production.INFO: ProcessCDR(1,14229733,1,1,2)
[2025-01-12 06:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229733,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229733,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229733', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229733', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:22:22] Production.INFO: ==9562== Releasing lock...
[2025-01-12 06:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:22:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:23:01] Production.INFO: ==9650== Lock acquired, processing the job...
[2025-01-12 11:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:23:01] Production.INFO: neon service started
[2025-01-12 11:23:01] Production.INFO: neon service started
[2025-01-12 11:23:01] Production.INFO: ==9650== Releasing lock...
[2025-01-12 11:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:23:02] Production.INFO: ==9654== Lock acquired, processing the job...
[2025-01-12 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:23:02] Production.INFO: ==9652== Lock acquired, processing the job...
[2025-01-12 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:23:02] Production.INFO: ==9654== Releasing lock...
[2025-01-12 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:23:02] Production.INFO: ==9652== Releasing lock...
[2025-01-12 06:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:23:03] Production.INFO: ==9661== Lock acquired, processing the job...
[2025-01-12 06:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:23:03] Production.INFO: ==9659== Lock acquired, processing the job...
[2025-01-12 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:23:03] Production.INFO: ==9663== Lock acquired, processing the job...
[2025-01-12 06:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:23:03] Production.INFO: Account Balance Start.
[2025-01-12 06:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:23:03] Production.INFO: 117
[2025-01-12 06:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:23:03] Production.INFO: ==9657== Lock acquired, processing the job...
[2025-01-12 06:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:23:03] Production.INFO: ==9659== Releasing lock...
[2025-01-12 06:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:23:03] Production.INFO: Total Charge 0
[2025-01-12 06:23:03] Production.INFO: CreateAllLog End
[2025-01-12 06:23:03] Production.INFO: ==9665== Lock acquired, processing the job...
[2025-01-12 06:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:23:03] Production.INFO: ==9667== Lock acquired, processing the job...
[2025-01-12 06:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:23:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:23:04] Production.INFO: count ==21
[2025-01-12 06:23:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:23:04] Production.INFO: count ==21
[2025-01-12 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229737') start
[2025-01-12 06:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229737') end
[2025-01-12 06:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:23:04] Production.INFO: 1
[2025-01-12 06:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:23:04] Production.INFO: Account Balance End.
[2025-01-12 06:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:23:04] Production.INFO: ==9663== Releasing lock...
[2025-01-12 06:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:23:04] Production.ERROR: done
[2025-01-12 06:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:23:04] Production.INFO: ==9667== Releasing lock...
[2025-01-12 06:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:23:04] Production.ERROR: done
[2025-01-12 06:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:23:05
[end_date_ymd] => 2025-01-12 06:23:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:23:05' and `end` < '2025-01-12 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-01-12 06:23:11] Production.ERROR: CronJobId end10
[2025-01-12 06:23:11] Production.INFO: ==9661== Releasing lock...
[2025-01-12 06:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:23:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:23:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:23:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:23:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:23:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:23:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:23:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:23:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:23:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:23:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:23:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:23:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:23:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:23:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:23:15] Production.INFO: call_cost start
[2025-01-12 06:23:15] Production.INFO: call_cost end
[2025-01-12 06:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:23:15] Production.INFO: ==9657== Releasing lock...
[2025-01-12 06:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:23:19] Production.INFO: count ==80
[2025-01-12 06:23:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:23:05 - End Time 2025-01-12 06:23:05
[2025-01-12 06:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229738', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229738', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229738', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229738', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:23:19] Production.INFO: ProcessCDR(1,14229738,1,1,2)
[2025-01-12 06:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229738,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229738,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229738', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229738', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:23:22] Production.INFO: ==9665== Releasing lock...
[2025-01-12 06:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:23:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:24:02] Production.INFO: ==9772== Lock acquired, processing the job...
[2025-01-12 11:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:24:02] Production.INFO: neon service started
[2025-01-12 11:24:02] Production.INFO: neon service started
[2025-01-12 11:24:02] Production.INFO: ==9772== Releasing lock...
[2025-01-12 11:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:24:02] Production.INFO: ==9775== Lock acquired, processing the job...
[2025-01-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:24:02] Production.INFO: ==9775== Releasing lock...
[2025-01-12 06:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:24:03] Production.INFO: ==9777== Lock acquired, processing the job...
[2025-01-12 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:24:03] Production.INFO: ==9777== Releasing lock...
[2025-01-12 11:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:24:03] Production.INFO: ==9780== Lock acquired, processing the job...
[2025-01-12 06:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:24:03] Production.INFO: ==9784== Lock acquired, processing the job...
[2025-01-12 06:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:24:03] Production.INFO: ==9786== Lock acquired, processing the job...
[2025-01-12 06:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:24:03] Production.INFO: ==9782== Lock acquired, processing the job...
[2025-01-12 06:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:24:03] Production.INFO: Account Balance Start.
[2025-01-12 06:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:24:03] Production.INFO: ==9788== Lock acquired, processing the job...
[2025-01-12 06:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:24:03] Production.INFO: 117
[2025-01-12 06:24:03] Production.INFO: ==9790== Lock acquired, processing the job...
[2025-01-12 06:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 06:24:04] Production.INFO: ==9782== Releasing lock...
[2025-01-12 06:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:24:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:24:04] Production.INFO: count ==21
[2025-01-12 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229742') start
[2025-01-12 06:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:24:04] Production.ERROR: done
[2025-01-12 06:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:24:04] Production.INFO: Total Charge 0
[2025-01-12 06:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229742') end
[2025-01-12 06:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:24:04] Production.INFO: 1
[2025-01-12 06:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:24:04] Production.INFO: CreateAllLog End
[2025-01-12 06:24:04] Production.ERROR: done
[2025-01-12 06:24:04] Production.INFO: ==9790== Releasing lock...
[2025-01-12 06:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:24:04] Production.INFO: Account Balance End.
[2025-01-12 06:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:24:04] Production.INFO: ==9786== Releasing lock...
[2025-01-12 06:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:24:05
[end_date_ymd] => 2025-01-12 06:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:24:05' and `end` < '2025-01-12 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-01-12 06:24:11] Production.ERROR: CronJobId end10
[2025-01-12 06:24:11] Production.INFO: ==9784== Releasing lock...
[2025-01-12 06:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:24:13] Production.INFO: call_cost start
[2025-01-12 06:24:13] Production.INFO: call_cost end
[2025-01-12 06:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:24:14] Production.INFO: ==9780== Releasing lock...
[2025-01-12 06:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:24:20] Production.INFO: count ==80
[2025-01-12 06:24:20] Production.ERROR: pbx CDR StartTime 2025-01-12 03:24:05 - End Time 2025-01-12 06:24:05
[2025-01-12 06:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229743', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229743', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229743', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229743', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:24:20] Production.INFO: ProcessCDR(1,14229743,1,1,2)
[2025-01-12 06:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229743', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229743', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:24:23] Production.INFO: ==9788== Releasing lock...
[2025-01-12 06:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:24:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:25:01] Production.INFO: ==9897== Lock acquired, processing the job...
[2025-01-12 11:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:25:01] Production.INFO: neon service started
[2025-01-12 11:25:01] Production.INFO: neon service started
[2025-01-12 11:25:01] Production.INFO: ==9897== Releasing lock...
[2025-01-12 11:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:25:02] Production.INFO: ==9899== Lock acquired, processing the job...
[2025-01-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:25:02] Production.INFO: ==9901== Lock acquired, processing the job...
[2025-01-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:25:02] Production.INFO: ==9901== Releasing lock...
[2025-01-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:25:02] Production.INFO: ==9899== Releasing lock...
[2025-01-12 06:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:25:03] Production.INFO: ==9908== Lock acquired, processing the job...
[2025-01-12 06:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:25:03] Production.INFO: ==9912== Lock acquired, processing the job...
[2025-01-12 06:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:25:03] Production.INFO: ==9904== Lock acquired, processing the job...
[2025-01-12 06:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:25:03] Production.INFO: ==9906== Lock acquired, processing the job...
[2025-01-12 06:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:25:03] Production.INFO: ==9910== Lock acquired, processing the job...
[2025-01-12 06:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:25:03] Production.INFO: ==9914== Lock acquired, processing the job...
[2025-01-12 06:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:25:03] Production.INFO: Account Balance Start.
[2025-01-12 06:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:25:03] Production.INFO: 117
[2025-01-12 06:25:03] Production.ERROR: done
[2025-01-12 06:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:25:03] Production.INFO: count ==21
[2025-01-12 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-01-12 06:25:04] Production.INFO: count ==21
[2025-01-12 06:25:04] Production.ERROR: done
[2025-01-12 06:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229747') start
[2025-01-12 06:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:25:04] Production.INFO: Total Charge 0
[2025-01-12 06:25:04] Production.INFO: ==9906== Releasing lock...
[2025-01-12 06:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:25:04] Production.INFO: CreateAllLog End
[2025-01-12 06:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229747') end
[2025-01-12 06:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:25:04] Production.INFO: 1
[2025-01-12 06:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:25:04] Production.INFO: ==9914== Releasing lock...
[2025-01-12 06:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:25:04] Production.INFO: Account Balance End.
[2025-01-12 06:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:25:04] Production.INFO: ==9910== Releasing lock...
[2025-01-12 06:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:25:04
[end_date_ymd] => 2025-01-12 06:25:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:25:04' and `end` < '2025-01-12 06: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-01-12 06:25:11] Production.ERROR: CronJobId end10
[2025-01-12 06:25:11] Production.INFO: ==9908== Releasing lock...
[2025-01-12 06:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:25:13] Production.INFO: call_cost start
[2025-01-12 06:25:13] Production.INFO: call_cost end
[2025-01-12 06:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:25:14] Production.INFO: ==9904== Releasing lock...
[2025-01-12 06:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:25:18] Production.INFO: count ==80
[2025-01-12 06:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:25:04 - End Time 2025-01-12 06:25:04
[2025-01-12 06:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229748', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229748', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229748', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229748', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:25:18] Production.INFO: ProcessCDR(1,14229748,1,1,2)
[2025-01-12 06:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229748', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229748', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:25:21] Production.INFO: ==9912== Releasing lock...
[2025-01-12 06:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:25:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:26:02] Production.INFO: ==10019== Lock acquired, processing the job...
[2025-01-12 11:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:26:02] Production.INFO: neon service started
[2025-01-12 11:26:02] Production.INFO: neon service started
[2025-01-12 11:26:02] Production.INFO: ==10019== Releasing lock...
[2025-01-12 11:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:26:02] Production.INFO: ==10024== Lock acquired, processing the job...
[2025-01-12 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:26:02] Production.INFO: ==10024== Releasing lock...
[2025-01-12 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:26:02] Production.INFO: ==10022== Lock acquired, processing the job...
[2025-01-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:26:02] Production.INFO: ==10022== Releasing lock...
[2025-01-12 06:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:26:03] Production.INFO: ==10028== Lock acquired, processing the job...
[2025-01-12 06:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:26:03] Production.INFO: ==10032== Lock acquired, processing the job...
[2025-01-12 06:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:26:03] Production.INFO: ==10036== Lock acquired, processing the job...
[2025-01-12 06:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:26:03] Production.INFO: ==10030== Lock acquired, processing the job...
[2025-01-12 06:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:26:04] Production.INFO: ==10034== Lock acquired, processing the job...
[2025-01-12 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:26:04] Production.INFO: ==10038== Lock acquired, processing the job...
[2025-01-12 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:26:04] Production.INFO: Account Balance Start.
[2025-01-12 06:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:26:04] Production.INFO: 117
[2025-01-12 06:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:26:04] Production.ERROR: done
[2025-01-12 06:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:26:04] Production.INFO: count ==21
[2025-01-12 06:26:04] Production.ERROR: done
[2025-01-12 06:26:04] Production.INFO: ==10030== Releasing lock...
[2025-01-12 06:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 06:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:26:04] Production.INFO: count ==21
[2025-01-12 06:26:04] Production.INFO: Total Charge 0
[2025-01-12 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229752') start
[2025-01-12 06:26:04] Production.INFO: CreateAllLog End
[2025-01-12 06:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229752') end
[2025-01-12 06:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:26:04] Production.INFO: 1
[2025-01-12 06:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:26:04] Production.INFO: Account Balance End.
[2025-01-12 06:26:04] Production.INFO: ==10038== Releasing lock...
[2025-01-12 06:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:26:04] Production.INFO: ==10034== Releasing lock...
[2025-01-12 06:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:26:05
[end_date_ymd] => 2025-01-12 06:26:05
[RateCDR] => 1
)
[2025-01-12 06:26:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:26:05' and `end` < '2025-01-12 06:26:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:26:12] Production.ERROR: CronJobId end10
[2025-01-12 06:26:12] Production.INFO: ==10032== Releasing lock...
[2025-01-12 06:26:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:26:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:26:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:26:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:26:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:26:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:26:14] Production.INFO: call_cost start
[2025-01-12 06:26:14] Production.INFO: call_cost end
[2025-01-12 06:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:26:15] Production.INFO: ==10028== Releasing lock...
[2025-01-12 06:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:26:18] Production.INFO: count ==80
[2025-01-12 06:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:26:05 - End Time 2025-01-12 06:26:05
[2025-01-12 06:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229753', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229753', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229753', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229753', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:26:18] Production.INFO: ProcessCDR(1,14229753,1,1,2)
[2025-01-12 06:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229753', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229753', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:26:22] Production.INFO: ==10036== Releasing lock...
[2025-01-12 06:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:26:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:27:01] Production.INFO: ==10142== Lock acquired, processing the job...
[2025-01-12 11:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:27:01] Production.INFO: neon service started
[2025-01-12 11:27:01] Production.INFO: neon service started
[2025-01-12 11:27:01] Production.INFO: ==10142== Releasing lock...
[2025-01-12 11:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:27:01] Production.INFO: ==10144== Lock acquired, processing the job...
[2025-01-12 06:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:27:02] Production.INFO: ==10144== Releasing lock...
[2025-01-12 06:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:27:02] Production.INFO: ==10146== Lock acquired, processing the job...
[2025-01-12 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:27:02] Production.INFO: ==10146== Releasing lock...
[2025-01-12 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:27:03] Production.INFO: ==10148== Lock acquired, processing the job...
[2025-01-12 06:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:27:03] Production.INFO: ==10150== Lock acquired, processing the job...
[2025-01-12 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:27:03] Production.INFO: ==10152== Lock acquired, processing the job...
[2025-01-12 06:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:27:03] Production.INFO: ==10154== Lock acquired, processing the job...
[2025-01-12 06:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:27:03] Production.INFO: ==10156== Lock acquired, processing the job...
[2025-01-12 06:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:27:03] Production.INFO: ==10158== Lock acquired, processing the job...
[2025-01-12 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:27:03] Production.INFO: Account Balance Start.
[2025-01-12 06:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:27:03] Production.INFO: 117
[2025-01-12 06:27:03] Production.INFO: ==10150== Releasing lock...
[2025-01-12 06:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:27:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:27:03] Production.INFO: count ==21
[2025-01-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229757') start
[2025-01-12 06:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:27:03] Production.ERROR: done
[2025-01-12 06:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:27:03] Production.INFO: Total Charge 0
[2025-01-12 06:27:03] Production.INFO: CreateAllLog End
[2025-01-12 06:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229757') end
[2025-01-12 06:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:27:03] Production.INFO: 1
[2025-01-12 06:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:27:03] Production.INFO: ==10158== Releasing lock...
[2025-01-12 06:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:27:03] Production.ERROR: done
[2025-01-12 06:27:04] Production.INFO: Account Balance End.
[2025-01-12 06:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:27:04] Production.INFO: ==10154== Releasing lock...
[2025-01-12 06:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:27:04
[end_date_ymd] => 2025-01-12 06:27:04
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:27:04' and `end` < '2025-01-12 06: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-01-12 06:27:11] Production.ERROR: CronJobId end10
[2025-01-12 06:27:11] Production.INFO: ==10152== Releasing lock...
[2025-01-12 06:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:27:13] Production.INFO: call_cost start
[2025-01-12 06:27:13] Production.INFO: call_cost end
[2025-01-12 06:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:27:14] Production.INFO: ==10148== Releasing lock...
[2025-01-12 06:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:27:18] Production.INFO: count ==80
[2025-01-12 06:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:27:04 - End Time 2025-01-12 06:27:04
[2025-01-12 06:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229758', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229758', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229758', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229758', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:27:18] Production.INFO: ProcessCDR(1,14229758,1,1,2)
[2025-01-12 06:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229758', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229758', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:27:22] Production.INFO: ==10156== Releasing lock...
[2025-01-12 06:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:27:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:28:01] Production.INFO: ==10300== Lock acquired, processing the job...
[2025-01-12 11:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:28:02] Production.INFO: neon service started
[2025-01-12 11:28:02] Production.INFO: neon service started
[2025-01-12 11:28:02] Production.INFO: ==10300== Releasing lock...
[2025-01-12 11:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:28:02] Production.INFO: ==10302== Lock acquired, processing the job...
[2025-01-12 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:28:02] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-01-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:28:02] Production.INFO: ==10302== Releasing lock...
[2025-01-12 06:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:28:02] Production.INFO: ==10305== Releasing lock...
[2025-01-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:28:03] Production.INFO: ==10312== Lock acquired, processing the job...
[2025-01-12 06:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:28:03] Production.INFO: ==10319== Lock acquired, processing the job...
[2025-01-12 06:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:28:03] Production.INFO: ==10307== Lock acquired, processing the job...
[2025-01-12 06:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:28:03] Production.INFO: ==10310== Lock acquired, processing the job...
[2025-01-12 06:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:28:03] Production.INFO: count ==21
[2025-01-12 06:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:28:03] Production.INFO: ==10315== Lock acquired, processing the job...
[2025-01-12 06:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:28:03] Production.INFO: count ==21
[2025-01-12 06:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229759') start
[2025-01-12 06:28:03] Production.INFO: ==10317== Lock acquired, processing the job...
[2025-01-12 06:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:28:04] Production.INFO: Account Balance Start.
[2025-01-12 06:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:28:04] Production.INFO: 117
[2025-01-12 06:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229759') end
[2025-01-12 06:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:28:04] Production.INFO: 1
[2025-01-12 06:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:28:04] Production.INFO: Total Charge 0
[2025-01-12 06:28:04] Production.INFO: ==10319== Releasing lock...
[2025-01-12 06:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:28:04] Production.INFO: CreateAllLog End
[2025-01-12 06:28:04] Production.ERROR: done
[2025-01-12 06:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:28:04] Production.INFO: ==10310== Releasing lock...
[2025-01-12 06:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:28:04] Production.ERROR: done
[2025-01-12 06:28:04] Production.INFO: Account Balance End.
[2025-01-12 06:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:28:04] Production.INFO: ==10315== Releasing lock...
[2025-01-12 06:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:28:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:28:04
[end_date_ymd] => 2025-01-12 06:28:04
[RateCDR] => 1
)
[2025-01-12 06:28:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:28:04' and `end` < '2025-01-12 06:28:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:28:12] Production.ERROR: CronJobId end10
[2025-01-12 06:28:12] Production.INFO: ==10312== Releasing lock...
[2025-01-12 06:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:28:14] Production.INFO: call_cost start
[2025-01-12 06:28:14] Production.INFO: call_cost end
[2025-01-12 06:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:28:15] Production.INFO: ==10307== Releasing lock...
[2025-01-12 06:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:28:18] Production.INFO: count ==80
[2025-01-12 06:28:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:28:04 - End Time 2025-01-12 06:28:04
[2025-01-12 06:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229763', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229763', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229763', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229763', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:28:18] Production.INFO: ProcessCDR(1,14229763,1,1,2)
[2025-01-12 06:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229763', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229763', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:28:21] Production.INFO: ==10317== Releasing lock...
[2025-01-12 06:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:28:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:29:01] Production.INFO: ==10419== Lock acquired, processing the job...
[2025-01-12 11:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:29:01] Production.INFO: neon service started
[2025-01-12 11:29:01] Production.INFO: neon service started
[2025-01-12 11:29:01] Production.INFO: ==10419== Releasing lock...
[2025-01-12 11:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:29:01] Production.INFO: ==10421== Lock acquired, processing the job...
[2025-01-12 06:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:29:02] Production.INFO: ==10421== Releasing lock...
[2025-01-12 06:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:29:02] Production.INFO: ==10423== Lock acquired, processing the job...
[2025-01-12 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:29:02] Production.INFO: ==10423== Releasing lock...
[2025-01-12 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:29:02] Production.INFO: ==10426== Lock acquired, processing the job...
[2025-01-12 06:29:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:29:02] Production.INFO: ==10430== Lock acquired, processing the job...
[2025-01-12 06:29:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:29:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:29:02] Production.INFO: ==10428== Lock acquired, processing the job...
[2025-01-12 06:29:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:29:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:29:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:29:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:29:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:29:03] Production.INFO: ==10436== Lock acquired, processing the job...
[2025-01-12 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:29:03] Production.INFO: ==10432== Lock acquired, processing the job...
[2025-01-12 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:29:03] Production.INFO: ==10428== Releasing lock...
[2025-01-12 06:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:29:03] Production.INFO: ==10434== Lock acquired, processing the job...
[2025-01-12 06:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:29:03] Production.INFO: Account Balance Start.
[2025-01-12 06:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 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-01-12 06:29:03] Production.INFO: 117
[2025-01-12 06:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:29:03] Production.INFO: count ==21
[2025-01-12 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-01-12 06:29:03] Production.INFO: count ==21
[2025-01-12 06:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229766') start
[2025-01-12 06:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:29:03] Production.INFO: Total Charge 0
[2025-01-12 06:29:03] Production.INFO: CreateAllLog End
[2025-01-12 06:29:03] Production.ERROR: done
[2025-01-12 06:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229766') end
[2025-01-12 06:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:29:03] Production.INFO: 1
[2025-01-12 06:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:29:03] Production.INFO: ==10436== Releasing lock...
[2025-01-12 06:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:29:03] Production.ERROR: done
[2025-01-12 06:29:03] Production.INFO: Account Balance End.
[2025-01-12 06:29:03] Production.ERROR: CronJobId end 12
[2025-01-12 06:29:03] Production.INFO: ==10432== Releasing lock...
[2025-01-12 06:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:29:04
[end_date_ymd] => 2025-01-12 06:29:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:29:04' and `end` < '2025-01-12 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-01-12 06:29:10] Production.ERROR: CronJobId end10
[2025-01-12 06:29:10] Production.INFO: ==10430== Releasing lock...
[2025-01-12 06:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:29:13] Production.INFO: call_cost start
[2025-01-12 06:29:13] Production.INFO: call_cost end
[2025-01-12 06:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:29:14] Production.INFO: ==10426== Releasing lock...
[2025-01-12 06:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:29:19] Production.INFO: count ==80
[2025-01-12 06:29:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:29:04 - End Time 2025-01-12 06:29:04
[2025-01-12 06:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229768', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229768', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229768', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229768', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:29:19] Production.INFO: ProcessCDR(1,14229768,1,1,2)
[2025-01-12 06:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229768', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229768', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:29:22] Production.INFO: ==10434== Releasing lock...
[2025-01-12 06:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:29:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:30:01] Production.INFO: ==10532== Lock acquired, processing the job...
[2025-01-12 11:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:30:01] Production.INFO: neon service started
[2025-01-12 11:30:01] Production.INFO: neon service started
[2025-01-12 11:30:01] Production.INFO: ==10532== Releasing lock...
[2025-01-12 11:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:30:02] Production.INFO: ==10535== Lock acquired, processing the job...
[2025-01-12 06:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:30:02] Production.INFO: ==10537== Lock acquired, processing the job...
[2025-01-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:30:02] Production.INFO: ==10537== Releasing lock...
[2025-01-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:30:03] Production.INFO: ==10535== Releasing lock...
[2025-01-12 06:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:30:03] Production.INFO: ==10543== Lock acquired, processing the job...
[2025-01-12 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 06:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 06:30:03] Production.INFO: ==10547== Lock acquired, processing the job...
[2025-01-12 06:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:30:03] Production.INFO: ==10545== Lock acquired, processing the job...
[2025-01-12 06:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 06:30:03] Production.INFO: ==10543== Releasing lock...
[2025-01-12 06:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 06:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:30:03] Production.INFO: ==10551== Lock acquired, processing the job...
[2025-01-12 06:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:30:04] Production.INFO: Account Balance Start.
[2025-01-12 06:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:30:04] Production.INFO: 117
[2025-01-12 06:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:30:04] Production.INFO: ==10549== Lock acquired, processing the job...
[2025-01-12 06:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:30:04] Production.INFO: ==10553== Lock acquired, processing the job...
[2025-01-12 06:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:30:04] Production.INFO: ==10547== Releasing lock...
[2025-01-12 06:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:30:04] Production.INFO: Total Charge 0
[2025-01-12 06:30:04] Production.INFO: ==10555== Lock acquired, processing the job...
[2025-01-12 06:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 06:30:04] Production.INFO: CreateAllLog End
[2025-01-12 06:30:04] Production.INFO: ==10557== Lock acquired, processing the job...
[2025-01-12 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 06:30:04] Production.INFO: count ==21
[2025-01-12 06:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:30:04] Production.INFO: count ==21
[2025-01-12 06:30:04] Production.ERROR: done
[2025-01-12 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229772') start
[2025-01-12 06:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229772') end
[2025-01-12 06:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:30:04] Production.INFO: 1
[2025-01-12 06:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:30:04] Production.INFO: ==10557== Releasing lock...
[2025-01-12 06:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:30:05] Production.ERROR: done
[2025-01-12 06:30:05] Production.ERROR: done
[2025-01-12 06:30:05] Production.INFO: Account Balance End.
[2025-01-12 06:30:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:30:05] Production.INFO: ==10551== Releasing lock...
[2025-01-12 06:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 06:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229774', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 06:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:30:06
[end_date_ymd] => 2025-01-12 06:30:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:30:06' and `end` < '2025-01-12 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-01-12 06:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229774', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 06:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 06:30:09] Production.INFO: ProcessCDR(1,14229774,1,1,2)
[2025-01-12 06:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229774,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229774,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:30:09] Production.INFO: ==10555== Releasing lock...
[2025-01-12 06:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 06:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 06:30:14] Production.ERROR: CronJobId end10
[2025-01-12 06:30:14] Production.INFO: ==10549== Releasing lock...
[2025-01-12 06:30:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:30:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:30:15] Production.INFO: call_cost start
[2025-01-12 06:30:15] Production.INFO: call_cost end
[2025-01-12 06:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:30:16] Production.INFO: ==10545== Releasing lock...
[2025-01-12 06:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:30:20] Production.INFO: count ==76
[2025-01-12 06:30:20] Production.ERROR: pbx CDR StartTime 2025-01-12 03:30:06 - End Time 2025-01-12 06:30:06
[2025-01-12 06:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229773', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229773', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229773', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229773', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:30:20] Production.INFO: ProcessCDR(1,14229773,1,1,2)
[2025-01-12 06:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229773', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229773', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:30:23] Production.INFO: ==10553== Releasing lock...
[2025-01-12 06:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:30:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:31:02] Production.INFO: ==10658== Lock acquired, processing the job...
[2025-01-12 11:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:31:02] Production.INFO: neon service started
[2025-01-12 11:31:02] Production.INFO: neon service started
[2025-01-12 11:31:02] Production.INFO: ==10658== Releasing lock...
[2025-01-12 11:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:31:02] Production.INFO: ==10661== Lock acquired, processing the job...
[2025-01-12 06:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:31:03] Production.INFO: ==10663== Lock acquired, processing the job...
[2025-01-12 11:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:31:03] Production.INFO: ==10663== Releasing lock...
[2025-01-12 11:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:31:03] Production.INFO: ==10661== Releasing lock...
[2025-01-12 06:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:31:04] Production.INFO: ==10665== Lock acquired, processing the job...
[2025-01-12 06:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:31:04] Production.INFO: ==10669== Lock acquired, processing the job...
[2025-01-12 06:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:31:04] Production.INFO: ==10671== Lock acquired, processing the job...
[2025-01-12 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:31:04] Production.INFO: Account Balance Start.
[2025-01-12 06:31:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:31:04] Production.INFO: 117
[2025-01-12 06:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:31:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:31:04] Production.INFO: ==10667== Lock acquired, processing the job...
[2025-01-12 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:31:04] Production.INFO: Total Charge 0
[2025-01-12 06:31:04] Production.INFO: CreateAllLog End
[2025-01-12 06:31:04] Production.INFO: ==10673== Lock acquired, processing the job...
[2025-01-12 06:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:31:04] Production.INFO: ==10675== Lock acquired, processing the job...
[2025-01-12 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 06:31:04] Production.INFO: Account Balance End.
[2025-01-12 06:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:31:04] Production.INFO: count ==21
[2025-01-12 06:31:04] Production.INFO: ==10671== Releasing lock...
[2025-01-12 06:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 06:31:04] Production.INFO: count ==21
[2025-01-12 06:31:04] Production.INFO: ==10667== Releasing lock...
[2025-01-12 06:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229778') start
[2025-01-12 06:31:04] Production.ERROR: done
[2025-01-12 06:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229778') end
[2025-01-12 06:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:31:04] Production.INFO: 1
[2025-01-12 06:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:31:04] Production.INFO: ==10675== Releasing lock...
[2025-01-12 06:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:31:05] Production.ERROR: done
[2025-01-12 06:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:31:05
[end_date_ymd] => 2025-01-12 06:31:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:31:05' and `end` < '2025-01-12 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-01-12 06:31:11] Production.ERROR: CronJobId end10
[2025-01-12 06:31:11] Production.INFO: ==10669== Releasing lock...
[2025-01-12 06:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:31:14] Production.INFO: call_cost start
[2025-01-12 06:31:14] Production.INFO: call_cost end
[2025-01-12 06:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:31:15] Production.INFO: ==10665== Releasing lock...
[2025-01-12 06:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:31:18] Production.INFO: count ==70
[2025-01-12 06:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:31:05 - End Time 2025-01-12 06:31:05
[2025-01-12 06:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229779', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229779', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229779', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229779', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:31:18] Production.INFO: ProcessCDR(1,14229779,1,1,2)
[2025-01-12 06:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229779,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229779,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229779', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229779', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:31:22] Production.INFO: ==10673== Releasing lock...
[2025-01-12 06:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:31:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:32:01] Production.INFO: ==10781== Lock acquired, processing the job...
[2025-01-12 11:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:32:01] Production.INFO: neon service started
[2025-01-12 11:32:02] Production.INFO: neon service started
[2025-01-12 11:32:02] Production.INFO: ==10781== Releasing lock...
[2025-01-12 11:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:32:02] Production.INFO: ==10783== Lock acquired, processing the job...
[2025-01-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:32:02] Production.INFO: ==10785== Lock acquired, processing the job...
[2025-01-12 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:32:02] Production.INFO: ==10785== Releasing lock...
[2025-01-12 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:32:02] Production.INFO: ==10783== Releasing lock...
[2025-01-12 06:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:32:03] Production.INFO: ==10788== Lock acquired, processing the job...
[2025-01-12 06:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:32:03] Production.INFO: ==10790== Lock acquired, processing the job...
[2025-01-12 06:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:32:03] Production.INFO: ==10792== Lock acquired, processing the job...
[2025-01-12 06:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:32:03] Production.INFO: ==10796== Lock acquired, processing the job...
[2025-01-12 06:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:32:03] Production.INFO: ==10794== Lock acquired, processing the job...
[2025-01-12 06:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:32:04] Production.INFO: ==10790== Releasing lock...
[2025-01-12 06:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:32:04] Production.INFO: ==10798== Lock acquired, processing the job...
[2025-01-12 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:32:04] Production.INFO: Account Balance Start.
[2025-01-12 06:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:32:04] Production.INFO: 117
[2025-01-12 06:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:32:04] Production.ERROR: done
[2025-01-12 06:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 06:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:32:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:32:04] Production.INFO: count ==21
[2025-01-12 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229783') start
[2025-01-12 06:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:32:04] Production.ERROR: done
[2025-01-12 06:32:04] Production.INFO: Total Charge 0
[2025-01-12 06:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229783') end
[2025-01-12 06:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:32:04] Production.INFO: 1
[2025-01-12 06:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:32:04] Production.INFO: CreateAllLog End
[2025-01-12 06:32:04] Production.INFO: ==10798== Releasing lock...
[2025-01-12 06:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:32:04] Production.INFO: Account Balance End.
[2025-01-12 06:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:32:04] Production.INFO: ==10794== Releasing lock...
[2025-01-12 06:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:32:05
[end_date_ymd] => 2025-01-12 06:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:32:05' and `end` < '2025-01-12 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-01-12 06:32:11] Production.ERROR: CronJobId end10
[2025-01-12 06:32:11] Production.INFO: ==10792== Releasing lock...
[2025-01-12 06:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:32:13] Production.INFO: call_cost start
[2025-01-12 06:32:13] Production.INFO: call_cost end
[2025-01-12 06:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:32:14] Production.INFO: ==10788== Releasing lock...
[2025-01-12 06:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:32:19] Production.INFO: count ==65
[2025-01-12 06:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:32:05 - End Time 2025-01-12 06:32:05
[2025-01-12 06:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229784', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229784', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229784', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229784', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:32:19] Production.INFO: ProcessCDR(1,14229784,1,1,2)
[2025-01-12 06:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229784,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229784,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229784', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229784', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:32:22] Production.INFO: ==10796== Releasing lock...
[2025-01-12 06:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:32:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:33:01] Production.INFO: ==10894== Lock acquired, processing the job...
[2025-01-12 11:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:33:01] Production.INFO: neon service started
[2025-01-12 11:33:01] Production.INFO: neon service started
[2025-01-12 11:33:01] Production.INFO: ==10894== Releasing lock...
[2025-01-12 11:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:33:01] Production.INFO: ==10898== Lock acquired, processing the job...
[2025-01-12 11:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:33:01] Production.INFO: ==10898== Releasing lock...
[2025-01-12 11:33:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:33:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:33:01] Production.INFO: ==10896== Lock acquired, processing the job...
[2025-01-12 06:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:33:02] Production.INFO: ==10896== Releasing lock...
[2025-01-12 06:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:33:03] Production.INFO: ==10906== Lock acquired, processing the job...
[2025-01-12 06:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:33:03] Production.INFO: ==10902== Lock acquired, processing the job...
[2025-01-12 06:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:33:03] Production.INFO: ==10912== Lock acquired, processing the job...
[2025-01-12 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:33:03] Production.INFO: ==10904== Lock acquired, processing the job...
[2025-01-12 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:33:03] Production.INFO: ==10908== Lock acquired, processing the job...
[2025-01-12 06:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:33:03] Production.INFO: ==10910== Lock acquired, processing the job...
[2025-01-12 06:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 06:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:33:03] Production.INFO: count ==21
[2025-01-12 06:33:03] Production.INFO: Account Balance Start.
[2025-01-12 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-01-12 06:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:33:03] Production.INFO: 117
[2025-01-12 06:33:03] Production.INFO: count ==21
[2025-01-12 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229786') start
[2025-01-12 06:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229786') end
[2025-01-12 06:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:33:03] Production.INFO: 1
[2025-01-12 06:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:33:03] Production.INFO: ==10904== Releasing lock...
[2025-01-12 06:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:33:03] Production.INFO: ==10912== Releasing lock...
[2025-01-12 06:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:33:03] Production.ERROR: done
[2025-01-12 06:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:33:04] Production.ERROR: done
[2025-01-12 06:33:04] Production.INFO: Total Charge 0
[2025-01-12 06:33:04] Production.INFO: CreateAllLog End
[2025-01-12 06:33:04] Production.INFO: Account Balance End.
[2025-01-12 06:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:33:04] Production.INFO: ==10908== Releasing lock...
[2025-01-12 06:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:33:04
[end_date_ymd] => 2025-01-12 06:33:04
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:33:04' and `end` < '2025-01-12 06: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-01-12 06:33:11] Production.ERROR: CronJobId end10
[2025-01-12 06:33:11] Production.INFO: ==10906== Releasing lock...
[2025-01-12 06:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:33:13] Production.INFO: call_cost start
[2025-01-12 06:33:13] Production.INFO: call_cost end
[2025-01-12 06:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:33:13] Production.INFO: ==10902== Releasing lock...
[2025-01-12 06:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:33:19] Production.INFO: count ==65
[2025-01-12 06:33:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:33:04 - End Time 2025-01-12 06:33:04
[2025-01-12 06:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229789', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229789', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229789', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229789', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:33:19] Production.INFO: ProcessCDR(1,14229789,1,1,2)
[2025-01-12 06:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229789,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229789,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229789', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229789', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:33:22] Production.INFO: ==10910== Releasing lock...
[2025-01-12 06:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:33:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:34:01] Production.INFO: ==11007== Lock acquired, processing the job...
[2025-01-12 11:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:34:01] Production.INFO: neon service started
[2025-01-12 11:34:01] Production.INFO: neon service started
[2025-01-12 11:34:01] Production.INFO: ==11007== Releasing lock...
[2025-01-12 11:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:34:02] Production.INFO: ==11009== Lock acquired, processing the job...
[2025-01-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:34:02] Production.INFO: ==11011== Lock acquired, processing the job...
[2025-01-12 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:34:02] Production.INFO: ==11011== Releasing lock...
[2025-01-12 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:34:02] Production.INFO: ==11009== Releasing lock...
[2025-01-12 06:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:34:03] Production.INFO: ==11014== Lock acquired, processing the job...
[2025-01-12 06:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:34:03] Production.INFO: ==11020== Lock acquired, processing the job...
[2025-01-12 06:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:34:03] Production.INFO: ==11024== Lock acquired, processing the job...
[2025-01-12 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:34:03] Production.INFO: Account Balance Start.
[2025-01-12 06:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:34:03] Production.INFO: 117
[2025-01-12 06:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 06: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-01-12 06:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:34:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:34:03] Production.INFO: count ==21
[2025-01-12 06:34:03] Production.INFO: ==11016== Lock acquired, processing the job...
[2025-01-12 06:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229792') start
[2025-01-12 06:34:03] Production.INFO: ==11018== Lock acquired, processing the job...
[2025-01-12 06:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:34:03] Production.INFO: ==11022== Lock acquired, processing the job...
[2025-01-12 06:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229792') end
[2025-01-12 06:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:34:03] Production.INFO: 1
[2025-01-12 06:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:34:03] Production.INFO: ==11024== Releasing lock...
[2025-01-12 06:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:34:04] Production.INFO: Total Charge 0
[2025-01-12 06:34:04] Production.INFO: CreateAllLog End
[2025-01-12 06:34:04] Production.INFO: Account Balance End.
[2025-01-12 06:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:34:04] Production.INFO: ==11020== Releasing lock...
[2025-01-12 06:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:34:04] Production.INFO: ==11016== Releasing lock...
[2025-01-12 06:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:34:04] Production.ERROR: done
[2025-01-12 06:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:34:04] Production.ERROR: done
[2025-01-12 06:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:34:05
[end_date_ymd] => 2025-01-12 06:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:34:05' and `end` < '2025-01-12 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-01-12 06:34:11] Production.ERROR: CronJobId end10
[2025-01-12 06:34:11] Production.INFO: ==11018== Releasing lock...
[2025-01-12 06:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:34:13] Production.INFO: call_cost start
[2025-01-12 06:34:13] Production.INFO: call_cost end
[2025-01-12 06:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:34:14] Production.INFO: ==11014== Releasing lock...
[2025-01-12 06:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:34:19] Production.INFO: count ==64
[2025-01-12 06:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:34:05 - End Time 2025-01-12 06:34:05
[2025-01-12 06:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229794', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229794', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229794', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229794', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:34:19] Production.INFO: ProcessCDR(1,14229794,1,1,2)
[2025-01-12 06:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229794', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229794', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:34:23] Production.INFO: ==11022== Releasing lock...
[2025-01-12 06:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:34:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:35:02] Production.INFO: ==11119== Lock acquired, processing the job...
[2025-01-12 11:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:35:02] Production.INFO: neon service started
[2025-01-12 11:35:02] Production.INFO: neon service started
[2025-01-12 11:35:02] Production.INFO: ==11119== Releasing lock...
[2025-01-12 11:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:35:02] Production.INFO: ==11121== Lock acquired, processing the job...
[2025-01-12 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:35:02] Production.INFO: ==11121== Releasing lock...
[2025-01-12 06:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:35:03] Production.INFO: ==11123== Lock acquired, processing the job...
[2025-01-12 11:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:35:03] Production.INFO: ==11123== Releasing lock...
[2025-01-12 11:35:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:35:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:35:03] Production.INFO: ==11130== Lock acquired, processing the job...
[2025-01-12 06:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:35:03] Production.INFO: ==11137== Lock acquired, processing the job...
[2025-01-12 06:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:35:03] Production.INFO: ==11125== Lock acquired, processing the job...
[2025-01-12 06:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06: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-01-12 06:35:04] Production.INFO: ==11127== Lock acquired, processing the job...
[2025-01-12 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:35:04] Production.INFO: count ==21
[2025-01-12 06:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:35:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:35:04] Production.INFO: count ==21
[2025-01-12 06:35:04] Production.INFO: ==11135== Lock acquired, processing the job...
[2025-01-12 06:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:35:04] Production.INFO: ==11132== Lock acquired, processing the job...
[2025-01-12 06:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229795') start
[2025-01-12 06:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:35:04] Production.INFO: Account Balance Start.
[2025-01-12 06:35:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229795') end
[2025-01-12 06:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:35:04] Production.INFO: 1
[2025-01-12 06:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:35:04] Production.INFO: 117
[2025-01-12 06:35:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:35:04] Production.INFO: ==11137== Releasing lock...
[2025-01-12 06:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:35:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:35:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:35:04] Production.INFO: ==11127== Releasing lock...
[2025-01-12 06:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:35:04] Production.ERROR: done
[2025-01-12 06:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:35:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:35:04] Production.ERROR: done
[2025-01-12 06:35:04] Production.INFO: Total Charge 0
[2025-01-12 06:35:04] Production.INFO: CreateAllLog End
[2025-01-12 06:35:05] Production.INFO: Account Balance End.
[2025-01-12 06:35:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:35:05] Production.INFO: ==11132== Releasing lock...
[2025-01-12 06:35:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:35:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:35:05
[end_date_ymd] => 2025-01-12 06:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:35:05' and `end` < '2025-01-12 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-01-12 06:35:12] Production.ERROR: CronJobId end10
[2025-01-12 06:35:12] Production.INFO: ==11130== Releasing lock...
[2025-01-12 06:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:35:14] Production.INFO: call_cost start
[2025-01-12 06:35:14] Production.INFO: call_cost end
[2025-01-12 06:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:35:15] Production.INFO: ==11125== Releasing lock...
[2025-01-12 06:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:35:19] Production.INFO: count ==64
[2025-01-12 06:35:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:35:05 - End Time 2025-01-12 06:35:05
[2025-01-12 06:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229799', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229799', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229799', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229799', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:35:19] Production.INFO: ProcessCDR(1,14229799,1,1,2)
[2025-01-12 06:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229799', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229799', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:35:22] Production.INFO: ==11135== Releasing lock...
[2025-01-12 06:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:35:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:36:01] Production.INFO: ==11236== Lock acquired, processing the job...
[2025-01-12 11:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:36:01] Production.INFO: neon service started
[2025-01-12 11:36:01] Production.INFO: neon service started
[2025-01-12 11:36:01] Production.INFO: ==11236== Releasing lock...
[2025-01-12 11:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:36:02] Production.INFO: ==11240== Lock acquired, processing the job...
[2025-01-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:36:02] Production.INFO: ==11238== Lock acquired, processing the job...
[2025-01-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:36:02] Production.INFO: ==11240== Releasing lock...
[2025-01-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:36:02] Production.INFO: ==11238== Releasing lock...
[2025-01-12 06:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:36:03] Production.INFO: ==11245== Lock acquired, processing the job...
[2025-01-12 06:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:36:03] Production.INFO: ==11247== Lock acquired, processing the job...
[2025-01-12 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:36:03] Production.INFO: ==11251== Lock acquired, processing the job...
[2025-01-12 06:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:36:03] Production.INFO: ==11249== Lock acquired, processing the job...
[2025-01-12 06:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:36:03] Production.INFO: ==11247== Releasing lock...
[2025-01-12 06:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:36:03] Production.INFO: Account Balance Start.
[2025-01-12 06:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:36:03] Production.INFO: 117
[2025-01-12 06:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:36:03] Production.INFO: ==11253== Lock acquired, processing the job...
[2025-01-12 06:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:36:03] Production.INFO: ==11255== Lock acquired, processing the job...
[2025-01-12 06:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:36:04] Production.INFO: Total Charge 0
[2025-01-12 06:36:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 06:36:04] Production.INFO: count ==21
[2025-01-12 06:36:04] Production.ERROR: done
[2025-01-12 06:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 06:36:04] Production.INFO: count ==21
[2025-01-12 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229803') start
[2025-01-12 06:36:04] Production.INFO: Account Balance End.
[2025-01-12 06:36:04] Production.ERROR: done
[2025-01-12 06:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229803') end
[2025-01-12 06:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:36:04] Production.INFO: 1
[2025-01-12 06:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:36:04] Production.INFO: ==11251== Releasing lock...
[2025-01-12 06:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:36:04] Production.INFO: ==11255== Releasing lock...
[2025-01-12 06:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:36:05
[end_date_ymd] => 2025-01-12 06:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:36:05' and `end` < '2025-01-12 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-01-12 06:36:12] Production.ERROR: CronJobId end10
[2025-01-12 06:36:12] Production.INFO: ==11249== Releasing lock...
[2025-01-12 06:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:36:13] Production.INFO: call_cost start
[2025-01-12 06:36:13] Production.INFO: call_cost end
[2025-01-12 06:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:36:14] Production.INFO: ==11245== Releasing lock...
[2025-01-12 06:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:36:19] Production.INFO: count ==64
[2025-01-12 06:36:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:36:05 - End Time 2025-01-12 06:36:05
[2025-01-12 06:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229804', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229804', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229804', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229804', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:36:19] Production.INFO: ProcessCDR(1,14229804,1,1,2)
[2025-01-12 06:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229804', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229804', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:36:22] Production.INFO: ==11253== Releasing lock...
[2025-01-12 06:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:36:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:37:02] Production.INFO: ==11352== Lock acquired, processing the job...
[2025-01-12 11:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:37:02] Production.INFO: neon service started
[2025-01-12 11:37:02] Production.INFO: neon service started
[2025-01-12 11:37:02] Production.INFO: ==11352== Releasing lock...
[2025-01-12 11:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:37:02] Production.INFO: ==11355== Lock acquired, processing the job...
[2025-01-12 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:37:02] Production.INFO: ==11357== Lock acquired, processing the job...
[2025-01-12 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:37:02] Production.INFO: ==11355== Releasing lock...
[2025-01-12 06:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:37:03] Production.INFO: ==11357== Releasing lock...
[2025-01-12 11:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:37:03] Production.INFO: ==11359== Lock acquired, processing the job...
[2025-01-12 06:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:37:03] Production.INFO: ==11361== Lock acquired, processing the job...
[2025-01-12 06:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:37:03] Production.INFO: ==11367== Lock acquired, processing the job...
[2025-01-12 06:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:37:03] Production.INFO: ==11363== Lock acquired, processing the job...
[2025-01-12 06:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:37:03] Production.INFO: ==11365== Lock acquired, processing the job...
[2025-01-12 06:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:37:04] Production.INFO: ==11369== Lock acquired, processing the job...
[2025-01-12 06:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:37:04] Production.INFO: ==11361== Releasing lock...
[2025-01-12 06:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06: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-01-12 06:37:04] Production.INFO: Account Balance Start.
[2025-01-12 06:37:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:37:04] Production.INFO: 117
[2025-01-12 06:37:04] Production.INFO: count ==21
[2025-01-12 06:37:04] Production.ERROR: done
[2025-01-12 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-01-12 06:37:04] Production.INFO: count ==21
[2025-01-12 06:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:37:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229807') start
[2025-01-12 06:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229807') end
[2025-01-12 06:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:37:04] Production.INFO: 1
[2025-01-12 06:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:37:04] Production.ERROR: done
[2025-01-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:37:04] Production.INFO: ==11369== Releasing lock...
[2025-01-12 06:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:37:04] Production.INFO: Total Charge 0
[2025-01-12 06:37:04] Production.INFO: CreateAllLog End
[2025-01-12 06:37:04] Production.INFO: Account Balance End.
[2025-01-12 06:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:37:04] Production.INFO: ==11365== Releasing lock...
[2025-01-12 06:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:37:05
[end_date_ymd] => 2025-01-12 06:37:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:37:05' and `end` < '2025-01-12 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-01-12 06:37:12] Production.ERROR: CronJobId end10
[2025-01-12 06:37:12] Production.INFO: ==11363== Releasing lock...
[2025-01-12 06:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:37:14] Production.INFO: call_cost start
[2025-01-12 06:37:14] Production.INFO: call_cost end
[2025-01-12 06:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:37:15] Production.INFO: ==11359== Releasing lock...
[2025-01-12 06:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:37:18] Production.INFO: count ==64
[2025-01-12 06:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:37:05 - End Time 2025-01-12 06:37:05
[2025-01-12 06:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229809', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229809', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229809', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229809', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:37:18] Production.INFO: ProcessCDR(1,14229809,1,1,2)
[2025-01-12 06:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229809', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229809', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:37:21] Production.INFO: ==11367== Releasing lock...
[2025-01-12 06:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:37:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:38:01] Production.INFO: ==11466== Lock acquired, processing the job...
[2025-01-12 11:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:38:01] Production.INFO: neon service started
[2025-01-12 11:38:01] Production.INFO: neon service started
[2025-01-12 11:38:01] Production.INFO: ==11466== Releasing lock...
[2025-01-12 11:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:38:01] Production.INFO: ==11471== Lock acquired, processing the job...
[2025-01-12 11:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:38:02] Production.INFO: ==11471== Releasing lock...
[2025-01-12 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:38:02] Production.INFO: ==11469== Lock acquired, processing the job...
[2025-01-12 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:38:02] Production.INFO: ==11469== Releasing lock...
[2025-01-12 06:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:38:03] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-01-12 06:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:38:03] Production.INFO: ==11475== Lock acquired, processing the job...
[2025-01-12 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:38:03] Production.INFO: ==11481== Lock acquired, processing the job...
[2025-01-12 06:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:38:03] Production.INFO: ==11477== Lock acquired, processing the job...
[2025-01-12 06:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:38:03] Production.INFO: ==11479== Lock acquired, processing the job...
[2025-01-12 06:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:38:03] Production.INFO: ==11483== Lock acquired, processing the job...
[2025-01-12 06:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:38:03] Production.INFO: ==11475== Releasing lock...
[2025-01-12 06:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:38:03] Production.INFO: Account Balance Start.
[2025-01-12 06:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:38:03] Production.INFO: 117
[2025-01-12 06: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-01-12 06:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:38:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:38:03] Production.INFO: count ==21
[2025-01-12 06:38:03] Production.ERROR: done
[2025-01-12 06:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229813') start
[2025-01-12 06:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:38:04] Production.ERROR: done
[2025-01-12 06:38:04] Production.INFO: Total Charge 0
[2025-01-12 06:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229813') end
[2025-01-12 06:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:38:04] Production.INFO: 1
[2025-01-12 06:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:38:04] Production.INFO: CreateAllLog End
[2025-01-12 06:38:04] Production.INFO: ==11483== Releasing lock...
[2025-01-12 06:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:38:04] Production.INFO: Account Balance End.
[2025-01-12 06:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:38:04] Production.INFO: ==11479== Releasing lock...
[2025-01-12 06:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:38:05
[end_date_ymd] => 2025-01-12 06:38:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:38:05' and `end` < '2025-01-12 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-01-12 06:38:10] Production.ERROR: CronJobId end10
[2025-01-12 06:38:10] Production.INFO: ==11477== Releasing lock...
[2025-01-12 06:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:38:12] Production.INFO: call_cost start
[2025-01-12 06:38:12] Production.INFO: call_cost end
[2025-01-12 06:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:38:13] Production.INFO: ==11473== Releasing lock...
[2025-01-12 06:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:38:19] Production.INFO: count ==64
[2025-01-12 06:38:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:38:05 - End Time 2025-01-12 06:38:05
[2025-01-12 06:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229814', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229814', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229814', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229814', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:38:19] Production.INFO: ProcessCDR(1,14229814,1,1,2)
[2025-01-12 06:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229814', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229814', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:38:23] Production.INFO: ==11481== Releasing lock...
[2025-01-12 06:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:38:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:39:02] Production.INFO: ==11577== Lock acquired, processing the job...
[2025-01-12 11:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:39:02] Production.INFO: neon service started
[2025-01-12 11:39:02] Production.INFO: neon service started
[2025-01-12 11:39:02] Production.INFO: ==11577== Releasing lock...
[2025-01-12 11:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:39:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:39:02] Production.INFO: ==11579== Lock acquired, processing the job...
[2025-01-12 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:39:02] Production.INFO: ==11581== Lock acquired, processing the job...
[2025-01-12 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:39:02] Production.INFO: ==11581== Releasing lock...
[2025-01-12 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:39:02] Production.INFO: ==11579== Releasing lock...
[2025-01-12 06:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:39:03] Production.INFO: ==11586== Lock acquired, processing the job...
[2025-01-12 06:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:39:03] Production.INFO: ==11590== Lock acquired, processing the job...
[2025-01-12 06:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:39:03] Production.INFO: ==11588== Lock acquired, processing the job...
[2025-01-12 06:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:39:03] Production.INFO: ==11596== Lock acquired, processing the job...
[2025-01-12 06:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 06:39:03] Production.INFO: ==11592== Lock acquired, processing the job...
[2025-01-12 06:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:39:04] Production.INFO: count ==21
[2025-01-12 06:39:04] Production.INFO: ==11594== Lock acquired, processing the job...
[2025-01-12 06:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06: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-01-12 06:39:04] Production.INFO: count ==21
[2025-01-12 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229816') start
[2025-01-12 06:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:39:04] Production.INFO: Account Balance Start.
[2025-01-12 06:39:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:39:04] Production.INFO: 117
[2025-01-12 06:39:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:39:04] Production.INFO: ==11588== Releasing lock...
[2025-01-12 06:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229816') end
[2025-01-12 06:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:39:04] Production.INFO: 1
[2025-01-12 06:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:39:04] Production.INFO: ==11596== Releasing lock...
[2025-01-12 06:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:39:04] Production.ERROR: done
[2025-01-12 06:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:39:04] Production.INFO: Total Charge 0
[2025-01-12 06:39:04] Production.INFO: CreateAllLog End
[2025-01-12 06:39:04] Production.ERROR: done
[2025-01-12 06:39:04] Production.INFO: Account Balance End.
[2025-01-12 06:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:39:04] Production.INFO: ==11592== Releasing lock...
[2025-01-12 06:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:39:05
[end_date_ymd] => 2025-01-12 06:39:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:39:05' and `end` < '2025-01-12 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-01-12 06:39:11] Production.ERROR: CronJobId end10
[2025-01-12 06:39:11] Production.INFO: ==11590== Releasing lock...
[2025-01-12 06:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:39:13] Production.INFO: call_cost start
[2025-01-12 06:39:13] Production.INFO: call_cost end
[2025-01-12 06:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:39:14] Production.INFO: ==11586== Releasing lock...
[2025-01-12 06:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:39:18] Production.INFO: count ==64
[2025-01-12 06:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:39:05 - End Time 2025-01-12 06:39:05
[2025-01-12 06:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229819', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229819', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229819', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229819', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:39:18] Production.INFO: ProcessCDR(1,14229819,1,1,2)
[2025-01-12 06:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229819', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229819', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:39:22] Production.INFO: ==11594== Releasing lock...
[2025-01-12 06:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:39:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:40:01] Production.INFO: ==11690== Lock acquired, processing the job...
[2025-01-12 11:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:40:01] Production.INFO: neon service started
[2025-01-12 11:40:01] Production.INFO: neon service started
[2025-01-12 11:40:01] Production.INFO: ==11690== Releasing lock...
[2025-01-12 11:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:40:02] Production.INFO: ==11693== Lock acquired, processing the job...
[2025-01-12 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:40:02] Production.INFO: ==11695== Lock acquired, processing the job...
[2025-01-12 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:40:02] Production.INFO: ==11695== Releasing lock...
[2025-01-12 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:40:02] Production.INFO: ==11693== Releasing lock...
[2025-01-12 06:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:40:03] Production.INFO: ==11702== Lock acquired, processing the job...
[2025-01-12 06:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:40:03] Production.INFO: ==11708== Lock acquired, processing the job...
[2025-01-12 06:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:40:03] Production.INFO: ==11698== Lock acquired, processing the job...
[2025-01-12 06:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 06:40:03] Production.INFO: ==11700== Lock acquired, processing the job...
[2025-01-12 06:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:40:04] Production.INFO: ==11702== Releasing lock...
[2025-01-12 06:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:40:04] Production.ERROR: done
[2025-01-12 06:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:40:04] Production.INFO: ==11704== Lock acquired, processing the job...
[2025-01-12 06:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:40:04] Production.ERROR: CronJob PID - 11700
[2025-01-12 06:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 06:40:04] Production.ERROR: CronJob ID - 5
[2025-01-12 06:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:40:00
[2025-01-12 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 06:40:04] Production.ERROR: CronJob PID - 11708
[2025-01-12 06:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 06:40:04] Production.ERROR: CronJob ID - 16
[2025-01-12 06:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 06:40:00
[2025-01-12 06:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 06:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 06:40:04] Production.INFO: ==11706== Lock acquired, processing the job...
[2025-01-12 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 06:40:04] Production.INFO: ==11698== Releasing lock...
[2025-01-12 06:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 06:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:40:04] Production.INFO: ==11710== Lock acquired, processing the job...
[2025-01-12 06:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 06:40:04] Production.INFO: ==11712== Lock acquired, processing the job...
[2025-01-12 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:40:04] Production.ERROR: done
[2025-01-12 06:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:40:04] Production.INFO: Account Balance Start.
[2025-01-12 06:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:40:04] Production.INFO: 117
[2025-01-12 06:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:40:04] Production.INFO: count ==21
[2025-01-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:40:04] Production.INFO: count ==21
[2025-01-12 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229824') start
[2025-01-12 06:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:40:04] Production.ERROR: done
[2025-01-12 06:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229824') end
[2025-01-12 06:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:40:04] Production.INFO: 1
[2025-01-12 06:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:40:04] Production.INFO: ==11712== Releasing lock...
[2025-01-12 06:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 06:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229825', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 06:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:40:04] Production.INFO: Total Charge 0
[2025-01-12 06:40:04] Production.INFO: CreateAllLog End
[2025-01-12 06:40:04] Production.INFO: Account Balance End.
[2025-01-12 06:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:40:04] Production.INFO: ==11706== Releasing lock...
[2025-01-12 06:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:40:05
[end_date_ymd] => 2025-01-12 06:40:05
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:40:05' and `end` < '2025-01-12 06: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-01-12 06:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229825', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 06:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 06:40:08] Production.INFO: ProcessCDR(1,14229825,1,1,2)
[2025-01-12 06:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229825,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:40:09] Production.INFO: ==11710== Releasing lock...
[2025-01-12 06:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 06:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 06:40:12] Production.ERROR: CronJobId end10
[2025-01-12 06:40:12] Production.INFO: ==11704== Releasing lock...
[2025-01-12 06:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:40:15] Production.INFO: call_cost start
[2025-01-12 06:40:15] Production.INFO: call_cost end
[2025-01-12 06:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:40:15] Production.INFO: ==11700== Releasing lock...
[2025-01-12 06:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:40:19] Production.INFO: count ==62
[2025-01-12 06:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:40:05 - End Time 2025-01-12 06:40:05
[2025-01-12 06:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229823', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229823', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229823', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229823', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:40:19] Production.INFO: ProcessCDR(1,14229823,1,1,2)
[2025-01-12 06:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229823', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229823', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:40:22] Production.INFO: ==11708== Releasing lock...
[2025-01-12 06:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:40:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:41:01] Production.INFO: ==11809== Lock acquired, processing the job...
[2025-01-12 11:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:41:01] Production.INFO: neon service started
[2025-01-12 11:41:01] Production.INFO: neon service started
[2025-01-12 11:41:01] Production.INFO: ==11809== Releasing lock...
[2025-01-12 11:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:41:02] Production.INFO: ==11813== Lock acquired, processing the job...
[2025-01-12 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:41:02] Production.INFO: ==11813== Releasing lock...
[2025-01-12 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:41:02] Production.INFO: ==11811== Lock acquired, processing the job...
[2025-01-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:41:02] Production.INFO: ==11811== Releasing lock...
[2025-01-12 06:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:41:03] Production.INFO: ==11817== Lock acquired, processing the job...
[2025-01-12 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:41:03] Production.INFO: ==11821== Lock acquired, processing the job...
[2025-01-12 06:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:41:03] Production.INFO: ==11823== Lock acquired, processing the job...
[2025-01-12 06:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:41:03] Production.INFO: Account Balance Start.
[2025-01-12 06:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:41:03] Production.INFO: 117
[2025-01-12 06:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:41:03] Production.INFO: ==11815== Lock acquired, processing the job...
[2025-01-12 06:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:41:03] Production.INFO: ==11819== Lock acquired, processing the job...
[2025-01-12 06:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:41:03] Production.INFO: ==11825== Lock acquired, processing the job...
[2025-01-12 06:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:41:03] Production.INFO: ==11817== Releasing lock...
[2025-01-12 06:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:41:03] Production.ERROR: done
[2025-01-12 06:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:41:04] Production.INFO: Total Charge 0
[2025-01-12 06: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-01-12 06:41:04] Production.INFO: CreateAllLog End
[2025-01-12 06:41:04] Production.INFO: count ==21
[2025-01-12 06:41:04] Production.ERROR: done
[2025-01-12 06: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-01-12 06:41:04] Production.INFO: count ==21
[2025-01-12 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229829') start
[2025-01-12 06:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229829') end
[2025-01-12 06:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:41:04] Production.INFO: 1
[2025-01-12 06:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:41:04] Production.INFO: Account Balance End.
[2025-01-12 06:41:04] Production.INFO: ==11825== Releasing lock...
[2025-01-12 06:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:41:04] Production.INFO: ==11821== Releasing lock...
[2025-01-12 06:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:41:05
[end_date_ymd] => 2025-01-12 06:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:41:05' and `end` < '2025-01-12 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-01-12 06:41:12] Production.ERROR: CronJobId end10
[2025-01-12 06:41:12] Production.INFO: ==11819== Releasing lock...
[2025-01-12 06:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:41:14] Production.INFO: call_cost start
[2025-01-12 06:41:14] Production.INFO: call_cost end
[2025-01-12 06:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:41:15] Production.INFO: ==11815== Releasing lock...
[2025-01-12 06:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:41:18] Production.INFO: count ==62
[2025-01-12 06:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:41:05 - End Time 2025-01-12 06:41:05
[2025-01-12 06:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229830', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229830', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229830', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229830', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:41:18] Production.INFO: ProcessCDR(1,14229830,1,1,2)
[2025-01-12 06:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229830,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229830,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229830', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229830', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:41:21] Production.INFO: ==11823== Releasing lock...
[2025-01-12 06:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:41:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:42:01] Production.INFO: ==11897== Lock acquired, processing the job...
[2025-01-12 11:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:42:01] Production.INFO: neon service started
[2025-01-12 11:42:01] Production.INFO: neon service started
[2025-01-12 11:42:01] Production.INFO: ==11897== Releasing lock...
[2025-01-12 11:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:42:02] Production.INFO: ==11899== Lock acquired, processing the job...
[2025-01-12 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:42:02] Production.INFO: ==11901== Lock acquired, processing the job...
[2025-01-12 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:42:02] Production.INFO: ==11901== Releasing lock...
[2025-01-12 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:42:02] Production.INFO: ==11899== Releasing lock...
[2025-01-12 06:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:42:03] Production.INFO: ==11906== Lock acquired, processing the job...
[2025-01-12 06:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:42:03] Production.INFO: ==11908== Lock acquired, processing the job...
[2025-01-12 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:42:03] Production.INFO: ==11910== Lock acquired, processing the job...
[2025-01-12 06:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:42:03] Production.INFO: ==11912== Lock acquired, processing the job...
[2025-01-12 06:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:42:03] Production.INFO: ==11908== Releasing lock...
[2025-01-12 06:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:42:03] Production.INFO: ==11914== Lock acquired, processing the job...
[2025-01-12 06:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:42:03] Production.INFO: ==11916== Lock acquired, processing the job...
[2025-01-12 06:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:42:03] Production.INFO: Account Balance Start.
[2025-01-12 06:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:42:03] Production.INFO: 117
[2025-01-12 06:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 06: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-01-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:42:03] Production.INFO: count ==21
[2025-01-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 06: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-01-12 06:42:03] Production.INFO: count ==21
[2025-01-12 06:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229834') start
[2025-01-12 06:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:42:04] Production.ERROR: done
[2025-01-12 06:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229834') end
[2025-01-12 06:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:42:04] Production.INFO: 1
[2025-01-12 06:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:42:04] Production.INFO: Total Charge 0
[2025-01-12 06:42:04] Production.INFO: CreateAllLog End
[2025-01-12 06:42:04] Production.INFO: ==11916== Releasing lock...
[2025-01-12 06:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:42:04] Production.ERROR: done
[2025-01-12 06:42:04] Production.INFO: Account Balance End.
[2025-01-12 06:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:42:04] Production.INFO: ==11912== Releasing lock...
[2025-01-12 06:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:42:05
[end_date_ymd] => 2025-01-12 06:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:42:05' and `end` < '2025-01-12 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-01-12 06:42:11] Production.ERROR: CronJobId end10
[2025-01-12 06:42:11] Production.INFO: ==11910== Releasing lock...
[2025-01-12 06:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:42:14] Production.INFO: call_cost start
[2025-01-12 06:42:14] Production.INFO: call_cost end
[2025-01-12 06:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:42:14] Production.INFO: ==11906== Releasing lock...
[2025-01-12 06:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:42:19] Production.INFO: count ==62
[2025-01-12 06:42:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:42:05 - End Time 2025-01-12 06:42:05
[2025-01-12 06:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229835', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229835', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229835', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229835', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:42:19] Production.INFO: ProcessCDR(1,14229835,1,1,2)
[2025-01-12 06:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229835,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229835,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229835', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229835', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:42:22] Production.INFO: ==11914== Releasing lock...
[2025-01-12 06:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:42:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:43:01] Production.INFO: ==11990== Lock acquired, processing the job...
[2025-01-12 11:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:43:01] Production.INFO: neon service started
[2025-01-12 11:43:01] Production.INFO: neon service started
[2025-01-12 11:43:01] Production.INFO: ==11990== Releasing lock...
[2025-01-12 11:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:43:02] Production.INFO: ==11993== Lock acquired, processing the job...
[2025-01-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:43:02] Production.INFO: ==11993== Releasing lock...
[2025-01-12 06:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:43:02] Production.INFO: ==11995== Lock acquired, processing the job...
[2025-01-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:43:02] Production.INFO: ==11995== Releasing lock...
[2025-01-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:43:03] Production.INFO: ==11997== Lock acquired, processing the job...
[2025-01-12 06:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:43:03] Production.INFO: ==12003== Lock acquired, processing the job...
[2025-01-12 06:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:43:03] Production.INFO: ==11999== Lock acquired, processing the job...
[2025-01-12 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:43:03] Production.INFO: ==12001== Lock acquired, processing the job...
[2025-01-12 06:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:43:03] Production.INFO: Account Balance Start.
[2025-01-12 06:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:43:03] Production.INFO: 117
[2025-01-12 06:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:43:03] Production.INFO: ==12005== Lock acquired, processing the job...
[2025-01-12 06:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:43:03] Production.INFO: ==12007== Lock acquired, processing the job...
[2025-01-12 06:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:43:03] Production.INFO: ==11999== Releasing lock...
[2025-01-12 06:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:43:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:43:04] Production.INFO: count ==21
[2025-01-12 06:43:04] Production.INFO: Total Charge 0
[2025-01-12 06:43:04] Production.INFO: CreateAllLog End
[2025-01-12 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229839') start
[2025-01-12 06:43:04] Production.ERROR: done
[2025-01-12 06:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229839') end
[2025-01-12 06:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:43:04] Production.INFO: 1
[2025-01-12 06:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:43:04] Production.INFO: Account Balance End.
[2025-01-12 06:43:04] Production.ERROR: done
[2025-01-12 06:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:43:04] Production.INFO: ==12003== Releasing lock...
[2025-01-12 06:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:43:04] Production.INFO: ==12007== Releasing lock...
[2025-01-12 06:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:43:05
[end_date_ymd] => 2025-01-12 06:43:05
[RateCDR] => 1
)
[2025-01-12 06:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:43:05' and `end` < '2025-01-12 06:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:43:11] Production.ERROR: CronJobId end10
[2025-01-12 06:43:11] Production.INFO: ==12001== Releasing lock...
[2025-01-12 06:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:43:13] Production.INFO: call_cost start
[2025-01-12 06:43:13] Production.INFO: call_cost end
[2025-01-12 06:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:43:14] Production.INFO: ==11997== Releasing lock...
[2025-01-12 06:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:43:19] Production.INFO: count ==62
[2025-01-12 06:43:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:43:05 - End Time 2025-01-12 06:43:05
[2025-01-12 06:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229840', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229840', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229840', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229840', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:43:19] Production.INFO: ProcessCDR(1,14229840,1,1,2)
[2025-01-12 06:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229840,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229840,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229840', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229840', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:43:22] Production.INFO: ==12005== Releasing lock...
[2025-01-12 06:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:43:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:44:02] Production.INFO: ==12112== Lock acquired, processing the job...
[2025-01-12 11:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:44:02] Production.INFO: neon service started
[2025-01-12 11:44:02] Production.INFO: neon service started
[2025-01-12 11:44:02] Production.INFO: ==12112== Releasing lock...
[2025-01-12 11:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:44:02] Production.INFO: ==12117== Lock acquired, processing the job...
[2025-01-12 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:44:02] Production.INFO: ==12117== Releasing lock...
[2025-01-12 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:44:02] Production.INFO: ==12115== Lock acquired, processing the job...
[2025-01-12 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:44:02] Production.INFO: ==12115== Releasing lock...
[2025-01-12 06:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:44:03] Production.INFO: ==12123== Lock acquired, processing the job...
[2025-01-12 06:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:44:03] Production.INFO: ==12121== Lock acquired, processing the job...
[2025-01-12 06:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:44:03] Production.INFO: ==12129== Lock acquired, processing the job...
[2025-01-12 06:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 06:44:04] Production.INFO: ==12121== Releasing lock...
[2025-01-12 06:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:44:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:44:04] Production.INFO: count ==21
[2025-01-12 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229842') start
[2025-01-12 06:44:04] Production.INFO: ==12125== Lock acquired, processing the job...
[2025-01-12 06:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:44:04] Production.INFO: ==12119== Lock acquired, processing the job...
[2025-01-12 06:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:44:04] Production.INFO: ==12127== Lock acquired, processing the job...
[2025-01-12 06:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229842') end
[2025-01-12 06:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:44:04] Production.INFO: 1
[2025-01-12 06:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:44:04] Production.INFO: ==12129== Releasing lock...
[2025-01-12 06:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:44:04] Production.INFO: Account Balance Start.
[2025-01-12 06:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:44:04] Production.INFO: 117
[2025-01-12 06:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:44:04] Production.ERROR: done
[2025-01-12 06:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:44:04] Production.INFO: Total Charge 0
[2025-01-12 06:44:04] Production.INFO: CreateAllLog End
[2025-01-12 06:44:04] Production.ERROR: done
[2025-01-12 06:44:04] Production.INFO: Account Balance End.
[2025-01-12 06:44:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:44:05] Production.INFO: ==12125== Releasing lock...
[2025-01-12 06:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:44:05
[end_date_ymd] => 2025-01-12 06:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:44:05' and `end` < '2025-01-12 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-01-12 06:44:10] Production.ERROR: CronJobId end10
[2025-01-12 06:44:10] Production.INFO: ==12123== Releasing lock...
[2025-01-12 06:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:44:14] Production.INFO: call_cost start
[2025-01-12 06:44:14] Production.INFO: call_cost end
[2025-01-12 06:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:44:15] Production.INFO: ==12119== Releasing lock...
[2025-01-12 06:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:44:19] Production.INFO: count ==62
[2025-01-12 06:44:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:44:05 - End Time 2025-01-12 06:44:05
[2025-01-12 06:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229845', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229845', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229845', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229845', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:44:19] Production.INFO: ProcessCDR(1,14229845,1,1,2)
[2025-01-12 06:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229845', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229845', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:44:22] Production.INFO: ==12127== Releasing lock...
[2025-01-12 06:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:44:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:45:01] Production.INFO: ==12196== Lock acquired, processing the job...
[2025-01-12 11:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:45:01] Production.INFO: neon service started
[2025-01-12 11:45:01] Production.INFO: neon service started
[2025-01-12 11:45:01] Production.INFO: ==12196== Releasing lock...
[2025-01-12 11:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:45:02] Production.INFO: ==12198== Lock acquired, processing the job...
[2025-01-12 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:45:02] Production.INFO: ==12198== Releasing lock...
[2025-01-12 06:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:45:02] Production.INFO: ==12200== Lock acquired, processing the job...
[2025-01-12 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:45:02] Production.INFO: ==12200== Releasing lock...
[2025-01-12 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:45:03] Production.INFO: ==12204== Lock acquired, processing the job...
[2025-01-12 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:45:03] Production.INFO: ==12213== Lock acquired, processing the job...
[2025-01-12 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:45:03] Production.INFO: ==12202== Lock acquired, processing the job...
[2025-01-12 06:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:45:03] Production.INFO: ==12206== Lock acquired, processing the job...
[2025-01-12 06:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 06:45:03] Production.INFO: count ==21
[2025-01-12 06:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 06:45:03] Production.INFO: ==12204== Releasing lock...
[2025-01-12 06:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:45:03] Production.INFO: ==12208== Lock acquired, processing the job...
[2025-01-12 06:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:45:03] Production.INFO: count ==21
[2025-01-12 06:45:03] Production.INFO: ==12210== Lock acquired, processing the job...
[2025-01-12 06:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229847') start
[2025-01-12 06:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:45:03] Production.INFO: Account Balance Start.
[2025-01-12 06:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229847') end
[2025-01-12 06:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:45:03] Production.INFO: 1
[2025-01-12 06:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:45:03] Production.INFO: 117
[2025-01-12 06:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:45:03] Production.INFO: ==12213== Releasing lock...
[2025-01-12 06:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:45:03] Production.INFO: Total Charge 0
[2025-01-12 06:45:03] Production.INFO: CreateAllLog End
[2025-01-12 06:45:04] Production.ERROR: done
[2025-01-12 06:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:45:04] Production.ERROR: done
[2025-01-12 06:45:04] Production.INFO: Account Balance End.
[2025-01-12 06:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:45:04] Production.INFO: ==12208== Releasing lock...
[2025-01-12 06:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:45:05
[end_date_ymd] => 2025-01-12 06:45:05
[RateCDR] => 1
)
[2025-01-12 06:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:45:05' and `end` < '2025-01-12 06:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:45:10] Production.ERROR: CronJobId end10
[2025-01-12 06:45:10] Production.INFO: ==12206== Releasing lock...
[2025-01-12 06:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:45:13] Production.INFO: call_cost start
[2025-01-12 06:45:13] Production.INFO: call_cost end
[2025-01-12 06:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:45:14] Production.INFO: ==12202== Releasing lock...
[2025-01-12 06:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:45:19] Production.INFO: count ==62
[2025-01-12 06:45:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:45:05 - End Time 2025-01-12 06:45:05
[2025-01-12 06:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229850', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229850', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229850', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229850', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:45:19] Production.INFO: ProcessCDR(1,14229850,1,1,2)
[2025-01-12 06:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:45:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229850', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229850', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:45:22] Production.INFO: ==12210== Releasing lock...
[2025-01-12 06:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:45:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:46:02] Production.INFO: ==12291== Lock acquired, processing the job...
[2025-01-12 11:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:46:02] Production.INFO: neon service started
[2025-01-12 11:46:02] Production.INFO: neon service started
[2025-01-12 11:46:02] Production.INFO: ==12291== Releasing lock...
[2025-01-12 11:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:46:02] Production.INFO: ==12295== Lock acquired, processing the job...
[2025-01-12 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:46:02] Production.INFO: ==12295== Releasing lock...
[2025-01-12 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:46:02] Production.INFO: ==12293== Lock acquired, processing the job...
[2025-01-12 06:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:46:03] Production.INFO: ==12293== Releasing lock...
[2025-01-12 06:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:46:03] Production.INFO: ==12298== Lock acquired, processing the job...
[2025-01-12 06:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:46:03] Production.INFO: ==12304== Lock acquired, processing the job...
[2025-01-12 06:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:46:04] Production.INFO: Account Balance Start.
[2025-01-12 06:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:46:04] Production.INFO: 117
[2025-01-12 06:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:46:04] Production.INFO: ==12308== Lock acquired, processing the job...
[2025-01-12 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:46:04] Production.INFO: ==12300== Lock acquired, processing the job...
[2025-01-12 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:46:04] Production.INFO: Total Charge 0
[2025-01-12 06:46:04] Production.INFO: CreateAllLog End
[2025-01-12 06:46:04] Production.INFO: ==12306== Lock acquired, processing the job...
[2025-01-12 06:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:46:04] Production.INFO: ==12302== Lock acquired, processing the job...
[2025-01-12 06:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:46:04] Production.INFO: Account Balance End.
[2025-01-12 06:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:46:04] Production.INFO: ==12304== Releasing lock...
[2025-01-12 06:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 06:46:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:46:04] Production.INFO: count ==21
[2025-01-12 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229853') start
[2025-01-12 06:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229853') end
[2025-01-12 06:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:46:04] Production.INFO: 1
[2025-01-12 06:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:46:04] Production.INFO: ==12308== Releasing lock...
[2025-01-12 06:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:46:04] Production.ERROR: done
[2025-01-12 06:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:46:04] Production.INFO: ==12300== Releasing lock...
[2025-01-12 06:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:46:04] Production.ERROR: done
[2025-01-12 06:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:46:05
[end_date_ymd] => 2025-01-12 06:46:05
[RateCDR] => 1
)
[2025-01-12 06:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:46:05' and `end` < '2025-01-12 06:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:46:11] Production.ERROR: CronJobId end10
[2025-01-12 06:46:11] Production.INFO: ==12302== Releasing lock...
[2025-01-12 06:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:46:13] Production.INFO: call_cost start
[2025-01-12 06:46:13] Production.INFO: call_cost end
[2025-01-12 06:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:46:14] Production.INFO: ==12298== Releasing lock...
[2025-01-12 06:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:46:19] Production.INFO: count ==62
[2025-01-12 06:46:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:46:05 - End Time 2025-01-12 06:46:05
[2025-01-12 06:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229855', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229855', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229855', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229855', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:46:19] Production.INFO: ProcessCDR(1,14229855,1,1,2)
[2025-01-12 06:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229855', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229855', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:46:22] Production.INFO: ==12306== Releasing lock...
[2025-01-12 06:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:46:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:47:01] Production.INFO: ==12374== Lock acquired, processing the job...
[2025-01-12 11:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:47:01] Production.INFO: neon service started
[2025-01-12 11:47:01] Production.INFO: neon service started
[2025-01-12 11:47:01] Production.INFO: ==12374== Releasing lock...
[2025-01-12 11:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:47:01] Production.INFO: ==12378== Lock acquired, processing the job...
[2025-01-12 11:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:47:01] Production.INFO: ==12378== Releasing lock...
[2025-01-12 11:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:47:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:47:02] Production.INFO: ==12376== Lock acquired, processing the job...
[2025-01-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:47:02] Production.INFO: ==12376== Releasing lock...
[2025-01-12 06:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:47:03] Production.INFO: ==12389== Lock acquired, processing the job...
[2025-01-12 06:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:47:03] Production.INFO: ==12393== Lock acquired, processing the job...
[2025-01-12 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:47:03] Production.INFO: Account Balance Start.
[2025-01-12 06:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:47:03] Production.INFO: 117
[2025-01-12 06:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:47:03] Production.INFO: ==12380== Lock acquired, processing the job...
[2025-01-12 06:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 06:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:47:03] Production.INFO: count ==21
[2025-01-12 06:47:03] Production.INFO: ==12382== Lock acquired, processing the job...
[2025-01-12 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 06:47:03] Production.INFO: count ==21
[2025-01-12 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229857') start
[2025-01-12 06:47:03] Production.INFO: ==12385== Lock acquired, processing the job...
[2025-01-12 06:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:47:03] Production.INFO: ==12391== Lock acquired, processing the job...
[2025-01-12 06:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229857') end
[2025-01-12 06:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:47:03] Production.INFO: 1
[2025-01-12 06:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:47:03] Production.INFO: Total Charge 0
[2025-01-12 06:47:03] Production.INFO: CreateAllLog End
[2025-01-12 06:47:03] Production.INFO: ==12393== Releasing lock...
[2025-01-12 06:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:47:03] Production.INFO: ==12382== Releasing lock...
[2025-01-12 06:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:47:03] Production.ERROR: done
[2025-01-12 06:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:47:04] Production.INFO: Account Balance End.
[2025-01-12 06:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:47:04] Production.INFO: ==12389== Releasing lock...
[2025-01-12 06:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:47:04] Production.ERROR: done
[2025-01-12 06:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:47:05
[end_date_ymd] => 2025-01-12 06:47:05
[RateCDR] => 1
)
[2025-01-12 06:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:47:05' and `end` < '2025-01-12 06:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:47:11] Production.ERROR: CronJobId end10
[2025-01-12 06:47:11] Production.INFO: ==12385== Releasing lock...
[2025-01-12 06:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:47:13] Production.INFO: call_cost start
[2025-01-12 06:47:13] Production.INFO: call_cost end
[2025-01-12 06:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:47:14] Production.INFO: ==12380== Releasing lock...
[2025-01-12 06:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:47:18] Production.INFO: count ==62
[2025-01-12 06:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:47:05 - End Time 2025-01-12 06:47:05
[2025-01-12 06:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229860', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229860', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229860', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229860', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:47:18] Production.INFO: ProcessCDR(1,14229860,1,1,2)
[2025-01-12 06:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229860', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229860', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:47:21] Production.INFO: ==12391== Releasing lock...
[2025-01-12 06:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:47:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:48:02] Production.INFO: ==12457== Lock acquired, processing the job...
[2025-01-12 11:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:48:02] Production.INFO: neon service started
[2025-01-12 11:48:02] Production.INFO: neon service started
[2025-01-12 11:48:02] Production.INFO: ==12457== Releasing lock...
[2025-01-12 11:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:48:02] Production.INFO: ==12459== Lock acquired, processing the job...
[2025-01-12 06:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:48:02] Production.INFO: ==12461== Lock acquired, processing the job...
[2025-01-12 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:48:02] Production.INFO: ==12461== Releasing lock...
[2025-01-12 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:48:03] Production.INFO: ==12459== Releasing lock...
[2025-01-12 06:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:48:04] Production.INFO: ==12472== Lock acquired, processing the job...
[2025-01-12 06:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:48:04] Production.INFO: ==12470== Lock acquired, processing the job...
[2025-01-12 06:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:48:04] Production.INFO: ==12464== Lock acquired, processing the job...
[2025-01-12 06:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:48:04] Production.INFO: ==12466== Lock acquired, processing the job...
[2025-01-12 06:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:48:04] Production.INFO: ==12468== Lock acquired, processing the job...
[2025-01-12 06:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:48:04] Production.INFO: Account Balance Start.
[2025-01-12 06:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:48:04] Production.INFO: 117
[2025-01-12 06:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:48:04] Production.INFO: ==12474== Lock acquired, processing the job...
[2025-01-12 06:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:48:04] Production.ERROR: done
[2025-01-12 06:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:48:04] Production.INFO: Total Charge 0
[2025-01-12 06:48:04] Production.INFO: CreateAllLog End
[2025-01-12 06:48:04] Production.ERROR: done
[2025-01-12 06:48:04] Production.INFO: ==12466== Releasing lock...
[2025-01-12 06:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 06:48:04] Production.INFO: count ==21
[2025-01-12 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-01-12 06:48:04] Production.INFO: count ==21
[2025-01-12 06:48:04] Production.INFO: Account Balance End.
[2025-01-12 06:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229865') start
[2025-01-12 06:48:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:48:05] Production.INFO: ==12470== Releasing lock...
[2025-01-12 06:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:48:05] Production.ERROR: PBX CALL prc_importPBXExtension('14229865') end
[2025-01-12 06:48:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:48:05] Production.INFO: 1
[2025-01-12 06:48:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:48:05] Production.INFO: ==12474== Releasing lock...
[2025-01-12 06:48:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:48:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:48:05
[end_date_ymd] => 2025-01-12 06:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:48:05' and `end` < '2025-01-12 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-01-12 06:48:12] Production.ERROR: CronJobId end10
[2025-01-12 06:48:12] Production.INFO: ==12468== Releasing lock...
[2025-01-12 06:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:48:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:48:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:48:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:48:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:48:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:48:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:48:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:48:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:48:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:48:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:48:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:48:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:48:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:48:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:48:14] Production.INFO: call_cost start
[2025-01-12 06:48:14] Production.INFO: call_cost end
[2025-01-12 06:48:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:48:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:48:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:48:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:48:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:48:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:48:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:48:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:48:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:48:15] Production.INFO: ==12464== Releasing lock...
[2025-01-12 06:48:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:48:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:48:19] Production.INFO: count ==62
[2025-01-12 06:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:48:05 - End Time 2025-01-12 06:48:05
[2025-01-12 06:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229864', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229864', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229864', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229864', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:48:19] Production.INFO: ProcessCDR(1,14229864,1,1,2)
[2025-01-12 06:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229864', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229864', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:48:22] Production.INFO: ==12472== Releasing lock...
[2025-01-12 06:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:48:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:49:01] Production.INFO: ==12543== Lock acquired, processing the job...
[2025-01-12 11:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:49:01] Production.INFO: neon service started
[2025-01-12 11:49:01] Production.INFO: neon service started
[2025-01-12 11:49:01] Production.INFO: ==12543== Releasing lock...
[2025-01-12 11:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:49:02] Production.INFO: ==12545== Lock acquired, processing the job...
[2025-01-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:49:02] Production.INFO: ==12545== Releasing lock...
[2025-01-12 06:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:49:02] Production.INFO: ==12547== Lock acquired, processing the job...
[2025-01-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:49:02] Production.INFO: ==12547== Releasing lock...
[2025-01-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:49:03] Production.INFO: ==12554== Lock acquired, processing the job...
[2025-01-12 06:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:49:03] Production.INFO: ==12559== Lock acquired, processing the job...
[2025-01-12 06:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:49:03] Production.INFO: ==12550== Lock acquired, processing the job...
[2025-01-12 06:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:49:03] Production.INFO: ==12552== Lock acquired, processing the job...
[2025-01-12 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:49:03] Production.INFO: ==12556== Lock acquired, processing the job...
[2025-01-12 06:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:49:03] Production.INFO: ==12561== Lock acquired, processing the job...
[2025-01-12 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:49:03] Production.ERROR: done
[2025-01-12 06:49:03] Production.INFO: Account Balance Start.
[2025-01-12 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-01-12 06:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:49:03] Production.INFO: 117
[2025-01-12 06:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:49:03] Production.INFO: count ==21
[2025-01-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:49:03] Production.INFO: count ==21
[2025-01-12 06:49:03] Production.ERROR: done
[2025-01-12 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229869') start
[2025-01-12 06:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:49:03] Production.INFO: ==12552== Releasing lock...
[2025-01-12 06:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229869') end
[2025-01-12 06:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:49:03] Production.INFO: 1
[2025-01-12 06:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:49:03] Production.INFO: ==12561== Releasing lock...
[2025-01-12 06:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:49:03] Production.INFO: Total Charge 0
[2025-01-12 06:49:04] Production.INFO: CreateAllLog End
[2025-01-12 06:49:04] Production.INFO: Account Balance End.
[2025-01-12 06:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:49:04] Production.INFO: ==12556== Releasing lock...
[2025-01-12 06:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:49:04
[end_date_ymd] => 2025-01-12 06:49:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:49:04' and `end` < '2025-01-12 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-01-12 06:49:10] Production.ERROR: CronJobId end10
[2025-01-12 06:49:10] Production.INFO: ==12554== Releasing lock...
[2025-01-12 06:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:49:13] Production.INFO: call_cost start
[2025-01-12 06:49:13] Production.INFO: call_cost end
[2025-01-12 06:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:49:13] Production.INFO: ==12550== Releasing lock...
[2025-01-12 06:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:49:17] Production.INFO: count ==62
[2025-01-12 06:49:17] Production.ERROR: pbx CDR StartTime 2025-01-12 03:49:04 - End Time 2025-01-12 06:49:04
[2025-01-12 06:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229870', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229870', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229870', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229870', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:49:17] Production.INFO: ProcessCDR(1,14229870,1,1,2)
[2025-01-12 06:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:49:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:49:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:49:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229870', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:49:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229870', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:49:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:49:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:49:20] Production.INFO: ==12559== Releasing lock...
[2025-01-12 06:49:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:49:20] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:50:02] Production.INFO: ==12630== Lock acquired, processing the job...
[2025-01-12 11:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:50:02] Production.INFO: neon service started
[2025-01-12 11:50:02] Production.INFO: neon service started
[2025-01-12 11:50:02] Production.INFO: ==12630== Releasing lock...
[2025-01-12 11:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:50:02] Production.INFO: ==12634== Lock acquired, processing the job...
[2025-01-12 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:50:02] Production.INFO: ==12634== Releasing lock...
[2025-01-12 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:50:02] Production.INFO: ==12632== Lock acquired, processing the job...
[2025-01-12 06:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:50:03] Production.INFO: ==12632== Releasing lock...
[2025-01-12 06:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:50:03] Production.INFO: ==12636== Lock acquired, processing the job...
[2025-01-12 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 06:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 06:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 06:50:03] Production.INFO: ==12636== Releasing lock...
[2025-01-12 06:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 06:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 06:50:03] Production.INFO: ==12640== Lock acquired, processing the job...
[2025-01-12 06:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:50:03] Production.INFO: ==12643== Lock acquired, processing the job...
[2025-01-12 06:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:50:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:50:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:50:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:50:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:50:04] Production.INFO: ==12638== Lock acquired, processing the job...
[2025-01-12 06:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:50:04] Production.INFO: ==12640== Releasing lock...
[2025-01-12 06:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:50:04] Production.INFO: ==12651== Lock acquired, processing the job...
[2025-01-12 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:50:04] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-01-12 06:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:50:04] Production.INFO: ==12647== Lock acquired, processing the job...
[2025-01-12 06:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:50:04] Production.INFO: count ==21
[2025-01-12 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:50:04] Production.INFO: ==12649== Lock acquired, processing the job...
[2025-01-12 06:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 06:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 06:50:04] Production.INFO: count ==21
[2025-01-12 06:50:04] Production.INFO: Account Balance Start.
[2025-01-12 06:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:50:04] Production.INFO: 117
[2025-01-12 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229873') start
[2025-01-12 06:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:50:04] Production.ERROR: done
[2025-01-12 06:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229873') end
[2025-01-12 06:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:50:04] Production.INFO: 1
[2025-01-12 06:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:50:04] Production.ERROR: done
[2025-01-12 06:50:04] Production.ERROR: done
[2025-01-12 06:50:04] Production.INFO: ==12651== Releasing lock...
[2025-01-12 06:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:50:04] Production.INFO: Total Charge 0
[2025-01-12 06:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 06:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229876', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 06:50:04] Production.INFO: CreateAllLog End
[2025-01-12 06:50:05] Production.INFO: Account Balance End.
[2025-01-12 06:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 06:50:05] Production.INFO: ==12645== Releasing lock...
[2025-01-12 06:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:50:05
[end_date_ymd] => 2025-01-12 06:50:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:50:05' and `end` < '2025-01-12 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-01-12 06:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229876', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 06:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 06:50:09] Production.INFO: ProcessCDR(1,14229876,1,1,2)
[2025-01-12 06:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229876,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229876,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:50:09] Production.INFO: ==12649== Releasing lock...
[2025-01-12 06:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 06:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 06:50:13] Production.ERROR: CronJobId end10
[2025-01-12 06:50:13] Production.INFO: ==12643== Releasing lock...
[2025-01-12 06:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:50:14] Production.INFO: call_cost start
[2025-01-12 06:50:14] Production.INFO: call_cost end
[2025-01-12 06:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:50:15] Production.INFO: ==12638== Releasing lock...
[2025-01-12 06:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:50:18] Production.INFO: count ==60
[2025-01-12 06:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:50:05 - End Time 2025-01-12 06:50:05
[2025-01-12 06:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229875', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229875', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229875', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229875', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:50:18] Production.INFO: ProcessCDR(1,14229875,1,1,2)
[2025-01-12 06:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229875', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229875', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:50:21] Production.INFO: ==12647== Releasing lock...
[2025-01-12 06:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:50:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:51:01] Production.INFO: ==12718== Lock acquired, processing the job...
[2025-01-12 11:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:51:01] Production.INFO: neon service started
[2025-01-12 11:51:01] Production.INFO: neon service started
[2025-01-12 11:51:01] Production.INFO: ==12718== Releasing lock...
[2025-01-12 11:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:51:02] Production.INFO: ==12722== Lock acquired, processing the job...
[2025-01-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:51:02] Production.INFO: ==12720== Lock acquired, processing the job...
[2025-01-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:51:02] Production.INFO: ==12722== Releasing lock...
[2025-01-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:51:02] Production.INFO: ==12720== Releasing lock...
[2025-01-12 06:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:51:03] Production.INFO: ==12731== Lock acquired, processing the job...
[2025-01-12 06:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:51:03] Production.INFO: ==12735== Lock acquired, processing the job...
[2025-01-12 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:51:03] Production.INFO: ==12725== Lock acquired, processing the job...
[2025-01-12 06:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:51:03] Production.INFO: Account Balance Start.
[2025-01-12 06:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:51:03] Production.INFO: 117
[2025-01-12 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-01-12 06:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:51:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:51:03] Production.INFO: count ==21
[2025-01-12 06:51:03] Production.INFO: ==12729== Lock acquired, processing the job...
[2025-01-12 06:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:51:03] Production.INFO: ==12727== Lock acquired, processing the job...
[2025-01-12 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229878') start
[2025-01-12 06:51:03] Production.INFO: ==12733== Lock acquired, processing the job...
[2025-01-12 06:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229878') end
[2025-01-12 06:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:51:03] Production.INFO: 1
[2025-01-12 06:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:51:03] Production.INFO: ==12735== Releasing lock...
[2025-01-12 06:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:51:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:51:03] Production.INFO: Total Charge 0
[2025-01-12 06:51:03] Production.INFO: CreateAllLog End
[2025-01-12 06:51:03] Production.INFO: ==12727== Releasing lock...
[2025-01-12 06:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:51:03] Production.INFO: Account Balance End.
[2025-01-12 06:51:03] Production.ERROR: done
[2025-01-12 06:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:51:04] Production.INFO: ==12731== Releasing lock...
[2025-01-12 06:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:51:04] Production.ERROR: done
[2025-01-12 06:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:51:05
[end_date_ymd] => 2025-01-12 06:51:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:51:05' and `end` < '2025-01-12 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-01-12 06:51:09] 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-01-12 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-01-12 06:51:09] Production.ERROR: CronJobId end10
[2025-01-12 06:51:09] Production.INFO: ==12729== Releasing lock...
[2025-01-12 06:51:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:51:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:51:12] Production.INFO: call_cost start
[2025-01-12 06:51:12] Production.INFO: call_cost end
[2025-01-12 06:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:51:13] Production.INFO: ==12725== Releasing lock...
[2025-01-12 06:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:51:19] Production.INFO: count ==60
[2025-01-12 06:51:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:51:05 - End Time 2025-01-12 06:51:05
[2025-01-12 06:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229881', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229881', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229881', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229881', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:51:19] Production.INFO: ProcessCDR(1,14229881,1,1,2)
[2025-01-12 06:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229881,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229881,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229881', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229881', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:51:22] Production.INFO: ==12733== Releasing lock...
[2025-01-12 06:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:51:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:52:01] Production.INFO: ==12803== Lock acquired, processing the job...
[2025-01-12 11:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:52:01] Production.INFO: neon service started
[2025-01-12 11:52:01] Production.INFO: neon service started
[2025-01-12 11:52:01] Production.INFO: ==12803== Releasing lock...
[2025-01-12 11:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:52:02] Production.INFO: ==12810== Lock acquired, processing the job...
[2025-01-12 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:52:02] Production.INFO: ==12810== Releasing lock...
[2025-01-12 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:52:02] Production.INFO: ==12808== Lock acquired, processing the job...
[2025-01-12 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:52:02] Production.INFO: ==12808== Releasing lock...
[2025-01-12 06:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:52:03] Production.INFO: ==12822== Lock acquired, processing the job...
[2025-01-12 06:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:52:03] Production.INFO: ==12820== Lock acquired, processing the job...
[2025-01-12 06:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:52:03] Production.INFO: ==12812== Lock acquired, processing the job...
[2025-01-12 06:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 06:52:03] Production.INFO: ==12814== Lock acquired, processing the job...
[2025-01-12 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:52:03] Production.INFO: ==12816== Lock acquired, processing the job...
[2025-01-12 06:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:52:03] Production.INFO: count ==21
[2025-01-12 06:52:03] Production.INFO: ==12818== Lock acquired, processing the job...
[2025-01-12 06:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 06:52:03] Production.INFO: count ==21
[2025-01-12 06:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229882') start
[2025-01-12 06:52:03] Production.INFO: Account Balance Start.
[2025-01-12 06:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:52:03] Production.INFO: 117
[2025-01-12 06:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:52:03] Production.INFO: ==12814== Releasing lock...
[2025-01-12 06:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:52:04] Production.ERROR: done
[2025-01-12 06:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229882') end
[2025-01-12 06:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:52:04] Production.INFO: 1
[2025-01-12 06:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:52:04] Production.INFO: ==12822== Releasing lock...
[2025-01-12 06:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:52:04] Production.ERROR: done
[2025-01-12 06:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:52:04] Production.INFO: Total Charge 0
[2025-01-12 06:52:04] Production.INFO: CreateAllLog End
[2025-01-12 06:52:04] Production.INFO: Account Balance End.
[2025-01-12 06:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:52:04] Production.INFO: ==12818== Releasing lock...
[2025-01-12 06:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:52:05
[end_date_ymd] => 2025-01-12 06:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:52:05' and `end` < '2025-01-12 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-01-12 06:52:10] Production.ERROR: CronJobId end10
[2025-01-12 06:52:10] Production.INFO: ==12816== Releasing lock...
[2025-01-12 06:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:52:12] Production.INFO: call_cost start
[2025-01-12 06:52:12] Production.INFO: call_cost end
[2025-01-12 06:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:52:13] Production.INFO: ==12812== Releasing lock...
[2025-01-12 06:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:52:18] Production.INFO: count ==60
[2025-01-12 06:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:52:05 - End Time 2025-01-12 06:52:05
[2025-01-12 06:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229886', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229886', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229886', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229886', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:52:18] Production.INFO: ProcessCDR(1,14229886,1,1,2)
[2025-01-12 06:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229886,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229886,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229886', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229886', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:52:21] Production.INFO: ==12820== Releasing lock...
[2025-01-12 06:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:52:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:53:02] Production.INFO: ==12893== Lock acquired, processing the job...
[2025-01-12 11:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:53:02] Production.INFO: neon service started
[2025-01-12 11:53:02] Production.INFO: neon service started
[2025-01-12 11:53:02] Production.INFO: ==12893== Releasing lock...
[2025-01-12 11:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:53:02] Production.INFO: ==12895== Lock acquired, processing the job...
[2025-01-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:53:02] Production.INFO: ==12895== Releasing lock...
[2025-01-12 06:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:53:02] Production.INFO: ==12897== Lock acquired, processing the job...
[2025-01-12 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:53:02] Production.INFO: ==12897== Releasing lock...
[2025-01-12 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:53:03] Production.INFO: ==12900== Lock acquired, processing the job...
[2025-01-12 06:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:53:03] Production.INFO: ==12902== Lock acquired, processing the job...
[2025-01-12 06:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:53:03] Production.INFO: ==12910== Lock acquired, processing the job...
[2025-01-12 06:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:53:03] Production.INFO: ==12904== Lock acquired, processing the job...
[2025-01-12 06:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06: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-01-12 06:53:03] Production.INFO: ==12906== Lock acquired, processing the job...
[2025-01-12 06:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:53:03] Production.INFO: count ==21
[2025-01-12 06: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-01-12 06:53:03] Production.INFO: count ==21
[2025-01-12 06:53:03] Production.INFO: ==12908== Lock acquired, processing the job...
[2025-01-12 06:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229888') start
[2025-01-12 06:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229888') end
[2025-01-12 06:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:53:04] Production.INFO: 1
[2025-01-12 06:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:53:04] Production.INFO: Account Balance Start.
[2025-01-12 06:53:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:53:04] Production.INFO: 117
[2025-01-12 06:53:04] Production.INFO: ==12910== Releasing lock...
[2025-01-12 06:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:53:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:53:04] Production.INFO: ==12902== Releasing lock...
[2025-01-12 06:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:53:04] Production.ERROR: done
[2025-01-12 06:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:53:04] Production.INFO: Total Charge 0
[2025-01-12 06:53:04] Production.INFO: CreateAllLog End
[2025-01-12 06:53:04] Production.ERROR: done
[2025-01-12 06:53:04] Production.INFO: Account Balance End.
[2025-01-12 06:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:53:04] Production.INFO: ==12906== Releasing lock...
[2025-01-12 06:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:53:05
[end_date_ymd] => 2025-01-12 06:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:53:05' and `end` < '2025-01-12 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-01-12 06:53:12] Production.ERROR: CronJobId end10
[2025-01-12 06:53:12] Production.INFO: ==12904== Releasing lock...
[2025-01-12 06:53:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:53:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:53:13] Production.INFO: call_cost start
[2025-01-12 06:53:13] Production.INFO: call_cost end
[2025-01-12 06:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:53:14] Production.INFO: ==12900== Releasing lock...
[2025-01-12 06:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:53:19] Production.INFO: count ==60
[2025-01-12 06:53:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:53:05 - End Time 2025-01-12 06:53:05
[2025-01-12 06:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229891', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229891', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229891', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229891', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:53:19] Production.INFO: ProcessCDR(1,14229891,1,1,2)
[2025-01-12 06:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229891,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229891,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229891', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229891', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:53:22] Production.INFO: ==12908== Releasing lock...
[2025-01-12 06:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:53:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:54:01] Production.INFO: ==12977== Lock acquired, processing the job...
[2025-01-12 11:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:54:01] Production.INFO: neon service started
[2025-01-12 11:54:01] Production.INFO: neon service started
[2025-01-12 11:54:01] Production.INFO: ==12977== Releasing lock...
[2025-01-12 11:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:54:02] Production.INFO: ==12979== Lock acquired, processing the job...
[2025-01-12 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:54:02] Production.INFO: ==12979== Releasing lock...
[2025-01-12 06:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:54:02] Production.INFO: ==12981== Lock acquired, processing the job...
[2025-01-12 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:54:02] Production.INFO: ==12981== Releasing lock...
[2025-01-12 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:54:03] Production.INFO: ==12988== Lock acquired, processing the job...
[2025-01-12 06:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:54:03] Production.INFO: ==12992== Lock acquired, processing the job...
[2025-01-12 06:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:54:03] Production.INFO: ==12984== Lock acquired, processing the job...
[2025-01-12 06:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:54:03] Production.INFO: ==12986== Lock acquired, processing the job...
[2025-01-12 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:54:03] Production.INFO: ==12990== Lock acquired, processing the job...
[2025-01-12 06:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:54:03] Production.INFO: ==12994== Lock acquired, processing the job...
[2025-01-12 06:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:54:03] Production.INFO: Account Balance Start.
[2025-01-12 06:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:54:03] Production.INFO: 117
[2025-01-12 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-01-12 06:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:54:03] Production.INFO: count ==21
[2025-01-12 06:54:03] Production.ERROR: done
[2025-01-12 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-01-12 06:54:03] Production.INFO: count ==21
[2025-01-12 06:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229895') start
[2025-01-12 06:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:54:03] Production.INFO: ==12986== Releasing lock...
[2025-01-12 06:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229895') end
[2025-01-12 06:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:54:04] Production.INFO: 1
[2025-01-12 06:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:54:04] Production.ERROR: done
[2025-01-12 06:54:04] Production.INFO: Total Charge 0
[2025-01-12 06:54:04] Production.INFO: ==12994== Releasing lock...
[2025-01-12 06:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:54:04] Production.INFO: CreateAllLog End
[2025-01-12 06:54:04] Production.INFO: Account Balance End.
[2025-01-12 06:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:54:04] Production.INFO: ==12990== Releasing lock...
[2025-01-12 06:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:54:05
[end_date_ymd] => 2025-01-12 06:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:54:05' and `end` < '2025-01-12 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-01-12 06:54:11] Production.ERROR: CronJobId end10
[2025-01-12 06:54:11] Production.INFO: ==12988== Releasing lock...
[2025-01-12 06:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:54:13] Production.INFO: call_cost start
[2025-01-12 06:54:13] Production.INFO: call_cost end
[2025-01-12 06:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:54:13] Production.INFO: ==12984== Releasing lock...
[2025-01-12 06:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:54:19] Production.INFO: count ==60
[2025-01-12 06:54:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:54:05 - End Time 2025-01-12 06:54:05
[2025-01-12 06:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229896', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229896', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229896', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229896', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:54:19] Production.INFO: ProcessCDR(1,14229896,1,1,2)
[2025-01-12 06:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229896', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229896', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:54:22] Production.INFO: ==12992== Releasing lock...
[2025-01-12 06:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:54:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:55:02] Production.INFO: ==13063== Lock acquired, processing the job...
[2025-01-12 11:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:55:02] Production.INFO: neon service started
[2025-01-12 11:55:02] Production.INFO: neon service started
[2025-01-12 11:55:02] Production.INFO: ==13063== Releasing lock...
[2025-01-12 11:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:55:02] Production.INFO: ==13065== Lock acquired, processing the job...
[2025-01-12 06:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:55:02] Production.INFO: ==13067== Lock acquired, processing the job...
[2025-01-12 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:55:02] Production.INFO: ==13067== Releasing lock...
[2025-01-12 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:55:03] Production.INFO: ==13065== Releasing lock...
[2025-01-12 06:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:55:03] Production.INFO: ==13070== Lock acquired, processing the job...
[2025-01-12 06:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:55:03] Production.INFO: ==13078== Lock acquired, processing the job...
[2025-01-12 06:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:55:03] Production.INFO: ==13072== Lock acquired, processing the job...
[2025-01-12 06:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:55:04] Production.INFO: ==13080== Lock acquired, processing the job...
[2025-01-12 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:55:04] Production.INFO: ==13074== Lock acquired, processing the job...
[2025-01-12 06:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:55:04] Production.INFO: ==13076== Lock acquired, processing the job...
[2025-01-12 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 06:55:04] Production.INFO: count ==21
[2025-01-12 06:55:04] Production.ERROR: done
[2025-01-12 06:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 06:55:04] Production.INFO: ==13072== Releasing lock...
[2025-01-12 06:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:55:04] Production.INFO: count ==21
[2025-01-12 06:55:04] Production.INFO: Account Balance Start.
[2025-01-12 06:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229899') start
[2025-01-12 06:55:04] Production.INFO: 117
[2025-01-12 06:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:55:04] Production.ERROR: done
[2025-01-12 06:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229899') end
[2025-01-12 06:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:55:04] Production.INFO: 1
[2025-01-12 06:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:55:04] Production.INFO: ==13080== Releasing lock...
[2025-01-12 06:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:55:04] Production.INFO: Total Charge 0
[2025-01-12 06:55:04] Production.INFO: CreateAllLog End
[2025-01-12 06:55:04] Production.INFO: Account Balance End.
[2025-01-12 06:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:55:04] Production.INFO: ==13076== Releasing lock...
[2025-01-12 06:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:55:05
[end_date_ymd] => 2025-01-12 06:55:05
[RateCDR] => 1
)
[2025-01-12 06:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:55:05' and `end` < '2025-01-12 06:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:55:10] Production.ERROR: CronJobId end10
[2025-01-12 06:55:10] Production.INFO: ==13074== Releasing lock...
[2025-01-12 06:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:55:13] Production.INFO: call_cost start
[2025-01-12 06:55:13] Production.INFO: call_cost end
[2025-01-12 06:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:55:14] Production.INFO: ==13070== Releasing lock...
[2025-01-12 06:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:55:19] Production.INFO: count ==60
[2025-01-12 06:55:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:55:05 - End Time 2025-01-12 06:55:05
[2025-01-12 06:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229901', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229901', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229901', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229901', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:55:19] Production.INFO: ProcessCDR(1,14229901,1,1,2)
[2025-01-12 06:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229901', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229901', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:55:22] Production.INFO: ==13078== Releasing lock...
[2025-01-12 06:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:55:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:56:01] Production.INFO: ==13151== Lock acquired, processing the job...
[2025-01-12 11:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:56:01] Production.INFO: neon service started
[2025-01-12 11:56:01] Production.INFO: neon service started
[2025-01-12 11:56:01] Production.INFO: ==13151== Releasing lock...
[2025-01-12 11:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:56:01] Production.INFO: ==13153== Lock acquired, processing the job...
[2025-01-12 06:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:56:02] Production.INFO: ==13153== Releasing lock...
[2025-01-12 06:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:56:02] Production.INFO: ==13155== Lock acquired, processing the job...
[2025-01-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:56:02] Production.INFO: ==13155== Releasing lock...
[2025-01-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:56:02] Production.INFO: ==13157== Lock acquired, processing the job...
[2025-01-12 06:56:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:56:03] Production.INFO: ==13159== Lock acquired, processing the job...
[2025-01-12 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:56:03] Production.INFO: ==13163== Lock acquired, processing the job...
[2025-01-12 06:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:56:03] Production.INFO: Account Balance Start.
[2025-01-12 06:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:56:03] Production.INFO: 117
[2025-01-12 06:56:03] Production.INFO: ==13161== Lock acquired, processing the job...
[2025-01-12 06:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:56:03] Production.INFO: ==13167== Lock acquired, processing the job...
[2025-01-12 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:56:03] Production.INFO: ==13165== Lock acquired, processing the job...
[2025-01-12 06:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:56:03] Production.INFO: ==13159== Releasing lock...
[2025-01-12 06:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:56:03] Production.INFO: count ==21
[2025-01-12 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-01-12 06:56:03] Production.INFO: count ==21
[2025-01-12 06:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229905') start
[2025-01-12 06:56:03] Production.INFO: Total Charge 0
[2025-01-12 06:56:03] Production.INFO: CreateAllLog End
[2025-01-12 06:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229905') end
[2025-01-12 06:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:56:03] Production.INFO: 1
[2025-01-12 06:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:56:03] Production.INFO: ==13167== Releasing lock...
[2025-01-12 06:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:56:03] Production.ERROR: done
[2025-01-12 06:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:56:03] Production.INFO: Account Balance End.
[2025-01-12 06:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:56:04] Production.INFO: ==13163== Releasing lock...
[2025-01-12 06:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:56:04] Production.ERROR: done
[2025-01-12 06:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:56:05
[end_date_ymd] => 2025-01-12 06:56:05
[RateCDR] => 1
)
[2025-01-12 06: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-01-12 03:56:05' and `end` < '2025-01-12 06: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-01-12 06:56:11] Production.ERROR: CronJobId end10
[2025-01-12 06:56:11] Production.INFO: ==13161== Releasing lock...
[2025-01-12 06:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:56:12] Production.INFO: call_cost start
[2025-01-12 06:56:12] Production.INFO: call_cost end
[2025-01-12 06:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:56:13] Production.INFO: ==13157== Releasing lock...
[2025-01-12 06:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:56:19] Production.INFO: count ==60
[2025-01-12 06:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:56:05 - End Time 2025-01-12 06:56:05
[2025-01-12 06:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229906', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229906', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229906', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229906', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:56:19] Production.INFO: ProcessCDR(1,14229906,1,1,2)
[2025-01-12 06:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229906', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229906', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:56:22] Production.INFO: ==13165== Releasing lock...
[2025-01-12 06:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:56:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:57:01] Production.INFO: ==13236== Lock acquired, processing the job...
[2025-01-12 11:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:57:02] Production.INFO: neon service started
[2025-01-12 11:57:02] Production.INFO: neon service started
[2025-01-12 11:57:02] Production.INFO: ==13236== Releasing lock...
[2025-01-12 11:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:57:02] Production.INFO: ==13238== Lock acquired, processing the job...
[2025-01-12 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:57:02] Production.INFO: ==13240== Lock acquired, processing the job...
[2025-01-12 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 06:57:02] Production.INFO: ==13238== Releasing lock...
[2025-01-12 06:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:57:02] Production.INFO: ==13240== Releasing lock...
[2025-01-12 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:57:03] Production.INFO: ==13251== Lock acquired, processing the job...
[2025-01-12 06:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:57:03] Production.INFO: ==13253== Lock acquired, processing the job...
[2025-01-12 06:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:57:03] Production.INFO: ==13243== Lock acquired, processing the job...
[2025-01-12 06:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:57:03] Production.INFO: ==13245== Lock acquired, processing the job...
[2025-01-12 06:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 06:57:03] Production.INFO: ==13247== Lock acquired, processing the job...
[2025-01-12 06:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:57:03] Production.INFO: ==13249== Lock acquired, processing the job...
[2025-01-12 06:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:57:03] Production.INFO: count ==21
[2025-01-12 06:57:03] Production.ERROR: done
[2025-01-12 06:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 06:57:03] Production.INFO: count ==21
[2025-01-12 06:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229907') start
[2025-01-12 06:57:03] Production.INFO: Account Balance Start.
[2025-01-12 06:57:03] Production.ERROR: done
[2025-01-12 06:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:57:03] Production.INFO: 117
[2025-01-12 06:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229907') end
[2025-01-12 06:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:57:04] Production.INFO: 1
[2025-01-12 06:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:57:04] Production.INFO: ==13245== Releasing lock...
[2025-01-12 06:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:57:04] Production.INFO: ==13253== Releasing lock...
[2025-01-12 06:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:57:04] Production.INFO: Total Charge 0
[2025-01-12 06:57:04] Production.INFO: CreateAllLog End
[2025-01-12 06:57:04] Production.INFO: Account Balance End.
[2025-01-12 06:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:57:04] Production.INFO: ==13249== Releasing lock...
[2025-01-12 06:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:57:04
[end_date_ymd] => 2025-01-12 06:57:04
[RateCDR] => 1
)
[2025-01-12 06:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 03:57:04' and `end` < '2025-01-12 06:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 06:57:11] Production.ERROR: CronJobId end10
[2025-01-12 06:57:11] Production.INFO: ==13247== Releasing lock...
[2025-01-12 06:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:57:13] Production.INFO: call_cost start
[2025-01-12 06:57:13] Production.INFO: call_cost end
[2025-01-12 06:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:57:14] Production.INFO: ==13243== Releasing lock...
[2025-01-12 06:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:57:18] Production.INFO: count ==60
[2025-01-12 06:57:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:57:04 - End Time 2025-01-12 06:57:04
[2025-01-12 06:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229911', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229911', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229911', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229911', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:57:18] Production.INFO: ProcessCDR(1,14229911,1,1,2)
[2025-01-12 06:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229911', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229911', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:57:21] Production.INFO: ==13251== Releasing lock...
[2025-01-12 06:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:57:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:58:01] Production.INFO: ==13323== Lock acquired, processing the job...
[2025-01-12 11:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:58:01] Production.INFO: neon service started
[2025-01-12 11:58:01] Production.INFO: neon service started
[2025-01-12 11:58:01] Production.INFO: ==13323== Releasing lock...
[2025-01-12 11:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:58:01] Production.INFO: ==13325== Lock acquired, processing the job...
[2025-01-12 06:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 06:58:02] Production.INFO: ==13325== Releasing lock...
[2025-01-12 06:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:58:02] Production.INFO: ==13327== Lock acquired, processing the job...
[2025-01-12 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:58:02] Production.INFO: ==13327== Releasing lock...
[2025-01-12 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:58:02] Production.INFO: ==13329== Lock acquired, processing the job...
[2025-01-12 06:58:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:58:03] Production.INFO: ==13340== Lock acquired, processing the job...
[2025-01-12 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:58:03] Production.INFO: ==13331== Lock acquired, processing the job...
[2025-01-12 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:58:03] Production.INFO: ==13338== Lock acquired, processing the job...
[2025-01-12 06:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:58:03] Production.INFO: ==13333== Lock acquired, processing the job...
[2025-01-12 06:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 06:58:03] Production.INFO: count ==21
[2025-01-12 06:58:03] Production.INFO: ==13336== Lock acquired, processing the job...
[2025-01-12 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 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-01-12 06:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:58:03] Production.INFO: count ==21
[2025-01-12 06:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229913') start
[2025-01-12 06:58:03] Production.INFO: Account Balance Start.
[2025-01-12 06:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:58:03] Production.INFO: 117
[2025-01-12 06:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229913') end
[2025-01-12 06:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:58:03] Production.INFO: 1
[2025-01-12 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 06:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:58:03] Production.INFO: ==13340== Releasing lock...
[2025-01-12 06:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:58:03] Production.ERROR: done
[2025-01-12 06:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:58:03] Production.INFO: Total Charge 0
[2025-01-12 06:58:03] Production.INFO: CreateAllLog End
[2025-01-12 06:58:03] Production.INFO: ==13331== Releasing lock...
[2025-01-12 06:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:58:03] Production.ERROR: done
[2025-01-12 06:58:03] Production.INFO: Account Balance End.
[2025-01-12 06:58:03] Production.ERROR: CronJobId end 12
[2025-01-12 06:58:03] Production.INFO: ==13336== Releasing lock...
[2025-01-12 06:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:58:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:58:04
[end_date_ymd] => 2025-01-12 06:58:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:58:04' and `end` < '2025-01-12 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-01-12 06:58:09] Production.ERROR: CronJobId end10
[2025-01-12 06:58:09] Production.INFO: ==13333== Releasing lock...
[2025-01-12 06:58:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:58:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:58:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:58:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:58:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:58:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:58:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:58:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:58:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:58:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:58:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:58:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:58:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:58:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:58:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:58:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:58:12] Production.INFO: call_cost start
[2025-01-12 06:58:12] Production.INFO: call_cost end
[2025-01-12 06:58:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:58:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:58:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:58:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:58:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:58:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:58:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:58:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:58:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:58:12] Production.INFO: ==13329== Releasing lock...
[2025-01-12 06:58:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:58:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:58:18] Production.INFO: count ==60
[2025-01-12 06:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 03:58:04 - End Time 2025-01-12 06:58:04
[2025-01-12 06:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229916', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229916', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229916', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229916', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:58:18] Production.INFO: ProcessCDR(1,14229916,1,1,2)
[2025-01-12 06:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229916', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229916', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:58:21] Production.INFO: ==13338== Releasing lock...
[2025-01-12 06:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:58:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 11:59:01] Production.INFO: ==13444== Lock acquired, processing the job...
[2025-01-12 11:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 11:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 11:59:01] Production.INFO: neon service started
[2025-01-12 11:59:01] Production.INFO: neon service started
[2025-01-12 11:59:01] Production.INFO: ==13444== Releasing lock...
[2025-01-12 11:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 11:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 06:59:02] Production.INFO: ==13446== Lock acquired, processing the job...
[2025-01-12 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:59:02] Production.INFO: ==13448== Lock acquired, processing the job...
[2025-01-12 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:59:02] Production.INFO: ==13448== Releasing lock...
[2025-01-12 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 11:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 06:59:02] Production.INFO: ==13446== Releasing lock...
[2025-01-12 06:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 06:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 06:59:03] Production.INFO: ==13451== Lock acquired, processing the job...
[2025-01-12 06:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 06:59:03] Production.INFO: ==13457== Lock acquired, processing the job...
[2025-01-12 06:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 06:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 06:59:03] Production.INFO: ==13453== Lock acquired, processing the job...
[2025-01-12 06:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 06:59:03] Production.INFO: ==13455== Lock acquired, processing the job...
[2025-01-12 06:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 06:59:03] Production.INFO: ==13459== Lock acquired, processing the job...
[2025-01-12 06:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 06:59:03] Production.INFO: Account Balance Start.
[2025-01-12 06:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 06:59:03] Production.INFO: 117
[2025-01-12 06:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 06:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 06:59:03] Production.INFO: ==13461== Lock acquired, processing the job...
[2025-01-12 06:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 06:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 06:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 06:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 06:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 06:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 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-01-12 06:59:03] Production.INFO: count ==21
[2025-01-12 06:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 06:59:04] Production.INFO: count ==21
[2025-01-12 06:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 06:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229920') start
[2025-01-12 06:59:04] Production.INFO: Total Charge 0
[2025-01-12 06:59:04] Production.INFO: CreateAllLog End
[2025-01-12 06:59:04] Production.ERROR: done
[2025-01-12 06:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 06:59:04] Production.INFO: ==13453== Releasing lock...
[2025-01-12 06:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 06:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 06:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229920') end
[2025-01-12 06:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 06:59:04] Production.INFO: 1
[2025-01-12 06:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 06:59:04] Production.INFO: ==13461== Releasing lock...
[2025-01-12 06:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 06:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 06:59:04] Production.ERROR: done
[2025-01-12 06:59:04] Production.INFO: Account Balance End.
[2025-01-12 06:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 06:59:04] Production.INFO: ==13457== Releasing lock...
[2025-01-12 06:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 06:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 06:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 03:59:05
[end_date_ymd] => 2025-01-12 06:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 03:59:05' and `end` < '2025-01-12 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-01-12 06:59:11] Production.ERROR: CronJobId end10
[2025-01-12 06:59:11] Production.INFO: ==13455== Releasing lock...
[2025-01-12 06:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 06:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 06:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 06:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 06:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 06:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 06:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 06:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 06:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 06:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 06:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 06:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 06:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 06:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 06:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 06:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 06:59:14] Production.INFO: call_cost start
[2025-01-12 06:59:14] Production.INFO: call_cost end
[2025-01-12 06:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 06:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 06:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 06:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 06:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 06:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 06:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 06:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 06:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 06:59:14] Production.INFO: ==13451== Releasing lock...
[2025-01-12 06:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 06:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 06:59:19] Production.INFO: count ==60
[2025-01-12 06:59:19] Production.ERROR: pbx CDR StartTime 2025-01-12 03:59:05 - End Time 2025-01-12 06:59:05
[2025-01-12 06:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229921', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229921', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229921', 'tblTempVendorCDR_20' ) start
[2025-01-12 06:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229921', 'tblTempVendorCDR_20' ) end
[2025-01-12 06:59:19] Production.INFO: ProcessCDR(1,14229921,1,1,2)
[2025-01-12 06:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 06:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229921', 'tblTempUsageDetail_20' ) start
[2025-01-12 06:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229921', 'tblTempUsageDetail_20' ) end
[2025-01-12 06:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 06:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 06:59:22] Production.INFO: ==13459== Releasing lock...
[2025-01-12 06:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 06:59:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:00:02] Production.INFO: ==13537== Lock acquired, processing the job...
[2025-01-12 12:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:00:02] Production.INFO: neon service started
[2025-01-12 12:00:02] Production.INFO: neon service started
[2025-01-12 12:00:02] Production.INFO: ==13537== Releasing lock...
[2025-01-12 12:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:00:02] Production.INFO: ==13540== Lock acquired, processing the job...
[2025-01-12 07:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:00:03] Production.INFO: ==13542== Lock acquired, processing the job...
[2025-01-12 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:00:03] Production.INFO: ==13542== Releasing lock...
[2025-01-12 12:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:00:03] Production.INFO: ==13540== Releasing lock...
[2025-01-12 07:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:00:04] Production.INFO: ==13544== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 07:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 07:00:04] Production.INFO: ==13546== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 07:00:04] Production.INFO: ==13544== Releasing lock...
[2025-01-12 07:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 07:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 07:00:04] Production.INFO: ==13550== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:00:04] Production.INFO: ==13548== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:00:04] Production.INFO: ==13558== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 07:00:04] Production.INFO: ==13552== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:00:04] Production.INFO: ==13554== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:00:04] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:00:04] Production.INFO: ==13556== Lock acquired, processing the job...
[2025-01-12 07:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 07:00:04] Production.INFO: count ==21
[2025-01-12 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:00:04] Production.INFO: Account Balance Start.
[2025-01-12 07:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229924') start
[2025-01-12 07:00:04] Production.INFO: 117
[2025-01-12 07:00:04] Production.INFO: ==13548== Releasing lock...
[2025-01-12 07:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:00:05] Production.INFO: Date 2025-01-08
[2025-01-12 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14229924') end
[2025-01-12 07:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:00:05] Production.INFO: 1
[2025-01-12 07:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:00:05] Production.INFO: ==13558== Releasing lock...
[2025-01-12 07:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:00:05] Production.INFO: Date 2025-01-09
[2025-01-12 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:00:05] Production.ERROR: done
[2025-01-12 07:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:00:05] Production.INFO: Date 2025-01-10
[2025-01-12 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:00:05] Production.ERROR: done
[2025-01-12 07:00:05] Production.INFO: Date 2025-01-11
[2025-01-12 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:00:05] Production.ERROR: done
[2025-01-12 07:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 07:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229926', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 07:00:05] Production.INFO: Date 2025-01-12
[2025-01-12 07:00:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:00:05] Production.INFO: Total Charge 0
[2025-01-12 07:00:05] Production.INFO: CreateAllLog End
[2025-01-12 07:00:05] Production.INFO: Account Balance End.
[2025-01-12 07:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 07:00:05] Production.INFO: ==13552== Releasing lock...
[2025-01-12 07:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:00:06
[end_date_ymd] => 2025-01-12 07:00:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:00:06' and `end` < '2025-01-12 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-01-12 07:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229926', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 07:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 07:00:09] Production.INFO: ProcessCDR(1,14229926,1,1,2)
[2025-01-12 07:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229926,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229926,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:00:09] Production.INFO: ==13556== Releasing lock...
[2025-01-12 07:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 07:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 07:00:13] Production.ERROR: CronJobId end10
[2025-01-12 07:00:13] Production.INFO: ==13550== Releasing lock...
[2025-01-12 07:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:00:15] Production.INFO: call_cost start
[2025-01-12 07:00:15] Production.INFO: call_cost end
[2025-01-12 07:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:00:16] Production.INFO: ==13546== Releasing lock...
[2025-01-12 07:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:00:21] Production.INFO: count ==52
[2025-01-12 07:00:21] Production.ERROR: pbx CDR StartTime 2025-01-12 04:00:06 - End Time 2025-01-12 07:00:06
[2025-01-12 07:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229927', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229927', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229927', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229927', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:00:21] Production.INFO: ProcessCDR(1,14229927,1,1,2)
[2025-01-12 07:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229927,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229927,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229927', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229927', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:00:24] Production.INFO: ==13554== Releasing lock...
[2025-01-12 07:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:00:24] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:01:01] Production.INFO: ==13626== Lock acquired, processing the job...
[2025-01-12 12:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:01:01] Production.INFO: neon service started
[2025-01-12 12:01:01] Production.INFO: neon service started
[2025-01-12 12:01:01] Production.INFO: ==13626== Releasing lock...
[2025-01-12 12:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:01:02] Production.INFO: ==13638== Lock acquired, processing the job...
[2025-01-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:01:02] Production.INFO: ==13638== Releasing lock...
[2025-01-12 07:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:01:02] Production.INFO: ==13640== Lock acquired, processing the job...
[2025-01-12 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:01:02] Production.INFO: ==13640== Releasing lock...
[2025-01-12 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:01:03] Production.INFO: ==13642== Lock acquired, processing the job...
[2025-01-12 07:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:01:03] Production.INFO: ==13652== Lock acquired, processing the job...
[2025-01-12 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:01:03] Production.INFO: ==13644== Lock acquired, processing the job...
[2025-01-12 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:01:03] Production.INFO: ==13646== Lock acquired, processing the job...
[2025-01-12 07:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 07:01:03] Production.INFO: ==13648== Lock acquired, processing the job...
[2025-01-12 07:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:01:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:01:03] Production.INFO: count ==21
[2025-01-12 07:01:03] Production.INFO: ==13650== Lock acquired, processing the job...
[2025-01-12 07:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229929') start
[2025-01-12 07:01:03] Production.INFO: Account Balance Start.
[2025-01-12 07:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:01:03] Production.INFO: 117
[2025-01-12 07:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229929') end
[2025-01-12 07:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:01:03] Production.INFO: 1
[2025-01-12 07:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:01:03] Production.INFO: ==13652== Releasing lock...
[2025-01-12 07:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:01:03] Production.INFO: ==13644== Releasing lock...
[2025-01-12 07:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:01:03] Production.ERROR: done
[2025-01-12 07:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:01:04] Production.ERROR: done
[2025-01-12 07:01:04] Production.INFO: Total Charge 0
[2025-01-12 07:01:04] Production.INFO: CreateAllLog End
[2025-01-12 07:01:04] Production.INFO: Account Balance End.
[2025-01-12 07:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:01:04] Production.INFO: ==13648== Releasing lock...
[2025-01-12 07:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:01:05
[end_date_ymd] => 2025-01-12 07:01:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:01:05' and `end` < '2025-01-12 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-01-12 07:01:11] Production.ERROR: CronJobId end10
[2025-01-12 07:01:11] Production.INFO: ==13646== Releasing lock...
[2025-01-12 07:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:01:14] Production.INFO: call_cost start
[2025-01-12 07:01:14] Production.INFO: call_cost end
[2025-01-12 07:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:01:15] Production.INFO: ==13642== Releasing lock...
[2025-01-12 07:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:01:23] Production.INFO: count ==50
[2025-01-12 07:01:23] Production.ERROR: pbx CDR StartTime 2025-01-12 04:01:05 - End Time 2025-01-12 07:01:05
[2025-01-12 07:01:23] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229932', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229932', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229932', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:01:23] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229932', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:01:23] Production.INFO: ProcessCDR(1,14229932,1,1,2)
[2025-01-12 07:01:23] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:01:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229932,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:01:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:01:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229932,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229932', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:01:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229932', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:01:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:01:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:01:26] Production.INFO: ==13650== Releasing lock...
[2025-01-12 07:01:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:01:26] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:02:02] Production.INFO: ==13798== Lock acquired, processing the job...
[2025-01-12 12:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:02:02] Production.INFO: neon service started
[2025-01-12 12:02:02] Production.INFO: neon service started
[2025-01-12 12:02:02] Production.INFO: ==13798== Releasing lock...
[2025-01-12 12:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:02:02] Production.INFO: ==13801== Lock acquired, processing the job...
[2025-01-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:02:02] Production.INFO: ==13801== Releasing lock...
[2025-01-12 07:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:02:03] Production.INFO: ==13803== Lock acquired, processing the job...
[2025-01-12 12:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:02:03] Production.INFO: ==13803== Releasing lock...
[2025-01-12 12:02:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:02:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:02:03] Production.INFO: ==13811== Lock acquired, processing the job...
[2025-01-12 07:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:02:03] Production.INFO: ==13815== Lock acquired, processing the job...
[2025-01-12 07:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:02:04] Production.INFO: Account Balance Start.
[2025-01-12 07:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:02:04] Production.INFO: 117
[2025-01-12 07:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:02:04] Production.INFO: ==13805== Lock acquired, processing the job...
[2025-01-12 07:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:02:04] Production.INFO: ==13807== Lock acquired, processing the job...
[2025-01-12 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:02:04] Production.INFO: ==13809== Lock acquired, processing the job...
[2025-01-12 07:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:02:04] Production.INFO: Total Charge 0
[2025-01-12 07:02:04] Production.INFO: ==13813== Lock acquired, processing the job...
[2025-01-12 07:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:02:04] Production.INFO: CreateAllLog End
[2025-01-12 07:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:02:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:02:04] Production.INFO: count ==21
[2025-01-12 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229934') start
[2025-01-12 07:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229934') end
[2025-01-12 07:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:02:04] Production.INFO: 1
[2025-01-12 07:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:02:04] Production.INFO: Account Balance End.
[2025-01-12 07:02:04] Production.ERROR: done
[2025-01-12 07:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:02:04] Production.INFO: ==13815== Releasing lock...
[2025-01-12 07:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:02:04] Production.INFO: ==13811== Releasing lock...
[2025-01-12 07:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:02:04] Production.INFO: ==13807== Releasing lock...
[2025-01-12 07:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:02:04] Production.ERROR: done
[2025-01-12 07:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:02:05
[end_date_ymd] => 2025-01-12 07:02:05
[RateCDR] => 1
)
[2025-01-12 07:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:02:05' and `end` < '2025-01-12 07:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:02:11] Production.ERROR: CronJobId end10
[2025-01-12 07:02:11] Production.INFO: ==13809== Releasing lock...
[2025-01-12 07:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:02:14] Production.INFO: call_cost start
[2025-01-12 07:02:14] Production.INFO: call_cost end
[2025-01-12 07:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:02:14] Production.INFO: ==13805== Releasing lock...
[2025-01-12 07:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:02:20] Production.INFO: count ==50
[2025-01-12 07:02:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:02:05 - End Time 2025-01-12 07:02:05
[2025-01-12 07:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229937', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229937', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229937', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229937', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:02:20] Production.INFO: ProcessCDR(1,14229937,1,1,2)
[2025-01-12 07:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229937,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229937,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229937', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229937', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:02:23] Production.INFO: ==13813== Releasing lock...
[2025-01-12 07:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:02:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:03:01] Production.INFO: ==13877== Lock acquired, processing the job...
[2025-01-12 12:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:03:01] Production.INFO: neon service started
[2025-01-12 12:03:01] Production.INFO: neon service started
[2025-01-12 12:03:01] Production.INFO: ==13877== Releasing lock...
[2025-01-12 12:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:03:02] Production.INFO: ==13879== Lock acquired, processing the job...
[2025-01-12 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:03:02] Production.INFO: ==13881== Lock acquired, processing the job...
[2025-01-12 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:03:02] Production.INFO: ==13881== Releasing lock...
[2025-01-12 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:03:02] Production.INFO: ==13879== Releasing lock...
[2025-01-12 07:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:03:03] Production.INFO: ==13889== Lock acquired, processing the job...
[2025-01-12 07:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:03:03] Production.INFO: ==13895== Lock acquired, processing the job...
[2025-01-12 07:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 07:03:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:03:03] Production.INFO: count ==21
[2025-01-12 07:03:03] Production.INFO: ==13885== Lock acquired, processing the job...
[2025-01-12 07:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229938') start
[2025-01-12 07:03:03] Production.INFO: ==13887== Lock acquired, processing the job...
[2025-01-12 07:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:03:03] Production.INFO: ==13891== Lock acquired, processing the job...
[2025-01-12 07:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:03:03] Production.INFO: ==13893== Lock acquired, processing the job...
[2025-01-12 07:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229938') end
[2025-01-12 07:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:03:04] Production.INFO: 1
[2025-01-12 07:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:03:04] Production.INFO: Account Balance Start.
[2025-01-12 07:03:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:03:04] Production.INFO: 117
[2025-01-12 07:03:04] Production.INFO: ==13895== Releasing lock...
[2025-01-12 07:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:03:04] Production.INFO: ==13887== Releasing lock...
[2025-01-12 07:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:03:04] Production.INFO: Total Charge 0
[2025-01-12 07:03:04] Production.INFO: CreateAllLog End
[2025-01-12 07:03:04] Production.ERROR: done
[2025-01-12 07:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:03:04] Production.INFO: Account Balance End.
[2025-01-12 07:03:04] Production.ERROR: done
[2025-01-12 07:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:03:04] Production.INFO: ==13891== Releasing lock...
[2025-01-12 07:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:03:05
[end_date_ymd] => 2025-01-12 07:03:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:03:05' and `end` < '2025-01-12 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-01-12 07:03:11] Production.ERROR: CronJobId end10
[2025-01-12 07:03:11] Production.INFO: ==13889== Releasing lock...
[2025-01-12 07:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:03:13] Production.INFO: call_cost start
[2025-01-12 07:03:13] Production.INFO: call_cost end
[2025-01-12 07:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:03:14] Production.INFO: ==13885== Releasing lock...
[2025-01-12 07:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:03:20] Production.INFO: count ==50
[2025-01-12 07:03:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:03:05 - End Time 2025-01-12 07:03:05
[2025-01-12 07:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229942', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229942', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229942', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229942', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:03:20] Production.INFO: ProcessCDR(1,14229942,1,1,2)
[2025-01-12 07:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229942,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229942,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229942', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229942', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:03:23] Production.INFO: ==13893== Releasing lock...
[2025-01-12 07:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:03:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:04:02] Production.INFO: ==13961== Lock acquired, processing the job...
[2025-01-12 12:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:04:02] Production.INFO: neon service started
[2025-01-12 12:04:02] Production.INFO: neon service started
[2025-01-12 12:04:02] Production.INFO: ==13961== Releasing lock...
[2025-01-12 12:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:04:02] Production.INFO: ==13964== Lock acquired, processing the job...
[2025-01-12 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:04:02] Production.INFO: ==13964== Releasing lock...
[2025-01-12 07:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:04:03] Production.INFO: ==13966== Lock acquired, processing the job...
[2025-01-12 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:04:03] Production.INFO: ==13966== Releasing lock...
[2025-01-12 12:04:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:04:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:04:03] Production.INFO: ==13968== Lock acquired, processing the job...
[2025-01-12 07:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:04:03] Production.INFO: ==13970== Lock acquired, processing the job...
[2025-01-12 07:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:04:03] Production.INFO: ==13976== Lock acquired, processing the job...
[2025-01-12 07:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:04:03] Production.INFO: ==13972== Lock acquired, processing the job...
[2025-01-12 07:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:04:03] Production.INFO: ==13974== Lock acquired, processing the job...
[2025-01-12 07:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:04:04] Production.INFO: ==13978== Lock acquired, processing the job...
[2025-01-12 07:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:04:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:04:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:04:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:04:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:04:04] Production.INFO: Account Balance Start.
[2025-01-12 07:04:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:04:04] Production.INFO: 117
[2025-01-12 07:04:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:04:04] Production.INFO: ==13970== Releasing lock...
[2025-01-12 07:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:04:04] Production.ERROR: done
[2025-01-12 07:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:04:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:04:04] Production.ERROR: done
[2025-01-12 07:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:04:04] Production.INFO: Total Charge 0
[2025-01-12 07:04:04] Production.INFO: CreateAllLog End
[2025-01-12 07:04:04] Production.INFO: Account Balance End.
[2025-01-12 07:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:04:04] Production.INFO: ==13974== Releasing lock...
[2025-01-12 07:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:04:05
[end_date_ymd] => 2025-01-12 07:04:05
[RateCDR] => 1
)
[2025-01-12 07:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:04:05' and `end` < '2025-01-12 07:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:04:05] Production.INFO: count ==21
[2025-01-12 07:04: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-01-12 07:04:05] Production.INFO: count ==21
[2025-01-12 07:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14229946') start
[2025-01-12 07:04:05] Production.ERROR: PBX CALL prc_importPBXExtension('14229946') end
[2025-01-12 07:04:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:04:05] Production.INFO: 1
[2025-01-12 07:04:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:04:05] Production.INFO: ==13978== Releasing lock...
[2025-01-12 07:04:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:04:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:04:11] Production.ERROR: CronJobId end10
[2025-01-12 07:04:11] Production.INFO: ==13972== Releasing lock...
[2025-01-12 07:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:04:14] Production.INFO: call_cost start
[2025-01-12 07:04:14] Production.INFO: call_cost end
[2025-01-12 07:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:04:14] Production.INFO: ==13968== Releasing lock...
[2025-01-12 07:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:04:20] Production.INFO: count ==50
[2025-01-12 07:04:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:04:05 - End Time 2025-01-12 07:04:05
[2025-01-12 07:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229947', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229947', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229947', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229947', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:04:20] Production.INFO: ProcessCDR(1,14229947,1,1,2)
[2025-01-12 07:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229947', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229947', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:04:23] Production.INFO: ==13976== Releasing lock...
[2025-01-12 07:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:04:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:05:01] Production.INFO: ==14122== Lock acquired, processing the job...
[2025-01-12 12:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:05:01] Production.INFO: neon service started
[2025-01-12 12:05:01] Production.INFO: neon service started
[2025-01-12 12:05:01] Production.INFO: ==14122== Releasing lock...
[2025-01-12 12:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:05:01] Production.INFO: ==14124== Lock acquired, processing the job...
[2025-01-12 07:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:05:02] Production.INFO: ==14124== Releasing lock...
[2025-01-12 07:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:05:02] Production.INFO: ==14126== Lock acquired, processing the job...
[2025-01-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:05:02] Production.INFO: ==14126== Releasing lock...
[2025-01-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:05:03] Production.INFO: ==14129== Lock acquired, processing the job...
[2025-01-12 07:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:05:03] Production.INFO: ==14133== Lock acquired, processing the job...
[2025-01-12 07:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:05:03] Production.INFO: ==14131== Lock acquired, processing the job...
[2025-01-12 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:05:03] Production.INFO: ==14139== Lock acquired, processing the job...
[2025-01-12 07:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:05:03] Production.INFO: ==14135== Lock acquired, processing the job...
[2025-01-12 07:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:05:03] Production.INFO: ==14137== Lock acquired, processing the job...
[2025-01-12 07:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 07:05:03] Production.INFO: count ==21
[2025-01-12 07:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:05:03] Production.INFO: Account Balance Start.
[2025-01-12 07:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:05:03] Production.INFO: 117
[2025-01-12 07:05:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:05:03] Production.INFO: count ==21
[2025-01-12 07:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229949') start
[2025-01-12 07:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:05:03] Production.INFO: Total Charge 0
[2025-01-12 07:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229949') end
[2025-01-12 07:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:05:03] Production.INFO: 1
[2025-01-12 07:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:05:03] Production.INFO: CreateAllLog End
[2025-01-12 07:05:03] Production.INFO: ==14131== Releasing lock...
[2025-01-12 07:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:05:04] Production.ERROR: done
[2025-01-12 07:05:04] Production.INFO: ==14139== Releasing lock...
[2025-01-12 07:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:05:04] Production.ERROR: done
[2025-01-12 07:05:04] Production.INFO: Account Balance End.
[2025-01-12 07:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:05:04] Production.INFO: ==14135== Releasing lock...
[2025-01-12 07:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:05:05
[end_date_ymd] => 2025-01-12 07:05:05
[RateCDR] => 1
)
[2025-01-12 07:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:05:05' and `end` < '2025-01-12 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-01-12 07:05:11] Production.ERROR: CronJobId end10
[2025-01-12 07:05:11] Production.INFO: ==14133== Releasing lock...
[2025-01-12 07:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:05:12] Production.INFO: call_cost start
[2025-01-12 07:05:12] Production.INFO: call_cost end
[2025-01-12 07:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:05:13] Production.INFO: ==14129== Releasing lock...
[2025-01-12 07:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:05:20] Production.INFO: count ==50
[2025-01-12 07:05:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:05:05 - End Time 2025-01-12 07:05:05
[2025-01-12 07:05:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229952', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229952', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229952', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:05:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229952', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:05:20] Production.INFO: ProcessCDR(1,14229952,1,1,2)
[2025-01-12 07:05:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229952', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229952', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:05:24] Production.INFO: ==14137== Releasing lock...
[2025-01-12 07:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:05:24] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:06:02] Production.INFO: ==14201== Lock acquired, processing the job...
[2025-01-12 12:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:06:02] Production.INFO: neon service started
[2025-01-12 12:06:02] Production.INFO: neon service started
[2025-01-12 12:06:02] Production.INFO: ==14201== Releasing lock...
[2025-01-12 12:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:06:02] Production.INFO: ==14203== Lock acquired, processing the job...
[2025-01-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:06:02] Production.INFO: ==14203== Releasing lock...
[2025-01-12 07:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:06:02] Production.INFO: ==14205== Lock acquired, processing the job...
[2025-01-12 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:06:02] Production.INFO: ==14205== Releasing lock...
[2025-01-12 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:06:03] Production.INFO: ==14208== Lock acquired, processing the job...
[2025-01-12 07:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:06:03] Production.INFO: ==14212== Lock acquired, processing the job...
[2025-01-12 07:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:06:03] Production.INFO: ==14210== Lock acquired, processing the job...
[2025-01-12 07:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:06:03] Production.INFO: ==14216== Lock acquired, processing the job...
[2025-01-12 07:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:06:03] Production.INFO: ==14214== Lock acquired, processing the job...
[2025-01-12 07:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:06:04] Production.INFO: ==14218== Lock acquired, processing the job...
[2025-01-12 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:06:04] Production.INFO: Account Balance Start.
[2025-01-12 07:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:06:04] Production.INFO: 117
[2025-01-12 07:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:06:04] Production.INFO: ==14210== Releasing lock...
[2025-01-12 07:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:06:04] Production.ERROR: done
[2025-01-12 07:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:06:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:06:04] Production.INFO: count ==21
[2025-01-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229956') start
[2025-01-12 07:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:06:04] Production.ERROR: done
[2025-01-12 07:06:04] Production.INFO: Total Charge 0
[2025-01-12 07:06:04] Production.INFO: CreateAllLog End
[2025-01-12 07:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229956') end
[2025-01-12 07:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:06:04] Production.INFO: 1
[2025-01-12 07:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:06:04] Production.INFO: ==14218== Releasing lock...
[2025-01-12 07:06:04] Production.INFO: Account Balance End.
[2025-01-12 07:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:06:04] Production.INFO: ==14214== Releasing lock...
[2025-01-12 07:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:06:05
[end_date_ymd] => 2025-01-12 07:06:05
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:06:05' and `end` < '2025-01-12 07: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-01-12 07:06:11] Production.ERROR: CronJobId end10
[2025-01-12 07:06:11] Production.INFO: ==14212== Releasing lock...
[2025-01-12 07:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:06:13] Production.INFO: call_cost start
[2025-01-12 07:06:13] Production.INFO: call_cost end
[2025-01-12 07:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:06:14] Production.INFO: ==14208== Releasing lock...
[2025-01-12 07:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:06:20] Production.INFO: count ==50
[2025-01-12 07:06:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:06:05 - End Time 2025-01-12 07:06:05
[2025-01-12 07:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229957', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229957', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229957', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229957', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:06:20] Production.INFO: ProcessCDR(1,14229957,1,1,2)
[2025-01-12 07:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229957', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229957', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:06:23] Production.INFO: ==14216== Releasing lock...
[2025-01-12 07:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:06:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:07:01] Production.INFO: ==14284== Lock acquired, processing the job...
[2025-01-12 12:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:07:01] Production.INFO: neon service started
[2025-01-12 12:07:01] Production.INFO: neon service started
[2025-01-12 12:07:01] Production.INFO: ==14284== Releasing lock...
[2025-01-12 12:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:07:01] Production.INFO: ==14286== Lock acquired, processing the job...
[2025-01-12 07:07:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:07:02] Production.INFO: ==14286== Releasing lock...
[2025-01-12 07:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:07:02] Production.INFO: ==14288== Lock acquired, processing the job...
[2025-01-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:07:02] Production.INFO: ==14288== Releasing lock...
[2025-01-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:07:02] Production.INFO: ==14292== Lock acquired, processing the job...
[2025-01-12 07:07:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:07:03] Production.INFO: ==14296== Lock acquired, processing the job...
[2025-01-12 07:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:07:03] Production.INFO: ==14300== Lock acquired, processing the job...
[2025-01-12 07:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:07:03] Production.INFO: ==14294== Lock acquired, processing the job...
[2025-01-12 07:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:07:03] Production.INFO: ==14298== Lock acquired, processing the job...
[2025-01-12 07:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:07:03] Production.ERROR: done
[2025-01-12 07:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:07:03] Production.INFO: ==14303== Lock acquired, processing the job...
[2025-01-12 07:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:07:03] Production.ERROR: done
[2025-01-12 07:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:07:03] Production.INFO: Account Balance Start.
[2025-01-12 07:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:07:03] Production.INFO: 117
[2025-01-12 07:07:03] Production.INFO: count ==21
[2025-01-12 07:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:07:03] Production.INFO: count ==21
[2025-01-12 07:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229960') start
[2025-01-12 07:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:07:04] Production.INFO: ==14294== Releasing lock...
[2025-01-12 07:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229960') end
[2025-01-12 07:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:07:04] Production.INFO: 1
[2025-01-12 07:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:07:04] Production.INFO: ==14303== Releasing lock...
[2025-01-12 07:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:07:04] Production.INFO: Total Charge 0
[2025-01-12 07:07:04] Production.INFO: CreateAllLog End
[2025-01-12 07:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:07:04
[end_date_ymd] => 2025-01-12 07:07:04
[RateCDR] => 1
)
[2025-01-12 07:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:07:04' and `end` < '2025-01-12 07:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:07:04] Production.INFO: Account Balance End.
[2025-01-12 07:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:07:04] Production.INFO: ==14298== Releasing lock...
[2025-01-12 07:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:07:10] Production.ERROR: CronJobId end10
[2025-01-12 07:07:10] Production.INFO: ==14296== Releasing lock...
[2025-01-12 07:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:07:13] Production.INFO: call_cost start
[2025-01-12 07:07:13] Production.INFO: call_cost end
[2025-01-12 07:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:07:14] Production.INFO: ==14292== Releasing lock...
[2025-01-12 07:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:07:19] Production.INFO: count ==50
[2025-01-12 07:07:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:07:04 - End Time 2025-01-12 07:07:04
[2025-01-12 07:07:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229962', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229962', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229962', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:07:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229962', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:07:19] Production.INFO: ProcessCDR(1,14229962,1,1,2)
[2025-01-12 07:07:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:07:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:07:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229962', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229962', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:07:23] Production.INFO: ==14300== Releasing lock...
[2025-01-12 07:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:07:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:08:01] Production.INFO: ==14365== Lock acquired, processing the job...
[2025-01-12 12:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:08:02] Production.INFO: neon service started
[2025-01-12 12:08:02] Production.INFO: neon service started
[2025-01-12 12:08:02] Production.INFO: ==14365== Releasing lock...
[2025-01-12 12:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:08:02] Production.INFO: ==14393== Lock acquired, processing the job...
[2025-01-12 07:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:08:02] Production.INFO: ==14396== Lock acquired, processing the job...
[2025-01-12 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:08:02] Production.INFO: ==14396== Releasing lock...
[2025-01-12 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:08:03] Production.INFO: ==14393== Releasing lock...
[2025-01-12 07:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:08:03] Production.INFO: ==14413== Lock acquired, processing the job...
[2025-01-12 07:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:08:03] Production.INFO: ==14415== Lock acquired, processing the job...
[2025-01-12 07:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:08:03] Production.INFO: ==14417== Lock acquired, processing the job...
[2025-01-12 07:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:08:04] Production.INFO: ==14419== Lock acquired, processing the job...
[2025-01-12 07:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:08:04] Production.INFO: ==14415== Releasing lock...
[2025-01-12 07:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:08:04] Production.INFO: ==14423== Lock acquired, processing the job...
[2025-01-12 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:08:04] Production.INFO: ==14421== Lock acquired, processing the job...
[2025-01-12 07:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:08:04] Production.INFO: Account Balance Start.
[2025-01-12 07:08:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:08:04] Production.INFO: 117
[2025-01-12 07:08:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 07: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-01-12 07:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:08:04] Production.INFO: count ==21
[2025-01-12 07:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:08:04] Production.INFO: count ==21
[2025-01-12 07:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229966') start
[2025-01-12 07:08:04] Production.INFO: Total Charge 0
[2025-01-12 07:08:04] Production.INFO: CreateAllLog End
[2025-01-12 07:08:04] Production.ERROR: done
[2025-01-12 07:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229966') end
[2025-01-12 07:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:08:04] Production.INFO: 1
[2025-01-12 07:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:08:04] Production.INFO: ==14423== Releasing lock...
[2025-01-12 07:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:08:04] Production.ERROR: done
[2025-01-12 07:08:05] Production.INFO: Account Balance End.
[2025-01-12 07:08:05] Production.ERROR: CronJobId end 12
[2025-01-12 07:08:05] Production.INFO: ==14419== Releasing lock...
[2025-01-12 07:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:08:05
[end_date_ymd] => 2025-01-12 07:08:05
[RateCDR] => 1
)
[2025-01-12 07:08:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:08:05' and `end` < '2025-01-12 07:08:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:08:12] Production.ERROR: CronJobId end10
[2025-01-12 07:08:12] Production.INFO: ==14417== Releasing lock...
[2025-01-12 07:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:08:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:08:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:08:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:08:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:08:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:08:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:08:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:08:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:08:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:08:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:08:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:08:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:08:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:08:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:08:14] Production.INFO: call_cost start
[2025-01-12 07:08:14] Production.INFO: call_cost end
[2025-01-12 07:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:08:15] Production.INFO: ==14413== Releasing lock...
[2025-01-12 07:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:08:20] Production.INFO: count ==50
[2025-01-12 07:08:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:08:05 - End Time 2025-01-12 07:08:05
[2025-01-12 07:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229967', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229967', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229967', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229967', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:08:20] Production.INFO: ProcessCDR(1,14229967,1,1,2)
[2025-01-12 07:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229967', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229967', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:08:23] Production.INFO: ==14421== Releasing lock...
[2025-01-12 07:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:08:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:09:01] Production.INFO: ==14520== Lock acquired, processing the job...
[2025-01-12 12:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:09:01] Production.INFO: neon service started
[2025-01-12 12:09:01] Production.INFO: neon service started
[2025-01-12 12:09:01] Production.INFO: ==14520== Releasing lock...
[2025-01-12 12:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:09:01] Production.INFO: ==14524== Lock acquired, processing the job...
[2025-01-12 12:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:09:01] Production.INFO: ==14524== Releasing lock...
[2025-01-12 12:09:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:09:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:09:01] Production.INFO: ==14522== Lock acquired, processing the job...
[2025-01-12 07:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:09:02] Production.INFO: ==14522== Releasing lock...
[2025-01-12 07:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:09:03] Production.INFO: ==14529== Lock acquired, processing the job...
[2025-01-12 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:09:03] Production.INFO: ==14531== Lock acquired, processing the job...
[2025-01-12 07:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:09:03] Production.INFO: ==14535== Lock acquired, processing the job...
[2025-01-12 07:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:09:03] Production.INFO: ==14527== Lock acquired, processing the job...
[2025-01-12 07:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:09:03] Production.INFO: ==14537== Lock acquired, processing the job...
[2025-01-12 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:09:03] Production.INFO: ==14529== Releasing lock...
[2025-01-12 07:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:09:03] Production.INFO: ==14533== Lock acquired, processing the job...
[2025-01-12 07:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:09:03] Production.INFO: Account Balance Start.
[2025-01-12 07:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:09:03] Production.ERROR: done
[2025-01-12 07:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:09:03] Production.INFO: 117
[2025-01-12 07:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:09:03] Production.INFO: count ==21
[2025-01-12 07:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:09:03] Production.INFO: count ==21
[2025-01-12 07:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229971') start
[2025-01-12 07:09:03] Production.ERROR: done
[2025-01-12 07:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229971') end
[2025-01-12 07:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:09:03] Production.INFO: 1
[2025-01-12 07:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:09:03] Production.INFO: ==14537== Releasing lock...
[2025-01-12 07:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:09:04] Production.INFO: Total Charge 0
[2025-01-12 07:09:04] Production.INFO: CreateAllLog End
[2025-01-12 07:09:04] Production.INFO: Account Balance End.
[2025-01-12 07:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:09:04] Production.INFO: ==14533== Releasing lock...
[2025-01-12 07:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:09:04
[end_date_ymd] => 2025-01-12 07:09:04
[RateCDR] => 1
)
[2025-01-12 07:09:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:09:04' and `end` < '2025-01-12 07:09:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:09:11] Production.ERROR: CronJobId end10
[2025-01-12 07:09:11] Production.INFO: ==14531== Releasing lock...
[2025-01-12 07:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:09:13] Production.INFO: call_cost start
[2025-01-12 07:09:13] Production.INFO: call_cost end
[2025-01-12 07:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:09:14] Production.INFO: ==14527== Releasing lock...
[2025-01-12 07:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:09:21] Production.INFO: count ==50
[2025-01-12 07:09:21] Production.ERROR: pbx CDR StartTime 2025-01-12 04:09:04 - End Time 2025-01-12 07:09:04
[2025-01-12 07:09:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229972', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229972', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229972', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:09:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229972', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:09:21] Production.INFO: ProcessCDR(1,14229972,1,1,2)
[2025-01-12 07:09:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:09:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:09:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:09:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229972', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:09:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229972', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:09:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:09:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:09:24] Production.INFO: ==14535== Releasing lock...
[2025-01-12 07:09:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:09:24] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:10:01] Production.INFO: ==14598== Lock acquired, processing the job...
[2025-01-12 12:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:10:01] Production.INFO: neon service started
[2025-01-12 12:10:01] Production.INFO: neon service started
[2025-01-12 12:10:01] Production.INFO: ==14598== Releasing lock...
[2025-01-12 12:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:10:02] Production.INFO: ==14600== Lock acquired, processing the job...
[2025-01-12 07:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:10:02] Production.INFO: ==14602== Lock acquired, processing the job...
[2025-01-12 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:10:02] Production.INFO: ==14602== Releasing lock...
[2025-01-12 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:10:03] Production.INFO: ==14600== Releasing lock...
[2025-01-12 07:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:10:04] Production.INFO: ==14611== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:10:04] Production.INFO: ==14615== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:10:04] Production.INFO: ==14619== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:10:04] Production.INFO: ==14605== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 07:10:04] Production.INFO: ==14609== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:10:04] Production.INFO: ==14607== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:10:04] Production.INFO: ==14613== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:10:04] Production.INFO: ==14617== Lock acquired, processing the job...
[2025-01-12 07:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:10:04] Production.ERROR: CronJob PID - 14607
[2025-01-12 07:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 07:10:04] Production.ERROR: CronJob ID - 5
[2025-01-12 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:10:00
[2025-01-12 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:10:04] Production.ERROR: CronJob PID - 14609
[2025-01-12 07:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 07:10:04] Production.ERROR: CronJob ID - 7
[2025-01-12 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:10:00
[2025-01-12 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:10:04] Production.ERROR: CronJob PID - 14611
[2025-01-12 07:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 07:10:04] Production.ERROR: CronJob ID - 10
[2025-01-12 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:10:00
[2025-01-12 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:10:04] Production.ERROR: CronJob PID - 14615
[2025-01-12 07:10:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 07:10:04] Production.ERROR: CronJob ID - 16
[2025-01-12 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:10:00
[2025-01-12 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:10:04] Production.ERROR: CronJob PID - 14619
[2025-01-12 07:10:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-12 07:10:04] Production.ERROR: CronJob ID - 19
[2025-01-12 07:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:10:00
[2025-01-12 07:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 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-01-12 07:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:10:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 07:10:04] Production.INFO: ==14605== Releasing lock...
[2025-01-12 07:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 07:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 07:10:04] Production.INFO: count ==21
[2025-01-12 07:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229973') start
[2025-01-12 07:10:04] Production.ERROR: done
[2025-01-12 07:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:10:04] Production.INFO: Account Balance Start.
[2025-01-12 07:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:10:04] Production.INFO: 117
[2025-01-12 07:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229973') end
[2025-01-12 07:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:10:04] Production.INFO: 1
[2025-01-12 07:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:10:04] Production.ERROR: done
[2025-01-12 07:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:10:05] Production.INFO: Date 2025-01-09
[2025-01-12 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:10:05] Production.INFO: ==14609== Releasing lock...
[2025-01-12 07:10:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:10:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:10:05] Production.INFO: ==14619== Releasing lock...
[2025-01-12 07:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:10:05] Production.INFO: Date 2025-01-10
[2025-01-12 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:10:05] Production.ERROR: done
[2025-01-12 07:10:05] Production.INFO: Date 2025-01-11
[2025-01-12 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:10:05] Production.INFO: Date 2025-01-12
[2025-01-12 07:10:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:10:05] Production.INFO: Total Charge 0
[2025-01-12 07:10:05] Production.INFO: CreateAllLog End
[2025-01-12 07:10:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 07:10:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229978', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 07:10:05] Production.INFO: Account Balance End.
[2025-01-12 07:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 07:10:05] Production.INFO: ==14613== Releasing lock...
[2025-01-12 07:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:10:06
[end_date_ymd] => 2025-01-12 07:10:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:10:06' and `end` < '2025-01-12 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-01-12 07:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14229978', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 07:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 07:10:09] Production.INFO: ProcessCDR(1,14229978,1,1,2)
[2025-01-12 07:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14229978,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14229978,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:10:09] Production.INFO: ==14617== Releasing lock...
[2025-01-12 07:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 07:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 07:10:14] Production.ERROR: CronJobId end10
[2025-01-12 07:10:14] Production.INFO: ==14611== Releasing lock...
[2025-01-12 07:10:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:10:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:10:16] Production.INFO: call_cost start
[2025-01-12 07:10:16] Production.INFO: call_cost end
[2025-01-12 07:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:10:16] Production.INFO: ==14607== Releasing lock...
[2025-01-12 07:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:10:24] Production.INFO: count ==45
[2025-01-12 07:10:24] Production.ERROR: pbx CDR StartTime 2025-01-12 04:10:06 - End Time 2025-01-12 07:10:06
[2025-01-12 07:10:24] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229977', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229977', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229977', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:10:24] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229977', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:10:24] Production.INFO: ProcessCDR(1,14229977,1,1,2)
[2025-01-12 07:10:24] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:10:26] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:10:26] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:10:28] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229977', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:10:28] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229977', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:10:28] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:10:28] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:10:28] Production.INFO: ==14615== Releasing lock...
[2025-01-12 07:10:28] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:10:28] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:11:01] Production.INFO: ==14677== Lock acquired, processing the job...
[2025-01-12 12:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:11:01] Production.INFO: neon service started
[2025-01-12 12:11:01] Production.INFO: neon service started
[2025-01-12 12:11:01] Production.INFO: ==14677== Releasing lock...
[2025-01-12 12:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:11:01] Production.INFO: ==14679== Lock acquired, processing the job...
[2025-01-12 07:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:11:02] Production.INFO: ==14681== Lock acquired, processing the job...
[2025-01-12 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:11:02] Production.INFO: ==14679== Releasing lock...
[2025-01-12 07:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:11:02] Production.INFO: ==14681== Releasing lock...
[2025-01-12 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:11:02] Production.INFO: ==14683== Lock acquired, processing the job...
[2025-01-12 07:11:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:11:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:11:02] Production.INFO: ==14685== Lock acquired, processing the job...
[2025-01-12 07:11:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:11:03] Production.INFO: ==14691== Lock acquired, processing the job...
[2025-01-12 07:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:11:03] Production.INFO: ==14687== Lock acquired, processing the job...
[2025-01-12 07:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:11:03] Production.INFO: ==14689== Lock acquired, processing the job...
[2025-01-12 07:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:11:03] Production.INFO: ==14693== Lock acquired, processing the job...
[2025-01-12 07:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:11:03] Production.INFO: ==14685== Releasing lock...
[2025-01-12 07:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:11:03] Production.INFO: Account Balance Start.
[2025-01-12 07:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:11:03] Production.INFO: 117
[2025-01-12 07:11:03] Production.ERROR: done
[2025-01-12 07:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:11:03] Production.INFO: count ==21
[2025-01-12 07:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 07: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-01-12 07:11:03] Production.INFO: count ==21
[2025-01-12 07:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:11:03] Production.ERROR: done
[2025-01-12 07:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229982') start
[2025-01-12 07:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:11:03] Production.INFO: Total Charge 0
[2025-01-12 07:11:03] Production.INFO: CreateAllLog End
[2025-01-12 07:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14229982') end
[2025-01-12 07:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:11:03] Production.INFO: 1
[2025-01-12 07:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:11:04] Production.INFO: Account Balance End.
[2025-01-12 07:11:04] Production.INFO: ==14693== Releasing lock...
[2025-01-12 07:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:11:04] Production.INFO: ==14689== Releasing lock...
[2025-01-12 07:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:11:04
[end_date_ymd] => 2025-01-12 07:11:04
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:11:04' and `end` < '2025-01-12 07: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-01-12 07:11:12] Production.ERROR: CronJobId end10
[2025-01-12 07:11:12] Production.INFO: ==14687== Releasing lock...
[2025-01-12 07:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:11:14] Production.INFO: call_cost start
[2025-01-12 07:11:14] Production.INFO: call_cost end
[2025-01-12 07:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:11:15] Production.INFO: ==14683== Releasing lock...
[2025-01-12 07:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:11:19] Production.INFO: count ==43
[2025-01-12 07:11:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:11:04 - End Time 2025-01-12 07:11:04
[2025-01-12 07:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229983', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229983', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229983', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229983', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:11:19] Production.INFO: ProcessCDR(1,14229983,1,1,2)
[2025-01-12 07:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229983,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229983,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229983', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229983', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:11:23] Production.INFO: ==14691== Releasing lock...
[2025-01-12 07:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:11:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:12:01] Production.INFO: ==14836== Lock acquired, processing the job...
[2025-01-12 12:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:12:01] Production.INFO: neon service started
[2025-01-12 12:12:01] Production.INFO: neon service started
[2025-01-12 12:12:01] Production.INFO: ==14836== Releasing lock...
[2025-01-12 12:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:12:02] Production.INFO: ==14840== Lock acquired, processing the job...
[2025-01-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:12:02] Production.INFO: ==14840== Releasing lock...
[2025-01-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:12:02] Production.INFO: ==14838== Lock acquired, processing the job...
[2025-01-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:12:02] Production.INFO: ==14838== Releasing lock...
[2025-01-12 07:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:12:03] Production.INFO: ==14847== Lock acquired, processing the job...
[2025-01-12 07:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:12:03] Production.INFO: ==14853== Lock acquired, processing the job...
[2025-01-12 07:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:12:03] Production.INFO: ==14843== Lock acquired, processing the job...
[2025-01-12 07:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:12:03] Production.INFO: ==14845== Lock acquired, processing the job...
[2025-01-12 07:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:12:03] Production.INFO: ==14851== Lock acquired, processing the job...
[2025-01-12 07:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07: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-01-12 07:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:12:03] Production.INFO: ==14849== Lock acquired, processing the job...
[2025-01-12 07:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:12:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:12:03] Production.INFO: count ==21
[2025-01-12 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229984') start
[2025-01-12 07:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229984') end
[2025-01-12 07:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:12:04] Production.INFO: 1
[2025-01-12 07:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:12:04] Production.INFO: Account Balance Start.
[2025-01-12 07:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:12:04] Production.INFO: 117
[2025-01-12 07:12:04] Production.INFO: ==14853== Releasing lock...
[2025-01-12 07:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:12:04] Production.ERROR: done
[2025-01-12 07:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:12:04] Production.INFO: ==14845== Releasing lock...
[2025-01-12 07:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:12:04] Production.ERROR: done
[2025-01-12 07:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:12:04] Production.INFO: Total Charge 0
[2025-01-12 07:12:04] Production.INFO: CreateAllLog End
[2025-01-12 07:12:04] Production.INFO: Account Balance End.
[2025-01-12 07:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:12:04] Production.INFO: ==14849== Releasing lock...
[2025-01-12 07:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:12:05
[end_date_ymd] => 2025-01-12 07:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:12:05' and `end` < '2025-01-12 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-01-12 07:12:11] Production.ERROR: CronJobId end10
[2025-01-12 07:12:11] Production.INFO: ==14847== Releasing lock...
[2025-01-12 07:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:12:13] Production.INFO: call_cost start
[2025-01-12 07:12:13] Production.INFO: call_cost end
[2025-01-12 07:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:12:14] Production.INFO: ==14843== Releasing lock...
[2025-01-12 07:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:12:19] Production.INFO: count ==43
[2025-01-12 07:12:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:12:05 - End Time 2025-01-12 07:12:05
[2025-01-12 07:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229988', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229988', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229988', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229988', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:12:19] Production.INFO: ProcessCDR(1,14229988,1,1,2)
[2025-01-12 07:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229988,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229988,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229988', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229988', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:12:23] Production.INFO: ==14851== Releasing lock...
[2025-01-12 07:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:12:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:13:02] Production.INFO: ==14915== Lock acquired, processing the job...
[2025-01-12 12:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:13:02] Production.INFO: neon service started
[2025-01-12 12:13:02] Production.INFO: neon service started
[2025-01-12 12:13:02] Production.INFO: ==14915== Releasing lock...
[2025-01-12 12:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:13:02] Production.INFO: ==14917== Lock acquired, processing the job...
[2025-01-12 07:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:13:02] Production.INFO: ==14919== Lock acquired, processing the job...
[2025-01-12 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:13:03] Production.INFO: ==14919== Releasing lock...
[2025-01-12 12:13:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:13:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:13:03] Production.INFO: ==14917== Releasing lock...
[2025-01-12 07:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:13:04] Production.INFO: ==14924== Lock acquired, processing the job...
[2025-01-12 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:13:04] Production.INFO: ==14932== Lock acquired, processing the job...
[2025-01-12 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:13:04] Production.INFO: ==14922== Lock acquired, processing the job...
[2025-01-12 07:13:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:13:04] Production.INFO: ==14924== Releasing lock...
[2025-01-12 07:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 07:13:04] Production.INFO: ==14926== Lock acquired, processing the job...
[2025-01-12 07:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:13:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:13:04] Production.INFO: ==14928== Lock acquired, processing the job...
[2025-01-12 07:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:13:04] Production.INFO: count ==21
[2025-01-12 07:13:04] Production.INFO: ==14930== Lock acquired, processing the job...
[2025-01-12 07:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229990') start
[2025-01-12 07:13:04] Production.INFO: Account Balance Start.
[2025-01-12 07:13:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:13:04] Production.INFO: 117
[2025-01-12 07:13:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229990') end
[2025-01-12 07:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:13:04] Production.INFO: 1
[2025-01-12 07:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:13:04] Production.INFO: ==14932== Releasing lock...
[2025-01-12 07:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:13:04] Production.INFO: Total Charge 0
[2025-01-12 07:13:04] Production.INFO: CreateAllLog End
[2025-01-12 07:13:04] Production.ERROR: done
[2025-01-12 07:13:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:13:05] Production.ERROR: done
[2025-01-12 07:13:05] Production.INFO: Account Balance End.
[2025-01-12 07:13:05] Production.ERROR: CronJobId end 12
[2025-01-12 07:13:05] Production.INFO: ==14928== Releasing lock...
[2025-01-12 07:13:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:13:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:13:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:13:06
[end_date_ymd] => 2025-01-12 07:13:06
[RateCDR] => 1
)
[2025-01-12 07:13:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:13:06' and `end` < '2025-01-12 07:13:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:13:12] Production.ERROR: CronJobId end10
[2025-01-12 07:13:12] Production.INFO: ==14926== Releasing lock...
[2025-01-12 07:13:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:13:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:13:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:13:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:13:14] Production.INFO: call_cost start
[2025-01-12 07:13:14] Production.INFO: call_cost end
[2025-01-12 07:13:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:13:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:13:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:13:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:13:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:13:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:13:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:13:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:13:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:13:15] Production.INFO: ==14922== Releasing lock...
[2025-01-12 07:13:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:13:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:13:22] Production.INFO: count ==43
[2025-01-12 07:13:22] Production.ERROR: pbx CDR StartTime 2025-01-12 04:13:06 - End Time 2025-01-12 07:13:06
[2025-01-12 07:13:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229993', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229993', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229993', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:13:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229993', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:13:22] Production.INFO: ProcessCDR(1,14229993,1,1,2)
[2025-01-12 07:13:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:13:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229993,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:13:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:13:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229993,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229993', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:13:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229993', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:13:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:13:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:13:25] Production.INFO: ==14930== Releasing lock...
[2025-01-12 07:13:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:13:25] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:14:01] Production.INFO: ==15004== Lock acquired, processing the job...
[2025-01-12 12:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:14:01] Production.INFO: neon service started
[2025-01-12 12:14:01] Production.INFO: neon service started
[2025-01-12 12:14:01] Production.INFO: ==15004== Releasing lock...
[2025-01-12 12:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:14:02] Production.INFO: ==15007== Lock acquired, processing the job...
[2025-01-12 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:14:02] Production.INFO: ==15007== Releasing lock...
[2025-01-12 07:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:14:02] Production.INFO: ==15009== Lock acquired, processing the job...
[2025-01-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:14:02] Production.INFO: ==15009== Releasing lock...
[2025-01-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:14:03] Production.INFO: ==15011== Lock acquired, processing the job...
[2025-01-12 07:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:14:03] Production.INFO: ==15013== Lock acquired, processing the job...
[2025-01-12 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:14:03] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-01-12 07:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:14:03] Production.INFO: ==15019== Lock acquired, processing the job...
[2025-01-12 07:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:14:03] Production.INFO: ==15017== Lock acquired, processing the job...
[2025-01-12 07:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:14:03] Production.INFO: ==15021== Lock acquired, processing the job...
[2025-01-12 07:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:14:03] Production.INFO: Account Balance Start.
[2025-01-12 07:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:14:03] Production.INFO: 117
[2025-01-12 07:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:14:03] Production.INFO: ==15013== Releasing lock...
[2025-01-12 07:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:14:03] Production.ERROR: done
[2025-01-12 07:14:03] Production.INFO: Total Charge 0
[2025-01-12 07:14:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:14:03] Production.INFO: CreateAllLog End
[2025-01-12 07:14:04] Production.INFO: count ==21
[2025-01-12 07:14:04] Production.INFO: Account Balance End.
[2025-01-12 07:14:04] Production.ERROR: done
[2025-01-12 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-01-12 07:14:04] Production.INFO: count ==21
[2025-01-12 07:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:14:04] Production.INFO: ==15017== Releasing lock...
[2025-01-12 07:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229997') start
[2025-01-12 07:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14229997') end
[2025-01-12 07:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:14:04] Production.INFO: 1
[2025-01-12 07:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:14:04] Production.INFO: ==15021== Releasing lock...
[2025-01-12 07:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:14:05
[end_date_ymd] => 2025-01-12 07:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:14:05' and `end` < '2025-01-12 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-01-12 07:14:11] Production.ERROR: CronJobId end10
[2025-01-12 07:14:11] Production.INFO: ==15015== Releasing lock...
[2025-01-12 07:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:14:13] Production.INFO: call_cost start
[2025-01-12 07:14:13] Production.INFO: call_cost end
[2025-01-12 07:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:14:14] Production.INFO: ==15011== Releasing lock...
[2025-01-12 07:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:14:19] Production.INFO: count ==43
[2025-01-12 07:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:14:05 - End Time 2025-01-12 07:14:05
[2025-01-12 07:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229998', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14229998', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229998', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14229998', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:14:19] Production.INFO: ProcessCDR(1,14229998,1,1,2)
[2025-01-12 07:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14229998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14229998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14229998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14229998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229998', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14229998', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:14:22] Production.INFO: ==15019== Releasing lock...
[2025-01-12 07:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:14:22] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:15:02] Production.INFO: ==15206== Lock acquired, processing the job...
[2025-01-12 12:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:15:02] Production.INFO: neon service started
[2025-01-12 12:15:02] Production.INFO: neon service started
[2025-01-12 12:15:02] Production.INFO: ==15206== Releasing lock...
[2025-01-12 12:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:15:02] Production.INFO: ==15210== Lock acquired, processing the job...
[2025-01-12 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:15:02] Production.INFO: ==15210== Releasing lock...
[2025-01-12 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:15:02] Production.INFO: ==15208== Lock acquired, processing the job...
[2025-01-12 07:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:15:03] Production.INFO: ==15208== Releasing lock...
[2025-01-12 07:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:15:03] Production.INFO: ==15212== Lock acquired, processing the job...
[2025-01-12 07:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:15:03] Production.INFO: ==15216== Lock acquired, processing the job...
[2025-01-12 07:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:15:03] Production.INFO: ==15214== Lock acquired, processing the job...
[2025-01-12 07:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:15:04] Production.INFO: ==15218== Lock acquired, processing the job...
[2025-01-12 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:15:04] Production.INFO: ==15220== Lock acquired, processing the job...
[2025-01-12 07:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:15:04] Production.INFO: Account Balance Start.
[2025-01-12 07:15:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:15:04] Production.INFO: 117
[2025-01-12 07:15:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:15:04] Production.INFO: ==15223== Lock acquired, processing the job...
[2025-01-12 07:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:15:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:15:04] Production.INFO: ==15214== Releasing lock...
[2025-01-12 07:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:15:04] Production.INFO: Total Charge 0
[2025-01-12 07:15:04] Production.INFO: CreateAllLog End
[2025-01-12 07:15:04] Production.INFO: count ==21
[2025-01-12 07:15:04] Production.ERROR: done
[2025-01-12 07:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 07:15:04] Production.ERROR: done
[2025-01-12 07:15:04] Production.INFO: count ==21
[2025-01-12 07:15:04] Production.INFO: Account Balance End.
[2025-01-12 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230002') start
[2025-01-12 07:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:15:04] Production.INFO: ==15218== Releasing lock...
[2025-01-12 07:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230002') end
[2025-01-12 07:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:15:04] Production.INFO: 1
[2025-01-12 07:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:15:05] Production.INFO: ==15223== Releasing lock...
[2025-01-12 07:15:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:15:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:15:05
[end_date_ymd] => 2025-01-12 07:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:15:05' and `end` < '2025-01-12 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-01-12 07:15:12] Production.ERROR: CronJobId end10
[2025-01-12 07:15:12] Production.INFO: ==15216== Releasing lock...
[2025-01-12 07:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:15:13] Production.INFO: call_cost start
[2025-01-12 07:15:13] Production.INFO: call_cost end
[2025-01-12 07:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:15:14] Production.INFO: ==15212== Releasing lock...
[2025-01-12 07:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:15:21] Production.INFO: count ==43
[2025-01-12 07:15:21] Production.ERROR: pbx CDR StartTime 2025-01-12 04:15:05 - End Time 2025-01-12 07:15:05
[2025-01-12 07:15:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230003', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230003', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230003', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:15:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230003', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:15:21] Production.INFO: ProcessCDR(1,14230003,1,1,2)
[2025-01-12 07:15:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:15:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:15:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230003', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230003', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:15:24] Production.INFO: ==15220== Releasing lock...
[2025-01-12 07:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:15:24] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:16:01] Production.INFO: ==15284== Lock acquired, processing the job...
[2025-01-12 12:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:16:01] Production.INFO: neon service started
[2025-01-12 12:16:01] Production.INFO: neon service started
[2025-01-12 12:16:01] Production.INFO: ==15284== Releasing lock...
[2025-01-12 12:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:16:02] Production.INFO: ==15286== Lock acquired, processing the job...
[2025-01-12 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:16:02] Production.INFO: ==15288== Lock acquired, processing the job...
[2025-01-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:16:02] Production.INFO: ==15288== Releasing lock...
[2025-01-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:16:02] Production.INFO: ==15286== Releasing lock...
[2025-01-12 07:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:16:03] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-01-12 07:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:16:03] Production.INFO: ==15303== Lock acquired, processing the job...
[2025-01-12 07:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:16:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:16:03] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-01-12 07:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:16:03] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-01-12 07:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:16:03] Production.INFO: count ==21
[2025-01-12 07:16:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:16:03] Production.INFO: count ==21
[2025-01-12 07:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230004') start
[2025-01-12 07:16:03] Production.INFO: ==15299== Lock acquired, processing the job...
[2025-01-12 07:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:16:03] Production.INFO: ==15301== Lock acquired, processing the job...
[2025-01-12 07:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:16:04] Production.INFO: Account Balance Start.
[2025-01-12 07:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:16:04] Production.INFO: 117
[2025-01-12 07:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230004') end
[2025-01-12 07:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:16:04] Production.INFO: 1
[2025-01-12 07:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:16:04] Production.INFO: ==15303== Releasing lock...
[2025-01-12 07:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:16:04] Production.ERROR: done
[2025-01-12 07:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:16:04] Production.INFO: ==15295== Releasing lock...
[2025-01-12 07:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:16:04] Production.INFO: Total Charge 0
[2025-01-12 07:16:04] Production.ERROR: done
[2025-01-12 07:16:04] Production.INFO: CreateAllLog End
[2025-01-12 07:16:04] Production.INFO: Account Balance End.
[2025-01-12 07:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:16:04] Production.INFO: ==15299== Releasing lock...
[2025-01-12 07:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:16:05
[end_date_ymd] => 2025-01-12 07:16:05
[RateCDR] => 1
)
[2025-01-12 07:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:16:05' and `end` < '2025-01-12 07:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:16:11] Production.ERROR: CronJobId end10
[2025-01-12 07:16:11] Production.INFO: ==15297== Releasing lock...
[2025-01-12 07:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:16:13] Production.INFO: call_cost start
[2025-01-12 07:16:13] Production.INFO: call_cost end
[2025-01-12 07:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:16:14] Production.INFO: ==15293== Releasing lock...
[2025-01-12 07:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:16:20] Production.INFO: count ==43
[2025-01-12 07:16:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:16:05 - End Time 2025-01-12 07:16:05
[2025-01-12 07:16:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230008', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230008', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230008', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:16:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230008', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:16:20] Production.INFO: ProcessCDR(1,14230008,1,1,2)
[2025-01-12 07:16:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230008', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230008', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:16:24] Production.INFO: ==15301== Releasing lock...
[2025-01-12 07:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:16:24] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:17:02] Production.INFO: ==15365== Lock acquired, processing the job...
[2025-01-12 12:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:17:02] Production.INFO: neon service started
[2025-01-12 12:17:02] Production.INFO: neon service started
[2025-01-12 12:17:02] Production.INFO: ==15365== Releasing lock...
[2025-01-12 12:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:17:02] Production.INFO: ==15367== Lock acquired, processing the job...
[2025-01-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:17:02] Production.INFO: ==15367== Releasing lock...
[2025-01-12 07:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:17:03] Production.INFO: ==15369== Lock acquired, processing the job...
[2025-01-12 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:17:03] Production.INFO: ==15369== Releasing lock...
[2025-01-12 12:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:17:03] Production.INFO: ==15372== Lock acquired, processing the job...
[2025-01-12 07:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:17:04] Production.INFO: ==15374== Lock acquired, processing the job...
[2025-01-12 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:17:04] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-01-12 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:17:04] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-01-12 07:17:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:17:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:17:04] Production.INFO: Account Balance Start.
[2025-01-12 07:17:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:17:04] Production.INFO: 117
[2025-01-12 07:17:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:17:04] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-01-12 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:17:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:17:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:17:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:17:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:17:04] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-01-12 07:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:17:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:17:04] Production.INFO: count ==21
[2025-01-12 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230012') start
[2025-01-12 07:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:17:04] Production.INFO: ==15374== Releasing lock...
[2025-01-12 07:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:17:04] Production.INFO: Total Charge 0
[2025-01-12 07:17:04] Production.INFO: CreateAllLog End
[2025-01-12 07:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230012') end
[2025-01-12 07:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:17:04] Production.INFO: 1
[2025-01-12 07:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:17:04] Production.INFO: ==15382== Releasing lock...
[2025-01-12 07:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:17:04] Production.ERROR: done
[2025-01-12 07:17:04] Production.INFO: Account Balance End.
[2025-01-12 07:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:17:04] Production.INFO: ==15378== Releasing lock...
[2025-01-12 07:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:17:04] Production.ERROR: done
[2025-01-12 07:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:17:05
[end_date_ymd] => 2025-01-12 07:17:05
[RateCDR] => 1
)
[2025-01-12 07:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:17:05' and `end` < '2025-01-12 07:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:17:12] Production.ERROR: CronJobId end10
[2025-01-12 07:17:12] Production.INFO: ==15376== Releasing lock...
[2025-01-12 07:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:17:14] Production.INFO: call_cost start
[2025-01-12 07:17:14] Production.INFO: call_cost end
[2025-01-12 07:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:17:15] Production.INFO: ==15372== Releasing lock...
[2025-01-12 07:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:17:19] Production.INFO: count ==43
[2025-01-12 07:17:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:17:05 - End Time 2025-01-12 07:17:05
[2025-01-12 07:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230013', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230013', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230013', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230013', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:17:19] Production.INFO: ProcessCDR(1,14230013,1,1,2)
[2025-01-12 07:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230013', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230013', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:17:23] Production.INFO: ==15380== Releasing lock...
[2025-01-12 07:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:17:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:18:01] Production.INFO: ==15443== Lock acquired, processing the job...
[2025-01-12 12:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:18:01] Production.INFO: neon service started
[2025-01-12 12:18:01] Production.INFO: neon service started
[2025-01-12 12:18:01] Production.INFO: ==15443== Releasing lock...
[2025-01-12 12:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:18:02] Production.INFO: ==15446== Lock acquired, processing the job...
[2025-01-12 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:18:02] Production.INFO: ==15448== Lock acquired, processing the job...
[2025-01-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:18:02] Production.INFO: ==15448== Releasing lock...
[2025-01-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:18:02] Production.INFO: ==15446== Releasing lock...
[2025-01-12 07:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:18:03] Production.INFO: ==15450== Lock acquired, processing the job...
[2025-01-12 07:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:18:03] Production.INFO: ==15452== Lock acquired, processing the job...
[2025-01-12 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:18:03] Production.INFO: ==15454== Lock acquired, processing the job...
[2025-01-12 07:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:18:03] Production.INFO: ==15460== Lock acquired, processing the job...
[2025-01-12 07:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:18:03] Production.INFO: ==15456== Lock acquired, processing the job...
[2025-01-12 07:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:18:03] Production.INFO: ==15458== Lock acquired, processing the job...
[2025-01-12 07:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:18:03] Production.INFO: ==15452== Releasing lock...
[2025-01-12 07:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:18:03] Production.INFO: Account Balance Start.
[2025-01-12 07:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:18:03] Production.INFO: 117
[2025-01-12 07:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:18:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:18:04] Production.INFO: count ==21
[2025-01-12 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230016') start
[2025-01-12 07:18:04] Production.INFO: Total Charge 0
[2025-01-12 07:18:04] Production.INFO: CreateAllLog End
[2025-01-12 07:18:04] Production.INFO: Account Balance End.
[2025-01-12 07:18:04] Production.ERROR: done
[2025-01-12 07:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:18:04] Production.INFO: ==15456== Releasing lock...
[2025-01-12 07:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230016') end
[2025-01-12 07:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:18:04] Production.INFO: 1
[2025-01-12 07:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:18:04] Production.ERROR: done
[2025-01-12 07:18:04] Production.INFO: ==15460== Releasing lock...
[2025-01-12 07:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:18:05
[end_date_ymd] => 2025-01-12 07:18:05
[RateCDR] => 1
)
[2025-01-12 07:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:18:05' and `end` < '2025-01-12 07:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:18:11] Production.ERROR: CronJobId end10
[2025-01-12 07:18:11] Production.INFO: ==15454== Releasing lock...
[2025-01-12 07:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:18:12] Production.INFO: call_cost start
[2025-01-12 07:18:12] Production.INFO: call_cost end
[2025-01-12 07:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:18:13] Production.INFO: ==15450== Releasing lock...
[2025-01-12 07:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:18:22] Production.INFO: count ==43
[2025-01-12 07:18:22] Production.ERROR: pbx CDR StartTime 2025-01-12 04:18:05 - End Time 2025-01-12 07:18:05
[2025-01-12 07:18:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230018', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230018', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230018', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:18:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230018', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:18:22] Production.INFO: ProcessCDR(1,14230018,1,1,2)
[2025-01-12 07:18:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:18:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:18:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:18:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230018', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:18:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230018', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:18:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:18:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:18:25] Production.INFO: ==15458== Releasing lock...
[2025-01-12 07:18:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:18:25] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:19:02] Production.INFO: ==15524== Lock acquired, processing the job...
[2025-01-12 12:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:19:02] Production.INFO: neon service started
[2025-01-12 12:19:02] Production.INFO: neon service started
[2025-01-12 12:19:02] Production.INFO: ==15524== Releasing lock...
[2025-01-12 12:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:19:02] Production.INFO: ==15528== Lock acquired, processing the job...
[2025-01-12 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:19:02] Production.INFO: ==15528== Releasing lock...
[2025-01-12 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:19:02] Production.INFO: ==15526== Lock acquired, processing the job...
[2025-01-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:19:02] Production.INFO: ==15526== Releasing lock...
[2025-01-12 07:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:19:03] Production.INFO: ==15539== Lock acquired, processing the job...
[2025-01-12 07:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:19:03] Production.INFO: ==15537== Lock acquired, processing the job...
[2025-01-12 07:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:19:03] Production.INFO: ==15531== Lock acquired, processing the job...
[2025-01-12 07:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:19:03] Production.INFO: ==15535== Lock acquired, processing the job...
[2025-01-12 07:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:19:03] Production.INFO: ==15541== Lock acquired, processing the job...
[2025-01-12 07:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:19:03] Production.INFO: ==15533== Lock acquired, processing the job...
[2025-01-12 07:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:19:03] Production.INFO: Account Balance Start.
[2025-01-12 07:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:19:03] Production.INFO: 117
[2025-01-12 07:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 07:19:03] Production.ERROR: done
[2025-01-12 07:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:19:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:19:04] Production.INFO: count ==21
[2025-01-12 07:19:04] Production.ERROR: done
[2025-01-12 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230021') start
[2025-01-12 07:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230021') end
[2025-01-12 07:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:19:04] Production.INFO: 1
[2025-01-12 07:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:19:04] Production.INFO: ==15541== Releasing lock...
[2025-01-12 07:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:19:04] Production.INFO: Total Charge 0
[2025-01-12 07:19:04] Production.INFO: CreateAllLog End
[2025-01-12 07:19:04] Production.INFO: ==15533== Releasing lock...
[2025-01-12 07:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:19:04] Production.INFO: Account Balance End.
[2025-01-12 07:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:19:04] Production.INFO: ==15537== Releasing lock...
[2025-01-12 07:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:19:05
[end_date_ymd] => 2025-01-12 07:19:05
[RateCDR] => 1
)
[2025-01-12 07:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:19:05' and `end` < '2025-01-12 07:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:19:10] Production.ERROR: CronJobId end10
[2025-01-12 07:19:10] Production.INFO: ==15535== Releasing lock...
[2025-01-12 07:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:19:13] Production.INFO: call_cost start
[2025-01-12 07:19:13] Production.INFO: call_cost end
[2025-01-12 07:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:19:14] Production.INFO: ==15531== Releasing lock...
[2025-01-12 07:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:19:21] Production.INFO: count ==44
[2025-01-12 07:19:21] Production.ERROR: pbx CDR StartTime 2025-01-12 04:19:05 - End Time 2025-01-12 07:19:05
[2025-01-12 07:19:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230023', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230023', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230023', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:19:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230023', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:19:21] Production.INFO: ProcessCDR(1,14230023,1,1,2)
[2025-01-12 07:19:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:19:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:19:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:19:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230023', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:19:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230023', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:19:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:19:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:19:26] Production.INFO: ==15539== Releasing lock...
[2025-01-12 07:19:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:19:26] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:20:01] Production.INFO: ==15602== Lock acquired, processing the job...
[2025-01-12 12:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:20:01] Production.INFO: neon service started
[2025-01-12 12:20:01] Production.INFO: neon service started
[2025-01-12 12:20:01] Production.INFO: ==15602== Releasing lock...
[2025-01-12 12:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:20:01] Production.INFO: ==15604== Lock acquired, processing the job...
[2025-01-12 07:20:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:20:02] Production.INFO: ==15606== Lock acquired, processing the job...
[2025-01-12 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:20:02] Production.INFO: ==15606== Releasing lock...
[2025-01-12 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:20:02] Production.INFO: ==15604== Releasing lock...
[2025-01-12 07:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:20:03] Production.INFO: ==15609== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 07:20:03] Production.INFO: ==15611== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 07:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:20:03] Production.ERROR: CronJob PID - 15611
[2025-01-12 07:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 07:20:03] Production.ERROR: CronJob ID - 5
[2025-01-12 07:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 07:20:00
[2025-01-12 07:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 07:20:03] Production.INFO: ==15609== Releasing lock...
[2025-01-12 07:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 07:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 07:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:20:03] Production.INFO: ==15613== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:20:03] Production.INFO: ==15617== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:20:03] Production.INFO: ==15621== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 07:20:03] Production.INFO: Account Balance Start.
[2025-01-12 07:20:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:20:03] Production.INFO: 117
[2025-01-12 07:20:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:20:03] Production.INFO: ==15615== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:20:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:20:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:20:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:20:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:20:03] Production.INFO: Total Charge 0
[2025-01-12 07:20:03] Production.INFO: ==15619== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:20:03] Production.INFO: CreateAllLog End
[2025-01-12 07:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:20:03] Production.INFO: ==15623== Lock acquired, processing the job...
[2025-01-12 07:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:20:04] Production.ERROR: done
[2025-01-12 07:20:04] Production.INFO: ==15613== Releasing lock...
[2025-01-12 07:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:20:04] Production.INFO: count ==21
[2025-01-12 07:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 07:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230028', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 07:20:04] Production.INFO: count ==21
[2025-01-12 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230027') start
[2025-01-12 07:20:04] Production.INFO: Account Balance End.
[2025-01-12 07:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:20:04] Production.INFO: ==15617== Releasing lock...
[2025-01-12 07:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:20:04] Production.ERROR: done
[2025-01-12 07:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230027') end
[2025-01-12 07:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:20:04] Production.INFO: 1
[2025-01-12 07:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:20:04] Production.INFO: ==15623== Releasing lock...
[2025-01-12 07:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:20:04] Production.ERROR: done
[2025-01-12 07:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:20:06
[end_date_ymd] => 2025-01-12 07:20:06
[RateCDR] => 1
)
[2025-01-12 07:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:20:06' and `end` < '2025-01-12 07:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230028', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 07:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 07:20:08] Production.INFO: ProcessCDR(1,14230028,1,1,2)
[2025-01-12 07:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230028,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230028,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:20:08] Production.INFO: ==15621== Releasing lock...
[2025-01-12 07:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 07:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 07:20:13] Production.ERROR: CronJobId end10
[2025-01-12 07:20:13] Production.INFO: ==15615== Releasing lock...
[2025-01-12 07:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:20:15] Production.INFO: call_cost start
[2025-01-12 07:20:15] Production.INFO: call_cost end
[2025-01-12 07:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:20:16] Production.INFO: ==15611== Releasing lock...
[2025-01-12 07:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:20:19] Production.INFO: count ==44
[2025-01-12 07:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:20:06 - End Time 2025-01-12 07:20:06
[2025-01-12 07:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230029', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230029', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230029', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230029', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:20:19] Production.INFO: ProcessCDR(1,14230029,1,1,2)
[2025-01-12 07:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230029,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230029,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230029', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230029', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:20:22] Production.INFO: ==15619== Releasing lock...
[2025-01-12 07:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:20:22] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:21:01] Production.INFO: ==15687== Lock acquired, processing the job...
[2025-01-12 12:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:21:02] Production.INFO: neon service started
[2025-01-12 12:21:02] Production.INFO: neon service started
[2025-01-12 12:21:02] Production.INFO: ==15687== Releasing lock...
[2025-01-12 12:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:21:02] Production.INFO: ==15691== Lock acquired, processing the job...
[2025-01-12 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:21:02] Production.INFO: ==15691== Releasing lock...
[2025-01-12 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:21:02] Production.INFO: ==15689== Lock acquired, processing the job...
[2025-01-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:21:02] Production.INFO: ==15689== Releasing lock...
[2025-01-12 07:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:21:03] Production.INFO: ==15697== Lock acquired, processing the job...
[2025-01-12 07:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:21:03] Production.INFO: ==15705== Lock acquired, processing the job...
[2025-01-12 07:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 07:21:04] Production.INFO: ==15695== Lock acquired, processing the job...
[2025-01-12 07:21:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:21:04] Production.INFO: count ==21
[2025-01-12 07:21:04] Production.INFO: ==15699== Lock acquired, processing the job...
[2025-01-12 07:21:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 07:21:04] Production.INFO: count ==21
[2025-01-12 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230031') start
[2025-01-12 07:21:04] Production.INFO: ==15701== Lock acquired, processing the job...
[2025-01-12 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:21:04] Production.INFO: ==15703== Lock acquired, processing the job...
[2025-01-12 07:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:21:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:21:04] Production.INFO: ==15697== Releasing lock...
[2025-01-12 07:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230031') end
[2025-01-12 07:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:21:04] Production.INFO: 1
[2025-01-12 07:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:21:04] Production.INFO: Account Balance Start.
[2025-01-12 07:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:21:04] Production.INFO: 117
[2025-01-12 07:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:21:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:21:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:21:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:21:04] Production.INFO: ==15705== Releasing lock...
[2025-01-12 07:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:21:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:21:04] Production.ERROR: done
[2025-01-12 07:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:21:04] Production.INFO: Total Charge 0
[2025-01-12 07:21:04] Production.INFO: CreateAllLog End
[2025-01-12 07:21:04] Production.ERROR: done
[2025-01-12 07:21:04] Production.INFO: Account Balance End.
[2025-01-12 07:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:21:04] Production.INFO: ==15701== Releasing lock...
[2025-01-12 07:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:21:05
[end_date_ymd] => 2025-01-12 07:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:21:05' and `end` < '2025-01-12 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-01-12 07:21:10] Production.ERROR: CronJobId end10
[2025-01-12 07:21:10] Production.INFO: ==15699== Releasing lock...
[2025-01-12 07:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:21:14] Production.INFO: call_cost start
[2025-01-12 07:21:14] Production.INFO: call_cost end
[2025-01-12 07:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:21:14] Production.INFO: ==15695== Releasing lock...
[2025-01-12 07:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:21:20] Production.INFO: count ==44
[2025-01-12 07:21:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:21:05 - End Time 2025-01-12 07:21:05
[2025-01-12 07:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230034', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230034', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230034', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230034', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:21:20] Production.INFO: ProcessCDR(1,14230034,1,1,2)
[2025-01-12 07:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230034,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230034,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230034', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230034', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:21:23] Production.INFO: ==15703== Releasing lock...
[2025-01-12 07:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:21:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:22:01] Production.INFO: ==15768== Lock acquired, processing the job...
[2025-01-12 12:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:22:01] Production.INFO: neon service started
[2025-01-12 12:22:01] Production.INFO: neon service started
[2025-01-12 12:22:01] Production.INFO: ==15768== Releasing lock...
[2025-01-12 12:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:22:01] Production.INFO: ==15770== Lock acquired, processing the job...
[2025-01-12 07:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:22:02] Production.INFO: ==15770== Releasing lock...
[2025-01-12 07:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:22:02] Production.INFO: ==15772== Lock acquired, processing the job...
[2025-01-12 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:22:02] Production.INFO: ==15772== Releasing lock...
[2025-01-12 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:22:03] Production.INFO: ==15783== Lock acquired, processing the job...
[2025-01-12 07:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:22:03] Production.INFO: ==15775== Lock acquired, processing the job...
[2025-01-12 07:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:22:03] Production.INFO: ==15781== Lock acquired, processing the job...
[2025-01-12 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:22:03] Production.INFO: ==15777== Lock acquired, processing the job...
[2025-01-12 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:22:03] Production.INFO: Account Balance Start.
[2025-01-12 07:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:22:03] Production.INFO: ==15779== Lock acquired, processing the job...
[2025-01-12 07:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:22:03] Production.INFO: 117
[2025-01-12 07:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:22:03] Production.INFO: ==15785== Lock acquired, processing the job...
[2025-01-12 07:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:22:03] Production.ERROR: done
[2025-01-12 07:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 07: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-01-12 07:22:03] Production.INFO: Total Charge 0
[2025-01-12 07:22:03] Production.INFO: CreateAllLog End
[2025-01-12 07:22:03] Production.INFO: count ==21
[2025-01-12 07:22:03] Production.ERROR: done
[2025-01-12 07: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-01-12 07:22:03] Production.INFO: ==15777== Releasing lock...
[2025-01-12 07:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:22:03] Production.INFO: count ==21
[2025-01-12 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230038') start
[2025-01-12 07:22:03] Production.INFO: Account Balance End.
[2025-01-12 07:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230038') end
[2025-01-12 07:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:22:03] Production.INFO: 1
[2025-01-12 07:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:22:03] Production.ERROR: CronJobId end 12
[2025-01-12 07:22:03] Production.INFO: ==15781== Releasing lock...
[2025-01-12 07:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:22:03] Production.INFO: ==15785== Releasing lock...
[2025-01-12 07:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:22:04
[end_date_ymd] => 2025-01-12 07:22:04
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:22:04' and `end` < '2025-01-12 07: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-01-12 07:22:11] Production.ERROR: CronJobId end10
[2025-01-12 07:22:11] Production.INFO: ==15779== Releasing lock...
[2025-01-12 07:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:22:13] Production.INFO: call_cost start
[2025-01-12 07:22:13] Production.INFO: call_cost end
[2025-01-12 07:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:22:14] Production.INFO: ==15775== Releasing lock...
[2025-01-12 07:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:22:38] Production.INFO: count ==44
[2025-01-12 07:22:38] Production.ERROR: pbx CDR StartTime 2025-01-12 04:22:04 - End Time 2025-01-12 07:22:04
[2025-01-12 07:22:38] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:22:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230039', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:22:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230039', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:22:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230039', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:22:38] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230039', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:22:38] Production.INFO: ProcessCDR(1,14230039,1,1,2)
[2025-01-12 07:22:38] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:22:39] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230039,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:22:39] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:22:41] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230039,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:22:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230039', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:22:41] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230039', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:22:41] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:22:41] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:22:41] Production.INFO: ==15783== Releasing lock...
[2025-01-12 07:22:41] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:22:41] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:23:01] Production.INFO: ==15846== Lock acquired, processing the job...
[2025-01-12 12:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:23:01] Production.INFO: neon service started
[2025-01-12 12:23:01] Production.INFO: neon service started
[2025-01-12 12:23:01] Production.INFO: ==15846== Releasing lock...
[2025-01-12 12:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:23:02] Production.INFO: ==15850== Lock acquired, processing the job...
[2025-01-12 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:23:02] Production.INFO: ==15850== Releasing lock...
[2025-01-12 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:23:02] Production.INFO: ==15848== Lock acquired, processing the job...
[2025-01-12 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:23:02] Production.INFO: ==15848== Releasing lock...
[2025-01-12 07:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:23:03] Production.INFO: ==15853== Lock acquired, processing the job...
[2025-01-12 07:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:23:03] Production.INFO: ==15857== Lock acquired, processing the job...
[2025-01-12 07:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:23:03] Production.INFO: ==15859== Lock acquired, processing the job...
[2025-01-12 07:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:23:03] Production.INFO: ==15855== Lock acquired, processing the job...
[2025-01-12 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:23:03] Production.INFO: Account Balance Start.
[2025-01-12 07:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:23:03] Production.INFO: 117
[2025-01-12 07:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:23:03] Production.INFO: ==15861== Lock acquired, processing the job...
[2025-01-12 07:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:23:03] Production.INFO: ==15863== Lock acquired, processing the job...
[2025-01-12 07:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:23:03] Production.INFO: Total Charge 0
[2025-01-12 07:23:03] Production.INFO: ==15855== Releasing lock...
[2025-01-12 07:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:23:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 07:23:04] Production.ERROR: done
[2025-01-12 07:23:04] Production.INFO: count ==21
[2025-01-12 07:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 07:23:04] Production.INFO: count ==21
[2025-01-12 07:23:04] Production.INFO: Account Balance End.
[2025-01-12 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230043') start
[2025-01-12 07:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:23:04] Production.INFO: ==15859== Releasing lock...
[2025-01-12 07:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:23:04] Production.ERROR: done
[2025-01-12 07:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230043') end
[2025-01-12 07:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:23:04] Production.INFO: 1
[2025-01-12 07:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:23:04] Production.INFO: ==15863== Releasing lock...
[2025-01-12 07:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:23:05
[end_date_ymd] => 2025-01-12 07:23:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:23:05' and `end` < '2025-01-12 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-01-12 07:23:12] Production.ERROR: CronJobId end10
[2025-01-12 07:23:12] Production.INFO: ==15857== Releasing lock...
[2025-01-12 07:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:23:14] Production.INFO: call_cost start
[2025-01-12 07:23:14] Production.INFO: call_cost end
[2025-01-12 07:23:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:23:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:23:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:23:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:23:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:23:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:23:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:23:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:23:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:23:15] Production.INFO: ==15853== Releasing lock...
[2025-01-12 07:23:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:23:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:23:20] Production.INFO: count ==44
[2025-01-12 07:23:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:23:05 - End Time 2025-01-12 07:23:05
[2025-01-12 07:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230044', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230044', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230044', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230044', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:23:20] Production.INFO: ProcessCDR(1,14230044,1,1,2)
[2025-01-12 07:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230044,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230044,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230044', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230044', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:23:23] Production.INFO: ==15861== Releasing lock...
[2025-01-12 07:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:23:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:24:02] Production.INFO: ==15925== Lock acquired, processing the job...
[2025-01-12 12:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:24:02] Production.INFO: neon service started
[2025-01-12 12:24:02] Production.INFO: neon service started
[2025-01-12 12:24:02] Production.INFO: ==15925== Releasing lock...
[2025-01-12 12:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:24:02] Production.INFO: ==15927== Lock acquired, processing the job...
[2025-01-12 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:24:02] Production.INFO: ==15927== Releasing lock...
[2025-01-12 07:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:24:02] Production.INFO: ==15929== Lock acquired, processing the job...
[2025-01-12 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:24:03] Production.INFO: ==15929== Releasing lock...
[2025-01-12 12:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:24:03] Production.INFO: ==15935== Lock acquired, processing the job...
[2025-01-12 07:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:24:03] Production.INFO: ==15931== Lock acquired, processing the job...
[2025-01-12 07:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:24:03] Production.INFO: ==15933== Lock acquired, processing the job...
[2025-01-12 07:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:24:03] Production.INFO: ==15941== Lock acquired, processing the job...
[2025-01-12 07:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:24:03] Production.INFO: ==15937== Lock acquired, processing the job...
[2025-01-12 07:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:24:04] Production.INFO: ==15939== Lock acquired, processing the job...
[2025-01-12 07:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 07:24:04] Production.INFO: count ==21
[2025-01-12 07:24:04] Production.INFO: Account Balance Start.
[2025-01-12 07:24:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:24:04] Production.INFO: 117
[2025-01-12 07: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-01-12 07:24:04] Production.INFO: count ==21
[2025-01-12 07:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:24:04] Production.INFO: ==15933== Releasing lock...
[2025-01-12 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230046') start
[2025-01-12 07:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230046') end
[2025-01-12 07:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:24:04] Production.INFO: 1
[2025-01-12 07:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:24:04] Production.INFO: ==15941== Releasing lock...
[2025-01-12 07:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:24:04] Production.ERROR: done
[2025-01-12 07:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:24:04] Production.INFO: Total Charge 0
[2025-01-12 07:24:04] Production.INFO: CreateAllLog End
[2025-01-12 07:24:04] Production.INFO: Account Balance End.
[2025-01-12 07:24:04] Production.ERROR: done
[2025-01-12 07:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:24:04] Production.INFO: ==15937== Releasing lock...
[2025-01-12 07:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:24:05
[end_date_ymd] => 2025-01-12 07:24:05
[RateCDR] => 1
)
[2025-01-12 07:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:24:05' and `end` < '2025-01-12 07:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:24:11] Production.ERROR: CronJobId end10
[2025-01-12 07:24:11] Production.INFO: ==15935== Releasing lock...
[2025-01-12 07:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:24:13] Production.INFO: call_cost start
[2025-01-12 07:24:13] Production.INFO: call_cost end
[2025-01-12 07:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:24:14] Production.INFO: ==15931== Releasing lock...
[2025-01-12 07:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:24:19] Production.INFO: count ==44
[2025-01-12 07:24:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:24:05 - End Time 2025-01-12 07:24:05
[2025-01-12 07:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230049', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230049', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230049', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230049', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:24:19] Production.INFO: ProcessCDR(1,14230049,1,1,2)
[2025-01-12 07:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230049', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230049', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:24:22] Production.INFO: ==15939== Releasing lock...
[2025-01-12 07:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:24:22] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:25:01] Production.INFO: ==16007== Lock acquired, processing the job...
[2025-01-12 12:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:25:01] Production.INFO: neon service started
[2025-01-12 12:25:01] Production.INFO: neon service started
[2025-01-12 12:25:01] Production.INFO: ==16007== Releasing lock...
[2025-01-12 12:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:25:02] Production.INFO: ==16009== Lock acquired, processing the job...
[2025-01-12 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:25:02] Production.INFO: ==16011== Lock acquired, processing the job...
[2025-01-12 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:25:02] Production.INFO: ==16011== Releasing lock...
[2025-01-12 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:25:02] Production.INFO: ==16009== Releasing lock...
[2025-01-12 07:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:25:03] Production.INFO: ==16014== Lock acquired, processing the job...
[2025-01-12 07:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:25:03] Production.INFO: ==16016== Lock acquired, processing the job...
[2025-01-12 07:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:25:03] Production.INFO: ==16018== Lock acquired, processing the job...
[2025-01-12 07:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:25:03] Production.INFO: ==16022== Lock acquired, processing the job...
[2025-01-12 07:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:25:03] Production.INFO: ==16020== Lock acquired, processing the job...
[2025-01-12 07:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:25:03] Production.INFO: ==16024== Lock acquired, processing the job...
[2025-01-12 07:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:25:03] Production.INFO: Account Balance Start.
[2025-01-12 07:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:25:03] Production.INFO: 117
[2025-01-12 07:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:25:04] Production.ERROR: done
[2025-01-12 07:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:25:04] Production.INFO: ==16016== Releasing lock...
[2025-01-12 07:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 07:25:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:25:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:25:04] Production.INFO: count ==21
[2025-01-12 07:25:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:25:04] Production.INFO: count ==21
[2025-01-12 07:25:04] Production.ERROR: done
[2025-01-12 07:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230053') start
[2025-01-12 07:25:04] Production.INFO: Total Charge 0
[2025-01-12 07:25:04] Production.INFO: CreateAllLog End
[2025-01-12 07:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230053') end
[2025-01-12 07:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:25:04] Production.INFO: 1
[2025-01-12 07:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:25:04] Production.INFO: ==16024== Releasing lock...
[2025-01-12 07:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:25:04] Production.INFO: Account Balance End.
[2025-01-12 07:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:25:04] Production.INFO: ==16020== Releasing lock...
[2025-01-12 07:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:25:05
[end_date_ymd] => 2025-01-12 07:25:05
[RateCDR] => 1
)
[2025-01-12 07:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:25:05' and `end` < '2025-01-12 07:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:25:11] Production.ERROR: CronJobId end10
[2025-01-12 07:25:11] Production.INFO: ==16018== Releasing lock...
[2025-01-12 07:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:25:13] Production.INFO: call_cost start
[2025-01-12 07:25:13] Production.INFO: call_cost end
[2025-01-12 07:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:25:14] Production.INFO: ==16014== Releasing lock...
[2025-01-12 07:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:25:18] Production.INFO: count ==44
[2025-01-12 07:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:25:05 - End Time 2025-01-12 07:25:05
[2025-01-12 07:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230054', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230054', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230054', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230054', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:25:18] Production.INFO: ProcessCDR(1,14230054,1,1,2)
[2025-01-12 07:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230054', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230054', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:25:21] Production.INFO: ==16022== Releasing lock...
[2025-01-12 07:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:25:21] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:26:02] Production.INFO: ==16087== Lock acquired, processing the job...
[2025-01-12 12:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:26:02] Production.INFO: neon service started
[2025-01-12 12:26:02] Production.INFO: neon service started
[2025-01-12 12:26:02] Production.INFO: ==16087== Releasing lock...
[2025-01-12 12:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:26:02] Production.INFO: ==16089== Lock acquired, processing the job...
[2025-01-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:26:02] Production.INFO: ==16089== Releasing lock...
[2025-01-12 07:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:26:02] Production.INFO: ==16091== Lock acquired, processing the job...
[2025-01-12 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:26:02] Production.INFO: ==16091== Releasing lock...
[2025-01-12 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:26:03] Production.INFO: ==16095== Lock acquired, processing the job...
[2025-01-12 07:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:26:03] Production.INFO: ==16103== Lock acquired, processing the job...
[2025-01-12 07:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:26:03] Production.INFO: ==16093== Lock acquired, processing the job...
[2025-01-12 07:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:26:03] Production.INFO: ==16097== Lock acquired, processing the job...
[2025-01-12 07:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:26:03] Production.INFO: ==16099== Lock acquired, processing the job...
[2025-01-12 07:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:26:03] Production.INFO: count ==21
[2025-01-12 07:26:03] Production.INFO: ==16101== Lock acquired, processing the job...
[2025-01-12 07:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:26:03] Production.INFO: count ==21
[2025-01-12 07:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230055') start
[2025-01-12 07:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:26:04] Production.INFO: Account Balance Start.
[2025-01-12 07:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:26:04] Production.INFO: 117
[2025-01-12 07:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230055') end
[2025-01-12 07:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:26:04] Production.INFO: 1
[2025-01-12 07:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:26:04] Production.INFO: ==16095== Releasing lock...
[2025-01-12 07:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:26:04] Production.INFO: ==16103== Releasing lock...
[2025-01-12 07:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:26:04] Production.ERROR: done
[2025-01-12 07:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:26:04] Production.ERROR: done
[2025-01-12 07:26:04] Production.INFO: Total Charge 0
[2025-01-12 07:26:04] Production.INFO: CreateAllLog End
[2025-01-12 07:26:04] Production.INFO: Account Balance End.
[2025-01-12 07:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:26:04] Production.INFO: ==16099== Releasing lock...
[2025-01-12 07:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:26:05
[end_date_ymd] => 2025-01-12 07:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:26:05' and `end` < '2025-01-12 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-01-12 07:26:11] Production.ERROR: CronJobId end10
[2025-01-12 07:26:11] Production.INFO: ==16097== Releasing lock...
[2025-01-12 07:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:26:13] Production.INFO: call_cost start
[2025-01-12 07:26:13] Production.INFO: call_cost end
[2025-01-12 07:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:26:14] Production.INFO: ==16093== Releasing lock...
[2025-01-12 07:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:26:18] Production.INFO: count ==44
[2025-01-12 07:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:26:05 - End Time 2025-01-12 07:26:05
[2025-01-12 07:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230059', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230059', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230059', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230059', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:26:18] Production.INFO: ProcessCDR(1,14230059,1,1,2)
[2025-01-12 07:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230059', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230059', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:26:21] Production.INFO: ==16101== Releasing lock...
[2025-01-12 07:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:26:21] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:27:01] Production.INFO: ==16170== Lock acquired, processing the job...
[2025-01-12 12:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:27:01] Production.INFO: neon service started
[2025-01-12 12:27:01] Production.INFO: neon service started
[2025-01-12 12:27:01] Production.INFO: ==16170== Releasing lock...
[2025-01-12 12:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:27:01] Production.INFO: ==16172== Lock acquired, processing the job...
[2025-01-12 07:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:27:01] Production.INFO: ==16174== Lock acquired, processing the job...
[2025-01-12 12:27:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:27:02] Production.INFO: ==16174== Releasing lock...
[2025-01-12 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:27:02] Production.INFO: ==16172== Releasing lock...
[2025-01-12 07:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:27:03] Production.INFO: ==16181== Lock acquired, processing the job...
[2025-01-12 07:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:27:03] Production.INFO: ==16177== Lock acquired, processing the job...
[2025-01-12 07:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:27:03] Production.INFO: ==16187== Lock acquired, processing the job...
[2025-01-12 07:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:27:03] Production.INFO: ==16179== Lock acquired, processing the job...
[2025-01-12 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:27:03] Production.INFO: ==16183== Lock acquired, processing the job...
[2025-01-12 07:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:27:03] Production.INFO: ==16185== Lock acquired, processing the job...
[2025-01-12 07:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:27:03] Production.INFO: count ==21
[2025-01-12 07:27:03] Production.INFO: Account Balance Start.
[2025-01-12 07:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:27:03] Production.INFO: 117
[2025-01-12 07:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:27:03] Production.INFO: count ==21
[2025-01-12 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230062') start
[2025-01-12 07:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:27:03] Production.INFO: Total Charge 0
[2025-01-12 07:27:03] Production.INFO: ==16179== Releasing lock...
[2025-01-12 07:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:27:03] Production.INFO: CreateAllLog End
[2025-01-12 07:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230062') end
[2025-01-12 07:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:27:03] Production.INFO: 1
[2025-01-12 07:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:27:04] Production.ERROR: done
[2025-01-12 07:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:27:04] Production.INFO: ==16187== Releasing lock...
[2025-01-12 07:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:27:04] Production.ERROR: done
[2025-01-12 07:27:04] Production.INFO: Account Balance End.
[2025-01-12 07:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:27:04] Production.INFO: ==16183== Releasing lock...
[2025-01-12 07:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:27:05
[end_date_ymd] => 2025-01-12 07:27:05
[RateCDR] => 1
)
[2025-01-12 07:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:27:05' and `end` < '2025-01-12 07:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:27:11] Production.ERROR: CronJobId end10
[2025-01-12 07:27:11] Production.INFO: ==16181== Releasing lock...
[2025-01-12 07:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:27:13] Production.INFO: call_cost start
[2025-01-12 07:27:13] Production.INFO: call_cost end
[2025-01-12 07:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:27:13] Production.INFO: ==16177== Releasing lock...
[2025-01-12 07:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:27:19] Production.INFO: count ==45
[2025-01-12 07:27:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:27:05 - End Time 2025-01-12 07:27:05
[2025-01-12 07:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230064', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230064', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230064', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230064', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:27:19] Production.INFO: ProcessCDR(1,14230064,1,1,2)
[2025-01-12 07:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230064', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230064', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:27:24] Production.INFO: ==16185== Releasing lock...
[2025-01-12 07:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:27:24] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:28:02] Production.INFO: ==16280== Lock acquired, processing the job...
[2025-01-12 12:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:28:02] Production.INFO: neon service started
[2025-01-12 12:28:02] Production.INFO: neon service started
[2025-01-12 12:28:02] Production.INFO: ==16280== Releasing lock...
[2025-01-12 12:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:28:02] Production.INFO: ==16282== Lock acquired, processing the job...
[2025-01-12 07:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:28:03] Production.INFO: ==16284== Lock acquired, processing the job...
[2025-01-12 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:28:03] Production.INFO: ==16284== Releasing lock...
[2025-01-12 12:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:28:03] Production.INFO: ==16282== Releasing lock...
[2025-01-12 07:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:28:04] Production.INFO: ==16295== Lock acquired, processing the job...
[2025-01-12 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:28:04] Production.INFO: ==16299== Lock acquired, processing the job...
[2025-01-12 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:28:04] Production.INFO: Account Balance Start.
[2025-01-12 07:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:28:04] Production.INFO: 117
[2025-01-12 07:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:28:04] Production.INFO: count ==21
[2025-01-12 07:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:28:04] Production.INFO: count ==21
[2025-01-12 07:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:28:04] Production.INFO: ==16289== Lock acquired, processing the job...
[2025-01-12 07:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230066') start
[2025-01-12 07:28:04] Production.INFO: ==16293== Lock acquired, processing the job...
[2025-01-12 07:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:28:04] Production.INFO: ==16291== Lock acquired, processing the job...
[2025-01-12 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:28:04] Production.INFO: Total Charge 0
[2025-01-12 07:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:28:04] Production.INFO: CreateAllLog End
[2025-01-12 07:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230066') end
[2025-01-12 07:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:28:04] Production.INFO: 1
[2025-01-12 07:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:28:04] Production.INFO: ==16297== Lock acquired, processing the job...
[2025-01-12 07:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:28:04] Production.INFO: ==16299== Releasing lock...
[2025-01-12 07:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:28:04] Production.INFO: Account Balance End.
[2025-01-12 07:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:28:04] Production.INFO: ==16295== Releasing lock...
[2025-01-12 07:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:28:04] Production.INFO: ==16291== Releasing lock...
[2025-01-12 07:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:28:04] Production.ERROR: done
[2025-01-12 07:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:28:04] Production.ERROR: done
[2025-01-12 07:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:28:05
[end_date_ymd] => 2025-01-12 07:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:28:05' and `end` < '2025-01-12 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-01-12 07:28:12] Production.ERROR: CronJobId end10
[2025-01-12 07:28:12] Production.INFO: ==16293== Releasing lock...
[2025-01-12 07:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:28:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:28:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:28:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:28:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:28:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:28:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:28:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:28:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:28:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:28:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:28:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:28:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:28:14] Production.INFO: call_cost start
[2025-01-12 07:28:14] Production.INFO: call_cost end
[2025-01-12 07:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:28:15] Production.INFO: ==16289== Releasing lock...
[2025-01-12 07:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:28:20] Production.INFO: count ==45
[2025-01-12 07:28:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:28:05 - End Time 2025-01-12 07:28:05
[2025-01-12 07:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230069', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230069', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230069', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230069', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:28:20] Production.INFO: ProcessCDR(1,14230069,1,1,2)
[2025-01-12 07:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230069', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230069', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:28:23] Production.INFO: ==16297== Releasing lock...
[2025-01-12 07:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:28:23] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:29:01] Production.INFO: ==16382== Lock acquired, processing the job...
[2025-01-12 12:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:29:01] Production.INFO: neon service started
[2025-01-12 12:29:01] Production.INFO: neon service started
[2025-01-12 12:29:01] Production.INFO: ==16382== Releasing lock...
[2025-01-12 12:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:29:01] Production.INFO: ==16385== Lock acquired, processing the job...
[2025-01-12 07:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:29:02] Production.INFO: ==16385== Releasing lock...
[2025-01-12 07:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:29:02] Production.INFO: ==16387== Lock acquired, processing the job...
[2025-01-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:29:02] Production.INFO: ==16387== Releasing lock...
[2025-01-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:29:03] Production.INFO: ==16392== Lock acquired, processing the job...
[2025-01-12 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:29:03] Production.INFO: ==16394== Lock acquired, processing the job...
[2025-01-12 07:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:29:03] Production.INFO: ==16398== Lock acquired, processing the job...
[2025-01-12 07:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:29:03] Production.INFO: ==16390== Lock acquired, processing the job...
[2025-01-12 07:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:29:03] Production.INFO: ==16392== Releasing lock...
[2025-01-12 07:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:29:03] Production.INFO: ==16400== Lock acquired, processing the job...
[2025-01-12 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:29:03] Production.INFO: ==16396== Lock acquired, processing the job...
[2025-01-12 07:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:29:03] Production.ERROR: done
[2025-01-12 07:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:29:03] Production.INFO: Account Balance Start.
[2025-01-12 07:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:29:03] Production.INFO: 117
[2025-01-12 07:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:29:03] Production.INFO: count ==21
[2025-01-12 07:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:29:03] Production.ERROR: done
[2025-01-12 07:29:03] Production.INFO: count ==21
[2025-01-12 07:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230073') start
[2025-01-12 07:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230073') end
[2025-01-12 07:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:29:03] Production.INFO: 1
[2025-01-12 07:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:29:03] Production.INFO: ==16400== Releasing lock...
[2025-01-12 07:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:29:03] Production.INFO: Total Charge 0
[2025-01-12 07:29:03] Production.INFO: CreateAllLog End
[2025-01-12 07:29:03] Production.INFO: Account Balance End.
[2025-01-12 07:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:29:04] Production.INFO: ==16396== Releasing lock...
[2025-01-12 07:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:29:04
[end_date_ymd] => 2025-01-12 07:29:04
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:29:04' and `end` < '2025-01-12 07: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-01-12 07:29:11] Production.ERROR: CronJobId end10
[2025-01-12 07:29:11] Production.INFO: ==16394== Releasing lock...
[2025-01-12 07:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:29:13] Production.INFO: call_cost start
[2025-01-12 07:29:13] Production.INFO: call_cost end
[2025-01-12 07:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:29:14] Production.INFO: ==16390== Releasing lock...
[2025-01-12 07:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:29:18] Production.INFO: count ==45
[2025-01-12 07:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:29:04 - End Time 2025-01-12 07:29:04
[2025-01-12 07:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230074', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230074', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230074', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230074', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:29:18] Production.INFO: ProcessCDR(1,14230074,1,1,2)
[2025-01-12 07:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230074', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230074', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:29:21] Production.INFO: ==16398== Releasing lock...
[2025-01-12 07:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:29:21] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:30:02] Production.INFO: ==16489== Lock acquired, processing the job...
[2025-01-12 12:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:30:02] Production.INFO: neon service started
[2025-01-12 12:30:02] Production.INFO: neon service started
[2025-01-12 12:30:02] Production.INFO: ==16489== Releasing lock...
[2025-01-12 12:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:30:02] Production.INFO: ==16491== Lock acquired, processing the job...
[2025-01-12 07:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:30:02] Production.INFO: ==16493== Lock acquired, processing the job...
[2025-01-12 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:30:02] Production.INFO: ==16493== Releasing lock...
[2025-01-12 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:30:03] Production.INFO: ==16491== Releasing lock...
[2025-01-12 07:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:30:04] Production.INFO: ==16500== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:30:04] Production.INFO: ==16502== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:30:04] Production.INFO: ==16496== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 07:30:04] Production.INFO: ==16498== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:30:04] Production.INFO: ==16510== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 07:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:30:04] Production.ERROR: CronJob PID - 16498
[2025-01-12 07:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 07:30:04] Production.ERROR: CronJob ID - 5
[2025-01-12 07:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:30:00
[2025-01-12 07:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:30:04] Production.ERROR: CronJob PID - 16502
[2025-01-12 07:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 07:30:04] Production.ERROR: CronJob ID - 10
[2025-01-12 07:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:30:00
[2025-01-12 07:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:30:04] Production.INFO: ==16500== Releasing lock...
[2025-01-12 07:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 07:30:04] Production.INFO: ==16496== Releasing lock...
[2025-01-12 07:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 07:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 07:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 07:30:04] Production.INFO: ==16504== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:30:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:30:04] Production.INFO: count ==21
[2025-01-12 07:30:04] Production.INFO: ==16506== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:30:04] Production.INFO: ==16508== Lock acquired, processing the job...
[2025-01-12 07:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230077') start
[2025-01-12 07:30:04] Production.INFO: Account Balance Start.
[2025-01-12 07:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:30:04] Production.INFO: 117
[2025-01-12 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230077') end
[2025-01-12 07:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:30:04] Production.INFO: 1
[2025-01-12 07:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:30:04] Production.INFO: ==16510== Releasing lock...
[2025-01-12 07:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:30:05] Production.ERROR: done
[2025-01-12 07:30:05] Production.INFO: Date 2025-01-11
[2025-01-12 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 07:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230079', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 07:30:05] Production.ERROR: done
[2025-01-12 07:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:30:05] Production.INFO: Date 2025-01-12
[2025-01-12 07:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 07:30:05] Production.INFO: Total Charge 0
[2025-01-12 07:30:05] Production.INFO: CreateAllLog End
[2025-01-12 07:30:05] Production.ERROR: done
[2025-01-12 07:30:05] Production.INFO: Account Balance End.
[2025-01-12 07:30:05] Production.ERROR: CronJobId end 12
[2025-01-12 07:30:05] Production.INFO: ==16504== Releasing lock...
[2025-01-12 07:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:30:06
[end_date_ymd] => 2025-01-12 07:30:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:30:06' and `end` < '2025-01-12 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-01-12 07:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230079', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 07:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 07:30:09] Production.INFO: ProcessCDR(1,14230079,1,1,2)
[2025-01-12 07:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230079,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230079,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:30:09] Production.INFO: ==16508== Releasing lock...
[2025-01-12 07:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 07:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 07:30:13] Production.ERROR: CronJobId end10
[2025-01-12 07:30:13] Production.INFO: ==16502== Releasing lock...
[2025-01-12 07:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:30:15] Production.INFO: call_cost start
[2025-01-12 07:30:15] Production.INFO: call_cost end
[2025-01-12 07:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:30:15] Production.INFO: ==16498== Releasing lock...
[2025-01-12 07:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:30:20] Production.INFO: count ==43
[2025-01-12 07:30:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:30:06 - End Time 2025-01-12 07:30:06
[2025-01-12 07:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230080', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230080', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230080', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230080', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:30:20] Production.INFO: ProcessCDR(1,14230080,1,1,2)
[2025-01-12 07:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230080,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230080,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230080', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230080', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:30:24] Production.INFO: ==16506== Releasing lock...
[2025-01-12 07:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:30:24] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:31:01] Production.INFO: ==16638== Lock acquired, processing the job...
[2025-01-12 12:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:31:01] Production.INFO: neon service started
[2025-01-12 12:31:01] Production.INFO: neon service started
[2025-01-12 12:31:01] Production.INFO: ==16638== Releasing lock...
[2025-01-12 12:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:31:01] Production.INFO: ==16640== Lock acquired, processing the job...
[2025-01-12 07:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:31:02] Production.INFO: ==16640== Releasing lock...
[2025-01-12 07:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:31:02] Production.INFO: ==16642== Lock acquired, processing the job...
[2025-01-12 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:31:02] Production.INFO: ==16642== Releasing lock...
[2025-01-12 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:31:03] Production.INFO: ==16651== Lock acquired, processing the job...
[2025-01-12 07:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:31:03] Production.INFO: ==16655== Lock acquired, processing the job...
[2025-01-12 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:31:03] Production.INFO: Account Balance Start.
[2025-01-12 07:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:31:03] Production.INFO: 117
[2025-01-12 07:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 07: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-01-12 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:31:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:31:03] Production.INFO: count ==21
[2025-01-12 07:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230082') start
[2025-01-12 07:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:31:03] Production.INFO: ==16645== Lock acquired, processing the job...
[2025-01-12 07:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:31:03] Production.INFO: ==16647== Lock acquired, processing the job...
[2025-01-12 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:31:03] Production.INFO: ==16649== Lock acquired, processing the job...
[2025-01-12 07:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230082') end
[2025-01-12 07:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:31:03] Production.INFO: 1
[2025-01-12 07:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:31:03] Production.INFO: ==16655== Releasing lock...
[2025-01-12 07:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:31:03] Production.INFO: ==16653== Lock acquired, processing the job...
[2025-01-12 07:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:31:03] Production.INFO: Total Charge 0
[2025-01-12 07:31:03] Production.INFO: CreateAllLog End
[2025-01-12 07:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:31:03] Production.INFO: ==16647== Releasing lock...
[2025-01-12 07:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:31:03] Production.ERROR: done
[2025-01-12 07:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:31:03] Production.ERROR: done
[2025-01-12 07:31:04] Production.INFO: Account Balance End.
[2025-01-12 07:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:31:04] Production.INFO: ==16651== Releasing lock...
[2025-01-12 07:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:31:04
[end_date_ymd] => 2025-01-12 07:31:04
[RateCDR] => 1
)
[2025-01-12 07:31: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-01-12 04:31:04' and `end` < '2025-01-12 07:31: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-01-12 07:31:10] Production.ERROR: CronJobId end10
[2025-01-12 07:31:10] Production.INFO: ==16649== Releasing lock...
[2025-01-12 07:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:31:12] Production.INFO: call_cost start
[2025-01-12 07:31:12] Production.INFO: call_cost end
[2025-01-12 07:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:31:13] Production.INFO: ==16645== Releasing lock...
[2025-01-12 07:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:31:18] Production.INFO: count ==43
[2025-01-12 07:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:31:04 - End Time 2025-01-12 07:31:04
[2025-01-12 07:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230085', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230085', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230085', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230085', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:31:18] Production.INFO: ProcessCDR(1,14230085,1,1,2)
[2025-01-12 07:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230085,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230085,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230085', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230085', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:31:21] Production.INFO: ==16653== Releasing lock...
[2025-01-12 07:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:31:21] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:32:02] Production.INFO: ==16745== Lock acquired, processing the job...
[2025-01-12 12:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:32:02] Production.INFO: neon service started
[2025-01-12 12:32:02] Production.INFO: neon service started
[2025-01-12 12:32:02] Production.INFO: ==16745== Releasing lock...
[2025-01-12 12:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:32:02] Production.INFO: ==16747== Lock acquired, processing the job...
[2025-01-12 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:32:02] Production.INFO: ==16749== Lock acquired, processing the job...
[2025-01-12 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:32:02] Production.INFO: ==16747== Releasing lock...
[2025-01-12 07:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:32:02] Production.INFO: ==16749== Releasing lock...
[2025-01-12 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:32:03] Production.INFO: ==16754== Lock acquired, processing the job...
[2025-01-12 07:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:32:03] Production.INFO: ==16756== Lock acquired, processing the job...
[2025-01-12 07:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:32:03] Production.INFO: ==16758== Lock acquired, processing the job...
[2025-01-12 07:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:32:03] Production.INFO: ==16763== Lock acquired, processing the job...
[2025-01-12 07:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:32:04] Production.INFO: ==16765== Lock acquired, processing the job...
[2025-01-12 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:32:04] Production.INFO: ==16760== Lock acquired, processing the job...
[2025-01-12 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:32:04] Production.INFO: ==16756== Releasing lock...
[2025-01-12 07:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:32:04] Production.INFO: Account Balance Start.
[2025-01-12 07:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:32:04] Production.INFO: 117
[2025-01-12 07:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:32:04] Production.INFO: count ==21
[2025-01-12 07:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:32:04] Production.INFO: count ==21
[2025-01-12 07:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230088') start
[2025-01-12 07:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:32:04] Production.ERROR: done
[2025-01-12 07:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:32:04] Production.INFO: Total Charge 0
[2025-01-12 07:32:04] Production.INFO: CreateAllLog End
[2025-01-12 07:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230088') end
[2025-01-12 07:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:32:04] Production.INFO: 1
[2025-01-12 07:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:32:04] Production.ERROR: done
[2025-01-12 07:32:04] Production.INFO: ==16765== Releasing lock...
[2025-01-12 07:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:32:04] Production.INFO: Account Balance End.
[2025-01-12 07:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:32:04] Production.INFO: ==16760== Releasing lock...
[2025-01-12 07:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:32:05
[end_date_ymd] => 2025-01-12 07:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:32:05' and `end` < '2025-01-12 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-01-12 07:32:12] Production.ERROR: CronJobId end10
[2025-01-12 07:32:12] Production.INFO: ==16758== Releasing lock...
[2025-01-12 07:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:32:14] Production.INFO: call_cost start
[2025-01-12 07:32:14] Production.INFO: call_cost end
[2025-01-12 07:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:32:15] Production.INFO: ==16754== Releasing lock...
[2025-01-12 07:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:32:18] Production.INFO: count ==43
[2025-01-12 07:32:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:32:05 - End Time 2025-01-12 07:32:05
[2025-01-12 07:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230090', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230090', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230090', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230090', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:32:18] Production.INFO: ProcessCDR(1,14230090,1,1,2)
[2025-01-12 07:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230090,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230090,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230090', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230090', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:32:22] Production.INFO: ==16763== Releasing lock...
[2025-01-12 07:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:32:22] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:33:01] Production.INFO: ==16857== Lock acquired, processing the job...
[2025-01-12 12:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:33:01] Production.INFO: neon service started
[2025-01-12 12:33:01] Production.INFO: neon service started
[2025-01-12 12:33:01] Production.INFO: ==16857== Releasing lock...
[2025-01-12 12:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:33:01] Production.INFO: ==16860== Lock acquired, processing the job...
[2025-01-12 07:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:33:02] Production.INFO: ==16860== Releasing lock...
[2025-01-12 07:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:33:02] Production.INFO: ==16862== Lock acquired, processing the job...
[2025-01-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:33:02] Production.INFO: ==16862== Releasing lock...
[2025-01-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:33:03] Production.INFO: ==16866== Lock acquired, processing the job...
[2025-01-12 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:33:03] Production.INFO: ==16872== Lock acquired, processing the job...
[2025-01-12 07:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:33:03] Production.INFO: ==16864== Lock acquired, processing the job...
[2025-01-12 07:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:33:03] Production.INFO: ==16868== Lock acquired, processing the job...
[2025-01-12 07:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:33:03] Production.INFO: ==16870== Lock acquired, processing the job...
[2025-01-12 07:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:33:03] Production.ERROR: done
[2025-01-12 07:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:33:03] Production.INFO: ==16874== Lock acquired, processing the job...
[2025-01-12 07:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:33:03] Production.INFO: ==16866== Releasing lock...
[2025-01-12 07:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:33:03] Production.ERROR: done
[2025-01-12 07:33:03] Production.INFO: Account Balance Start.
[2025-01-12 07:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:33:03] Production.INFO: 117
[2025-01-12 07:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 07: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-01-12 07:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:33:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:33:03] Production.INFO: count ==21
[2025-01-12 07:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230094') start
[2025-01-12 07:33:03] Production.INFO: Total Charge 0
[2025-01-12 07:33:03] Production.INFO: CreateAllLog End
[2025-01-12 07:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230094') end
[2025-01-12 07:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:33:03] Production.INFO: 1
[2025-01-12 07:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:33:04] Production.INFO: ==16874== Releasing lock...
[2025-01-12 07:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:33:04] Production.INFO: Account Balance End.
[2025-01-12 07:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:33:04] Production.INFO: ==16870== Releasing lock...
[2025-01-12 07:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:33:04
[end_date_ymd] => 2025-01-12 07:33:04
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:33:04' and `end` < '2025-01-12 07: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-01-12 07:33:11] Production.ERROR: CronJobId end10
[2025-01-12 07:33:11] Production.INFO: ==16868== Releasing lock...
[2025-01-12 07:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:33:13] Production.INFO: call_cost start
[2025-01-12 07:33:13] Production.INFO: call_cost end
[2025-01-12 07:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:33:13] Production.INFO: ==16864== Releasing lock...
[2025-01-12 07:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:33:17] Production.INFO: count ==43
[2025-01-12 07:33:17] Production.ERROR: pbx CDR StartTime 2025-01-12 04:33:04 - End Time 2025-01-12 07:33:04
[2025-01-12 07:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230095', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230095', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230095', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230095', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:33:17] Production.INFO: ProcessCDR(1,14230095,1,1,2)
[2025-01-12 07:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230095,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:33:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230095,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230095', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:33:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230095', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:33:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:33:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:33:20] Production.INFO: ==16872== Releasing lock...
[2025-01-12 07:33:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:33:20] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:34:02] Production.INFO: ==16981== Lock acquired, processing the job...
[2025-01-12 12:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:34:02] Production.INFO: neon service started
[2025-01-12 12:34:02] Production.INFO: neon service started
[2025-01-12 12:34:02] Production.INFO: ==16981== Releasing lock...
[2025-01-12 12:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:34:02] Production.INFO: ==16985== Lock acquired, processing the job...
[2025-01-12 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:34:02] Production.INFO: ==16985== Releasing lock...
[2025-01-12 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:34:02] Production.INFO: ==16983== Lock acquired, processing the job...
[2025-01-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:34:02] Production.INFO: ==16983== Releasing lock...
[2025-01-12 07:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:34:03] Production.INFO: ==16987== Lock acquired, processing the job...
[2025-01-12 07:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:34:03] Production.INFO: ==16991== Lock acquired, processing the job...
[2025-01-12 07:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:34:03] Production.INFO: ==16994== Lock acquired, processing the job...
[2025-01-12 07:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:34:03] Production.INFO: ==16989== Lock acquired, processing the job...
[2025-01-12 07:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:34:03] Production.INFO: Account Balance Start.
[2025-01-12 07:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:34:03] Production.INFO: 117
[2025-01-12 07:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:34:04] Production.INFO: ==16996== Lock acquired, processing the job...
[2025-01-12 07:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:34:04] Production.INFO: ==16998== Lock acquired, processing the job...
[2025-01-12 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:34:04] Production.INFO: Total Charge 0
[2025-01-12 07:34:04] Production.INFO: CreateAllLog End
[2025-01-12 07:34:04] Production.INFO: ==16989== Releasing lock...
[2025-01-12 07:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:34:04] Production.INFO: Account Balance End.
[2025-01-12 07:34:04] Production.ERROR: done
[2025-01-12 07:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:34:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:34:04] Production.INFO: ==16994== Releasing lock...
[2025-01-12 07:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:34:04] Production.INFO: count ==21
[2025-01-12 07:34:04] Production.ERROR: done
[2025-01-12 07:34:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:34:04] Production.INFO: count ==21
[2025-01-12 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230099') start
[2025-01-12 07:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230099') end
[2025-01-12 07:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:34:04] Production.INFO: 1
[2025-01-12 07:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:34:04] Production.INFO: ==16998== Releasing lock...
[2025-01-12 07:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:34:05
[end_date_ymd] => 2025-01-12 07:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:34:05' and `end` < '2025-01-12 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-01-12 07:34:14] Production.ERROR: CronJobId end10
[2025-01-12 07:34:14] Production.INFO: ==16991== Releasing lock...
[2025-01-12 07:34:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:34:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:34:15] Production.INFO: call_cost start
[2025-01-12 07:34:15] Production.INFO: call_cost end
[2025-01-12 07:34:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:34:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:34:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:34:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:34:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:34:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:34:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:34:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:34:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:34:16] Production.INFO: ==16987== Releasing lock...
[2025-01-12 07:34:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:34:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:34:21] Production.INFO: count ==44
[2025-01-12 07:34:21] Production.ERROR: pbx CDR StartTime 2025-01-12 04:34:05 - End Time 2025-01-12 07:34:05
[2025-01-12 07:34:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230100', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230100', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230100', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:34:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230100', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:34:21] Production.INFO: ProcessCDR(1,14230100,1,1,2)
[2025-01-12 07:34:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:34:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:34:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:34:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:34:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230100', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230100', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:34:26] Production.INFO: ==16996== Releasing lock...
[2025-01-12 07:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:34:26] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:35:01] Production.INFO: ==17090== Lock acquired, processing the job...
[2025-01-12 12:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:35:01] Production.INFO: neon service started
[2025-01-12 12:35:01] Production.INFO: neon service started
[2025-01-12 12:35:01] Production.INFO: ==17090== Releasing lock...
[2025-01-12 12:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:35:01] Production.INFO: ==17092== Lock acquired, processing the job...
[2025-01-12 07:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:35:02] Production.INFO: ==17092== Releasing lock...
[2025-01-12 07:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:35:02] Production.INFO: ==17094== Lock acquired, processing the job...
[2025-01-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:35:02] Production.INFO: ==17094== Releasing lock...
[2025-01-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:35:02] Production.INFO: ==17096== Lock acquired, processing the job...
[2025-01-12 07:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:35:03] Production.INFO: ==17106== Lock acquired, processing the job...
[2025-01-12 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:35:03] Production.INFO: ==17098== Lock acquired, processing the job...
[2025-01-12 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07: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-01-12 07:35:03] Production.INFO: ==17100== Lock acquired, processing the job...
[2025-01-12 07:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:35:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:35:03] Production.INFO: count ==21
[2025-01-12 07:35:03] Production.INFO: ==17102== Lock acquired, processing the job...
[2025-01-12 07:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230102') start
[2025-01-12 07:35:03] Production.INFO: ==17104== Lock acquired, processing the job...
[2025-01-12 07:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230102') end
[2025-01-12 07:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:35:03] Production.INFO: 1
[2025-01-12 07:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:35:03] Production.INFO: Account Balance Start.
[2025-01-12 07:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:35:03] Production.INFO: 117
[2025-01-12 07:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:35:03] Production.INFO: ==17106== Releasing lock...
[2025-01-12 07:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:35:03] Production.INFO: ==17098== Releasing lock...
[2025-01-12 07:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:35:03] Production.ERROR: done
[2025-01-12 07:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:35:03] Production.INFO: Total Charge 0
[2025-01-12 07:35:04] Production.INFO: CreateAllLog End
[2025-01-12 07:35:04] Production.ERROR: done
[2025-01-12 07:35:04] Production.INFO: Account Balance End.
[2025-01-12 07:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:35:04] Production.INFO: ==17102== Releasing lock...
[2025-01-12 07:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:35:05
[end_date_ymd] => 2025-01-12 07:35:05
[RateCDR] => 1
)
[2025-01-12 07:35:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:35:05' and `end` < '2025-01-12 07:35:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:35:11] Production.ERROR: CronJobId end10
[2025-01-12 07:35:11] Production.INFO: ==17100== Releasing lock...
[2025-01-12 07:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:35:13] Production.INFO: call_cost start
[2025-01-12 07:35:13] Production.INFO: call_cost end
[2025-01-12 07:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:35:13] Production.INFO: ==17096== Releasing lock...
[2025-01-12 07:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:35:17] Production.INFO: count ==44
[2025-01-12 07:35:17] Production.ERROR: pbx CDR StartTime 2025-01-12 04:35:05 - End Time 2025-01-12 07:35:05
[2025-01-12 07:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230105', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230105', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230105', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230105', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:35:18] Production.INFO: ProcessCDR(1,14230105,1,1,2)
[2025-01-12 07:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230105', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230105', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:35:21] Production.INFO: ==17104== Releasing lock...
[2025-01-12 07:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:36:01] Production.INFO: ==17197== Lock acquired, processing the job...
[2025-01-12 12:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:36:02] Production.INFO: neon service started
[2025-01-12 12:36:02] Production.INFO: neon service started
[2025-01-12 12:36:02] Production.INFO: ==17197== Releasing lock...
[2025-01-12 12:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:36:02] Production.INFO: ==17201== Lock acquired, processing the job...
[2025-01-12 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:36:02] Production.INFO: ==17201== Releasing lock...
[2025-01-12 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:36:02] Production.INFO: ==17199== Lock acquired, processing the job...
[2025-01-12 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:36:02] Production.INFO: ==17199== Releasing lock...
[2025-01-12 07:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:36:03] Production.INFO: ==17210== Lock acquired, processing the job...
[2025-01-12 07:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:36:03] Production.INFO: ==17214== Lock acquired, processing the job...
[2025-01-12 07:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:36:03] Production.INFO: ==17206== Lock acquired, processing the job...
[2025-01-12 07:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:36:03] Production.INFO: ==17208== Lock acquired, processing the job...
[2025-01-12 07:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:36:03] Production.INFO: ==17212== Lock acquired, processing the job...
[2025-01-12 07:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:36:03] Production.INFO: ==17216== Lock acquired, processing the job...
[2025-01-12 07:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:36:04] Production.ERROR: done
[2025-01-12 07:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:36:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:36:04] Production.INFO: Account Balance Start.
[2025-01-12 07:36:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:36:04] Production.INFO: 117
[2025-01-12 07:36:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:36:04] Production.INFO: count ==21
[2025-01-12 07:36:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:36:04] Production.INFO: count ==21
[2025-01-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:36:04] Production.INFO: ==17208== Releasing lock...
[2025-01-12 07:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230108') start
[2025-01-12 07:36:04] Production.ERROR: done
[2025-01-12 07:36:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230108') end
[2025-01-12 07:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:36:04] Production.INFO: 1
[2025-01-12 07:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:36:04] Production.INFO: Total Charge 0
[2025-01-12 07:36:04] Production.INFO: CreateAllLog End
[2025-01-12 07:36:04] Production.INFO: ==17216== Releasing lock...
[2025-01-12 07:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:36:04] Production.INFO: Account Balance End.
[2025-01-12 07:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:36:04] Production.INFO: ==17212== Releasing lock...
[2025-01-12 07:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:36:05
[end_date_ymd] => 2025-01-12 07:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:36:05' and `end` < '2025-01-12 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-01-12 07:36:11] Production.ERROR: CronJobId end10
[2025-01-12 07:36:11] Production.INFO: ==17210== Releasing lock...
[2025-01-12 07:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:36:13] Production.INFO: call_cost start
[2025-01-12 07:36:13] Production.INFO: call_cost end
[2025-01-12 07:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:36:13] Production.INFO: ==17206== Releasing lock...
[2025-01-12 07:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:36:18] Production.INFO: count ==44
[2025-01-12 07:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:36:05 - End Time 2025-01-12 07:36:05
[2025-01-12 07:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230110', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230110', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230110', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230110', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:36:18] Production.INFO: ProcessCDR(1,14230110,1,1,2)
[2025-01-12 07:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230110', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230110', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:36:22] Production.INFO: ==17214== Releasing lock...
[2025-01-12 07:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:36:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:37:01] Production.INFO: ==17308== Lock acquired, processing the job...
[2025-01-12 12:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:37:01] Production.INFO: neon service started
[2025-01-12 12:37:01] Production.INFO: neon service started
[2025-01-12 12:37:01] Production.INFO: ==17308== Releasing lock...
[2025-01-12 12:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:37:01] Production.INFO: ==17310== Lock acquired, processing the job...
[2025-01-12 07:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:37:02] Production.INFO: ==17310== Releasing lock...
[2025-01-12 07:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:37:02] Production.INFO: ==17312== Lock acquired, processing the job...
[2025-01-12 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:37:02] Production.INFO: ==17312== Releasing lock...
[2025-01-12 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:37:03] Production.INFO: ==17322== Lock acquired, processing the job...
[2025-01-12 07:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:37:03] Production.INFO: ==17314== Lock acquired, processing the job...
[2025-01-12 07:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:37:03] Production.INFO: ==17324== Lock acquired, processing the job...
[2025-01-12 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:37:03] Production.INFO: ==17316== Lock acquired, processing the job...
[2025-01-12 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:37:03] Production.INFO: ==17318== Lock acquired, processing the job...
[2025-01-12 07:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:37:03] Production.INFO: ==17320== Lock acquired, processing the job...
[2025-01-12 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07: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-01-12 07:37:03] Production.INFO: count ==21
[2025-01-12 07:37:03] Production.INFO: Account Balance Start.
[2025-01-12 07:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:37:03] Production.INFO: 117
[2025-01-12 07: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-01-12 07:37:03] Production.INFO: count ==21
[2025-01-12 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230112') start
[2025-01-12 07:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:37:03] Production.ERROR: done
[2025-01-12 07:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230112') end
[2025-01-12 07:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:37:03] Production.INFO: 1
[2025-01-12 07:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:37:03] Production.INFO: ==17324== Releasing lock...
[2025-01-12 07:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:37:03] Production.ERROR: done
[2025-01-12 07:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:37:03] Production.INFO: Total Charge 0
[2025-01-12 07:37:03] Production.INFO: ==17316== Releasing lock...
[2025-01-12 07:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:37:03] Production.INFO: CreateAllLog End
[2025-01-12 07:37:03] Production.INFO: Account Balance End.
[2025-01-12 07:37:03] Production.ERROR: CronJobId end 12
[2025-01-12 07:37:03] Production.INFO: ==17320== Releasing lock...
[2025-01-12 07:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:37:04
[end_date_ymd] => 2025-01-12 07:37:04
[RateCDR] => 1
)
[2025-01-12 07:37: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-01-12 04:37:04' and `end` < '2025-01-12 07:37: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-01-12 07:37:11] Production.ERROR: CronJobId end10
[2025-01-12 07:37:11] Production.INFO: ==17318== Releasing lock...
[2025-01-12 07:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:37:12] Production.INFO: call_cost start
[2025-01-12 07:37:12] Production.INFO: call_cost end
[2025-01-12 07:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:37:13] Production.INFO: ==17314== Releasing lock...
[2025-01-12 07:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:37:17] Production.INFO: count ==44
[2025-01-12 07:37:17] Production.ERROR: pbx CDR StartTime 2025-01-12 04:37:04 - End Time 2025-01-12 07:37:04
[2025-01-12 07:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230115', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230115', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230115', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230115', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:37:17] Production.INFO: ProcessCDR(1,14230115,1,1,2)
[2025-01-12 07:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:37:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:37:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230115', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230115', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:37:21] Production.INFO: ==17322== Releasing lock...
[2025-01-12 07:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:37:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:38:01] Production.INFO: ==17417== Lock acquired, processing the job...
[2025-01-12 12:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:38:01] Production.INFO: neon service started
[2025-01-12 12:38:01] Production.INFO: neon service started
[2025-01-12 12:38:01] Production.INFO: ==17417== Releasing lock...
[2025-01-12 12:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:38:02] Production.INFO: ==17419== Lock acquired, processing the job...
[2025-01-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:38:02] Production.INFO: ==17419== Releasing lock...
[2025-01-12 07:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:38:02] Production.INFO: ==17421== Lock acquired, processing the job...
[2025-01-12 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:38:02] Production.INFO: ==17421== Releasing lock...
[2025-01-12 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:38:03] Production.INFO: ==17427== Lock acquired, processing the job...
[2025-01-12 07:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:38:03] Production.INFO: ==17423== Lock acquired, processing the job...
[2025-01-12 07:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:38:03] Production.INFO: ==17425== Lock acquired, processing the job...
[2025-01-12 07:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:38:03] Production.INFO: ==17433== Lock acquired, processing the job...
[2025-01-12 07:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:38:03] Production.INFO: ==17429== Lock acquired, processing the job...
[2025-01-12 07:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 07:38:03] Production.INFO: ==17431== Lock acquired, processing the job...
[2025-01-12 07:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:38:03] Production.INFO: count ==21
[2025-01-12 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-01-12 07:38:03] Production.INFO: count ==21
[2025-01-12 07:38:03] Production.INFO: Account Balance Start.
[2025-01-12 07:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:38:03] Production.INFO: 117
[2025-01-12 07:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230118') start
[2025-01-12 07:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230118') end
[2025-01-12 07:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:38:04] Production.INFO: 1
[2025-01-12 07:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:38:04] Production.INFO: ==17425== Releasing lock...
[2025-01-12 07:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:38:04] Production.INFO: ==17433== Releasing lock...
[2025-01-12 07:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:38:04] Production.INFO: Total Charge 0
[2025-01-12 07:38:04] Production.INFO: CreateAllLog End
[2025-01-12 07:38:04] Production.ERROR: done
[2025-01-12 07:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:38:04] Production.INFO: Account Balance End.
[2025-01-12 07:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:38:04] Production.INFO: ==17429== Releasing lock...
[2025-01-12 07:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:38:04] Production.ERROR: done
[2025-01-12 07:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:38:05
[end_date_ymd] => 2025-01-12 07:38:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:38:05' and `end` < '2025-01-12 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-01-12 07:38:11] Production.ERROR: CronJobId end10
[2025-01-12 07:38:11] Production.INFO: ==17427== Releasing lock...
[2025-01-12 07:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:38:14] Production.INFO: call_cost start
[2025-01-12 07:38:14] Production.INFO: call_cost end
[2025-01-12 07:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:38:14] Production.INFO: ==17423== Releasing lock...
[2025-01-12 07:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:38:19] Production.INFO: count ==44
[2025-01-12 07:38:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:38:05 - End Time 2025-01-12 07:38:05
[2025-01-12 07:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230120', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230120', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230120', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230120', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:38:19] Production.INFO: ProcessCDR(1,14230120,1,1,2)
[2025-01-12 07:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230120', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230120', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:38:22] Production.INFO: ==17431== Releasing lock...
[2025-01-12 07:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:38:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:39:01] Production.INFO: ==17523== Lock acquired, processing the job...
[2025-01-12 12:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:39:01] Production.INFO: neon service started
[2025-01-12 12:39:01] Production.INFO: neon service started
[2025-01-12 12:39:01] Production.INFO: ==17523== Releasing lock...
[2025-01-12 12:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:39:01] Production.INFO: ==17528== Lock acquired, processing the job...
[2025-01-12 12:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:39:01] Production.INFO: ==17528== Releasing lock...
[2025-01-12 12:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:39:01] Production.INFO: ==17526== Lock acquired, processing the job...
[2025-01-12 07:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:39:02] Production.INFO: ==17526== Releasing lock...
[2025-01-12 07:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:39:02] Production.INFO: ==17535== Lock acquired, processing the job...
[2025-01-12 07:39:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:39:02] Production.INFO: ==17541== Lock acquired, processing the job...
[2025-01-12 07:39:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07: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-01-12 07:39:03] Production.INFO: ==17531== Lock acquired, processing the job...
[2025-01-12 07:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:39:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:39:03] Production.INFO: count ==21
[2025-01-12 07:39:03] Production.INFO: ==17533== Lock acquired, processing the job...
[2025-01-12 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230121') start
[2025-01-12 07:39:03] Production.INFO: ==17539== Lock acquired, processing the job...
[2025-01-12 07:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:39:03] Production.INFO: ==17537== Lock acquired, processing the job...
[2025-01-12 07:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230121') end
[2025-01-12 07:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:39:03] Production.INFO: 1
[2025-01-12 07:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:39:03] Production.INFO: ==17541== Releasing lock...
[2025-01-12 07:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:39:03] Production.INFO: Account Balance Start.
[2025-01-12 07:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:39:03] Production.INFO: 117
[2025-01-12 07:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:39:03] Production.INFO: Total Charge 0
[2025-01-12 07:39:03] Production.ERROR: done
[2025-01-12 07:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:39:03] Production.INFO: CreateAllLog End
[2025-01-12 07:39:03] Production.INFO: ==17533== Releasing lock...
[2025-01-12 07:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:39:04] Production.ERROR: done
[2025-01-12 07:39:04] Production.INFO: Account Balance End.
[2025-01-12 07:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:39:04] Production.INFO: ==17537== Releasing lock...
[2025-01-12 07:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:39:05
[end_date_ymd] => 2025-01-12 07:39:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:39:05' and `end` < '2025-01-12 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-01-12 07:39:10] Production.ERROR: CronJobId end10
[2025-01-12 07:39:10] Production.INFO: ==17535== Releasing lock...
[2025-01-12 07:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:39:13] Production.INFO: call_cost start
[2025-01-12 07:39:13] Production.INFO: call_cost end
[2025-01-12 07:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:39:14] Production.INFO: ==17531== Releasing lock...
[2025-01-12 07:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:39:18] Production.INFO: count ==44
[2025-01-12 07:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:39:05 - End Time 2025-01-12 07:39:05
[2025-01-12 07:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230125', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230125', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230125', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230125', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:39:18] Production.INFO: ProcessCDR(1,14230125,1,1,2)
[2025-01-12 07:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230125', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230125', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:39:21] Production.INFO: ==17539== Releasing lock...
[2025-01-12 07:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:39:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:40:01] Production.INFO: ==17631== Lock acquired, processing the job...
[2025-01-12 12:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:40:01] Production.INFO: neon service started
[2025-01-12 12:40:01] Production.INFO: neon service started
[2025-01-12 12:40:01] Production.INFO: ==17631== Releasing lock...
[2025-01-12 12:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:40:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 07:40:02] Production.INFO: ==17633== Lock acquired, processing the job...
[2025-01-12 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:40:02] Production.INFO: ==17635== Lock acquired, processing the job...
[2025-01-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:40:02] Production.INFO: ==17635== Releasing lock...
[2025-01-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:40:02] Production.INFO: ==17633== Releasing lock...
[2025-01-12 07:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:40:03] Production.INFO: ==17643== Lock acquired, processing the job...
[2025-01-12 07:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:40:03] Production.INFO: ==17649== Lock acquired, processing the job...
[2025-01-12 07:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 07:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:40:03] Production.INFO: ==17652== Lock acquired, processing the job...
[2025-01-12 07:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:40:03] Production.INFO: ==17637== Lock acquired, processing the job...
[2025-01-12 07:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 07:40:03] Production.INFO: ==17641== Lock acquired, processing the job...
[2025-01-12 07:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:40:03] Production.INFO: ==17639== Lock acquired, processing the job...
[2025-01-12 07:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:40:04] Production.INFO: ==17647== Lock acquired, processing the job...
[2025-01-12 07:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:40:04] Production.INFO: ==17645== Lock acquired, processing the job...
[2025-01-12 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:40:04] Production.ERROR: done
[2025-01-12 07:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:40:04] Production.ERROR: CronJob PID - 17639
[2025-01-12 07:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 07:40:04] Production.ERROR: CronJob ID - 5
[2025-01-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:40:00
[2025-01-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:40:04] Production.ERROR: CronJob PID - 17641
[2025-01-12 07:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 07:40:04] Production.ERROR: CronJob ID - 7
[2025-01-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:40:00
[2025-01-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:40:04] Production.ERROR: CronJob PID - 17643
[2025-01-12 07:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 07:40:04] Production.ERROR: CronJob ID - 10
[2025-01-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:40:00
[2025-01-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:40:04] Production.ERROR: CronJob PID - 17645
[2025-01-12 07:40:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 07:40:04] Production.ERROR: CronJob ID - 12
[2025-01-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:40:00
[2025-01-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:40:04] Production.ERROR: CronJob PID - 17647
[2025-01-12 07:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 07:40:04] Production.ERROR: CronJob ID - 16
[2025-01-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:40:00
[2025-01-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:40:04] Production.ERROR: CronJob PID - 17649
[2025-01-12 07:40:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 07:40:04] Production.ERROR: CronJob ID - 17
[2025-01-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:40:00
[2025-01-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:40:04] Production.ERROR: CronJob PID - 17652
[2025-01-12 07:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-12 07:40:04] Production.ERROR: CronJob ID - 19
[2025-01-12 07:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:40:00
[2025-01-12 07:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:40:04] Production.INFO: Account Balance Start.
[2025-01-12 07:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:40:04] Production.INFO: 117
[2025-01-12 07:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:40:04] Production.INFO: count ==21
[2025-01-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:40:04] Production.INFO: count ==21
[2025-01-12 07:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 07:40:04] Production.INFO: ==17637== Releasing lock...
[2025-01-12 07:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 07:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230126') start
[2025-01-12 07:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 07:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230128', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 07:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230126') end
[2025-01-12 07:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:40:04] Production.INFO: 1
[2025-01-12 07:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:40:04] Production.INFO: ==17652== Releasing lock...
[2025-01-12 07:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:40:04] Production.INFO: ==17641== Releasing lock...
[2025-01-12 07:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:40:04] Production.INFO: Total Charge 0
[2025-01-12 07:40:04] Production.ERROR: done
[2025-01-12 07:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:40:04] Production.INFO: CreateAllLog End
[2025-01-12 07:40:04] Production.ERROR: done
[2025-01-12 07:40:04] Production.INFO: Account Balance End.
[2025-01-12 07:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:40:04] Production.INFO: ==17645== Releasing lock...
[2025-01-12 07:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:40:05
[end_date_ymd] => 2025-01-12 07:40:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:40:05' and `end` < '2025-01-12 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-01-12 07:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230128', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 07:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 07:40:08] Production.INFO: ProcessCDR(1,14230128,1,1,2)
[2025-01-12 07:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230128,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230128,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:40:08] Production.INFO: ==17649== Releasing lock...
[2025-01-12 07:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 07:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 07:40:12] Production.ERROR: CronJobId end10
[2025-01-12 07:40:12] Production.INFO: ==17643== Releasing lock...
[2025-01-12 07:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:40:15] Production.INFO: call_cost start
[2025-01-12 07:40:15] Production.INFO: call_cost end
[2025-01-12 07:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:40:15] Production.INFO: ==17639== Releasing lock...
[2025-01-12 07:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:40:18] Production.INFO: count ==44
[2025-01-12 07:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:40:05 - End Time 2025-01-12 07:40:05
[2025-01-12 07:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230131', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230131', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230131', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230131', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:40:18] Production.INFO: ProcessCDR(1,14230131,1,1,2)
[2025-01-12 07:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230131,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230131,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230131', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230131', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:40:21] Production.INFO: ==17647== Releasing lock...
[2025-01-12 07:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:40:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:41:02] Production.INFO: ==17738== Lock acquired, processing the job...
[2025-01-12 12:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:41:02] Production.INFO: neon service started
[2025-01-12 12:41:02] Production.INFO: neon service started
[2025-01-12 12:41:02] Production.INFO: ==17738== Releasing lock...
[2025-01-12 12:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:41:02] Production.INFO: ==17742== Lock acquired, processing the job...
[2025-01-12 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:41:02] Production.INFO: ==17742== Releasing lock...
[2025-01-12 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:41:02] Production.INFO: ==17740== Lock acquired, processing the job...
[2025-01-12 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:41:02] Production.INFO: ==17740== Releasing lock...
[2025-01-12 07:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:41:03] Production.INFO: ==17746== Lock acquired, processing the job...
[2025-01-12 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:41:03] Production.INFO: ==17748== Lock acquired, processing the job...
[2025-01-12 07:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:41:03] Production.INFO: ==17752== Lock acquired, processing the job...
[2025-01-12 07:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:41:03] Production.INFO: ==17744== Lock acquired, processing the job...
[2025-01-12 07:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:41:03] Production.INFO: ==17746== Releasing lock...
[2025-01-12 07:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:41:03] Production.INFO: ==17750== Lock acquired, processing the job...
[2025-01-12 07:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:41:04] Production.INFO: ==17754== Lock acquired, processing the job...
[2025-01-12 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:41:04] Production.ERROR: done
[2025-01-12 07:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:41:04] Production.INFO: Account Balance Start.
[2025-01-12 07:41:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:41:04] Production.INFO: 117
[2025-01-12 07:41:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:41:04] Production.ERROR: done
[2025-01-12 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-01-12 07:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:41:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:41:04] Production.INFO: count ==21
[2025-01-12 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230135') start
[2025-01-12 07:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:41:04] Production.INFO: Total Charge 0
[2025-01-12 07:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230135') end
[2025-01-12 07:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:41:04] Production.INFO: 1
[2025-01-12 07:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:41:04] Production.INFO: CreateAllLog End
[2025-01-12 07:41:04] Production.INFO: ==17754== Releasing lock...
[2025-01-12 07:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:41:04] Production.INFO: Account Balance End.
[2025-01-12 07:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:41:04] Production.INFO: ==17750== Releasing lock...
[2025-01-12 07:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:41:05
[end_date_ymd] => 2025-01-12 07:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:41:05' and `end` < '2025-01-12 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-01-12 07:41:11] Production.ERROR: CronJobId end10
[2025-01-12 07:41:11] Production.INFO: ==17748== Releasing lock...
[2025-01-12 07:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:41:13] Production.INFO: call_cost start
[2025-01-12 07:41:13] Production.INFO: call_cost end
[2025-01-12 07:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:41:14] Production.INFO: ==17744== Releasing lock...
[2025-01-12 07:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:41:18] Production.INFO: count ==44
[2025-01-12 07:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:41:05 - End Time 2025-01-12 07:41:05
[2025-01-12 07:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230136', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230136', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230136', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230136', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:41:18] Production.INFO: ProcessCDR(1,14230136,1,1,2)
[2025-01-12 07:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230136,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230136,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230136', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230136', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:41:21] Production.INFO: ==17752== Releasing lock...
[2025-01-12 07:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:41:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:42:01] Production.INFO: ==17844== Lock acquired, processing the job...
[2025-01-12 12:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:42:01] Production.INFO: neon service started
[2025-01-12 12:42:01] Production.INFO: neon service started
[2025-01-12 12:42:01] Production.INFO: ==17844== Releasing lock...
[2025-01-12 12:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:42:01] Production.INFO: ==17846== Lock acquired, processing the job...
[2025-01-12 07:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:42:02] Production.INFO: ==17846== Releasing lock...
[2025-01-12 07:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:42:02] Production.INFO: ==17848== Lock acquired, processing the job...
[2025-01-12 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:42:02] Production.INFO: ==17848== Releasing lock...
[2025-01-12 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:42:03] Production.INFO: ==17855== Lock acquired, processing the job...
[2025-01-12 07:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:42:03] Production.INFO: ==17861== Lock acquired, processing the job...
[2025-01-12 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:42:03] Production.INFO: ==17851== Lock acquired, processing the job...
[2025-01-12 07:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:42:03] Production.INFO: ==17853== Lock acquired, processing the job...
[2025-01-12 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 07:42:03] Production.INFO: count ==21
[2025-01-12 07:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 07:42:03] Production.INFO: count ==21
[2025-01-12 07:42:03] Production.INFO: ==17857== Lock acquired, processing the job...
[2025-01-12 07:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230137') start
[2025-01-12 07:42:03] Production.INFO: ==17859== Lock acquired, processing the job...
[2025-01-12 07:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230137') end
[2025-01-12 07:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:42:03] Production.INFO: 1
[2025-01-12 07:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:42:03] Production.INFO: ==17861== Releasing lock...
[2025-01-12 07:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:42:03] Production.INFO: Account Balance Start.
[2025-01-12 07:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:42:03] Production.INFO: 117
[2025-01-12 07:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:42:03] Production.INFO: ==17853== Releasing lock...
[2025-01-12 07:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:42:04] Production.ERROR: done
[2025-01-12 07:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:42:04] Production.INFO: Total Charge 0
[2025-01-12 07:42:04] Production.INFO: CreateAllLog End
[2025-01-12 07:42:04] Production.ERROR: done
[2025-01-12 07:42:04] Production.INFO: Account Balance End.
[2025-01-12 07:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:42:04] Production.INFO: ==17857== Releasing lock...
[2025-01-12 07:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:42:05
[end_date_ymd] => 2025-01-12 07:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:42:05' and `end` < '2025-01-12 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-01-12 07:42:11] Production.ERROR: CronJobId end10
[2025-01-12 07:42:11] Production.INFO: ==17855== Releasing lock...
[2025-01-12 07:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:42:13] Production.INFO: call_cost start
[2025-01-12 07:42:13] Production.INFO: call_cost end
[2025-01-12 07:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:42:14] Production.INFO: ==17851== Releasing lock...
[2025-01-12 07:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:42:18] Production.INFO: count ==44
[2025-01-12 07:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:42:05 - End Time 2025-01-12 07:42:05
[2025-01-12 07:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230141', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230141', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230141', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230141', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:42:18] Production.INFO: ProcessCDR(1,14230141,1,1,2)
[2025-01-12 07:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230141,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230141,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230141', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230141', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:42:21] Production.INFO: ==17859== Releasing lock...
[2025-01-12 07:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:42:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:43:02] Production.INFO: ==17961== Lock acquired, processing the job...
[2025-01-12 12:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:43:02] Production.INFO: neon service started
[2025-01-12 12:43:02] Production.INFO: neon service started
[2025-01-12 12:43:02] Production.INFO: ==17961== Releasing lock...
[2025-01-12 12:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:43:02] Production.INFO: ==17963== Lock acquired, processing the job...
[2025-01-12 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:43:02] Production.INFO: ==17963== Releasing lock...
[2025-01-12 07:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:43:02] Production.INFO: ==17965== Lock acquired, processing the job...
[2025-01-12 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:43:03] Production.INFO: ==17965== Releasing lock...
[2025-01-12 12:43:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:43:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:43:03] Production.INFO: ==17969== Lock acquired, processing the job...
[2025-01-12 07:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:43:03] Production.INFO: ==17975== Lock acquired, processing the job...
[2025-01-12 07:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:43:03] Production.INFO: ==17967== Lock acquired, processing the job...
[2025-01-12 07:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:43:04] Production.INFO: ==17973== Lock acquired, processing the job...
[2025-01-12 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:43:04] Production.INFO: ==17971== Lock acquired, processing the job...
[2025-01-12 07:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:43:04] Production.INFO: ==17969== Releasing lock...
[2025-01-12 07:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:43:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:43:04] Production.INFO: ==17978== Lock acquired, processing the job...
[2025-01-12 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:43:04] Production.INFO: Account Balance Start.
[2025-01-12 07:43:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:43:04] Production.INFO: 117
[2025-01-12 07:43:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:43:04] Production.ERROR: done
[2025-01-12 07:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:43:04] Production.INFO: count ==21
[2025-01-12 07:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:43:04] Production.INFO: count ==21
[2025-01-12 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230145') start
[2025-01-12 07:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:43:04] Production.ERROR: done
[2025-01-12 07:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230145') end
[2025-01-12 07:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:43:04] Production.INFO: 1
[2025-01-12 07:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:43:04] Production.INFO: Total Charge 0
[2025-01-12 07:43:04] Production.INFO: CreateAllLog End
[2025-01-12 07:43:04] Production.INFO: ==17978== Releasing lock...
[2025-01-12 07:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:43:04] Production.INFO: Account Balance End.
[2025-01-12 07:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:43:04] Production.INFO: ==17973== Releasing lock...
[2025-01-12 07:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:43:05
[end_date_ymd] => 2025-01-12 07:43:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:43:05' and `end` < '2025-01-12 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-01-12 07:43:12] Production.ERROR: CronJobId end10
[2025-01-12 07:43:12] Production.INFO: ==17971== Releasing lock...
[2025-01-12 07:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:43:14] Production.INFO: call_cost start
[2025-01-12 07:43:14] Production.INFO: call_cost end
[2025-01-12 07:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:43:15] Production.INFO: ==17967== Releasing lock...
[2025-01-12 07:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:43:18] Production.INFO: count ==44
[2025-01-12 07:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:43:05 - End Time 2025-01-12 07:43:05
[2025-01-12 07:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230146', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230146', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230146', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230146', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:43:18] Production.INFO: ProcessCDR(1,14230146,1,1,2)
[2025-01-12 07:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230146,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230146,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230146', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230146', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:43:22] Production.INFO: ==17975== Releasing lock...
[2025-01-12 07:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:43:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:44:01] Production.INFO: ==18068== Lock acquired, processing the job...
[2025-01-12 12:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:44:01] Production.INFO: neon service started
[2025-01-12 12:44:01] Production.INFO: neon service started
[2025-01-12 12:44:01] Production.INFO: ==18068== Releasing lock...
[2025-01-12 12:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:44:01] Production.INFO: ==18072== Lock acquired, processing the job...
[2025-01-12 12:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:44:01] Production.INFO: ==18072== Releasing lock...
[2025-01-12 12:44:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:44:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:44:02] Production.INFO: ==18070== Lock acquired, processing the job...
[2025-01-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:44:02] Production.INFO: ==18070== Releasing lock...
[2025-01-12 07:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:44:03] Production.INFO: ==18083== Lock acquired, processing the job...
[2025-01-12 07:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:44:03] Production.INFO: ==18079== Lock acquired, processing the job...
[2025-01-12 07:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:44:03] Production.INFO: ==18075== Lock acquired, processing the job...
[2025-01-12 07:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:44:03] Production.INFO: ==18077== Lock acquired, processing the job...
[2025-01-12 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:44:03] Production.INFO: ==18081== Lock acquired, processing the job...
[2025-01-12 07:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:44:03] Production.INFO: ==18085== Lock acquired, processing the job...
[2025-01-12 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:44:03] Production.ERROR: done
[2025-01-12 07:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:44:03] Production.INFO: Account Balance Start.
[2025-01-12 07:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:44:03] Production.INFO: 117
[2025-01-12 07:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:44:03] Production.ERROR: done
[2025-01-12 07:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:44:03] Production.INFO: count ==21
[2025-01-12 07:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:44:03] Production.INFO: count ==21
[2025-01-12 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230150') start
[2025-01-12 07:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:44:03] Production.INFO: ==18077== Releasing lock...
[2025-01-12 07:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:44:03] Production.INFO: Total Charge 0
[2025-01-12 07:44:03] Production.INFO: CreateAllLog End
[2025-01-12 07:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230150') end
[2025-01-12 07:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:44:03] Production.INFO: 1
[2025-01-12 07:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:44:03] Production.INFO: ==18085== Releasing lock...
[2025-01-12 07:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:44:03] Production.INFO: Account Balance End.
[2025-01-12 07:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:44:04] Production.INFO: ==18081== Releasing lock...
[2025-01-12 07:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:44:04
[end_date_ymd] => 2025-01-12 07:44:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:44:04' and `end` < '2025-01-12 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-01-12 07:44:10] Production.ERROR: CronJobId end10
[2025-01-12 07:44:10] Production.INFO: ==18079== Releasing lock...
[2025-01-12 07:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:44:13] Production.INFO: call_cost start
[2025-01-12 07:44:13] Production.INFO: call_cost end
[2025-01-12 07:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:44:13] Production.INFO: ==18075== Releasing lock...
[2025-01-12 07:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:44:17] Production.INFO: count ==44
[2025-01-12 07:44:17] Production.ERROR: pbx CDR StartTime 2025-01-12 04:44:04 - End Time 2025-01-12 07:44:04
[2025-01-12 07:44:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230151', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230151', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230151', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:44:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230151', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:44:17] Production.INFO: ProcessCDR(1,14230151,1,1,2)
[2025-01-12 07:44:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:44:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:44:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230151', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230151', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:44:21] Production.INFO: ==18083== Releasing lock...
[2025-01-12 07:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:44:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:45:01] Production.INFO: ==18181== Lock acquired, processing the job...
[2025-01-12 12:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:45:01] Production.INFO: neon service started
[2025-01-12 12:45:01] Production.INFO: neon service started
[2025-01-12 12:45:01] Production.INFO: ==18181== Releasing lock...
[2025-01-12 12:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:45:02] Production.INFO: ==18183== Lock acquired, processing the job...
[2025-01-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:45:02] Production.INFO: ==18185== Lock acquired, processing the job...
[2025-01-12 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:45:02] Production.INFO: ==18185== Releasing lock...
[2025-01-12 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:45:02] Production.INFO: ==18183== Releasing lock...
[2025-01-12 07:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:45:03] Production.INFO: ==18187== Lock acquired, processing the job...
[2025-01-12 07:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:45:03] Production.INFO: ==18189== Lock acquired, processing the job...
[2025-01-12 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:45:03] Production.INFO: ==18198== Lock acquired, processing the job...
[2025-01-12 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 07:45:03] Production.INFO: count ==21
[2025-01-12 07:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:45:03] Production.INFO: ==18191== Lock acquired, processing the job...
[2025-01-12 07:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:45:03] Production.INFO: count ==21
[2025-01-12 07:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230154') start
[2025-01-12 07:45:03] Production.INFO: ==18193== Lock acquired, processing the job...
[2025-01-12 07:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:45:03] Production.INFO: ==18189== Releasing lock...
[2025-01-12 07:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230154') end
[2025-01-12 07:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:45:03] Production.INFO: 1
[2025-01-12 07:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:45:03] Production.INFO: Account Balance Start.
[2025-01-12 07:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:45:03] Production.INFO: ==18198== Releasing lock...
[2025-01-12 07:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:45:03] Production.INFO: 117
[2025-01-12 07:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:45:03] Production.INFO: ==18195== Lock acquired, processing the job...
[2025-01-12 07:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:45:04] Production.INFO: Total Charge 0
[2025-01-12 07:45:04] Production.INFO: CreateAllLog End
[2025-01-12 07:45:04] Production.ERROR: done
[2025-01-12 07:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:45:04] Production.ERROR: done
[2025-01-12 07:45:04] Production.INFO: Account Balance End.
[2025-01-12 07:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:45:04] Production.INFO: ==18193== Releasing lock...
[2025-01-12 07:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:45:05
[end_date_ymd] => 2025-01-12 07:45:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:45:05' and `end` < '2025-01-12 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-01-12 07:45:11] Production.ERROR: CronJobId end10
[2025-01-12 07:45:11] Production.INFO: ==18191== Releasing lock...
[2025-01-12 07:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:45:13] Production.INFO: call_cost start
[2025-01-12 07:45:13] Production.INFO: call_cost end
[2025-01-12 07:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:45:14] Production.INFO: ==18187== Releasing lock...
[2025-01-12 07:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:45:18] Production.INFO: count ==44
[2025-01-12 07:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:45:05 - End Time 2025-01-12 07:45:05
[2025-01-12 07:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230156', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230156', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230156', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230156', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:45:18] Production.INFO: ProcessCDR(1,14230156,1,1,2)
[2025-01-12 07:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230156', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230156', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:45:21] Production.INFO: ==18195== Releasing lock...
[2025-01-12 07:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:45:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:46:01] Production.INFO: ==18315== Lock acquired, processing the job...
[2025-01-12 12:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:46:01] Production.INFO: neon service started
[2025-01-12 12:46:01] Production.INFO: neon service started
[2025-01-12 12:46:01] Production.INFO: ==18315== Releasing lock...
[2025-01-12 12:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:46:01] Production.INFO: ==18319== Lock acquired, processing the job...
[2025-01-12 12:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:46:01] Production.INFO: ==18317== Lock acquired, processing the job...
[2025-01-12 07:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:46:02] Production.INFO: ==18319== Releasing lock...
[2025-01-12 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:46:02] Production.INFO: ==18317== Releasing lock...
[2025-01-12 07:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:46:03] Production.INFO: ==18325== Lock acquired, processing the job...
[2025-01-12 07:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:46:03] Production.INFO: ==18323== Lock acquired, processing the job...
[2025-01-12 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:46:03] Production.INFO: ==18331== Lock acquired, processing the job...
[2025-01-12 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 07:46:03] Production.INFO: ==18329== Lock acquired, processing the job...
[2025-01-12 07:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:46:03] Production.INFO: ==18323== Releasing lock...
[2025-01-12 07:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:46:03] Production.INFO: ==18321== Lock acquired, processing the job...
[2025-01-12 07:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:46:03] Production.INFO: count ==21
[2025-01-12 07:46:03] Production.INFO: ==18327== Lock acquired, processing the job...
[2025-01-12 07:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 07:46:03] Production.INFO: count ==21
[2025-01-12 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230158') start
[2025-01-12 07:46:03] Production.INFO: Account Balance Start.
[2025-01-12 07:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:46:03] Production.INFO: 117
[2025-01-12 07:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:46:03] Production.ERROR: done
[2025-01-12 07:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230158') end
[2025-01-12 07:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:46:03] Production.INFO: 1
[2025-01-12 07:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:46:03] Production.INFO: ==18331== Releasing lock...
[2025-01-12 07:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:46:03] Production.ERROR: done
[2025-01-12 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:46:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:46:03] Production.INFO: Total Charge 0
[2025-01-12 07:46:03] Production.INFO: CreateAllLog End
[2025-01-12 07:46:04] Production.INFO: Account Balance End.
[2025-01-12 07:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:46:04] Production.INFO: ==18327== Releasing lock...
[2025-01-12 07:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:46:04
[end_date_ymd] => 2025-01-12 07:46:04
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:46:04' and `end` < '2025-01-12 07: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-01-12 07:46:10] Production.ERROR: CronJobId end10
[2025-01-12 07:46:10] Production.INFO: ==18325== Releasing lock...
[2025-01-12 07:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:46:12] Production.INFO: call_cost start
[2025-01-12 07:46:12] Production.INFO: call_cost end
[2025-01-12 07:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:46:13] Production.INFO: ==18321== Releasing lock...
[2025-01-12 07:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:46:19] Production.INFO: count ==44
[2025-01-12 07:46:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:46:04 - End Time 2025-01-12 07:46:04
[2025-01-12 07:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230161', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230161', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230161', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230161', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:46:19] Production.INFO: ProcessCDR(1,14230161,1,1,2)
[2025-01-12 07:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230161', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230161', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:46:22] Production.INFO: ==18329== Releasing lock...
[2025-01-12 07:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:46:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:47:01] Production.INFO: ==18393== Lock acquired, processing the job...
[2025-01-12 12:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:47:01] Production.INFO: neon service started
[2025-01-12 12:47:01] Production.INFO: neon service started
[2025-01-12 12:47:01] Production.INFO: ==18393== Releasing lock...
[2025-01-12 12:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:47:02] Production.INFO: ==18395== Lock acquired, processing the job...
[2025-01-12 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:47:02] Production.INFO: ==18397== Lock acquired, processing the job...
[2025-01-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:47:02] Production.INFO: ==18397== Releasing lock...
[2025-01-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:47:02] Production.INFO: ==18395== Releasing lock...
[2025-01-12 07:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:47:03] Production.INFO: ==18400== Lock acquired, processing the job...
[2025-01-12 07:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:47:03] Production.INFO: ==18404== Lock acquired, processing the job...
[2025-01-12 07:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:47:03] Production.INFO: ==18406== Lock acquired, processing the job...
[2025-01-12 07:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:47:03] Production.INFO: ==18402== Lock acquired, processing the job...
[2025-01-12 07:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:47:03] Production.INFO: Account Balance Start.
[2025-01-12 07:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:47:03] Production.INFO: 117
[2025-01-12 07:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:47:03] Production.INFO: ==18408== Lock acquired, processing the job...
[2025-01-12 07:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:47:03] Production.INFO: ==18410== Lock acquired, processing the job...
[2025-01-12 07:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 07: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-01-12 07:47:03] Production.INFO: count ==21
[2025-01-12 07:47:03] Production.INFO: Total Charge 0
[2025-01-12 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-01-12 07:47:04] Production.INFO: count ==21
[2025-01-12 07:47:04] Production.INFO: CreateAllLog End
[2025-01-12 07:47:04] Production.INFO: ==18402== Releasing lock...
[2025-01-12 07:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230165') start
[2025-01-12 07:47:04] Production.ERROR: done
[2025-01-12 07:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230165') end
[2025-01-12 07:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:47:04] Production.INFO: 1
[2025-01-12 07:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:47:04] Production.INFO: Account Balance End.
[2025-01-12 07:47:04] Production.INFO: ==18410== Releasing lock...
[2025-01-12 07:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:47:04] Production.ERROR: done
[2025-01-12 07:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:47:04] Production.INFO: ==18406== Releasing lock...
[2025-01-12 07:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:47:05
[end_date_ymd] => 2025-01-12 07:47:05
[RateCDR] => 1
)
[2025-01-12 07:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:47:05' and `end` < '2025-01-12 07:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:47:11] Production.ERROR: CronJobId end10
[2025-01-12 07:47:11] Production.INFO: ==18404== Releasing lock...
[2025-01-12 07:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:47:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:47:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:47:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:47:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:47:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:47:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:47:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:47:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:47:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:47:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:47:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:47:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:47:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:47:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:47:12] Production.INFO: call_cost start
[2025-01-12 07:47:12] Production.INFO: call_cost end
[2025-01-12 07:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:47:13] Production.INFO: ==18400== Releasing lock...
[2025-01-12 07:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:47:18] Production.INFO: count ==45
[2025-01-12 07:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:47:05 - End Time 2025-01-12 07:47:05
[2025-01-12 07:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230166', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230166', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230166', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230166', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:47:18] Production.INFO: ProcessCDR(1,14230166,1,1,2)
[2025-01-12 07:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230166', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230166', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:47:21] Production.INFO: ==18408== Releasing lock...
[2025-01-12 07:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:47:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:48:02] Production.INFO: ==18473== Lock acquired, processing the job...
[2025-01-12 12:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:48:02] Production.INFO: neon service started
[2025-01-12 12:48:02] Production.INFO: neon service started
[2025-01-12 12:48:02] Production.INFO: ==18473== Releasing lock...
[2025-01-12 12:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:48:02] Production.INFO: ==18477== Lock acquired, processing the job...
[2025-01-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:48:02] Production.INFO: ==18477== Releasing lock...
[2025-01-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:48:02] Production.INFO: ==18475== Lock acquired, processing the job...
[2025-01-12 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:48:02] Production.INFO: ==18475== Releasing lock...
[2025-01-12 07:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:48:03] Production.INFO: ==18479== Lock acquired, processing the job...
[2025-01-12 07:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:48:03] Production.INFO: ==18481== Lock acquired, processing the job...
[2025-01-12 07:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:48:03] Production.INFO: ==18485== Lock acquired, processing the job...
[2025-01-12 07:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:48:03] Production.INFO: ==18483== Lock acquired, processing the job...
[2025-01-12 07:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:48:04] Production.INFO: Account Balance Start.
[2025-01-12 07:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:48:04] Production.INFO: 117
[2025-01-12 07:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:48:04] Production.INFO: ==18487== Lock acquired, processing the job...
[2025-01-12 07:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:48:04] Production.INFO: ==18481== Releasing lock...
[2025-01-12 07:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:48:04] Production.INFO: ==18489== Lock acquired, processing the job...
[2025-01-12 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 07: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-01-12 07:48:04] Production.ERROR: done
[2025-01-12 07:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:48:04] Production.INFO: count ==21
[2025-01-12 07:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:48:04] Production.INFO: count ==21
[2025-01-12 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230170') start
[2025-01-12 07:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:48:04] Production.ERROR: done
[2025-01-12 07:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230170') end
[2025-01-12 07:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:48:04] Production.INFO: 1
[2025-01-12 07:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:48:04] Production.INFO: Total Charge 0
[2025-01-12 07:48:04] Production.INFO: CreateAllLog End
[2025-01-12 07:48:04] Production.INFO: ==18489== Releasing lock...
[2025-01-12 07:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:48:04] Production.INFO: Account Balance End.
[2025-01-12 07:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:48:04] Production.INFO: ==18485== Releasing lock...
[2025-01-12 07:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:48:05
[end_date_ymd] => 2025-01-12 07:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:48:05' and `end` < '2025-01-12 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-01-12 07:48:11] Production.ERROR: CronJobId end10
[2025-01-12 07:48:11] Production.INFO: ==18483== Releasing lock...
[2025-01-12 07:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:48:13] Production.INFO: call_cost start
[2025-01-12 07:48:13] Production.INFO: call_cost end
[2025-01-12 07:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:48:14] Production.INFO: ==18479== Releasing lock...
[2025-01-12 07:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:48:20] Production.INFO: count ==45
[2025-01-12 07:48:20] Production.ERROR: pbx CDR StartTime 2025-01-12 04:48:05 - End Time 2025-01-12 07:48:05
[2025-01-12 07:48:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230171', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230171', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230171', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:48:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230171', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:48:20] Production.INFO: ProcessCDR(1,14230171,1,1,2)
[2025-01-12 07:48:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:48:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230171', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:48:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230171', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:48:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:48:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:48:23] Production.INFO: ==18487== Releasing lock...
[2025-01-12 07:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:48:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:49:01] Production.INFO: ==18553== Lock acquired, processing the job...
[2025-01-12 12:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:49:01] Production.INFO: neon service started
[2025-01-12 12:49:01] Production.INFO: neon service started
[2025-01-12 12:49:01] Production.INFO: ==18553== Releasing lock...
[2025-01-12 12:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:49:01] Production.INFO: ==18555== Lock acquired, processing the job...
[2025-01-12 07:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:49:02] Production.INFO: ==18555== Releasing lock...
[2025-01-12 07:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:49:02] Production.INFO: ==18557== Lock acquired, processing the job...
[2025-01-12 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:49:02] Production.INFO: ==18557== Releasing lock...
[2025-01-12 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:49:03] Production.INFO: ==18559== Lock acquired, processing the job...
[2025-01-12 07:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:49:03] Production.INFO: ==18561== Lock acquired, processing the job...
[2025-01-12 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:49:03] Production.INFO: ==18565== Lock acquired, processing the job...
[2025-01-12 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:49:03] Production.INFO: ==18563== Lock acquired, processing the job...
[2025-01-12 07:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:49:03] Production.INFO: Account Balance Start.
[2025-01-12 07:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:49:03] Production.INFO: 117
[2025-01-12 07:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:49:03] Production.INFO: ==18567== Lock acquired, processing the job...
[2025-01-12 07:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:49:03] Production.INFO: ==18569== Lock acquired, processing the job...
[2025-01-12 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:49:03] Production.INFO: ==18561== Releasing lock...
[2025-01-12 07:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:49:03] Production.INFO: count ==21
[2025-01-12 07:49:03] Production.INFO: Total Charge 0
[2025-01-12 07:49:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:49:03] Production.INFO: CreateAllLog End
[2025-01-12 07:49:03] Production.INFO: count ==21
[2025-01-12 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230175') start
[2025-01-12 07:49:03] Production.ERROR: done
[2025-01-12 07:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:49:03] Production.INFO: Account Balance End.
[2025-01-12 07:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230175') end
[2025-01-12 07:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:49:03] Production.INFO: 1
[2025-01-12 07:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:49:03] Production.ERROR: CronJobId end 12
[2025-01-12 07:49:03] Production.INFO: ==18565== Releasing lock...
[2025-01-12 07:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:49:03] Production.INFO: ==18569== Releasing lock...
[2025-01-12 07:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:49:04] Production.ERROR: done
[2025-01-12 07:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:49:04
[end_date_ymd] => 2025-01-12 07:49:04
[RateCDR] => 1
)
[2025-01-12 07:49:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 04:49:04' and `end` < '2025-01-12 07:49:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 07:49:11] Production.ERROR: CronJobId end10
[2025-01-12 07:49:11] Production.INFO: ==18563== Releasing lock...
[2025-01-12 07:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:49:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:49:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:49:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:49:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:49:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:49:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:49:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:49:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:49:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:49:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:49:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:49:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:49:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:49:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:49:12] Production.INFO: call_cost start
[2025-01-12 07:49:12] Production.INFO: call_cost end
[2025-01-12 07:49:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:49:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:49:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:49:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:49:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:49:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:49:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:49:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:49:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:49:12] Production.INFO: ==18559== Releasing lock...
[2025-01-12 07:49:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:49:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:49:18] Production.INFO: count ==45
[2025-01-12 07:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:49:04 - End Time 2025-01-12 07:49:04
[2025-01-12 07:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230176', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230176', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230176', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230176', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:49:18] Production.INFO: ProcessCDR(1,14230176,1,1,2)
[2025-01-12 07:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230176', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230176', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:49:21] Production.INFO: ==18567== Releasing lock...
[2025-01-12 07:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:49:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:50:02] Production.INFO: ==18631== Lock acquired, processing the job...
[2025-01-12 12:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:50:02] Production.INFO: neon service started
[2025-01-12 12:50:02] Production.INFO: neon service started
[2025-01-12 12:50:02] Production.INFO: ==18631== Releasing lock...
[2025-01-12 12:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:50:02] Production.INFO: ==18636== Lock acquired, processing the job...
[2025-01-12 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:50:02] Production.INFO: ==18636== Releasing lock...
[2025-01-12 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:50:02] Production.INFO: ==18634== Lock acquired, processing the job...
[2025-01-12 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:50:02] Production.INFO: ==18634== Releasing lock...
[2025-01-12 07:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:50:03] Production.INFO: ==18641== Lock acquired, processing the job...
[2025-01-12 07:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:50:03] Production.INFO: ==18643== Lock acquired, processing the job...
[2025-01-12 07:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:50:03] Production.INFO: ==18645== Lock acquired, processing the job...
[2025-01-12 07:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:50:04] Production.INFO: ==18639== Lock acquired, processing the job...
[2025-01-12 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 07:50:04] Production.INFO: ==18651== Lock acquired, processing the job...
[2025-01-12 07:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:50:04] Production.ERROR: CronJob PID - 18641
[2025-01-12 07:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 07:50:04] Production.ERROR: CronJob ID - 5
[2025-01-12 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:50:00
[2025-01-12 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:50:04] Production.ERROR: CronJob PID - 18643
[2025-01-12 07:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 07:50:04] Production.ERROR: CronJob ID - 7
[2025-01-12 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:50:00
[2025-01-12 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:50:04] Production.ERROR: CronJob PID - 18645
[2025-01-12 07:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 07:50:04] Production.ERROR: CronJob ID - 10
[2025-01-12 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:50:00
[2025-01-12 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 07:50:04] Production.ERROR: CronJob PID - 18651
[2025-01-12 07:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 07:50:04] Production.ERROR: CronJob ID - 17
[2025-01-12 07:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 07:50:00
[2025-01-12 07:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 07:50:04] Production.INFO: ==18647== Lock acquired, processing the job...
[2025-01-12 07:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:50:04] Production.INFO: ==18649== Lock acquired, processing the job...
[2025-01-12 07:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 07:50:04] Production.INFO: ==18639== Releasing lock...
[2025-01-12 07:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 07:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 07:50:04] Production.INFO: ==18653== Lock acquired, processing the job...
[2025-01-12 07:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:50:04] Production.INFO: Account Balance Start.
[2025-01-12 07:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:50:04] Production.INFO: 117
[2025-01-12 07:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:50:04] Production.ERROR: done
[2025-01-12 07:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:50:04] Production.INFO: ==18643== Releasing lock...
[2025-01-12 07:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 07:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230180', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 07:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:50:04] Production.INFO: count ==21
[2025-01-12 07:50:04] Production.ERROR: done
[2025-01-12 07:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:50:04] Production.INFO: count ==21
[2025-01-12 07:50:05] Production.INFO: Total Charge 0
[2025-01-12 07:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230181') start
[2025-01-12 07:50:05] Production.INFO: CreateAllLog End
[2025-01-12 07:50:05] Production.ERROR: done
[2025-01-12 07:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230181') end
[2025-01-12 07:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:50:05] Production.INFO: 1
[2025-01-12 07:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:50:05] Production.INFO: ==18653== Releasing lock...
[2025-01-12 07:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:50:05] Production.INFO: Account Balance End.
[2025-01-12 07:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 07:50:05] Production.INFO: ==18647== Releasing lock...
[2025-01-12 07:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:50:06
[end_date_ymd] => 2025-01-12 07:50:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:50:06' and `end` < '2025-01-12 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-01-12 07:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230180', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 07:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 07:50:09] Production.INFO: ProcessCDR(1,14230180,1,1,2)
[2025-01-12 07:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230180,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230180,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:50:09] Production.INFO: ==18651== Releasing lock...
[2025-01-12 07:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 07:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 07:50:13] Production.ERROR: CronJobId end10
[2025-01-12 07:50:13] Production.INFO: ==18645== Releasing lock...
[2025-01-12 07:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:50:15] Production.INFO: call_cost start
[2025-01-12 07:50:15] Production.INFO: call_cost end
[2025-01-12 07:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:50:16] Production.INFO: ==18641== Releasing lock...
[2025-01-12 07:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:50:19] Production.INFO: count ==45
[2025-01-12 07:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:50:06 - End Time 2025-01-12 07:50:06
[2025-01-12 07:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230182', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230182', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230182', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230182', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:50:19] Production.INFO: ProcessCDR(1,14230182,1,1,2)
[2025-01-12 07:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230182,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230182,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230182', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230182', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:50:22] Production.INFO: ==18649== Releasing lock...
[2025-01-12 07:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:50:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:51:01] Production.INFO: ==18719== Lock acquired, processing the job...
[2025-01-12 12:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:51:01] Production.INFO: neon service started
[2025-01-12 12:51:01] Production.INFO: neon service started
[2025-01-12 12:51:01] Production.INFO: ==18719== Releasing lock...
[2025-01-12 12:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:51:01] Production.INFO: ==18723== Lock acquired, processing the job...
[2025-01-12 12:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:51:01] Production.INFO: ==18723== Releasing lock...
[2025-01-12 12:51:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:51:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:51:01] Production.INFO: ==18721== Lock acquired, processing the job...
[2025-01-12 07:51:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:51:02] Production.INFO: ==18721== Releasing lock...
[2025-01-12 07:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:51:03] Production.INFO: ==18732== Lock acquired, processing the job...
[2025-01-12 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:51:03] Production.INFO: ==18736== Lock acquired, processing the job...
[2025-01-12 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:51:03] Production.INFO: Account Balance Start.
[2025-01-12 07:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:51:03] Production.INFO: 117
[2025-01-12 07:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:51:03] Production.INFO: ==18726== Lock acquired, processing the job...
[2025-01-12 07:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:51:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:51:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:51:03] Production.INFO: ==18728== Lock acquired, processing the job...
[2025-01-12 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:51:03] Production.INFO: count ==21
[2025-01-12 07:51:03] Production.INFO: Total Charge 0
[2025-01-12 07:51:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:51:03] Production.INFO: count ==21
[2025-01-12 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230184') start
[2025-01-12 07:51:03] Production.INFO: ==18730== Lock acquired, processing the job...
[2025-01-12 07:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:51:03] Production.INFO: CreateAllLog End
[2025-01-12 07:51:03] Production.INFO: ==18734== Lock acquired, processing the job...
[2025-01-12 07:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230184') end
[2025-01-12 07:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:51:03] Production.INFO: 1
[2025-01-12 07:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:51:03] Production.INFO: Account Balance End.
[2025-01-12 07:51:03] Production.ERROR: CronJobId end 12
[2025-01-12 07:51:03] Production.INFO: ==18732== Releasing lock...
[2025-01-12 07:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:51:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:51:03] Production.INFO: ==18736== Releasing lock...
[2025-01-12 07:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:51:03] Production.INFO: ==18728== Releasing lock...
[2025-01-12 07:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:51:03] Production.ERROR: done
[2025-01-12 07:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:51:04] Production.ERROR: done
[2025-01-12 07:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:51:05
[end_date_ymd] => 2025-01-12 07:51:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:51:05' and `end` < '2025-01-12 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-01-12 07:51:11] Production.ERROR: CronJobId end10
[2025-01-12 07:51:11] Production.INFO: ==18730== Releasing lock...
[2025-01-12 07:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:51:12] Production.INFO: call_cost start
[2025-01-12 07:51:12] Production.INFO: call_cost end
[2025-01-12 07:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:51:13] Production.INFO: ==18726== Releasing lock...
[2025-01-12 07:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:51:18] Production.INFO: count ==45
[2025-01-12 07:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:51:05 - End Time 2025-01-12 07:51:05
[2025-01-12 07:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230187', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230187', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230187', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230187', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:51:18] Production.INFO: ProcessCDR(1,14230187,1,1,2)
[2025-01-12 07:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230187,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230187,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230187', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230187', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:51:21] Production.INFO: ==18734== Releasing lock...
[2025-01-12 07:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:51:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:52:01] Production.INFO: ==18802== Lock acquired, processing the job...
[2025-01-12 12:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:52:01] Production.INFO: neon service started
[2025-01-12 12:52:01] Production.INFO: neon service started
[2025-01-12 12:52:01] Production.INFO: ==18802== Releasing lock...
[2025-01-12 12:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:52:02] Production.INFO: ==18804== Lock acquired, processing the job...
[2025-01-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:52:02] Production.INFO: ==18806== Lock acquired, processing the job...
[2025-01-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:52:02] Production.INFO: ==18806== Releasing lock...
[2025-01-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:52:02] Production.INFO: ==18804== Releasing lock...
[2025-01-12 07:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:52:03] Production.INFO: ==18813== Lock acquired, processing the job...
[2025-01-12 07:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:52:03] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-01-12 07:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:52:03] Production.INFO: ==18811== Lock acquired, processing the job...
[2025-01-12 07:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:52:03] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-01-12 07:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:52:03] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-01-12 07:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:52:03] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-01-12 07:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:52:03] Production.INFO: Account Balance Start.
[2025-01-12 07:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:52:03] Production.INFO: 117
[2025-01-12 07:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:52:04] Production.INFO: ==18811== Releasing lock...
[2025-01-12 07:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 07:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:52:04] Production.INFO: count ==21
[2025-01-12 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:52:04] Production.INFO: count ==21
[2025-01-12 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230190') start
[2025-01-12 07:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:52:04] Production.ERROR: done
[2025-01-12 07:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230190') end
[2025-01-12 07:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:52:04] Production.INFO: 1
[2025-01-12 07:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:52:04] Production.ERROR: done
[2025-01-12 07:52:04] Production.INFO: Total Charge 0
[2025-01-12 07:52:04] Production.INFO: CreateAllLog End
[2025-01-12 07:52:04] Production.INFO: ==18819== Releasing lock...
[2025-01-12 07:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:52:04] Production.INFO: Account Balance End.
[2025-01-12 07:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:52:04] Production.INFO: ==18815== Releasing lock...
[2025-01-12 07:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:52:05
[end_date_ymd] => 2025-01-12 07:52:05
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:52:05' and `end` < '2025-01-12 07: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-01-12 07:52:10] Production.ERROR: CronJobId end10
[2025-01-12 07:52:10] Production.INFO: ==18813== Releasing lock...
[2025-01-12 07:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:52:12] Production.INFO: call_cost start
[2025-01-12 07:52:12] Production.INFO: call_cost end
[2025-01-12 07:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:52:13] Production.INFO: ==18809== Releasing lock...
[2025-01-12 07:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:52:19] Production.INFO: count ==45
[2025-01-12 07:52:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:52:05 - End Time 2025-01-12 07:52:05
[2025-01-12 07:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230192', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230192', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230192', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230192', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:52:19] Production.INFO: ProcessCDR(1,14230192,1,1,2)
[2025-01-12 07:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230192,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230192,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230192', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230192', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:52:22] Production.INFO: ==18817== Releasing lock...
[2025-01-12 07:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:52:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:53:02] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-01-12 12:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:53:02] Production.INFO: neon service started
[2025-01-12 12:53:02] Production.INFO: neon service started
[2025-01-12 12:53:02] Production.INFO: ==18881== Releasing lock...
[2025-01-12 12:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:53:02] Production.INFO: ==18883== Lock acquired, processing the job...
[2025-01-12 07:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:53:02] Production.INFO: ==18885== Lock acquired, processing the job...
[2025-01-12 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:53:02] Production.INFO: ==18885== Releasing lock...
[2025-01-12 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:53:03] Production.INFO: ==18883== Releasing lock...
[2025-01-12 07:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:53:03] Production.INFO: ==18888== Lock acquired, processing the job...
[2025-01-12 07:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:53:03] Production.INFO: ==18890== Lock acquired, processing the job...
[2025-01-12 07:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:53:03] Production.INFO: ==18894== Lock acquired, processing the job...
[2025-01-12 07:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:53:04] Production.INFO: Account Balance Start.
[2025-01-12 07:53:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:53:04] Production.INFO: 117
[2025-01-12 07:53:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:53:04] Production.INFO: ==18892== Lock acquired, processing the job...
[2025-01-12 07:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:53:04] Production.INFO: ==18890== Releasing lock...
[2025-01-12 07:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:53:04] Production.INFO: Total Charge 0
[2025-01-12 07:53:04] Production.INFO: CreateAllLog End
[2025-01-12 07:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:53:04] Production.INFO: ==18896== Lock acquired, processing the job...
[2025-01-12 07:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:53:04] Production.INFO: Account Balance End.
[2025-01-12 07:53:04] Production.INFO: ==18898== Lock acquired, processing the job...
[2025-01-12 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:53:04] Production.INFO: ==18894== Releasing lock...
[2025-01-12 07:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 07:53:04] Production.INFO: count ==21
[2025-01-12 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-01-12 07:53:04] Production.INFO: count ==21
[2025-01-12 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230196') start
[2025-01-12 07:53:04] Production.ERROR: done
[2025-01-12 07:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:53:04] Production.ERROR: done
[2025-01-12 07:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230196') end
[2025-01-12 07:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:53:04] Production.INFO: 1
[2025-01-12 07:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:53:04] Production.INFO: ==18898== Releasing lock...
[2025-01-12 07:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:53:05
[end_date_ymd] => 2025-01-12 07:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:53:05' and `end` < '2025-01-12 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-01-12 07:53:10] Production.ERROR: CronJobId end10
[2025-01-12 07:53:10] Production.INFO: ==18892== Releasing lock...
[2025-01-12 07:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:53:13] Production.INFO: call_cost start
[2025-01-12 07:53:13] Production.INFO: call_cost end
[2025-01-12 07:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:53:14] Production.INFO: ==18888== Releasing lock...
[2025-01-12 07:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:53:18] Production.INFO: count ==45
[2025-01-12 07:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:53:05 - End Time 2025-01-12 07:53:05
[2025-01-12 07:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230197', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230197', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230197', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230197', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:53:18] Production.INFO: ProcessCDR(1,14230197,1,1,2)
[2025-01-12 07:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230197,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230197,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230197', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230197', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:53:21] Production.INFO: ==18896== Releasing lock...
[2025-01-12 07:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:53:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:54:01] Production.INFO: ==18961== Lock acquired, processing the job...
[2025-01-12 12:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:54:01] Production.INFO: neon service started
[2025-01-12 12:54:01] Production.INFO: neon service started
[2025-01-12 12:54:01] Production.INFO: ==18961== Releasing lock...
[2025-01-12 12:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:54:01] Production.INFO: ==18963== Lock acquired, processing the job...
[2025-01-12 07:54:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:54:02] Production.INFO: ==18963== Releasing lock...
[2025-01-12 07:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:54:02] Production.INFO: ==18965== Lock acquired, processing the job...
[2025-01-12 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:54:02] Production.INFO: ==18965== Releasing lock...
[2025-01-12 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:54:03] Production.INFO: ==18975== Lock acquired, processing the job...
[2025-01-12 07:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:54:03] Production.INFO: ==18967== Lock acquired, processing the job...
[2025-01-12 07:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:54:03] Production.INFO: ==18977== Lock acquired, processing the job...
[2025-01-12 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:54:03] Production.INFO: ==18969== Lock acquired, processing the job...
[2025-01-12 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:54:03] Production.INFO: ==18971== Lock acquired, processing the job...
[2025-01-12 07:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:54:03] Production.INFO: ==18973== Lock acquired, processing the job...
[2025-01-12 07:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:54:03] Production.INFO: Account Balance Start.
[2025-01-12 07:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 07:54:03] Production.INFO: 117
[2025-01-12 07:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:54:03] Production.INFO: count ==21
[2025-01-12 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-01-12 07:54:03] Production.INFO: count ==21
[2025-01-12 07:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230199') start
[2025-01-12 07:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230199') end
[2025-01-12 07:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:54:03] Production.INFO: 1
[2025-01-12 07:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:54:03] Production.ERROR: done
[2025-01-12 07:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:54:03] Production.INFO: ==18977== Releasing lock...
[2025-01-12 07:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:54:03] Production.ERROR: done
[2025-01-12 07:54:03] Production.INFO: Total Charge 0
[2025-01-12 07:54:03] Production.INFO: CreateAllLog End
[2025-01-12 07:54:03] Production.INFO: ==18969== Releasing lock...
[2025-01-12 07:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:54:04] Production.INFO: Account Balance End.
[2025-01-12 07:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:54:04] Production.INFO: ==18973== Releasing lock...
[2025-01-12 07:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:54:04
[end_date_ymd] => 2025-01-12 07:54:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:54:04' and `end` < '2025-01-12 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-01-12 07:54:10] Production.ERROR: CronJobId end10
[2025-01-12 07:54:10] Production.INFO: ==18971== Releasing lock...
[2025-01-12 07:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:54:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:54:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:54:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:54:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:54:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:54:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:54:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:54:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:54:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:54:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:54:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:54:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:54:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:54:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:54:12] Production.INFO: call_cost start
[2025-01-12 07:54:12] Production.INFO: call_cost end
[2025-01-12 07:54:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:54:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:54:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:54:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:54:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:54:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:54:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:54:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:54:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:54:12] Production.INFO: ==18967== Releasing lock...
[2025-01-12 07:54:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:54:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:54:17] Production.INFO: count ==45
[2025-01-12 07:54:17] Production.ERROR: pbx CDR StartTime 2025-01-12 04:54:04 - End Time 2025-01-12 07:54:04
[2025-01-12 07:54:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230202', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230202', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230202', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:54:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230202', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:54:17] Production.INFO: ProcessCDR(1,14230202,1,1,2)
[2025-01-12 07:54:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:54:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:54:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:54:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230202', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:54:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230202', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:54:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:54:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:54:20] Production.INFO: ==18975== Releasing lock...
[2025-01-12 07:54:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:54:20] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:55:02] Production.INFO: ==19045== Lock acquired, processing the job...
[2025-01-12 12:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:55:02] Production.INFO: neon service started
[2025-01-12 12:55:02] Production.INFO: neon service started
[2025-01-12 12:55:02] Production.INFO: ==19045== Releasing lock...
[2025-01-12 12:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:55:02] Production.INFO: ==19047== Lock acquired, processing the job...
[2025-01-12 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:55:02] Production.INFO: ==19047== Releasing lock...
[2025-01-12 07:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:55:02] Production.INFO: ==19049== Lock acquired, processing the job...
[2025-01-12 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:55:03] Production.INFO: ==19049== Releasing lock...
[2025-01-12 12:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:55:03] Production.INFO: ==19051== Lock acquired, processing the job...
[2025-01-12 07:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:55:03] Production.INFO: ==19055== Lock acquired, processing the job...
[2025-01-12 07:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:55:03] Production.INFO: ==19059== Lock acquired, processing the job...
[2025-01-12 07:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:55:03] Production.INFO: ==19057== Lock acquired, processing the job...
[2025-01-12 07:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:55:03] Production.INFO: ==19061== Lock acquired, processing the job...
[2025-01-12 07:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:55:03] Production.INFO: ==19053== Lock acquired, processing the job...
[2025-01-12 07:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:55:03] Production.ERROR: done
[2025-01-12 07:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:55:03] Production.INFO: Account Balance Start.
[2025-01-12 07:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:55:03] Production.INFO: 117
[2025-01-12 07: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-01-12 07:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:55:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:55:03] Production.INFO: count ==21
[2025-01-12 07:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230205') start
[2025-01-12 07:55:04] Production.ERROR: done
[2025-01-12 07:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:55:04] Production.INFO: Total Charge 0
[2025-01-12 07:55:04] Production.INFO: CreateAllLog End
[2025-01-12 07:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230205') end
[2025-01-12 07:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:55:04] Production.INFO: 1
[2025-01-12 07:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:55:04] Production.INFO: ==19061== Releasing lock...
[2025-01-12 07:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:55:04] Production.INFO: ==19053== Releasing lock...
[2025-01-12 07:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:55:04] Production.INFO: Account Balance End.
[2025-01-12 07:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:55:04] Production.INFO: ==19057== Releasing lock...
[2025-01-12 07:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:55:04
[end_date_ymd] => 2025-01-12 07:55:04
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:55:04' and `end` < '2025-01-12 07: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-01-12 07:55:10] Production.ERROR: CronJobId end10
[2025-01-12 07:55:10] Production.INFO: ==19055== Releasing lock...
[2025-01-12 07:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:55:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:55:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:55:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:55:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:55:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:55:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:55:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:55:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:55:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:55:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:55:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:55:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:55:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:55:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:55:12] Production.INFO: call_cost start
[2025-01-12 07:55:12] Production.INFO: call_cost end
[2025-01-12 07:55:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:55:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:55:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:55:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:55:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:55:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:55:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:55:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:55:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:55:13] Production.INFO: ==19051== Releasing lock...
[2025-01-12 07:55:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:55:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:55:19] Production.INFO: count ==45
[2025-01-12 07:55:19] Production.ERROR: pbx CDR StartTime 2025-01-12 04:55:04 - End Time 2025-01-12 07:55:04
[2025-01-12 07:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230207', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230207', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230207', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230207', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:55:19] Production.INFO: ProcessCDR(1,14230207,1,1,2)
[2025-01-12 07:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230207', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230207', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:55:22] Production.INFO: ==19059== Releasing lock...
[2025-01-12 07:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:55:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:56:01] Production.INFO: ==19129== Lock acquired, processing the job...
[2025-01-12 12:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:56:01] Production.INFO: neon service started
[2025-01-12 12:56:01] Production.INFO: neon service started
[2025-01-12 12:56:01] Production.INFO: ==19129== Releasing lock...
[2025-01-12 12:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:56:01] Production.INFO: ==19131== Lock acquired, processing the job...
[2025-01-12 07:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:56:02] Production.INFO: ==19131== Releasing lock...
[2025-01-12 07:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:56:02] Production.INFO: ==19133== Lock acquired, processing the job...
[2025-01-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:56:02] Production.INFO: ==19133== Releasing lock...
[2025-01-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:56:03] Production.INFO: ==19135== Lock acquired, processing the job...
[2025-01-12 07:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:56:03] Production.INFO: ==19137== Lock acquired, processing the job...
[2025-01-12 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:56:03] Production.INFO: ==19145== Lock acquired, processing the job...
[2025-01-12 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:56:03] Production.INFO: ==19139== Lock acquired, processing the job...
[2025-01-12 07:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:56:03] Production.INFO: ==19141== Lock acquired, processing the job...
[2025-01-12 07:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:56:03] Production.INFO: ==19143== Lock acquired, processing the job...
[2025-01-12 07:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07: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-01-12 07:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:56:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:56:03] Production.INFO: count ==21
[2025-01-12 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230209') start
[2025-01-12 07:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:56:03] Production.INFO: Account Balance Start.
[2025-01-12 07:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:56:03] Production.INFO: 117
[2025-01-12 07:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230209') end
[2025-01-12 07:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:56:03] Production.INFO: 1
[2025-01-12 07:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:56:03] Production.INFO: ==19145== Releasing lock...
[2025-01-12 07:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:56:03] Production.INFO: Total Charge 0
[2025-01-12 07:56:03] Production.INFO: CreateAllLog End
[2025-01-12 07:56:03] Production.ERROR: done
[2025-01-12 07:56:03] Production.INFO: ==19137== Releasing lock...
[2025-01-12 07:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:56:04] Production.ERROR: done
[2025-01-12 07:56:04] Production.INFO: Account Balance End.
[2025-01-12 07:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:56:04] Production.INFO: ==19141== Releasing lock...
[2025-01-12 07:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:56:04
[end_date_ymd] => 2025-01-12 07:56:04
[RateCDR] => 1
)
[2025-01-12 07: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-01-12 04:56:04' and `end` < '2025-01-12 07: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-01-12 07:56:11] Production.ERROR: CronJobId end10
[2025-01-12 07:56:11] Production.INFO: ==19139== Releasing lock...
[2025-01-12 07:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:56:13] Production.INFO: call_cost start
[2025-01-12 07:56:13] Production.INFO: call_cost end
[2025-01-12 07:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:56:13] Production.INFO: ==19135== Releasing lock...
[2025-01-12 07:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:56:18] Production.INFO: count ==46
[2025-01-12 07:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:56:04 - End Time 2025-01-12 07:56:04
[2025-01-12 07:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230212', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230212', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230212', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230212', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:56:18] Production.INFO: ProcessCDR(1,14230212,1,1,2)
[2025-01-12 07:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230212', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230212', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:56:23] Production.INFO: ==19143== Releasing lock...
[2025-01-12 07:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:56:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:57:02] Production.INFO: ==19212== Lock acquired, processing the job...
[2025-01-12 12:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:57:02] Production.INFO: neon service started
[2025-01-12 12:57:02] Production.INFO: neon service started
[2025-01-12 12:57:02] Production.INFO: ==19212== Releasing lock...
[2025-01-12 12:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 07:57:02] Production.INFO: ==19215== Lock acquired, processing the job...
[2025-01-12 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:57:02] Production.INFO: ==19217== Lock acquired, processing the job...
[2025-01-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:57:02] Production.INFO: ==19217== Releasing lock...
[2025-01-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:57:02] Production.INFO: ==19215== Releasing lock...
[2025-01-12 07:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:57:03] Production.INFO: ==19221== Lock acquired, processing the job...
[2025-01-12 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:57:03] Production.INFO: ==19219== Lock acquired, processing the job...
[2025-01-12 07:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:57:03] Production.INFO: ==19223== Lock acquired, processing the job...
[2025-01-12 07:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:57:03] Production.INFO: ==19221== Releasing lock...
[2025-01-12 07:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:57:04] Production.INFO: ==19227== Lock acquired, processing the job...
[2025-01-12 07:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:57:04] Production.INFO: ==19225== Lock acquired, processing the job...
[2025-01-12 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:57:04] Production.INFO: ==19229== Lock acquired, processing the job...
[2025-01-12 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:57:04] Production.INFO: Account Balance Start.
[2025-01-12 07:57:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:57:04] Production.INFO: 117
[2025-01-12 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-01-12 07:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:57:04] Production.ERROR: done
[2025-01-12 07:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:57:04] Production.INFO: count ==21
[2025-01-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 07:57:04] Production.INFO: count ==21
[2025-01-12 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230216') start
[2025-01-12 07:57:04] Production.ERROR: done
[2025-01-12 07:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230216') end
[2025-01-12 07:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:57:04] Production.INFO: 1
[2025-01-12 07:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:57:04] Production.INFO: Total Charge 0
[2025-01-12 07:57:04] Production.INFO: CreateAllLog End
[2025-01-12 07:57:04] Production.INFO: ==19229== Releasing lock...
[2025-01-12 07:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:57:04] Production.INFO: Account Balance End.
[2025-01-12 07:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:57:04] Production.INFO: ==19225== Releasing lock...
[2025-01-12 07:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:57:05
[end_date_ymd] => 2025-01-12 07:57:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:57:05' and `end` < '2025-01-12 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-01-12 07:57:11] Production.ERROR: CronJobId end10
[2025-01-12 07:57:11] Production.INFO: ==19223== Releasing lock...
[2025-01-12 07:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:57:13] Production.INFO: call_cost start
[2025-01-12 07:57:13] Production.INFO: call_cost end
[2025-01-12 07:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:57:14] Production.INFO: ==19219== Releasing lock...
[2025-01-12 07:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:57:18] Production.INFO: count ==46
[2025-01-12 07:57:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:57:05 - End Time 2025-01-12 07:57:05
[2025-01-12 07:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230217', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230217', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230217', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230217', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:57:18] Production.INFO: ProcessCDR(1,14230217,1,1,2)
[2025-01-12 07:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230217', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230217', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:57:22] Production.INFO: ==19227== Releasing lock...
[2025-01-12 07:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:57:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:58:01] Production.INFO: ==19305== Lock acquired, processing the job...
[2025-01-12 12:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:58:01] Production.INFO: neon service started
[2025-01-12 12:58:01] Production.INFO: neon service started
[2025-01-12 12:58:01] Production.INFO: ==19305== Releasing lock...
[2025-01-12 12:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:58:02] Production.INFO: ==19309== Lock acquired, processing the job...
[2025-01-12 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 07:58:02] Production.INFO: ==19307== Lock acquired, processing the job...
[2025-01-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:58:02] Production.INFO: ==19309== Releasing lock...
[2025-01-12 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:58:02] Production.INFO: ==19307== Releasing lock...
[2025-01-12 07:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:58:03] Production.INFO: ==19314== Lock acquired, processing the job...
[2025-01-12 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:58:03] Production.INFO: ==19312== Lock acquired, processing the job...
[2025-01-12 07:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:58:03] Production.INFO: ==19322== Lock acquired, processing the job...
[2025-01-12 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:58:03] Production.INFO: ==19316== Lock acquired, processing the job...
[2025-01-12 07:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07: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-01-12 07:58:03] Production.INFO: ==19318== Lock acquired, processing the job...
[2025-01-12 07:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:58:03] Production.INFO: ==19314== Releasing lock...
[2025-01-12 07:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:58:03] Production.INFO: ==19320== Lock acquired, processing the job...
[2025-01-12 07:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:58:03] Production.INFO: count ==21
[2025-01-12 07: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-01-12 07:58:03] Production.INFO: count ==21
[2025-01-12 07:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230220') start
[2025-01-12 07:58:03] Production.INFO: Account Balance Start.
[2025-01-12 07:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 07:58:03] Production.INFO: 117
[2025-01-12 07:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230220') end
[2025-01-12 07:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:58:03] Production.INFO: 1
[2025-01-12 07:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:58:03] Production.INFO: ==19322== Releasing lock...
[2025-01-12 07:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:58:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 07:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 07:58:03] Production.ERROR: done
[2025-01-12 07:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 07:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:58:04] Production.INFO: Total Charge 0
[2025-01-12 07:58:04] Production.ERROR: done
[2025-01-12 07:58:04] Production.INFO: CreateAllLog End
[2025-01-12 07:58:04] Production.INFO: Account Balance End.
[2025-01-12 07:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:58:04] Production.INFO: ==19318== Releasing lock...
[2025-01-12 07:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:58:05
[end_date_ymd] => 2025-01-12 07:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:58:05' and `end` < '2025-01-12 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-01-12 07:58:10] Production.ERROR: CronJobId end10
[2025-01-12 07:58:10] Production.INFO: ==19316== Releasing lock...
[2025-01-12 07:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:58:12] Production.INFO: call_cost start
[2025-01-12 07:58:12] Production.INFO: call_cost end
[2025-01-12 07:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:58:13] Production.INFO: ==19312== Releasing lock...
[2025-01-12 07:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:58:18] Production.INFO: count ==46
[2025-01-12 07:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:58:05 - End Time 2025-01-12 07:58:05
[2025-01-12 07:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230222', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230222', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230222', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230222', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:58:18] Production.INFO: ProcessCDR(1,14230222,1,1,2)
[2025-01-12 07:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230222', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230222', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:58:21] Production.INFO: ==19320== Releasing lock...
[2025-01-12 07:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:58:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 12:59:01] Production.INFO: ==19391== Lock acquired, processing the job...
[2025-01-12 12:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 12:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 12:59:01] Production.INFO: neon service started
[2025-01-12 12:59:01] Production.INFO: neon service started
[2025-01-12 12:59:01] Production.INFO: ==19391== Releasing lock...
[2025-01-12 12:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 12:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:59:02] Production.INFO: ==19395== Lock acquired, processing the job...
[2025-01-12 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:59:02] Production.INFO: ==19395== Releasing lock...
[2025-01-12 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 12:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 07:59:02] Production.INFO: ==19393== Lock acquired, processing the job...
[2025-01-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 07:59:02] Production.INFO: ==19393== Releasing lock...
[2025-01-12 07:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 07:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 07:59:03] Production.INFO: ==19400== Lock acquired, processing the job...
[2025-01-12 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 07:59:03] Production.INFO: ==19398== Lock acquired, processing the job...
[2025-01-12 07:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 07:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 07:59:03] Production.INFO: ==19408== Lock acquired, processing the job...
[2025-01-12 07:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 07:59:03] Production.INFO: ==19400== Releasing lock...
[2025-01-12 07:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 07:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 07:59:03] Production.INFO: ==19402== Lock acquired, processing the job...
[2025-01-12 07:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 07:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:59:03] Production.INFO: count ==21
[2025-01-12 07:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 07:59:03] Production.INFO: ==19406== Lock acquired, processing the job...
[2025-01-12 07:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 07:59:03] Production.INFO: ==19404== Lock acquired, processing the job...
[2025-01-12 07:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 07:59:03] Production.INFO: count ==21
[2025-01-12 07:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230225') start
[2025-01-12 07:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 07:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 07:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 07:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 07:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 07:59:04] Production.INFO: Account Balance Start.
[2025-01-12 07:59:04] Production.INFO: CreateAllLog Start
[2025-01-12 07:59:04] Production.INFO: 117
[2025-01-12 07:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230225') end
[2025-01-12 07:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 07:59:04] Production.INFO: 1
[2025-01-12 07:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 07:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:59:04] Production.INFO: ==19408== Releasing lock...
[2025-01-12 07:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 07:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 07:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:59:04] Production.ERROR: done
[2025-01-12 07:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 07:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:59:04] Production.ERROR: done
[2025-01-12 07:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 07:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 07:59:04] Production.INFO: Total Charge 0
[2025-01-12 07:59:04] Production.INFO: CreateAllLog End
[2025-01-12 07:59:04] Production.INFO: Account Balance End.
[2025-01-12 07:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 07:59:04] Production.INFO: ==19404== Releasing lock...
[2025-01-12 07:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 07:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 07:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 04:59:05
[end_date_ymd] => 2025-01-12 07:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 04:59:05' and `end` < '2025-01-12 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-01-12 07:59:11] Production.ERROR: CronJobId end10
[2025-01-12 07:59:11] Production.INFO: ==19402== Releasing lock...
[2025-01-12 07:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 07:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 07:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 07:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 07:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 07:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 07:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 07:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 07:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 07:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 07:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 07:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 07:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 07:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 07:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 07:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 07:59:13] Production.INFO: call_cost start
[2025-01-12 07:59:13] Production.INFO: call_cost end
[2025-01-12 07:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 07:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 07:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 07:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 07:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 07:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 07:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 07:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 07:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 07:59:14] Production.INFO: ==19398== Releasing lock...
[2025-01-12 07:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 07:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 07:59:18] Production.INFO: count ==46
[2025-01-12 07:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 04:59:05 - End Time 2025-01-12 07:59:05
[2025-01-12 07:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230227', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230227', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230227', 'tblTempVendorCDR_20' ) start
[2025-01-12 07:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230227', 'tblTempVendorCDR_20' ) end
[2025-01-12 07:59:18] Production.INFO: ProcessCDR(1,14230227,1,1,2)
[2025-01-12 07:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 07:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230227', 'tblTempUsageDetail_20' ) start
[2025-01-12 07:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230227', 'tblTempUsageDetail_20' ) end
[2025-01-12 07:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 07:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 07:59:22] Production.INFO: ==19406== Releasing lock...
[2025-01-12 07:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 07:59:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:00:02] Production.INFO: ==19469== Lock acquired, processing the job...
[2025-01-12 13:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:00:02] Production.INFO: neon service started
[2025-01-12 13:00:02] Production.INFO: neon service started
[2025-01-12 13:00:02] Production.INFO: ==19469== Releasing lock...
[2025-01-12 13:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:00:02] Production.INFO: ==19472== Lock acquired, processing the job...
[2025-01-12 08:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:00:02] Production.INFO: ==19474== Lock acquired, processing the job...
[2025-01-12 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:00:02] Production.INFO: ==19474== Releasing lock...
[2025-01-12 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:00:03] Production.INFO: ==19472== Releasing lock...
[2025-01-12 08:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:00:04] Production.INFO: ==19484== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:00:04] Production.INFO: ==19486== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:00:04] Production.INFO: ==19478== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 08:00:04] Production.INFO: Account Balance Start.
[2025-01-12 08:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:00:04] Production.INFO: 117
[2025-01-12 08:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:00:04] Production.ERROR: CronJob PID - 19484
[2025-01-12 08:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 08:00:04] Production.ERROR: CronJob ID - 10
[2025-01-12 08:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:00:00
[2025-01-12 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:00:04] Production.ERROR: CronJob PID - 19486
[2025-01-12 08:00:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 08:00:04] Production.ERROR: CronJob ID - 12
[2025-01-12 08:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:00:00
[2025-01-12 08:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:00:04] Production.INFO: ==19490== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 08:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 08:00:04] Production.INFO: ==19478== Releasing lock...
[2025-01-12 08:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 08:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:00:04] Production.INFO: ==19480== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:00:04] Production.INFO: ==19482== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:00:04] Production.INFO: Total Charge 0
[2025-01-12 08:00:04] Production.INFO: CreateAllLog End
[2025-01-12 08:00:04] Production.INFO: ==19488== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:00:04] Production.INFO: ==19492== Lock acquired, processing the job...
[2025-01-12 08:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:00:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 08:00:04] Production.ERROR: done
[2025-01-12 08:00:04] Production.INFO: count ==21
[2025-01-12 08:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:00:05] Production.INFO: ==19486== Releasing lock...
[2025-01-12 08:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08: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-01-12 08:00:05] Production.INFO: count ==21
[2025-01-12 08:00:05] Production.ERROR: done
[2025-01-12 08:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230231') start
[2025-01-12 08:00:05] Production.INFO: ==19482== Releasing lock...
[2025-01-12 08:00:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:00:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:00:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230231') end
[2025-01-12 08:00:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:00:05] Production.INFO: 1
[2025-01-12 08:00:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 08:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230232', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 08:00:05] Production.INFO: ==19492== Releasing lock...
[2025-01-12 08:00:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:00:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:00:05] Production.ERROR: done
[2025-01-12 08:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:00:06
[end_date_ymd] => 2025-01-12 08:00:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:00:06' and `end` < '2025-01-12 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-01-12 08:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230232', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 08:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 08:00:09] Production.INFO: ProcessCDR(1,14230232,1,1,2)
[2025-01-12 08:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230232,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230232,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:00:09] Production.INFO: ==19490== Releasing lock...
[2025-01-12 08:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 08:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 08:00:12] Production.ERROR: CronJobId end10
[2025-01-12 08:00:12] Production.INFO: ==19484== Releasing lock...
[2025-01-12 08:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:00:14] Production.INFO: call_cost start
[2025-01-12 08:00:14] Production.INFO: call_cost end
[2025-01-12 08:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:00:15] Production.INFO: ==19480== Releasing lock...
[2025-01-12 08:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:00:19] Production.INFO: count ==46
[2025-01-12 08:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:00:06 - End Time 2025-01-12 08:00:06
[2025-01-12 08:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230233', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230233', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230233', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230233', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:00:19] Production.INFO: ProcessCDR(1,14230233,1,1,2)
[2025-01-12 08:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230233,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230233,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230233', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230233', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:00:22] Production.INFO: ==19488== Releasing lock...
[2025-01-12 08:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:00:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:01:01] Production.INFO: ==19565== Lock acquired, processing the job...
[2025-01-12 13:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:01:01] Production.INFO: neon service started
[2025-01-12 13:01:01] Production.INFO: neon service started
[2025-01-12 13:01:01] Production.INFO: ==19565== Releasing lock...
[2025-01-12 13:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:01:02] Production.INFO: ==19568== Lock acquired, processing the job...
[2025-01-12 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:01:02] Production.INFO: ==19568== Releasing lock...
[2025-01-12 08:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:01:02] Production.INFO: ==19570== Lock acquired, processing the job...
[2025-01-12 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:01:02] Production.INFO: ==19570== Releasing lock...
[2025-01-12 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:01:03] Production.INFO: ==19576== Lock acquired, processing the job...
[2025-01-12 08:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:01:03] Production.INFO: ==19574== Lock acquired, processing the job...
[2025-01-12 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:01:03] Production.INFO: ==19572== Lock acquired, processing the job...
[2025-01-12 08:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:01:03] Production.INFO: ==19580== Lock acquired, processing the job...
[2025-01-12 08:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:01:03] Production.INFO: ==19578== Lock acquired, processing the job...
[2025-01-12 08:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:01:03] Production.INFO: ==19582== Lock acquired, processing the job...
[2025-01-12 08:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:01:03] Production.INFO: Account Balance Start.
[2025-01-12 08:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:01:03] Production.INFO: 117
[2025-01-12 08:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:01:03] Production.ERROR: done
[2025-01-12 08:01:03] Production.INFO: ==19574== Releasing lock...
[2025-01-12 08:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:01:03] Production.INFO: count ==21
[2025-01-12 08:01:03] Production.INFO: Total Charge 0
[2025-01-12 08:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:01:03] Production.INFO: count ==21
[2025-01-12 08:01:03] Production.INFO: CreateAllLog End
[2025-01-12 08:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230237') start
[2025-01-12 08:01:03] Production.ERROR: done
[2025-01-12 08:01:04] Production.INFO: Account Balance End.
[2025-01-12 08:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230237') end
[2025-01-12 08:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:01:04] Production.INFO: 1
[2025-01-12 08:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:01:04] Production.INFO: ==19578== Releasing lock...
[2025-01-12 08:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:01:04] Production.INFO: ==19582== Releasing lock...
[2025-01-12 08:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:01:05
[end_date_ymd] => 2025-01-12 08:01:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:01:05' and `end` < '2025-01-12 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-01-12 08:01:10] Production.ERROR: CronJobId end10
[2025-01-12 08:01:10] Production.INFO: ==19576== Releasing lock...
[2025-01-12 08:01:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:01:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:01:12] Production.INFO: call_cost start
[2025-01-12 08:01:12] Production.INFO: call_cost end
[2025-01-12 08:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:01:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:01:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:01:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:01:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:01:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:01:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:01:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:01:13] Production.INFO: ==19572== Releasing lock...
[2025-01-12 08:01:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:01:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:01:18] Production.INFO: count ==46
[2025-01-12 08:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:01:05 - End Time 2025-01-12 08:01:05
[2025-01-12 08:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230238', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230238', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230238', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230238', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:01:18] Production.INFO: ProcessCDR(1,14230238,1,1,2)
[2025-01-12 08:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230238,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230238,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230238', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230238', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:01:21] Production.INFO: ==19580== Releasing lock...
[2025-01-12 08:01:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:01:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:02:02] Production.INFO: ==19681== Lock acquired, processing the job...
[2025-01-12 13:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:02:02] Production.INFO: neon service started
[2025-01-12 13:02:02] Production.INFO: neon service started
[2025-01-12 13:02:02] Production.INFO: ==19681== Releasing lock...
[2025-01-12 13:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:02:02] Production.INFO: ==19683== Lock acquired, processing the job...
[2025-01-12 08:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:02:02] Production.INFO: ==19685== Lock acquired, processing the job...
[2025-01-12 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:02:02] Production.INFO: ==19685== Releasing lock...
[2025-01-12 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:02:03] Production.INFO: ==19683== Releasing lock...
[2025-01-12 08:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:02:03] Production.INFO: ==19692== Lock acquired, processing the job...
[2025-01-12 08:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:02:04] Production.INFO: ==19698== Lock acquired, processing the job...
[2025-01-12 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:02:04] Production.INFO: ==19688== Lock acquired, processing the job...
[2025-01-12 08:02:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:02:04] Production.INFO: ==19690== Lock acquired, processing the job...
[2025-01-12 08:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 08:02:04] Production.INFO: ==19694== Lock acquired, processing the job...
[2025-01-12 08:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:02:04] Production.INFO: count ==21
[2025-01-12 08:02:04] Production.INFO: ==19696== Lock acquired, processing the job...
[2025-01-12 08:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 08:02:04] Production.INFO: count ==21
[2025-01-12 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230240') start
[2025-01-12 08:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:02:04] Production.INFO: Account Balance Start.
[2025-01-12 08:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:02:04] Production.INFO: 117
[2025-01-12 08:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230240') end
[2025-01-12 08:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:02:04] Production.INFO: 1
[2025-01-12 08:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:02:04] Production.INFO: ==19698== Releasing lock...
[2025-01-12 08:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:02:04] Production.ERROR: done
[2025-01-12 08:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:02:04] Production.INFO: ==19690== Releasing lock...
[2025-01-12 08:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:02:04] Production.INFO: Total Charge 0
[2025-01-12 08:02:04] Production.INFO: CreateAllLog End
[2025-01-12 08:02:04] Production.ERROR: done
[2025-01-12 08:02:05] Production.INFO: Account Balance End.
[2025-01-12 08:02:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:02:05] Production.INFO: ==19694== Releasing lock...
[2025-01-12 08:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:02:05
[end_date_ymd] => 2025-01-12 08:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:02:05' and `end` < '2025-01-12 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-01-12 08:02:11] Production.ERROR: CronJobId end10
[2025-01-12 08:02:11] Production.INFO: ==19692== Releasing lock...
[2025-01-12 08:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:02:13] Production.INFO: call_cost start
[2025-01-12 08:02:13] Production.INFO: call_cost end
[2025-01-12 08:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:02:13] Production.INFO: ==19688== Releasing lock...
[2025-01-12 08:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:02:18] Production.INFO: count ==46
[2025-01-12 08:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:02:05 - End Time 2025-01-12 08:02:05
[2025-01-12 08:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230243', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230243', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230243', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230243', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:02:18] Production.INFO: ProcessCDR(1,14230243,1,1,2)
[2025-01-12 08:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230243,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230243,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230243', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230243', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:02:21] Production.INFO: ==19696== Releasing lock...
[2025-01-12 08:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:02:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:03:01] Production.INFO: ==19760== Lock acquired, processing the job...
[2025-01-12 13:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:03:01] Production.INFO: neon service started
[2025-01-12 13:03:01] Production.INFO: neon service started
[2025-01-12 13:03:01] Production.INFO: ==19760== Releasing lock...
[2025-01-12 13:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:03:01] Production.INFO: ==19762== Lock acquired, processing the job...
[2025-01-12 08:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:03:02] Production.INFO: ==19762== Releasing lock...
[2025-01-12 08:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:03:02] Production.INFO: ==19764== Lock acquired, processing the job...
[2025-01-12 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:03:02] Production.INFO: ==19764== Releasing lock...
[2025-01-12 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:03:03] Production.INFO: ==19768== Lock acquired, processing the job...
[2025-01-12 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:03:03] Production.INFO: ==19772== Lock acquired, processing the job...
[2025-01-12 08:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:03:03] Production.INFO: ==19766== Lock acquired, processing the job...
[2025-01-12 08:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:03:03] Production.INFO: ==19770== Lock acquired, processing the job...
[2025-01-12 08:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:03:03] Production.INFO: Account Balance Start.
[2025-01-12 08:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:03:03] Production.INFO: 117
[2025-01-12 08:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:03:03] Production.INFO: ==19774== Lock acquired, processing the job...
[2025-01-12 08:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:03:03] Production.INFO: ==19776== Lock acquired, processing the job...
[2025-01-12 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:03:03] Production.INFO: ==19768== Releasing lock...
[2025-01-12 08:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:03:03] Production.INFO: count ==21
[2025-01-12 08:03:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:03:03] Production.INFO: count ==21
[2025-01-12 08:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230247') start
[2025-01-12 08:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:03:03] Production.INFO: Total Charge 0
[2025-01-12 08:03:03] Production.INFO: CreateAllLog End
[2025-01-12 08:03:03] Production.ERROR: done
[2025-01-12 08:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230247') end
[2025-01-12 08:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:03:03] Production.INFO: 1
[2025-01-12 08:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:03:03] Production.INFO: ==19776== Releasing lock...
[2025-01-12 08:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:03:04] Production.ERROR: done
[2025-01-12 08:03:04] Production.INFO: Account Balance End.
[2025-01-12 08:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:03:04] Production.INFO: ==19772== Releasing lock...
[2025-01-12 08:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:03:04
[end_date_ymd] => 2025-01-12 08:03:04
[RateCDR] => 1
)
[2025-01-12 08:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:03:04' and `end` < '2025-01-12 08:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:03:10] Production.ERROR: CronJobId end10
[2025-01-12 08:03:10] Production.INFO: ==19770== Releasing lock...
[2025-01-12 08:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:03:13] Production.INFO: call_cost start
[2025-01-12 08:03:13] Production.INFO: call_cost end
[2025-01-12 08:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:03:14] Production.INFO: ==19766== Releasing lock...
[2025-01-12 08:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:03:18] Production.INFO: count ==46
[2025-01-12 08:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:03:04 - End Time 2025-01-12 08:03:04
[2025-01-12 08:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230248', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230248', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230248', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230248', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:03:18] Production.INFO: ProcessCDR(1,14230248,1,1,2)
[2025-01-12 08:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230248,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230248,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230248', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230248', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:03:21] Production.INFO: ==19774== Releasing lock...
[2025-01-12 08:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:03:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:04:02] Production.INFO: ==19843== Lock acquired, processing the job...
[2025-01-12 13:04:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:04:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:04:02] Production.INFO: neon service started
[2025-01-12 13:04:02] Production.INFO: neon service started
[2025-01-12 13:04:02] Production.INFO: ==19843== Releasing lock...
[2025-01-12 13:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:04:02] Production.INFO: ==19845== Lock acquired, processing the job...
[2025-01-12 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:04:02] Production.INFO: ==19847== Lock acquired, processing the job...
[2025-01-12 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:04:02] Production.INFO: ==19847== Releasing lock...
[2025-01-12 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:04:02] Production.INFO: ==19845== Releasing lock...
[2025-01-12 08:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:04:03] Production.INFO: ==19854== Lock acquired, processing the job...
[2025-01-12 08:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:04:03] Production.INFO: ==19860== Lock acquired, processing the job...
[2025-01-12 08:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:04:03] Production.INFO: ==19850== Lock acquired, processing the job...
[2025-01-12 08:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08: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-01-12 08:04:03] Production.INFO: count ==21
[2025-01-12 08: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-01-12 08:04:03] Production.INFO: ==19852== Lock acquired, processing the job...
[2025-01-12 08:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:04:03] Production.INFO: count ==21
[2025-01-12 08:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230249') start
[2025-01-12 08:04:03] Production.INFO: ==19856== Lock acquired, processing the job...
[2025-01-12 08:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:04:04] Production.INFO: ==19858== Lock acquired, processing the job...
[2025-01-12 08:04:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:04:04] Production.INFO: Account Balance Start.
[2025-01-12 08:04:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:04:04] Production.INFO: 117
[2025-01-12 08:04:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230249') end
[2025-01-12 08:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:04:04] Production.INFO: 1
[2025-01-12 08:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:04:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:04:04] Production.INFO: ==19860== Releasing lock...
[2025-01-12 08:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:04:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:04:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:04:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:04:04] Production.INFO: Total Charge 0
[2025-01-12 08:04:04] Production.INFO: CreateAllLog End
[2025-01-12 08:04:04] Production.INFO: ==19852== Releasing lock...
[2025-01-12 08:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:04:04] Production.ERROR: done
[2025-01-12 08:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:04:04] Production.ERROR: done
[2025-01-12 08:04:04] Production.INFO: Account Balance End.
[2025-01-12 08:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:04:04] Production.INFO: ==19856== Releasing lock...
[2025-01-12 08:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:04:05
[end_date_ymd] => 2025-01-12 08:04:05
[RateCDR] => 1
)
[2025-01-12 08:04:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:04:05' and `end` < '2025-01-12 08:04:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:04:11] Production.ERROR: CronJobId end10
[2025-01-12 08:04:11] Production.INFO: ==19854== Releasing lock...
[2025-01-12 08:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:04:13] Production.INFO: call_cost start
[2025-01-12 08:04:13] Production.INFO: call_cost end
[2025-01-12 08:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:04:14] Production.INFO: ==19850== Releasing lock...
[2025-01-12 08:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:04:19] Production.INFO: count ==46
[2025-01-12 08:04:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:04:05 - End Time 2025-01-12 08:04:05
[2025-01-12 08:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230253', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230253', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230253', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230253', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:04:19] Production.INFO: ProcessCDR(1,14230253,1,1,2)
[2025-01-12 08:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230253,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230253,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230253', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230253', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:04:22] Production.INFO: ==19858== Releasing lock...
[2025-01-12 08:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:04:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:05:01] Production.INFO: ==19925== Lock acquired, processing the job...
[2025-01-12 13:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:05:01] Production.INFO: neon service started
[2025-01-12 13:05:01] Production.INFO: neon service started
[2025-01-12 13:05:01] Production.INFO: ==19925== Releasing lock...
[2025-01-12 13:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:05:01] Production.INFO: ==19927== Lock acquired, processing the job...
[2025-01-12 08:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:05:01] Production.INFO: ==19929== Lock acquired, processing the job...
[2025-01-12 13:05:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:05:02] Production.INFO: ==19929== Releasing lock...
[2025-01-12 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:05:02] Production.INFO: ==19927== Releasing lock...
[2025-01-12 08:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:05:02] Production.INFO: ==19932== Lock acquired, processing the job...
[2025-01-12 08:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:05:02] Production.INFO: ==19934== Lock acquired, processing the job...
[2025-01-12 08:05:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:05:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:05:03] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-01-12 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:05:03] Production.INFO: ==19936== Lock acquired, processing the job...
[2025-01-12 08:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:05:03] Production.INFO: ==19934== Releasing lock...
[2025-01-12 08:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:05:03] Production.INFO: Account Balance Start.
[2025-01-12 08:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:05:03] Production.INFO: 117
[2025-01-12 08:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:05:03] Production.INFO: ==19940== Lock acquired, processing the job...
[2025-01-12 08:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:05:03] Production.INFO: ==19942== Lock acquired, processing the job...
[2025-01-12 08:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:05:03] Production.INFO: Total Charge 0
[2025-01-12 08:05:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 08:05:03] Production.INFO: count ==21
[2025-01-12 08:05:03] Production.ERROR: done
[2025-01-12 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-01-12 08:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:05:03] Production.INFO: count ==21
[2025-01-12 08:05:03] Production.INFO: Account Balance End.
[2025-01-12 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230257') start
[2025-01-12 08:05:03] Production.ERROR: CronJobId end 12
[2025-01-12 08:05:03] Production.INFO: ==19938== Releasing lock...
[2025-01-12 08:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:05:03] Production.ERROR: done
[2025-01-12 08:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230257') end
[2025-01-12 08:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:05:03] Production.INFO: 1
[2025-01-12 08:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:05:04] Production.INFO: ==19942== Releasing lock...
[2025-01-12 08:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:05:04
[end_date_ymd] => 2025-01-12 08:05:04
[RateCDR] => 1
)
[2025-01-12 08:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:05:04' and `end` < '2025-01-12 08:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:05:10] Production.ERROR: CronJobId end10
[2025-01-12 08:05:10] Production.INFO: ==19936== Releasing lock...
[2025-01-12 08:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:05:13] Production.INFO: call_cost start
[2025-01-12 08:05:13] Production.INFO: call_cost end
[2025-01-12 08:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:05:13] Production.INFO: ==19932== Releasing lock...
[2025-01-12 08:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:05:17] Production.INFO: count ==50
[2025-01-12 08:05:17] Production.ERROR: pbx CDR StartTime 2025-01-12 05:05:04 - End Time 2025-01-12 08:05:04
[2025-01-12 08:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230258', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230258', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230258', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230258', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:05:17] Production.INFO: ProcessCDR(1,14230258,1,1,2)
[2025-01-12 08:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:05:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:05:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230258', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230258', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:05:21] Production.INFO: ==19940== Releasing lock...
[2025-01-12 08:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:05:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:06:01] Production.INFO: ==20008== Lock acquired, processing the job...
[2025-01-12 13:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:06:01] Production.INFO: neon service started
[2025-01-12 13:06:01] Production.INFO: neon service started
[2025-01-12 13:06:01] Production.INFO: ==20008== Releasing lock...
[2025-01-12 13:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:06:02] Production.INFO: ==20010== Lock acquired, processing the job...
[2025-01-12 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:06:02] Production.INFO: ==20010== Releasing lock...
[2025-01-12 08:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:06:02] Production.INFO: ==20013== Lock acquired, processing the job...
[2025-01-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:06:02] Production.INFO: ==20013== Releasing lock...
[2025-01-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:06:03] Production.INFO: ==20024== Lock acquired, processing the job...
[2025-01-12 08:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:06:03] Production.INFO: ==20026== Lock acquired, processing the job...
[2025-01-12 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:06:03] Production.INFO: ==20016== Lock acquired, processing the job...
[2025-01-12 08:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:06:03] Production.INFO: ==20018== Lock acquired, processing the job...
[2025-01-12 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:06:03] Production.INFO: ==20020== Lock acquired, processing the job...
[2025-01-12 08:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:06:03] Production.INFO: ==20022== Lock acquired, processing the job...
[2025-01-12 08:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:06:03] Production.INFO: count ==21
[2025-01-12 08:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:06:03] Production.INFO: count ==21
[2025-01-12 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230259') start
[2025-01-12 08:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:06:03] Production.INFO: Account Balance Start.
[2025-01-12 08:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:06:03] Production.INFO: 117
[2025-01-12 08:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:06:03] Production.ERROR: done
[2025-01-12 08:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230259') end
[2025-01-12 08:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:06:03] Production.INFO: 1
[2025-01-12 08:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:06:03] Production.INFO: ==20026== Releasing lock...
[2025-01-12 08:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:06:03] Production.INFO: ==20018== Releasing lock...
[2025-01-12 08:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:06:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:06:04] Production.INFO: Total Charge 0
[2025-01-12 08:06:04] Production.ERROR: done
[2025-01-12 08:06:04] Production.INFO: CreateAllLog End
[2025-01-12 08:06:04] Production.INFO: Account Balance End.
[2025-01-12 08:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:06:04] Production.INFO: ==20022== Releasing lock...
[2025-01-12 08:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:06:05
[end_date_ymd] => 2025-01-12 08:06:05
[RateCDR] => 1
)
[2025-01-12 08:06:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:06:05' and `end` < '2025-01-12 08:06:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:06:10] Production.ERROR: CronJobId end10
[2025-01-12 08:06:10] Production.INFO: ==20020== Releasing lock...
[2025-01-12 08:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:06:13] Production.INFO: call_cost start
[2025-01-12 08:06:13] Production.INFO: call_cost end
[2025-01-12 08:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:06:13] Production.INFO: ==20016== Releasing lock...
[2025-01-12 08:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:06:19] Production.INFO: count ==52
[2025-01-12 08:06:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:06:05 - End Time 2025-01-12 08:06:05
[2025-01-12 08:06:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230263', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230263', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230263', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:06:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230263', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:06:19] Production.INFO: ProcessCDR(1,14230263,1,1,2)
[2025-01-12 08:06:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230263', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230263', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:06:22] Production.INFO: ==20024== Releasing lock...
[2025-01-12 08:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:06:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:07:02] Production.INFO: ==20099== Lock acquired, processing the job...
[2025-01-12 13:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:07:02] Production.INFO: neon service started
[2025-01-12 13:07:02] Production.INFO: neon service started
[2025-01-12 13:07:02] Production.INFO: ==20099== Releasing lock...
[2025-01-12 13:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:07:02] Production.INFO: ==20101== Lock acquired, processing the job...
[2025-01-12 08:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:07:02] Production.INFO: ==20103== Lock acquired, processing the job...
[2025-01-12 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:07:02] Production.INFO: ==20103== Releasing lock...
[2025-01-12 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:07:03] Production.INFO: ==20101== Releasing lock...
[2025-01-12 08:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:07:03] Production.INFO: ==20106== Lock acquired, processing the job...
[2025-01-12 08:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:07:03] Production.INFO: ==20108== Lock acquired, processing the job...
[2025-01-12 08:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:07:03] Production.INFO: ==20112== Lock acquired, processing the job...
[2025-01-12 08:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:07:04] Production.INFO: Account Balance Start.
[2025-01-12 08:07:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:07:04] Production.INFO: 117
[2025-01-12 08:07:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:07:04] Production.INFO: ==20108== Releasing lock...
[2025-01-12 08:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:07:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:07:04] Production.INFO: ==20110== Lock acquired, processing the job...
[2025-01-12 08:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:07:04] Production.INFO: ==20114== Lock acquired, processing the job...
[2025-01-12 08:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:07:04] Production.INFO: Total Charge 0
[2025-01-12 08:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:07:04] Production.INFO: CreateAllLog End
[2025-01-12 08:07:04] Production.INFO: Account Balance End.
[2025-01-12 08:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:07:04] Production.INFO: ==20112== Releasing lock...
[2025-01-12 08:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:07:04] Production.INFO: ==20116== Lock acquired, processing the job...
[2025-01-12 08:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 08:07:04] Production.ERROR: done
[2025-01-12 08:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:07:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:07:04] Production.INFO: count ==21
[2025-01-12 08:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230267') start
[2025-01-12 08:07:04] Production.ERROR: done
[2025-01-12 08:07:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230267') end
[2025-01-12 08:07:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:07:05] Production.INFO: 1
[2025-01-12 08:07:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:07:05] Production.INFO: ==20116== Releasing lock...
[2025-01-12 08:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:07:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:07:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:07:05
[end_date_ymd] => 2025-01-12 08:07:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:07:05' and `end` < '2025-01-12 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-01-12 08:07:12] Production.ERROR: CronJobId end10
[2025-01-12 08:07:12] Production.INFO: ==20110== Releasing lock...
[2025-01-12 08:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:07:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:07:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:07:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:07:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:07:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:07:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:07:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:07:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:07:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:07:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:07:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:07:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:07:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:07:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:07:14] Production.INFO: call_cost start
[2025-01-12 08:07:14] Production.INFO: call_cost end
[2025-01-12 08:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:07:15] Production.INFO: ==20106== Releasing lock...
[2025-01-12 08:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:07:20] Production.INFO: count ==53
[2025-01-12 08:07:20] Production.ERROR: pbx CDR StartTime 2025-01-12 05:07:05 - End Time 2025-01-12 08:07:05
[2025-01-12 08:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230268', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230268', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230268', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230268', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:07:20] Production.INFO: ProcessCDR(1,14230268,1,1,2)
[2025-01-12 08:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230268', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230268', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:07:24] Production.INFO: ==20114== Releasing lock...
[2025-01-12 08:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:07:24] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:08:01] Production.INFO: ==20180== Lock acquired, processing the job...
[2025-01-12 13:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:08:01] Production.INFO: neon service started
[2025-01-12 13:08:01] Production.INFO: neon service started
[2025-01-12 13:08:01] Production.INFO: ==20180== Releasing lock...
[2025-01-12 13:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:08:02] Production.INFO: ==20182== Lock acquired, processing the job...
[2025-01-12 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:08:02] Production.INFO: ==20182== Releasing lock...
[2025-01-12 08:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:08:02] Production.INFO: ==20184== Lock acquired, processing the job...
[2025-01-12 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:08:02] Production.INFO: ==20184== Releasing lock...
[2025-01-12 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:08:03] Production.INFO: ==20189== Lock acquired, processing the job...
[2025-01-12 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:08:03] Production.INFO: ==20187== Lock acquired, processing the job...
[2025-01-12 08:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:08:03] Production.INFO: ==20193== Lock acquired, processing the job...
[2025-01-12 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:08:03] Production.INFO: Account Balance Start.
[2025-01-12 08:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:08:03] Production.INFO: 117
[2025-01-12 08:08:03] Production.INFO: ==20189== Releasing lock...
[2025-01-12 08:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:08:03] Production.INFO: ==20191== Lock acquired, processing the job...
[2025-01-12 08:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:08:03] Production.INFO: ==20195== Lock acquired, processing the job...
[2025-01-12 08:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:08:03] Production.INFO: Total Charge 0
[2025-01-12 08:08:03] Production.INFO: CreateAllLog End
[2025-01-12 08:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:08:03] Production.INFO: ==20197== Lock acquired, processing the job...
[2025-01-12 08:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:08:03] Production.INFO: Account Balance End.
[2025-01-12 08:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:08:03] Production.ERROR: CronJobId end 12
[2025-01-12 08:08:03] Production.INFO: ==20193== Releasing lock...
[2025-01-12 08:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:08:03] Production.INFO: count ==21
[2025-01-12 08:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:08:04] Production.INFO: count ==21
[2025-01-12 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230272') start
[2025-01-12 08:08:04] Production.ERROR: done
[2025-01-12 08:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230272') end
[2025-01-12 08:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:08:04] Production.INFO: 1
[2025-01-12 08:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:08:04] Production.INFO: ==20197== Releasing lock...
[2025-01-12 08:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:08:04] Production.ERROR: done
[2025-01-12 08:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:08:05
[end_date_ymd] => 2025-01-12 08:08:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:08:05' and `end` < '2025-01-12 08: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-01-12 08:08:11] Production.ERROR: CronJobId end10
[2025-01-12 08:08:11] Production.INFO: ==20191== Releasing lock...
[2025-01-12 08:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:08:13] Production.INFO: call_cost start
[2025-01-12 08:08:13] Production.INFO: call_cost end
[2025-01-12 08:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:08:14] Production.INFO: ==20187== Releasing lock...
[2025-01-12 08:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:08:18] Production.INFO: count ==54
[2025-01-12 08:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:08:05 - End Time 2025-01-12 08:08:05
[2025-01-12 08:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230273', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230273', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230273', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230273', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:08:18] Production.INFO: ProcessCDR(1,14230273,1,1,2)
[2025-01-12 08:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230273', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230273', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:08:23] Production.INFO: ==20195== Releasing lock...
[2025-01-12 08:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:08:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:09:02] Production.INFO: ==20269== Lock acquired, processing the job...
[2025-01-12 13:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:09:02] Production.INFO: neon service started
[2025-01-12 13:09:02] Production.INFO: neon service started
[2025-01-12 13:09:02] Production.INFO: ==20269== Releasing lock...
[2025-01-12 13:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:09:02] Production.INFO: ==20271== Lock acquired, processing the job...
[2025-01-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:09:02] Production.INFO: ==20271== Releasing lock...
[2025-01-12 08:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:09:02] Production.INFO: ==20273== Lock acquired, processing the job...
[2025-01-12 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:09:03] Production.INFO: ==20273== Releasing lock...
[2025-01-12 13:09:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:09:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:09:03] Production.INFO: ==20275== Lock acquired, processing the job...
[2025-01-12 08:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:09:03] Production.INFO: ==20277== Lock acquired, processing the job...
[2025-01-12 08:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:09:03] Production.INFO: ==20283== Lock acquired, processing the job...
[2025-01-12 08:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:09:03] Production.INFO: ==20285== Lock acquired, processing the job...
[2025-01-12 08:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:09:03] Production.INFO: ==20279== Lock acquired, processing the job...
[2025-01-12 08:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:09:03] Production.INFO: ==20281== Lock acquired, processing the job...
[2025-01-12 08:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:09:04] Production.INFO: Account Balance Start.
[2025-01-12 08:09:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:09:04] Production.INFO: 117
[2025-01-12 08:09:04] Production.ERROR: done
[2025-01-12 08:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08: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-01-12 08:09:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:09:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:09:04] Production.INFO: count ==21
[2025-01-12 08:09:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:09:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:09:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08: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-01-12 08:09:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:09:04] Production.INFO: count ==21
[2025-01-12 08:09:04] Production.ERROR: done
[2025-01-12 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230275') start
[2025-01-12 08:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230275') end
[2025-01-12 08:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:09:04] Production.INFO: 1
[2025-01-12 08:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:09:04] Production.INFO: ==20277== Releasing lock...
[2025-01-12 08:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:09:04] Production.INFO: ==20285== Releasing lock...
[2025-01-12 08:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:09:04] Production.INFO: Total Charge 0
[2025-01-12 08:09:04] Production.INFO: CreateAllLog End
[2025-01-12 08:09:04] Production.INFO: Account Balance End.
[2025-01-12 08:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:09:04] Production.INFO: ==20281== Releasing lock...
[2025-01-12 08:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:09:05
[end_date_ymd] => 2025-01-12 08:09:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:09:05' and `end` < '2025-01-12 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-01-12 08:09:11] Production.ERROR: CronJobId end10
[2025-01-12 08:09:11] Production.INFO: ==20279== Releasing lock...
[2025-01-12 08:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:09:13] Production.INFO: call_cost start
[2025-01-12 08:09:13] Production.INFO: call_cost end
[2025-01-12 08:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:09:14] Production.INFO: ==20275== Releasing lock...
[2025-01-12 08:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:09:19] Production.INFO: count ==54
[2025-01-12 08:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:09:05 - End Time 2025-01-12 08:09:05
[2025-01-12 08:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230278', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230278', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230278', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230278', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:09:19] Production.INFO: ProcessCDR(1,14230278,1,1,2)
[2025-01-12 08:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230278', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230278', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:09:22] Production.INFO: ==20283== Releasing lock...
[2025-01-12 08:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:09:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:10:01] Production.INFO: ==20360== Lock acquired, processing the job...
[2025-01-12 13:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:10:01] Production.INFO: neon service started
[2025-01-12 13:10:01] Production.INFO: neon service started
[2025-01-12 13:10:01] Production.INFO: ==20360== Releasing lock...
[2025-01-12 13:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:10:01] Production.INFO: ==20363== Lock acquired, processing the job...
[2025-01-12 08:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:10:02] Production.INFO: ==20365== Lock acquired, processing the job...
[2025-01-12 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:10:02] Production.INFO: ==20365== Releasing lock...
[2025-01-12 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:10:02] Production.INFO: ==20363== Releasing lock...
[2025-01-12 08:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:10:03] Production.INFO: ==20367== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 08:10:03] Production.INFO: ==20373== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:10:03] Production.INFO: ==20377== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 08:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:10:03] Production.ERROR: CronJob PID - 20373
[2025-01-12 08:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 08:10:03] Production.ERROR: CronJob ID - 10
[2025-01-12 08:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 08:10:00
[2025-01-12 08:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 08:10:03] Production.INFO: ==20367== Releasing lock...
[2025-01-12 08:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 08:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 08:10:03] Production.INFO: ==20380== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 08:10:03] Production.INFO: ==20371== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:10:03] Production.INFO: ==20369== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:10:03] Production.INFO: ==20375== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:10:03] Production.ERROR: done
[2025-01-12 08:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:10:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:10:03] Production.INFO: ==20382== Lock acquired, processing the job...
[2025-01-12 08:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:10:04] Production.INFO: Account Balance Start.
[2025-01-12 08:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:10:04] Production.INFO: 117
[2025-01-12 08:10:04] Production.ERROR: done
[2025-01-12 08:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:10:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:10:04] Production.INFO: count ==21
[2025-01-12 08:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:10:04] Production.INFO: count ==21
[2025-01-12 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230282') start
[2025-01-12 08:10:04] Production.ERROR: done
[2025-01-12 08:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:10:04] Production.INFO: ==20371== Releasing lock...
[2025-01-12 08:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230282') end
[2025-01-12 08:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:10:04] Production.INFO: 1
[2025-01-12 08:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 08:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230284', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 08:10:04] Production.INFO: Total Charge 0
[2025-01-12 08:10:04] Production.INFO: ==20382== Releasing lock...
[2025-01-12 08:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:10:04] Production.INFO: CreateAllLog End
[2025-01-12 08:10:04] Production.INFO: Account Balance End.
[2025-01-12 08:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:10:04] Production.INFO: ==20375== Releasing lock...
[2025-01-12 08:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:10:05
[end_date_ymd] => 2025-01-12 08:10:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:10:05' and `end` < '2025-01-12 08: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-01-12 08:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230284', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 08:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 08:10:08] Production.INFO: ProcessCDR(1,14230284,1,1,2)
[2025-01-12 08:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230284,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230284,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:10:09] Production.INFO: ==20380== Releasing lock...
[2025-01-12 08:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 08:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 08:10:11] Production.ERROR: CronJobId end10
[2025-01-12 08:10:11] Production.INFO: ==20373== Releasing lock...
[2025-01-12 08:10:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:10:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:10:15] Production.INFO: call_cost start
[2025-01-12 08:10:15] Production.INFO: call_cost end
[2025-01-12 08:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:10:15] Production.INFO: ==20369== Releasing lock...
[2025-01-12 08:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:10:19] Production.INFO: count ==54
[2025-01-12 08:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:10:05 - End Time 2025-01-12 08:10:05
[2025-01-12 08:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230283', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230283', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230283', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230283', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:10:19] Production.INFO: ProcessCDR(1,14230283,1,1,2)
[2025-01-12 08:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230283', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230283', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:10:22] Production.INFO: ==20377== Releasing lock...
[2025-01-12 08:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:10:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:11:01] Production.INFO: ==20466== Lock acquired, processing the job...
[2025-01-12 13:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:11:02] Production.INFO: neon service started
[2025-01-12 13:11:02] Production.INFO: neon service started
[2025-01-12 13:11:02] Production.INFO: ==20466== Releasing lock...
[2025-01-12 13:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:11:02] Production.INFO: ==20468== Lock acquired, processing the job...
[2025-01-12 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:11:02] Production.INFO: ==20470== Lock acquired, processing the job...
[2025-01-12 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:11:02] Production.INFO: ==20470== Releasing lock...
[2025-01-12 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:11:02] Production.INFO: ==20468== Releasing lock...
[2025-01-12 08:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:11:03] Production.INFO: ==20472== Lock acquired, processing the job...
[2025-01-12 08:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:11:03] Production.INFO: ==20474== Lock acquired, processing the job...
[2025-01-12 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:11:03] Production.INFO: ==20476== Lock acquired, processing the job...
[2025-01-12 08:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:11:03] Production.INFO: ==20478== Lock acquired, processing the job...
[2025-01-12 08:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:11:03] Production.INFO: ==20474== Releasing lock...
[2025-01-12 08:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:11:03] Production.INFO: Account Balance Start.
[2025-01-12 08:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:11:03] Production.INFO: 117
[2025-01-12 08:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:11:03] Production.INFO: ==20481== Lock acquired, processing the job...
[2025-01-12 08:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:11:03] Production.INFO: ==20483== Lock acquired, processing the job...
[2025-01-12 08:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:11:04] Production.INFO: Total Charge 0
[2025-01-12 08:11:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 08:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:11:04] Production.INFO: count ==21
[2025-01-12 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230288') start
[2025-01-12 08:11:04] Production.ERROR: done
[2025-01-12 08:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:11:04] Production.INFO: Account Balance End.
[2025-01-12 08:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230288') end
[2025-01-12 08:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:11:04] Production.INFO: 1
[2025-01-12 08:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:11:04] Production.INFO: ==20478== Releasing lock...
[2025-01-12 08:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:11:04] Production.INFO: ==20483== Releasing lock...
[2025-01-12 08:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:11:04] Production.ERROR: done
[2025-01-12 08:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:11:05
[end_date_ymd] => 2025-01-12 08:11:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:11:05' and `end` < '2025-01-12 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-01-12 08:11:10] Production.ERROR: CronJobId end10
[2025-01-12 08:11:10] Production.INFO: ==20476== Releasing lock...
[2025-01-12 08:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:11:13] Production.INFO: call_cost start
[2025-01-12 08:11:13] Production.INFO: call_cost end
[2025-01-12 08:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:11:13] Production.INFO: ==20472== Releasing lock...
[2025-01-12 08:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:11:18] Production.INFO: count ==54
[2025-01-12 08:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:11:05 - End Time 2025-01-12 08:11:05
[2025-01-12 08:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230289', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230289', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230289', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230289', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:11:18] Production.INFO: ProcessCDR(1,14230289,1,1,2)
[2025-01-12 08:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230289,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230289,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230289', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230289', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:11:21] Production.INFO: ==20481== Releasing lock...
[2025-01-12 08:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:11:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:12:01] Production.INFO: ==20561== Lock acquired, processing the job...
[2025-01-12 13:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:12:01] Production.INFO: neon service started
[2025-01-12 13:12:01] Production.INFO: neon service started
[2025-01-12 13:12:01] Production.INFO: ==20561== Releasing lock...
[2025-01-12 13:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:12:01] Production.INFO: ==20563== Lock acquired, processing the job...
[2025-01-12 08:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:12:02] Production.INFO: ==20563== Releasing lock...
[2025-01-12 08:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:12:02] Production.INFO: ==20565== Lock acquired, processing the job...
[2025-01-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:12:02] Production.INFO: ==20565== Releasing lock...
[2025-01-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:12:02] Production.INFO: ==20567== Lock acquired, processing the job...
[2025-01-12 08:12:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:12:02] Production.INFO: ==20571== Lock acquired, processing the job...
[2025-01-12 08:12:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:12:03] Production.INFO: ==20569== Lock acquired, processing the job...
[2025-01-12 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:12:03] Production.INFO: ==20575== Lock acquired, processing the job...
[2025-01-12 08:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:12:03] Production.INFO: ==20573== Lock acquired, processing the job...
[2025-01-12 08:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:12:03] Production.INFO: ==20578== Lock acquired, processing the job...
[2025-01-12 08:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:12:03] Production.INFO: Account Balance Start.
[2025-01-12 08:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:12:03] Production.INFO: 117
[2025-01-12 08: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-01-12 08:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:12:03] Production.INFO: count ==21
[2025-01-12 08:12:03] Production.ERROR: done
[2025-01-12 08:12:03] Production.INFO: ==20569== Releasing lock...
[2025-01-12 08:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08: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-01-12 08:12:03] Production.INFO: count ==21
[2025-01-12 08:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230293') start
[2025-01-12 08:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:12:03] Production.ERROR: done
[2025-01-12 08:12:03] Production.INFO: Total Charge 0
[2025-01-12 08:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230293') end
[2025-01-12 08:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:12:03] Production.INFO: 1
[2025-01-12 08:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:12:03] Production.INFO: CreateAllLog End
[2025-01-12 08:12:03] Production.INFO: ==20578== Releasing lock...
[2025-01-12 08:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:12:03] Production.INFO: Account Balance End.
[2025-01-12 08:12:03] Production.ERROR: CronJobId end 12
[2025-01-12 08:12:03] Production.INFO: ==20573== Releasing lock...
[2025-01-12 08:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:12:04
[end_date_ymd] => 2025-01-12 08:12:04
[RateCDR] => 1
)
[2025-01-12 08:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:12:04' and `end` < '2025-01-12 08: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-01-12 08:12:10] Production.ERROR: CronJobId end10
[2025-01-12 08:12:10] Production.INFO: ==20571== Releasing lock...
[2025-01-12 08:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:12:12] Production.INFO: call_cost start
[2025-01-12 08:12:12] Production.INFO: call_cost end
[2025-01-12 08:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:12:13] Production.INFO: ==20567== Releasing lock...
[2025-01-12 08:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:12:18] Production.INFO: count ==54
[2025-01-12 08:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:12:04 - End Time 2025-01-12 08:12:04
[2025-01-12 08:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230294', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230294', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230294', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230294', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:12:18] Production.INFO: ProcessCDR(1,14230294,1,1,2)
[2025-01-12 08:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230294,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230294,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230294', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230294', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:12:21] Production.INFO: ==20575== Releasing lock...
[2025-01-12 08:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:12:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:13:01] Production.INFO: ==20655== Lock acquired, processing the job...
[2025-01-12 13:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:13:01] Production.INFO: neon service started
[2025-01-12 13:13:01] Production.INFO: neon service started
[2025-01-12 13:13:01] Production.INFO: ==20655== Releasing lock...
[2025-01-12 13:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:13:02] Production.INFO: ==20657== Lock acquired, processing the job...
[2025-01-12 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:13:02] Production.INFO: ==20657== Releasing lock...
[2025-01-12 08:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:13:02] Production.INFO: ==20659== Lock acquired, processing the job...
[2025-01-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:13:02] Production.INFO: ==20659== Releasing lock...
[2025-01-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:13:03] Production.INFO: ==20664== Lock acquired, processing the job...
[2025-01-12 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:13:03] Production.INFO: ==20670== Lock acquired, processing the job...
[2025-01-12 08:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:13:03] Production.INFO: ==20662== Lock acquired, processing the job...
[2025-01-12 08:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:13:03] Production.INFO: ==20666== Lock acquired, processing the job...
[2025-01-12 08:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:13:03] Production.INFO: ==20668== Lock acquired, processing the job...
[2025-01-12 08:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:13:03] Production.INFO: ==20672== Lock acquired, processing the job...
[2025-01-12 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:13:03] Production.INFO: ==20664== Releasing lock...
[2025-01-12 08:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:13:03] Production.INFO: Account Balance Start.
[2025-01-12 08:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:13:03] Production.INFO: 117
[2025-01-12 08:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:13:03] Production.ERROR: done
[2025-01-12 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:13:03] Production.INFO: count ==21
[2025-01-12 08:13:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:13:03] Production.INFO: count ==21
[2025-01-12 08:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230298') start
[2025-01-12 08:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:13:03] Production.ERROR: done
[2025-01-12 08:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:13:03] Production.INFO: Total Charge 0
[2025-01-12 08:13:03] Production.INFO: CreateAllLog End
[2025-01-12 08:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230298') end
[2025-01-12 08:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:13:03] Production.INFO: 1
[2025-01-12 08:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:13:03] Production.INFO: ==20672== Releasing lock...
[2025-01-12 08:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:13:03] Production.INFO: Account Balance End.
[2025-01-12 08:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:13:04] Production.INFO: ==20668== Releasing lock...
[2025-01-12 08:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:13:04
[end_date_ymd] => 2025-01-12 08:13:04
[RateCDR] => 1
)
[2025-01-12 08:13:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:13:04' and `end` < '2025-01-12 08:13:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:13:11] Production.ERROR: CronJobId end10
[2025-01-12 08:13:11] Production.INFO: ==20666== Releasing lock...
[2025-01-12 08:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:13:13] Production.INFO: call_cost start
[2025-01-12 08:13:13] Production.INFO: call_cost end
[2025-01-12 08:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:13:13] Production.INFO: ==20662== Releasing lock...
[2025-01-12 08:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:13:19] Production.INFO: count ==54
[2025-01-12 08:13:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:13:04 - End Time 2025-01-12 08:13:04
[2025-01-12 08:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230299', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230299', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230299', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230299', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:13:19] Production.INFO: ProcessCDR(1,14230299,1,1,2)
[2025-01-12 08:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230299,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230299,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230299', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230299', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:13:22] Production.INFO: ==20670== Releasing lock...
[2025-01-12 08:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:13:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:14:02] Production.INFO: ==20748== Lock acquired, processing the job...
[2025-01-12 13:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:14:02] Production.INFO: neon service started
[2025-01-12 13:14:02] Production.INFO: neon service started
[2025-01-12 13:14:02] Production.INFO: ==20748== Releasing lock...
[2025-01-12 13:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:14:02] Production.INFO: ==20750== Lock acquired, processing the job...
[2025-01-12 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:14:02] Production.INFO: ==20750== Releasing lock...
[2025-01-12 08:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:14:03] Production.INFO: ==20752== Lock acquired, processing the job...
[2025-01-12 13:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:14:03] Production.INFO: ==20752== Releasing lock...
[2025-01-12 13:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:14:03] Production.INFO: ==20756== Lock acquired, processing the job...
[2025-01-12 08:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:14:03] Production.INFO: ==20758== Lock acquired, processing the job...
[2025-01-12 08:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:14:03] Production.INFO: ==20762== Lock acquired, processing the job...
[2025-01-12 08:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:14:03] Production.INFO: ==20754== Lock acquired, processing the job...
[2025-01-12 08:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:14:03] Production.INFO: ==20765== Lock acquired, processing the job...
[2025-01-12 08:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:14:04] Production.INFO: ==20760== Lock acquired, processing the job...
[2025-01-12 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:14:04] Production.INFO: ==20756== Releasing lock...
[2025-01-12 08:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:14:04] Production.INFO: Account Balance Start.
[2025-01-12 08:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:14:04] Production.INFO: 117
[2025-01-12 08:14:04] Production.ERROR: done
[2025-01-12 08:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:14:04] Production.ERROR: done
[2025-01-12 08:14:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:14:04] Production.INFO: count ==21
[2025-01-12 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230302') start
[2025-01-12 08:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230302') end
[2025-01-12 08:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:14:04] Production.INFO: 1
[2025-01-12 08:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:14:04] Production.INFO: ==20765== Releasing lock...
[2025-01-12 08:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:14:04] Production.INFO: Total Charge 0
[2025-01-12 08:14:04] Production.INFO: CreateAllLog End
[2025-01-12 08:14:04] Production.INFO: Account Balance End.
[2025-01-12 08:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:14:04] Production.INFO: ==20760== Releasing lock...
[2025-01-12 08:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:14:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:14:04
[end_date_ymd] => 2025-01-12 08:14:04
[RateCDR] => 1
)
[2025-01-12 08:14:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:14:04' and `end` < '2025-01-12 08:14:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:14:12] Production.ERROR: CronJobId end10
[2025-01-12 08:14:12] Production.INFO: ==20758== Releasing lock...
[2025-01-12 08:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:14:13] Production.INFO: call_cost start
[2025-01-12 08:14:13] Production.INFO: call_cost end
[2025-01-12 08:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:14:14] Production.INFO: ==20754== Releasing lock...
[2025-01-12 08:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:14:19] Production.INFO: count ==54
[2025-01-12 08:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:14:04 - End Time 2025-01-12 08:14:04
[2025-01-12 08:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230304', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230304', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230304', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230304', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:14:19] Production.INFO: ProcessCDR(1,14230304,1,1,2)
[2025-01-12 08:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230304,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230304,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230304', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230304', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:14:22] Production.INFO: ==20762== Releasing lock...
[2025-01-12 08:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:14:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:15:01] Production.INFO: ==20844== Lock acquired, processing the job...
[2025-01-12 13:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:15:01] Production.INFO: neon service started
[2025-01-12 13:15:01] Production.INFO: neon service started
[2025-01-12 13:15:01] Production.INFO: ==20844== Releasing lock...
[2025-01-12 13:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:15:02] Production.INFO: ==20846== Lock acquired, processing the job...
[2025-01-12 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:15:02] Production.INFO: ==20848== Lock acquired, processing the job...
[2025-01-12 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:15:02] Production.INFO: ==20848== Releasing lock...
[2025-01-12 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:15:02] Production.INFO: ==20846== Releasing lock...
[2025-01-12 08:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:15:03] Production.INFO: ==20851== Lock acquired, processing the job...
[2025-01-12 08:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:15:03] Production.INFO: ==20853== Lock acquired, processing the job...
[2025-01-12 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:15:03] Production.INFO: ==20857== Lock acquired, processing the job...
[2025-01-12 08:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:15:03] Production.INFO: ==20855== Lock acquired, processing the job...
[2025-01-12 08:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:15:03] Production.INFO: Account Balance Start.
[2025-01-12 08:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:15:03] Production.INFO: 117
[2025-01-12 08:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:15:03] Production.INFO: ==20853== Releasing lock...
[2025-01-12 08:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:15:03] Production.INFO: ==20861== Lock acquired, processing the job...
[2025-01-12 08:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:15:03] Production.INFO: ==20859== Lock acquired, processing the job...
[2025-01-12 08:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:15:03] Production.INFO: Total Charge 0
[2025-01-12 08:15:03] Production.INFO: count ==21
[2025-01-12 08:15:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 08:15:03] Production.INFO: count ==21
[2025-01-12 08:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230308') start
[2025-01-12 08:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230308') end
[2025-01-12 08:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:15:04] Production.INFO: 1
[2025-01-12 08:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:15:04] Production.INFO: Account Balance End.
[2025-01-12 08:15:04] Production.INFO: ==20861== Releasing lock...
[2025-01-12 08:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:15:04] Production.INFO: ==20857== Releasing lock...
[2025-01-12 08:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:15:04] Production.ERROR: done
[2025-01-12 08:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:15:04] Production.ERROR: done
[2025-01-12 08:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:15:05
[end_date_ymd] => 2025-01-12 08:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:15:05' and `end` < '2025-01-12 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-01-12 08:15:11] Production.ERROR: CronJobId end10
[2025-01-12 08:15:11] Production.INFO: ==20855== Releasing lock...
[2025-01-12 08:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:15:13] Production.INFO: call_cost start
[2025-01-12 08:15:13] Production.INFO: call_cost end
[2025-01-12 08:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:15:14] Production.INFO: ==20851== Releasing lock...
[2025-01-12 08:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:15:19] Production.INFO: count ==54
[2025-01-12 08:15:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:15:05 - End Time 2025-01-12 08:15:05
[2025-01-12 08:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230309', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230309', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230309', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230309', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:15:19] Production.INFO: ProcessCDR(1,14230309,1,1,2)
[2025-01-12 08:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:15:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230309', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:15:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230309', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:15:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:15:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:15:22] Production.INFO: ==20859== Releasing lock...
[2025-01-12 08:15:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:15:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:16:02] Production.INFO: ==20937== Lock acquired, processing the job...
[2025-01-12 13:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:16:02] Production.INFO: neon service started
[2025-01-12 13:16:02] Production.INFO: neon service started
[2025-01-12 13:16:02] Production.INFO: ==20937== Releasing lock...
[2025-01-12 13:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:16:02] Production.INFO: ==20941== Lock acquired, processing the job...
[2025-01-12 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:16:02] Production.INFO: ==20941== Releasing lock...
[2025-01-12 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:16:02] Production.INFO: ==20939== Lock acquired, processing the job...
[2025-01-12 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:16:02] Production.INFO: ==20939== Releasing lock...
[2025-01-12 08:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:16:03] Production.INFO: ==20944== Lock acquired, processing the job...
[2025-01-12 08:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:16:03] Production.INFO: ==20948== Lock acquired, processing the job...
[2025-01-12 08:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:16:03] Production.INFO: ==20952== Lock acquired, processing the job...
[2025-01-12 08:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:16:03] Production.INFO: ==20946== Lock acquired, processing the job...
[2025-01-12 08:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:16:03] Production.INFO: ==20950== Lock acquired, processing the job...
[2025-01-12 08:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:16:03] Production.INFO: ==20954== Lock acquired, processing the job...
[2025-01-12 08:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:16:04] Production.ERROR: done
[2025-01-12 08:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:16:04] Production.INFO: Account Balance Start.
[2025-01-12 08:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:16:04] Production.INFO: 117
[2025-01-12 08:16:04] Production.ERROR: done
[2025-01-12 08:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:16:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:16:04] Production.INFO: count ==21
[2025-01-12 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230313') start
[2025-01-12 08:16:04] Production.INFO: ==20946== Releasing lock...
[2025-01-12 08:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230313') end
[2025-01-12 08:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:16:04] Production.INFO: 1
[2025-01-12 08:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:16:04] Production.INFO: ==20954== Releasing lock...
[2025-01-12 08:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:16:04] Production.INFO: Total Charge 0
[2025-01-12 08:16:04] Production.INFO: CreateAllLog End
[2025-01-12 08:16:04] Production.INFO: Account Balance End.
[2025-01-12 08:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:16:04] Production.INFO: ==20950== Releasing lock...
[2025-01-12 08:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:16:05
[end_date_ymd] => 2025-01-12 08:16:05
[RateCDR] => 1
)
[2025-01-12 08:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:16:05' and `end` < '2025-01-12 08:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:16:12] Production.ERROR: CronJobId end10
[2025-01-12 08:16:12] Production.INFO: ==20948== Releasing lock...
[2025-01-12 08:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:16:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:16:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:16:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:16:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:16:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:16:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:16:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:16:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:16:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:16:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:16:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:16:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:16:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:16:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:16:14] Production.INFO: call_cost start
[2025-01-12 08:16:14] Production.INFO: call_cost end
[2025-01-12 08:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:16:15] Production.INFO: ==20944== Releasing lock...
[2025-01-12 08:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:16:18] Production.INFO: count ==54
[2025-01-12 08:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:16:05 - End Time 2025-01-12 08:16:05
[2025-01-12 08:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230314', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230314', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230314', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230314', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:16:18] Production.INFO: ProcessCDR(1,14230314,1,1,2)
[2025-01-12 08:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230314', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230314', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:16:21] Production.INFO: ==20952== Releasing lock...
[2025-01-12 08:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:16:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:17:01] Production.INFO: ==21075== Lock acquired, processing the job...
[2025-01-12 13:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:17:01] Production.INFO: neon service started
[2025-01-12 13:17:01] Production.INFO: neon service started
[2025-01-12 13:17:01] Production.INFO: ==21075== Releasing lock...
[2025-01-12 13:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:17:01] Production.INFO: ==21077== Lock acquired, processing the job...
[2025-01-12 08:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:17:02] Production.INFO: ==21077== Releasing lock...
[2025-01-12 08:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:17:02] Production.INFO: ==21079== Lock acquired, processing the job...
[2025-01-12 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:17:02] Production.INFO: ==21079== Releasing lock...
[2025-01-12 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:17:02] Production.INFO: ==21086== Lock acquired, processing the job...
[2025-01-12 08:17:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:17:03] Production.INFO: ==21092== Lock acquired, processing the job...
[2025-01-12 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:17:03] Production.INFO: ==21082== Lock acquired, processing the job...
[2025-01-12 08:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:17:03] Production.INFO: ==21084== Lock acquired, processing the job...
[2025-01-12 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:17:03] Production.INFO: count ==21
[2025-01-12 08:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:17:03] Production.INFO: count ==21
[2025-01-12 08:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230315') start
[2025-01-12 08:17:03] Production.INFO: ==21088== Lock acquired, processing the job...
[2025-01-12 08:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:17:03] Production.INFO: ==21090== Lock acquired, processing the job...
[2025-01-12 08:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230315') end
[2025-01-12 08:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:17:03] Production.INFO: 1
[2025-01-12 08:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:17:03] Production.INFO: Account Balance Start.
[2025-01-12 08:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:17:03] Production.INFO: ==21092== Releasing lock...
[2025-01-12 08:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:17:03] Production.INFO: 117
[2025-01-12 08:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:17:03] Production.INFO: ==21084== Releasing lock...
[2025-01-12 08:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:17:03] Production.ERROR: done
[2025-01-12 08:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:17:03] Production.INFO: Total Charge 0
[2025-01-12 08:17:03] Production.INFO: CreateAllLog End
[2025-01-12 08:17:03] Production.ERROR: done
[2025-01-12 08:17:03] Production.INFO: Account Balance End.
[2025-01-12 08:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:17:04] Production.INFO: ==21088== Releasing lock...
[2025-01-12 08:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:17:05
[end_date_ymd] => 2025-01-12 08:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:17:05' and `end` < '2025-01-12 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-01-12 08:17:11] Production.ERROR: CronJobId end10
[2025-01-12 08:17:11] Production.INFO: ==21086== Releasing lock...
[2025-01-12 08:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:17:13] Production.INFO: call_cost start
[2025-01-12 08:17:13] Production.INFO: call_cost end
[2025-01-12 08:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:17:14] Production.INFO: ==21082== Releasing lock...
[2025-01-12 08:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:17:18] Production.INFO: count ==54
[2025-01-12 08:17:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:17:05 - End Time 2025-01-12 08:17:05
[2025-01-12 08:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230319', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230319', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230319', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230319', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:17:18] Production.INFO: ProcessCDR(1,14230319,1,1,2)
[2025-01-12 08:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230319', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230319', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:17:21] Production.INFO: ==21090== Releasing lock...
[2025-01-12 08:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:17:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:18:01] Production.INFO: ==21181== Lock acquired, processing the job...
[2025-01-12 13:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:18:01] Production.INFO: neon service started
[2025-01-12 13:18:01] Production.INFO: neon service started
[2025-01-12 13:18:01] Production.INFO: ==21181== Releasing lock...
[2025-01-12 13:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:18:02] Production.INFO: ==21183== Lock acquired, processing the job...
[2025-01-12 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:18:02] Production.INFO: ==21185== Lock acquired, processing the job...
[2025-01-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:18:02] Production.INFO: ==21185== Releasing lock...
[2025-01-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:18:02] Production.INFO: ==21183== Releasing lock...
[2025-01-12 08:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:18:03] Production.INFO: ==21188== Lock acquired, processing the job...
[2025-01-12 08:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:18:03] Production.INFO: ==21190== Lock acquired, processing the job...
[2025-01-12 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:18:03] Production.INFO: ==21192== Lock acquired, processing the job...
[2025-01-12 08:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:18:03] Production.INFO: ==21194== Lock acquired, processing the job...
[2025-01-12 08:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:18:03] Production.INFO: ==21190== Releasing lock...
[2025-01-12 08:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:18:03] Production.INFO: ==21196== Lock acquired, processing the job...
[2025-01-12 08:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:18:04] Production.INFO: ==21198== Lock acquired, processing the job...
[2025-01-12 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:18:04] Production.INFO: Account Balance Start.
[2025-01-12 08:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:18:04] Production.INFO: 117
[2025-01-12 08:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:18:04] Production.ERROR: done
[2025-01-12 08:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:18:04] Production.INFO: count ==21
[2025-01-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:18:04] Production.INFO: count ==21
[2025-01-12 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230323') start
[2025-01-12 08:18:04] Production.ERROR: done
[2025-01-12 08:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:18:04] Production.INFO: Total Charge 0
[2025-01-12 08:18:04] Production.INFO: CreateAllLog End
[2025-01-12 08:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230323') end
[2025-01-12 08:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:18:04] Production.INFO: 1
[2025-01-12 08:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:18:04] Production.INFO: ==21198== Releasing lock...
[2025-01-12 08:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:18:04] Production.INFO: Account Balance End.
[2025-01-12 08:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:18:04] Production.INFO: ==21194== Releasing lock...
[2025-01-12 08:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:18:05
[end_date_ymd] => 2025-01-12 08:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:18:05' and `end` < '2025-01-12 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-01-12 08:18:12] Production.ERROR: CronJobId end10
[2025-01-12 08:18:12] Production.INFO: ==21192== Releasing lock...
[2025-01-12 08:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:18:14] Production.INFO: call_cost start
[2025-01-12 08:18:14] Production.INFO: call_cost end
[2025-01-12 08:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:18:15] Production.INFO: ==21188== Releasing lock...
[2025-01-12 08:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:18:18] Production.INFO: count ==54
[2025-01-12 08:18:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:18:05 - End Time 2025-01-12 08:18:05
[2025-01-12 08:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230324', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230324', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230324', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230324', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:18:18] Production.INFO: ProcessCDR(1,14230324,1,1,2)
[2025-01-12 08:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230324', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230324', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:18:21] Production.INFO: ==21196== Releasing lock...
[2025-01-12 08:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:18:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:19:02] Production.INFO: ==21279== Lock acquired, processing the job...
[2025-01-12 13:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:19:02] Production.INFO: neon service started
[2025-01-12 13:19:02] Production.INFO: neon service started
[2025-01-12 13:19:02] Production.INFO: ==21279== Releasing lock...
[2025-01-12 13:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:19:02] Production.INFO: ==21284== Lock acquired, processing the job...
[2025-01-12 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:19:02] Production.INFO: ==21284== Releasing lock...
[2025-01-12 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:19:02] Production.INFO: ==21282== Lock acquired, processing the job...
[2025-01-12 08:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:19:03] Production.INFO: ==21282== Releasing lock...
[2025-01-12 08:19:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:19:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:19:03] Production.INFO: ==21286== Lock acquired, processing the job...
[2025-01-12 08:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:19:03] Production.INFO: ==21288== Lock acquired, processing the job...
[2025-01-12 08:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:19:03] Production.INFO: ==21294== Lock acquired, processing the job...
[2025-01-12 08:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:19:04] Production.INFO: ==21290== Lock acquired, processing the job...
[2025-01-12 08:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:19:04] Production.INFO: ==21292== Lock acquired, processing the job...
[2025-01-12 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:19:04] Production.INFO: ==21288== Releasing lock...
[2025-01-12 08:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:19:04] Production.INFO: ==21296== Lock acquired, processing the job...
[2025-01-12 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:19:04] Production.INFO: Account Balance Start.
[2025-01-12 08:19:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:19:04] Production.INFO: 117
[2025-01-12 08:19:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:19:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:19:04] Production.ERROR: done
[2025-01-12 08:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:19:04] Production.INFO: count ==21
[2025-01-12 08:19:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:19:04] Production.INFO: count ==21
[2025-01-12 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230328') start
[2025-01-12 08:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:19:04] Production.ERROR: done
[2025-01-12 08:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:19:04] Production.INFO: Total Charge 0
[2025-01-12 08:19:04] Production.INFO: CreateAllLog End
[2025-01-12 08:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230328') end
[2025-01-12 08:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:19:04] Production.INFO: 1
[2025-01-12 08:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:19:04] Production.INFO: ==21296== Releasing lock...
[2025-01-12 08:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:19:04] Production.INFO: Account Balance End.
[2025-01-12 08:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:19:04] Production.INFO: ==21292== Releasing lock...
[2025-01-12 08:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:19:05
[end_date_ymd] => 2025-01-12 08:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:19:05' and `end` < '2025-01-12 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-01-12 08:19:12] Production.ERROR: CronJobId end10
[2025-01-12 08:19:12] Production.INFO: ==21290== Releasing lock...
[2025-01-12 08:19:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:19:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:19:14] Production.INFO: call_cost start
[2025-01-12 08:19:14] Production.INFO: call_cost end
[2025-01-12 08:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:19:14] Production.INFO: ==21286== Releasing lock...
[2025-01-12 08:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:19:19] Production.INFO: count ==54
[2025-01-12 08:19:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:19:05 - End Time 2025-01-12 08:19:05
[2025-01-12 08:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230329', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230329', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230329', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230329', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:19:19] Production.INFO: ProcessCDR(1,14230329,1,1,2)
[2025-01-12 08:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230329', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230329', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:19:22] Production.INFO: ==21294== Releasing lock...
[2025-01-12 08:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:19:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:20:01] Production.INFO: ==21379== Lock acquired, processing the job...
[2025-01-12 13:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:20:01] Production.INFO: neon service started
[2025-01-12 13:20:01] Production.INFO: neon service started
[2025-01-12 13:20:01] Production.INFO: ==21379== Releasing lock...
[2025-01-12 13:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:20:02] Production.INFO: ==21383== Lock acquired, processing the job...
[2025-01-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:20:02] Production.INFO: ==21383== Releasing lock...
[2025-01-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:20:02] Production.INFO: ==21381== Lock acquired, processing the job...
[2025-01-12 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:20:02] Production.INFO: ==21381== Releasing lock...
[2025-01-12 08:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:20:03] Production.INFO: ==21385== Lock acquired, processing the job...
[2025-01-12 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 08:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 08:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 08:20:03] Production.INFO: ==21385== Releasing lock...
[2025-01-12 08:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 08:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 08:20:03] Production.INFO: ==21391== Lock acquired, processing the job...
[2025-01-12 08:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:20:03] Production.INFO: ==21387== Lock acquired, processing the job...
[2025-01-12 08:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:20:03] Production.INFO: ==21396== Lock acquired, processing the job...
[2025-01-12 08:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:20:03] Production.INFO: ==21400== Lock acquired, processing the job...
[2025-01-12 08:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:20:03] Production.INFO: ==21389== Lock acquired, processing the job...
[2025-01-12 08:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08: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-01-12 08:20:04] Production.INFO: ==21394== Lock acquired, processing the job...
[2025-01-12 08:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:20:04] Production.INFO: count ==21
[2025-01-12 08:20:04] Production.ERROR: done
[2025-01-12 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-01-12 08:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:20:04] Production.INFO: ==21398== Lock acquired, processing the job...
[2025-01-12 08:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 08:20:04] Production.INFO: count ==21
[2025-01-12 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230331') start
[2025-01-12 08:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:20:04] Production.INFO: Account Balance Start.
[2025-01-12 08:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:20:04] Production.INFO: 117
[2025-01-12 08:20:04] Production.ERROR: done
[2025-01-12 08:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230331') end
[2025-01-12 08:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:20:04] Production.INFO: 1
[2025-01-12 08:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:20:04] Production.INFO: ==21400== Releasing lock...
[2025-01-12 08:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:20:04] Production.INFO: ==21389== Releasing lock...
[2025-01-12 08:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:20:04] Production.INFO: Total Charge 0
[2025-01-12 08:20:04] Production.ERROR: done
[2025-01-12 08:20:04] Production.INFO: CreateAllLog End
[2025-01-12 08:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 08:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230335', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 08:20:04] Production.INFO: Account Balance End.
[2025-01-12 08:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:20:05] Production.INFO: ==21394== Releasing lock...
[2025-01-12 08:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:20:05
[end_date_ymd] => 2025-01-12 08:20:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:20:05' and `end` < '2025-01-12 08: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-01-12 08:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230335', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 08:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 08:20:08] Production.INFO: ProcessCDR(1,14230335,1,1,2)
[2025-01-12 08:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230335,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230335,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:20:08] Production.INFO: ==21398== Releasing lock...
[2025-01-12 08:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 08:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 08:20:13] Production.ERROR: CronJobId end10
[2025-01-12 08:20:13] Production.INFO: ==21391== Releasing lock...
[2025-01-12 08:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:20:15] Production.INFO: call_cost start
[2025-01-12 08:20:15] Production.INFO: call_cost end
[2025-01-12 08:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:20:16] Production.INFO: ==21387== Releasing lock...
[2025-01-12 08:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:20:18] Production.INFO: count ==54
[2025-01-12 08:20:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:20:05 - End Time 2025-01-12 08:20:05
[2025-01-12 08:20:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230334', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230334', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230334', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:20:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230334', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:20:18] Production.INFO: ProcessCDR(1,14230334,1,1,2)
[2025-01-12 08:20:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:20:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:20:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:20:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230334', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:20:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230334', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:20:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:20:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:20:21] Production.INFO: ==21396== Releasing lock...
[2025-01-12 08:20:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:20:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:21:02] Production.INFO: ==21475== Lock acquired, processing the job...
[2025-01-12 13:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:21:02] Production.INFO: neon service started
[2025-01-12 13:21:02] Production.INFO: neon service started
[2025-01-12 13:21:02] Production.INFO: ==21475== Releasing lock...
[2025-01-12 13:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:21:02] Production.INFO: ==21480== Lock acquired, processing the job...
[2025-01-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:21:02] Production.INFO: ==21480== Releasing lock...
[2025-01-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:21:02] Production.INFO: ==21478== Lock acquired, processing the job...
[2025-01-12 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:21:02] Production.INFO: ==21478== Releasing lock...
[2025-01-12 08:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:21:03] Production.INFO: ==21482== Lock acquired, processing the job...
[2025-01-12 08:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:21:03] Production.INFO: ==21486== Lock acquired, processing the job...
[2025-01-12 08:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:21:03] Production.INFO: ==21490== Lock acquired, processing the job...
[2025-01-12 08:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:21:03] Production.INFO: ==21492== Lock acquired, processing the job...
[2025-01-12 08:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:21:03] Production.INFO: ==21488== Lock acquired, processing the job...
[2025-01-12 08:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:21:03] Production.INFO: ==21484== Lock acquired, processing the job...
[2025-01-12 08:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 08:21:03] Production.INFO: Account Balance Start.
[2025-01-12 08:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:21:03] Production.INFO: count ==21
[2025-01-12 08:21:03] Production.INFO: 117
[2025-01-12 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-01-12 08:21:03] Production.INFO: count ==21
[2025-01-12 08:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230337') start
[2025-01-12 08:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:21:04] Production.ERROR: done
[2025-01-12 08:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230337') end
[2025-01-12 08:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:21:04] Production.INFO: 1
[2025-01-12 08:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:21:04] Production.INFO: ==21492== Releasing lock...
[2025-01-12 08:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:21:04] Production.INFO: ==21484== Releasing lock...
[2025-01-12 08:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:21:04] Production.ERROR: done
[2025-01-12 08:21:04] Production.INFO: Total Charge 0
[2025-01-12 08:21:04] Production.INFO: CreateAllLog End
[2025-01-12 08:21:04] Production.INFO: Account Balance End.
[2025-01-12 08:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:21:04] Production.INFO: ==21488== Releasing lock...
[2025-01-12 08:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:21:05
[end_date_ymd] => 2025-01-12 08:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:21:05' and `end` < '2025-01-12 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-01-12 08:21:11] Production.ERROR: CronJobId end10
[2025-01-12 08:21:11] Production.INFO: ==21486== Releasing lock...
[2025-01-12 08:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:21:13] Production.INFO: call_cost start
[2025-01-12 08:21:13] Production.INFO: call_cost end
[2025-01-12 08:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:21:14] Production.INFO: ==21482== Releasing lock...
[2025-01-12 08:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:21:18] Production.INFO: count ==54
[2025-01-12 08:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:21:05 - End Time 2025-01-12 08:21:05
[2025-01-12 08:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230340', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230340', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230340', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230340', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:21:18] Production.INFO: ProcessCDR(1,14230340,1,1,2)
[2025-01-12 08:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230340,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:21:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230340,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230340', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:21:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230340', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:21:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:21:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:21:21] Production.INFO: ==21490== Releasing lock...
[2025-01-12 08:21:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:21:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:22:01] Production.INFO: ==21569== Lock acquired, processing the job...
[2025-01-12 13:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:22:01] Production.INFO: neon service started
[2025-01-12 13:22:01] Production.INFO: neon service started
[2025-01-12 13:22:01] Production.INFO: ==21569== Releasing lock...
[2025-01-12 13:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:22:01] Production.INFO: ==21573== Lock acquired, processing the job...
[2025-01-12 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:22:01] Production.INFO: ==21573== Releasing lock...
[2025-01-12 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:22:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:22:01] Production.INFO: ==21571== Lock acquired, processing the job...
[2025-01-12 08:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:22:02] Production.INFO: ==21571== Releasing lock...
[2025-01-12 08:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:22:03] Production.INFO: ==21581== Lock acquired, processing the job...
[2025-01-12 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:22:03] Production.INFO: Account Balance Start.
[2025-01-12 08:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:22:03] Production.INFO: 117
[2025-01-12 08:22:03] Production.INFO: ==21586== Lock acquired, processing the job...
[2025-01-12 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:22:03] Production.INFO: ==21575== Lock acquired, processing the job...
[2025-01-12 08:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:22:03] Production.INFO: ==21577== Lock acquired, processing the job...
[2025-01-12 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:22:03] Production.INFO: ==21579== Lock acquired, processing the job...
[2025-01-12 08:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:22:03] Production.INFO: count ==21
[2025-01-12 08:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:22:03] Production.INFO: count ==21
[2025-01-12 08:22:03] Production.INFO: Total Charge 0
[2025-01-12 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230342') start
[2025-01-12 08:22:03] Production.INFO: ==21583== Lock acquired, processing the job...
[2025-01-12 08:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:22:03] Production.INFO: CreateAllLog End
[2025-01-12 08:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:22:03] Production.INFO: Account Balance End.
[2025-01-12 08:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230342') end
[2025-01-12 08:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:22:03] Production.INFO: 1
[2025-01-12 08:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:22:03] Production.ERROR: CronJobId end 12
[2025-01-12 08:22:03] Production.INFO: ==21581== Releasing lock...
[2025-01-12 08:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:22:03] Production.INFO: ==21586== Releasing lock...
[2025-01-12 08:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:22:03] Production.INFO: ==21577== Releasing lock...
[2025-01-12 08:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:22:04] Production.ERROR: done
[2025-01-12 08:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:22:04] Production.ERROR: done
[2025-01-12 08:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:22:05
[end_date_ymd] => 2025-01-12 08:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:22:05' and `end` < '2025-01-12 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-01-12 08:22:11] Production.ERROR: CronJobId end10
[2025-01-12 08:22:11] Production.INFO: ==21579== Releasing lock...
[2025-01-12 08:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:22:13] Production.INFO: call_cost start
[2025-01-12 08:22:13] Production.INFO: call_cost end
[2025-01-12 08:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:22:14] Production.INFO: ==21575== Releasing lock...
[2025-01-12 08:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:22:18] Production.INFO: count ==54
[2025-01-12 08:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:22:05 - End Time 2025-01-12 08:22:05
[2025-01-12 08:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230345', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230345', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230345', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230345', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:22:18] Production.INFO: ProcessCDR(1,14230345,1,1,2)
[2025-01-12 08:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230345,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:22:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230345,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230345', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:22:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230345', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:22:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:22:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:22:22] Production.INFO: ==21583== Releasing lock...
[2025-01-12 08:22:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:22:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:23:01] Production.INFO: ==21664== Lock acquired, processing the job...
[2025-01-12 13:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:23:01] Production.INFO: neon service started
[2025-01-12 13:23:01] Production.INFO: neon service started
[2025-01-12 13:23:01] Production.INFO: ==21664== Releasing lock...
[2025-01-12 13:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:23:02] Production.INFO: ==21666== Lock acquired, processing the job...
[2025-01-12 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:23:02] Production.INFO: ==21668== Lock acquired, processing the job...
[2025-01-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 08:23:02] Production.INFO: ==21666== Releasing lock...
[2025-01-12 08:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:23:02] Production.INFO: ==21668== Releasing lock...
[2025-01-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:23:03] Production.INFO: ==21672== Lock acquired, processing the job...
[2025-01-12 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:23:03] Production.INFO: ==21679== Lock acquired, processing the job...
[2025-01-12 08:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:23:03] Production.INFO: ==21672== Releasing lock...
[2025-01-12 08:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:23:03] Production.INFO: ==21681== Lock acquired, processing the job...
[2025-01-12 08:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:23:03] Production.INFO: ==21670== Lock acquired, processing the job...
[2025-01-12 08:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 08:23:03] Production.INFO: count ==21
[2025-01-12 08:23:03] Production.ERROR: done
[2025-01-12 08:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:23:03] Production.INFO: ==21674== Lock acquired, processing the job...
[2025-01-12 08:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 08:23:03] Production.INFO: count ==21
[2025-01-12 08:23:03] Production.INFO: ==21676== Lock acquired, processing the job...
[2025-01-12 08:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230347') start
[2025-01-12 08:23:03] Production.INFO: Account Balance Start.
[2025-01-12 08:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:23:03] Production.INFO: 117
[2025-01-12 08:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:23:04] Production.ERROR: done
[2025-01-12 08:23:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230347') end
[2025-01-12 08:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:23:04] Production.INFO: 1
[2025-01-12 08:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:23:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:23:04] Production.INFO: ==21681== Releasing lock...
[2025-01-12 08:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:23:04] Production.INFO: Total Charge 0
[2025-01-12 08:23:04] Production.INFO: CreateAllLog End
[2025-01-12 08:23:04] Production.INFO: Account Balance End.
[2025-01-12 08:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:23:04] Production.INFO: ==21676== Releasing lock...
[2025-01-12 08:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:23:05
[end_date_ymd] => 2025-01-12 08:23:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:23:05' and `end` < '2025-01-12 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-01-12 08:23:11] Production.ERROR: CronJobId end10
[2025-01-12 08:23:11] Production.INFO: ==21674== Releasing lock...
[2025-01-12 08:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:23:14] Production.INFO: call_cost start
[2025-01-12 08:23:14] Production.INFO: call_cost end
[2025-01-12 08:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:23:14] Production.INFO: ==21670== Releasing lock...
[2025-01-12 08:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:23:19] Production.INFO: count ==54
[2025-01-12 08:23:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:23:05 - End Time 2025-01-12 08:23:05
[2025-01-12 08:23:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230350', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230350', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230350', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:23:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230350', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:23:19] Production.INFO: ProcessCDR(1,14230350,1,1,2)
[2025-01-12 08:23:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230350,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230350,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230350', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230350', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:23:22] Production.INFO: ==21679== Releasing lock...
[2025-01-12 08:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:23:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:24:01] Production.INFO: ==21766== Lock acquired, processing the job...
[2025-01-12 13:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:24:01] Production.INFO: neon service started
[2025-01-12 13:24:01] Production.INFO: neon service started
[2025-01-12 13:24:01] Production.INFO: ==21766== Releasing lock...
[2025-01-12 13:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:24:01] Production.INFO: ==21768== Lock acquired, processing the job...
[2025-01-12 08:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:24:02] Production.INFO: ==21770== Lock acquired, processing the job...
[2025-01-12 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:24:02] Production.INFO: ==21770== Releasing lock...
[2025-01-12 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:24:02] Production.INFO: ==21768== Releasing lock...
[2025-01-12 08:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:24:03] Production.INFO: ==21772== Lock acquired, processing the job...
[2025-01-12 08:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:24:03] Production.INFO: ==21774== Lock acquired, processing the job...
[2025-01-12 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:24:03] Production.INFO: ==21783== Lock acquired, processing the job...
[2025-01-12 08:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:24:03] Production.INFO: ==21776== Lock acquired, processing the job...
[2025-01-12 08:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:24:03] Production.INFO: ==21778== Lock acquired, processing the job...
[2025-01-12 08:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:24:03] Production.INFO: ==21781== Lock acquired, processing the job...
[2025-01-12 08:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:24:03] Production.INFO: Account Balance Start.
[2025-01-12 08:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:24:03] Production.INFO: 117
[2025-01-12 08:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:24:03] Production.INFO: count ==21
[2025-01-12 08:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:24:03] Production.INFO: count ==21
[2025-01-12 08:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230352') start
[2025-01-12 08:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:24:03] Production.INFO: ==21774== Releasing lock...
[2025-01-12 08:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:24:04] Production.ERROR: done
[2025-01-12 08:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:24:04] Production.INFO: Total Charge 0
[2025-01-12 08:24:04] Production.INFO: CreateAllLog End
[2025-01-12 08:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230352') end
[2025-01-12 08:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:24:04] Production.INFO: 1
[2025-01-12 08:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:24:04] Production.ERROR: done
[2025-01-12 08:24:04] Production.INFO: ==21783== Releasing lock...
[2025-01-12 08:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:24:04] Production.INFO: Account Balance End.
[2025-01-12 08:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:24:04] Production.INFO: ==21778== Releasing lock...
[2025-01-12 08:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:24:05
[end_date_ymd] => 2025-01-12 08:24:05
[RateCDR] => 1
)
[2025-01-12 08:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:24:05' and `end` < '2025-01-12 08:24:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:24:11] Production.ERROR: CronJobId end10
[2025-01-12 08:24:11] Production.INFO: ==21776== Releasing lock...
[2025-01-12 08:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:24:13] Production.INFO: call_cost start
[2025-01-12 08:24:13] Production.INFO: call_cost end
[2025-01-12 08:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:24:14] Production.INFO: ==21772== Releasing lock...
[2025-01-12 08:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:24:20] Production.INFO: count ==54
[2025-01-12 08:24:20] Production.ERROR: pbx CDR StartTime 2025-01-12 05:24:05 - End Time 2025-01-12 08:24:05
[2025-01-12 08:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230355', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230355', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230355', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230355', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:24:20] Production.INFO: ProcessCDR(1,14230355,1,1,2)
[2025-01-12 08:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230355,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230355,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230355', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230355', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:24:23] Production.INFO: ==21781== Releasing lock...
[2025-01-12 08:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:24:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:25:02] Production.INFO: ==21869== Lock acquired, processing the job...
[2025-01-12 13:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:25:02] Production.INFO: neon service started
[2025-01-12 13:25:02] Production.INFO: neon service started
[2025-01-12 13:25:02] Production.INFO: ==21869== Releasing lock...
[2025-01-12 13:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:25:02] Production.INFO: ==21873== Lock acquired, processing the job...
[2025-01-12 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:25:02] Production.INFO: ==21875== Lock acquired, processing the job...
[2025-01-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:25:02] Production.INFO: ==21875== Releasing lock...
[2025-01-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:25:02] Production.INFO: ==21873== Releasing lock...
[2025-01-12 08:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:25:03] Production.INFO: ==21878== Lock acquired, processing the job...
[2025-01-12 08:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:25:03] Production.INFO: ==21882== Lock acquired, processing the job...
[2025-01-12 08:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:25:03] Production.INFO: ==21884== Lock acquired, processing the job...
[2025-01-12 08:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:25:03] Production.INFO: Account Balance Start.
[2025-01-12 08:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:25:03] Production.INFO: 117
[2025-01-12 08:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:25:03] Production.INFO: ==21880== Lock acquired, processing the job...
[2025-01-12 08:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:25:03] Production.INFO: Total Charge 0
[2025-01-12 08:25:03] Production.INFO: CreateAllLog End
[2025-01-12 08:25:03] Production.INFO: ==21886== Lock acquired, processing the job...
[2025-01-12 08:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:25:04] Production.INFO: ==21888== Lock acquired, processing the job...
[2025-01-12 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:25:04] Production.INFO: ==21880== Releasing lock...
[2025-01-12 08:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:25:04] Production.INFO: Account Balance End.
[2025-01-12 08: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-01-12 08:25:04] Production.INFO: count ==21
[2025-01-12 08:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:25:04] Production.INFO: ==21884== Releasing lock...
[2025-01-12 08:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08: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-01-12 08:25:04] Production.INFO: count ==21
[2025-01-12 08:25:04] Production.ERROR: done
[2025-01-12 08:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230359') start
[2025-01-12 08:25:04] Production.ERROR: done
[2025-01-12 08:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230359') end
[2025-01-12 08:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:25:04] Production.INFO: 1
[2025-01-12 08:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:25:04] Production.INFO: ==21888== Releasing lock...
[2025-01-12 08:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:25:05
[end_date_ymd] => 2025-01-12 08:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:25:05' and `end` < '2025-01-12 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-01-12 08:25:11] Production.ERROR: CronJobId end10
[2025-01-12 08:25:11] Production.INFO: ==21882== Releasing lock...
[2025-01-12 08:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:25:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:25:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:25:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:25:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:25:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:25:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:25:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:25:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:25:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:25:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:25:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:25:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:25:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:25:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:25:14] Production.INFO: call_cost start
[2025-01-12 08:25:14] Production.INFO: call_cost end
[2025-01-12 08:25:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:25:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:25:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:25:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:25:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:25:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:25:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:25:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:25:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:25:15] Production.INFO: ==21878== Releasing lock...
[2025-01-12 08:25:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:25:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:25:19] Production.INFO: count ==54
[2025-01-12 08:25:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:25:05 - End Time 2025-01-12 08:25:05
[2025-01-12 08:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230360', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230360', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230360', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230360', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:25:19] Production.INFO: ProcessCDR(1,14230360,1,1,2)
[2025-01-12 08:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230360', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230360', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:25:22] Production.INFO: ==21886== Releasing lock...
[2025-01-12 08:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:25:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:26:01] Production.INFO: ==21967== Lock acquired, processing the job...
[2025-01-12 13:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:26:01] Production.INFO: neon service started
[2025-01-12 13:26:01] Production.INFO: neon service started
[2025-01-12 13:26:01] Production.INFO: ==21967== Releasing lock...
[2025-01-12 13:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:26:02] Production.INFO: ==21969== Lock acquired, processing the job...
[2025-01-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:26:02] Production.INFO: ==21971== Lock acquired, processing the job...
[2025-01-12 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:26:02] Production.INFO: ==21971== Releasing lock...
[2025-01-12 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:26:02] Production.INFO: ==21969== Releasing lock...
[2025-01-12 08:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:26:03] Production.INFO: ==21979== Lock acquired, processing the job...
[2025-01-12 08:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:26:03] Production.INFO: ==21985== Lock acquired, processing the job...
[2025-01-12 08:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:26:03] Production.INFO: ==21975== Lock acquired, processing the job...
[2025-01-12 08:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:26:03] Production.INFO: ==21977== Lock acquired, processing the job...
[2025-01-12 08:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08: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-01-12 08:26:03] Production.INFO: count ==21
[2025-01-12 08:26:03] Production.INFO: ==21981== Lock acquired, processing the job...
[2025-01-12 08:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:26:03] Production.INFO: ==21983== Lock acquired, processing the job...
[2025-01-12 08:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08: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-01-12 08:26:03] Production.INFO: count ==21
[2025-01-12 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230361') start
[2025-01-12 08:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:26:03] Production.INFO: Account Balance Start.
[2025-01-12 08:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:26:03] Production.INFO: 117
[2025-01-12 08:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230361') end
[2025-01-12 08:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:26:03] Production.INFO: 1
[2025-01-12 08:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:26:04] Production.INFO: ==21985== Releasing lock...
[2025-01-12 08:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:26:04] Production.ERROR: done
[2025-01-12 08:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:26:04] Production.INFO: ==21977== Releasing lock...
[2025-01-12 08:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:26:04] Production.INFO: Total Charge 0
[2025-01-12 08:26:04] Production.INFO: CreateAllLog End
[2025-01-12 08:26:04] Production.ERROR: done
[2025-01-12 08:26:04] Production.INFO: Account Balance End.
[2025-01-12 08:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:26:04] Production.INFO: ==21981== Releasing lock...
[2025-01-12 08:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:26:05
[end_date_ymd] => 2025-01-12 08:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:26:05' and `end` < '2025-01-12 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-01-12 08:26:10] Production.ERROR: CronJobId end10
[2025-01-12 08:26:10] Production.INFO: ==21979== Releasing lock...
[2025-01-12 08:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:26:12] Production.INFO: call_cost start
[2025-01-12 08:26:12] Production.INFO: call_cost end
[2025-01-12 08:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:26:13] Production.INFO: ==21975== Releasing lock...
[2025-01-12 08:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:26:18] Production.INFO: count ==54
[2025-01-12 08:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:26:05 - End Time 2025-01-12 08:26:05
[2025-01-12 08:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230365', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230365', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230365', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230365', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:26:18] Production.INFO: ProcessCDR(1,14230365,1,1,2)
[2025-01-12 08:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:26:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:26:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:26:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230365', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:26:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230365', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:26:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:26:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:26:21] Production.INFO: ==21983== Releasing lock...
[2025-01-12 08:26:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:26:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:27:01] Production.INFO: ==22058== Lock acquired, processing the job...
[2025-01-12 13:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:27:01] Production.INFO: neon service started
[2025-01-12 13:27:01] Production.INFO: neon service started
[2025-01-12 13:27:01] Production.INFO: ==22058== Releasing lock...
[2025-01-12 13:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:27:02] Production.INFO: ==22060== Lock acquired, processing the job...
[2025-01-12 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:27:02] Production.INFO: ==22060== Releasing lock...
[2025-01-12 08:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:27:02] Production.INFO: ==22062== Lock acquired, processing the job...
[2025-01-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:27:02] Production.INFO: ==22062== Releasing lock...
[2025-01-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:27:03] Production.INFO: ==22074== Lock acquired, processing the job...
[2025-01-12 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:27:03] Production.INFO: ==22070== Lock acquired, processing the job...
[2025-01-12 08:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 08:27:03] Production.INFO: Account Balance Start.
[2025-01-12 08:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:27:03] Production.INFO: 117
[2025-01-12 08:27:03] Production.INFO: count ==21
[2025-01-12 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-01-12 08:27:03] Production.INFO: count ==21
[2025-01-12 08:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230366') start
[2025-01-12 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:27:03] Production.INFO: ==22064== Lock acquired, processing the job...
[2025-01-12 08:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:27:03] Production.INFO: ==22066== Lock acquired, processing the job...
[2025-01-12 08:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:27:03] Production.INFO: ==22068== Lock acquired, processing the job...
[2025-01-12 08:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230366') end
[2025-01-12 08:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:27:03] Production.INFO: 1
[2025-01-12 08:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:27:03] Production.INFO: ==22074== Releasing lock...
[2025-01-12 08:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:27:03] Production.INFO: ==22072== Lock acquired, processing the job...
[2025-01-12 08:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:27:03] Production.INFO: Total Charge 0
[2025-01-12 08:27:03] Production.INFO: CreateAllLog End
[2025-01-12 08:27:04] Production.INFO: ==22066== Releasing lock...
[2025-01-12 08:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:27:04] Production.ERROR: done
[2025-01-12 08:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:27:04] Production.INFO: Account Balance End.
[2025-01-12 08:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:27:04] Production.INFO: ==22070== Releasing lock...
[2025-01-12 08:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:27:04] Production.ERROR: done
[2025-01-12 08:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:27:05
[end_date_ymd] => 2025-01-12 08:27:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:27:05' and `end` < '2025-01-12 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-01-12 08:27:11] Production.ERROR: CronJobId end10
[2025-01-12 08:27:11] Production.INFO: ==22068== Releasing lock...
[2025-01-12 08:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:27:13] Production.INFO: call_cost start
[2025-01-12 08:27:13] Production.INFO: call_cost end
[2025-01-12 08:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:27:14] Production.INFO: ==22064== Releasing lock...
[2025-01-12 08:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:27:18] Production.INFO: count ==54
[2025-01-12 08:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:27:05 - End Time 2025-01-12 08:27:05
[2025-01-12 08:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230370', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230370', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230370', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230370', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:27:18] Production.INFO: ProcessCDR(1,14230370,1,1,2)
[2025-01-12 08:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230370', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230370', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:27:21] Production.INFO: ==22072== Releasing lock...
[2025-01-12 08:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:27:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:28:02] Production.INFO: ==22154== Lock acquired, processing the job...
[2025-01-12 13:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:28:02] Production.INFO: neon service started
[2025-01-12 13:28:02] Production.INFO: neon service started
[2025-01-12 13:28:02] Production.INFO: ==22154== Releasing lock...
[2025-01-12 13:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:28:02] Production.INFO: ==22156== Lock acquired, processing the job...
[2025-01-12 08:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:28:03] Production.INFO: ==22158== Lock acquired, processing the job...
[2025-01-12 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:28:03] Production.INFO: ==22158== Releasing lock...
[2025-01-12 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:28:03] Production.INFO: ==22156== Releasing lock...
[2025-01-12 08:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:28:04] Production.INFO: ==22169== Lock acquired, processing the job...
[2025-01-12 08:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:28:04] Production.INFO: ==22171== Lock acquired, processing the job...
[2025-01-12 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:28:04] Production.INFO: ==22161== Lock acquired, processing the job...
[2025-01-12 08:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:28:04] Production.INFO: ==22163== Lock acquired, processing the job...
[2025-01-12 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:28:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:28:04] Production.INFO: ==22167== Lock acquired, processing the job...
[2025-01-12 08:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:28:04] Production.INFO: ==22165== Lock acquired, processing the job...
[2025-01-12 08:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:28:04] Production.INFO: count ==21
[2025-01-12 08:28:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:28:04] Production.INFO: count ==21
[2025-01-12 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230371') start
[2025-01-12 08:28:04] Production.ERROR: done
[2025-01-12 08:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:28:04] Production.INFO: Account Balance Start.
[2025-01-12 08:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:28:04] Production.INFO: 117
[2025-01-12 08:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230371') end
[2025-01-12 08:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:28:04] Production.INFO: 1
[2025-01-12 08:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:28:04] Production.INFO: ==22171== Releasing lock...
[2025-01-12 08:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:28:04] Production.ERROR: done
[2025-01-12 08:28:04] Production.INFO: ==22163== Releasing lock...
[2025-01-12 08:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:28:04] Production.INFO: Total Charge 0
[2025-01-12 08:28:04] Production.INFO: CreateAllLog End
[2025-01-12 08:28:05] Production.INFO: Account Balance End.
[2025-01-12 08:28:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:28:05] Production.INFO: ==22167== Releasing lock...
[2025-01-12 08:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:28:05
[end_date_ymd] => 2025-01-12 08:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:28:05' and `end` < '2025-01-12 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-01-12 08:28:12] Production.ERROR: CronJobId end10
[2025-01-12 08:28:12] Production.INFO: ==22165== Releasing lock...
[2025-01-12 08:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:28:13] Production.INFO: call_cost start
[2025-01-12 08:28:13] Production.INFO: call_cost end
[2025-01-12 08:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:28:14] Production.INFO: ==22161== Releasing lock...
[2025-01-12 08:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:28:19] Production.INFO: count ==54
[2025-01-12 08:28:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:28:05 - End Time 2025-01-12 08:28:05
[2025-01-12 08:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230375', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230375', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230375', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230375', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:28:19] Production.INFO: ProcessCDR(1,14230375,1,1,2)
[2025-01-12 08:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230375', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230375', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:28:22] Production.INFO: ==22169== Releasing lock...
[2025-01-12 08:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:28:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:29:01] Production.INFO: ==22246== Lock acquired, processing the job...
[2025-01-12 13:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:29:01] Production.INFO: neon service started
[2025-01-12 13:29:01] Production.INFO: neon service started
[2025-01-12 13:29:01] Production.INFO: ==22246== Releasing lock...
[2025-01-12 13:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:29:02] Production.INFO: ==22248== Lock acquired, processing the job...
[2025-01-12 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:29:02] Production.INFO: ==22250== Lock acquired, processing the job...
[2025-01-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:29:02] Production.INFO: ==22250== Releasing lock...
[2025-01-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:29:02] Production.INFO: ==22248== Releasing lock...
[2025-01-12 08:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:29:03] Production.INFO: ==22259== Lock acquired, processing the job...
[2025-01-12 08:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:29:03] Production.INFO: ==22253== Lock acquired, processing the job...
[2025-01-12 08:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:29:03] Production.INFO: Account Balance Start.
[2025-01-12 08:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:29:03] Production.INFO: 117
[2025-01-12 08:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:29:03] Production.INFO: ==22255== Lock acquired, processing the job...
[2025-01-12 08:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:29:03] Production.INFO: ==22263== Lock acquired, processing the job...
[2025-01-12 08:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:29:03] Production.INFO: ==22257== Lock acquired, processing the job...
[2025-01-12 08:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:29:04] Production.INFO: ==22261== Lock acquired, processing the job...
[2025-01-12 08:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:29:04] Production.INFO: count ==21
[2025-01-12 08:29:04] Production.INFO: Total Charge 0
[2025-01-12 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-01-12 08:29:04] Production.INFO: count ==21
[2025-01-12 08:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:29:04] Production.INFO: CreateAllLog End
[2025-01-12 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230377') start
[2025-01-12 08:29:04] Production.INFO: ==22255== Releasing lock...
[2025-01-12 08:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230377') end
[2025-01-12 08:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:29:04] Production.INFO: 1
[2025-01-12 08:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:29:04] Production.ERROR: done
[2025-01-12 08:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:29:04] Production.INFO: ==22263== Releasing lock...
[2025-01-12 08:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:29:04] Production.ERROR: done
[2025-01-12 08:29:04] Production.INFO: Account Balance End.
[2025-01-12 08:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:29:04] Production.INFO: ==22259== Releasing lock...
[2025-01-12 08:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:29:05
[end_date_ymd] => 2025-01-12 08:29:05
[RateCDR] => 1
)
[2025-01-12 08:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:29:05' and `end` < '2025-01-12 08:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:29:10] Production.ERROR: CronJobId end10
[2025-01-12 08:29:10] Production.INFO: ==22257== Releasing lock...
[2025-01-12 08:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:29:12] Production.INFO: call_cost start
[2025-01-12 08:29:12] Production.INFO: call_cost end
[2025-01-12 08:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:29:13] Production.INFO: ==22253== Releasing lock...
[2025-01-12 08:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:29:18] Production.INFO: count ==54
[2025-01-12 08:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:29:05 - End Time 2025-01-12 08:29:05
[2025-01-12 08:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230380', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230380', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230380', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230380', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:29:18] Production.INFO: ProcessCDR(1,14230380,1,1,2)
[2025-01-12 08:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:29:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:29:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:29:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230380', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:29:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230380', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:29:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:29:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:29:21] Production.INFO: ==22261== Releasing lock...
[2025-01-12 08:29:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:29:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:30:02] Production.INFO: ==22337== Lock acquired, processing the job...
[2025-01-12 13:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:30:02] Production.INFO: neon service started
[2025-01-12 13:30:02] Production.INFO: neon service started
[2025-01-12 13:30:02] Production.INFO: ==22337== Releasing lock...
[2025-01-12 13:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:30:02] Production.INFO: ==22339== Lock acquired, processing the job...
[2025-01-12 08:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:30:02] Production.INFO: ==22341== Lock acquired, processing the job...
[2025-01-12 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:30:03] Production.INFO: ==22341== Releasing lock...
[2025-01-12 13:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:30:03] Production.INFO: ==22339== Releasing lock...
[2025-01-12 08:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:30:04] Production.INFO: ==22344== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 08:30:04] Production.INFO: ==22350== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 08:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:30:04] Production.ERROR: CronJob PID - 22350
[2025-01-12 08:30:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 08:30:04] Production.ERROR: CronJob ID - 10
[2025-01-12 08:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:30:00
[2025-01-12 08:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:30:04] Production.INFO: ==22358== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 08:30:04] Production.INFO: ==22344== Releasing lock...
[2025-01-12 08:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 08:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 08:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:30:04] Production.INFO: ==22348== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:30:04] Production.INFO: ==22346== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 08:30:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:30:04] Production.INFO: count ==21
[2025-01-12 08:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230381') start
[2025-01-12 08:30:04] Production.INFO: ==22352== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:30:04] Production.INFO: ==22354== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:30:04] Production.INFO: Account Balance Start.
[2025-01-12 08:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:30:04] Production.INFO: ==22356== Lock acquired, processing the job...
[2025-01-12 08:30:04] Production.INFO: 117
[2025-01-12 08:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 08:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:30:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230381') end
[2025-01-12 08:30:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:30:05] Production.INFO: 1
[2025-01-12 08:30:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:30:05] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:30:05] Production.INFO: ==22348== Releasing lock...
[2025-01-12 08:30:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:30:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:30:05] Production.INFO: ==22358== Releasing lock...
[2025-01-12 08:30:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:30:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:30:05] Production.INFO: Date 2025-01-09
[2025-01-12 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 08:30:05] Production.INFO: Date 2025-01-10
[2025-01-12 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 08:30:05] Production.ERROR: done
[2025-01-12 08:30:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:30:05] Production.INFO: Date 2025-01-11
[2025-01-12 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 08:30:05] Production.ERROR: done
[2025-01-12 08:30:05] Production.INFO: Date 2025-01-12
[2025-01-12 08:30:05] Production.INFO: Reseller ==> 0
[2025-01-12 08:30:05] Production.ERROR: done
[2025-01-12 08:30:05] Production.INFO: Total Charge 0
[2025-01-12 08:30:05] Production.INFO: CreateAllLog End
[2025-01-12 08:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 08:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230386', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 08:30:05] Production.INFO: Account Balance End.
[2025-01-12 08:30:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:30:05] Production.INFO: ==22352== Releasing lock...
[2025-01-12 08:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:30:06
[end_date_ymd] => 2025-01-12 08:30:06
[RateCDR] => 1
)
[2025-01-12 08:30:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:30:06' and `end` < '2025-01-12 08:30:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230386', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 08:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 08:30:09] Production.INFO: ProcessCDR(1,14230386,1,1,2)
[2025-01-12 08:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230386,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230386,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:30:09] Production.INFO: ==22356== Releasing lock...
[2025-01-12 08:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 08:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 08:30:13] Production.ERROR: CronJobId end10
[2025-01-12 08:30:13] Production.INFO: ==22350== Releasing lock...
[2025-01-12 08:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:30:15] Production.INFO: call_cost start
[2025-01-12 08:30:15] Production.INFO: call_cost end
[2025-01-12 08:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:30:16] Production.INFO: ==22346== Releasing lock...
[2025-01-12 08:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:30:19] Production.INFO: count ==54
[2025-01-12 08:30:20] Production.ERROR: pbx CDR StartTime 2025-01-12 05:30:06 - End Time 2025-01-12 08:30:06
[2025-01-12 08:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230385', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230385', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230385', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230385', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:30:20] Production.INFO: ProcessCDR(1,14230385,1,1,2)
[2025-01-12 08:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230385', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230385', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:30:23] Production.INFO: ==22354== Releasing lock...
[2025-01-12 08:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:30:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:31:01] Production.INFO: ==22429== Lock acquired, processing the job...
[2025-01-12 13:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:31:01] Production.INFO: neon service started
[2025-01-12 13:31:01] Production.INFO: neon service started
[2025-01-12 13:31:01] Production.INFO: ==22429== Releasing lock...
[2025-01-12 13:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:31:02] Production.INFO: ==22433== Lock acquired, processing the job...
[2025-01-12 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:31:02] Production.INFO: ==22433== Releasing lock...
[2025-01-12 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:31:02] Production.INFO: ==22431== Lock acquired, processing the job...
[2025-01-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:31:02] Production.INFO: ==22431== Releasing lock...
[2025-01-12 08:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:31:03] Production.INFO: ==22436== Lock acquired, processing the job...
[2025-01-12 08:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:31:03] Production.INFO: ==22440== Lock acquired, processing the job...
[2025-01-12 08:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:31:03] Production.INFO: ==22444== Lock acquired, processing the job...
[2025-01-12 08:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:31:03] Production.INFO: ==22438== Lock acquired, processing the job...
[2025-01-12 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:31:03] Production.INFO: ==22442== Lock acquired, processing the job...
[2025-01-12 08:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:31:03] Production.INFO: ==22446== Lock acquired, processing the job...
[2025-01-12 08:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:31:03] Production.INFO: ==22438== Releasing lock...
[2025-01-12 08:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:31:03] Production.INFO: Account Balance Start.
[2025-01-12 08:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:31:03] Production.INFO: 117
[2025-01-12 08:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:31:03] Production.ERROR: done
[2025-01-12 08:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 08:31:04] Production.INFO: count ==21
[2025-01-12 08:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 08: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-01-12 08:31:04] Production.INFO: count ==21
[2025-01-12 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230390') start
[2025-01-12 08:31:04] Production.ERROR: done
[2025-01-12 08:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230390') end
[2025-01-12 08:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:31:04] Production.INFO: 1
[2025-01-12 08:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:31:04] Production.INFO: ==22446== Releasing lock...
[2025-01-12 08:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:31:04] Production.INFO: Total Charge 0
[2025-01-12 08:31:04] Production.INFO: CreateAllLog End
[2025-01-12 08:31:04] Production.INFO: Account Balance End.
[2025-01-12 08:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:31:04] Production.INFO: ==22442== Releasing lock...
[2025-01-12 08:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:31:05
[end_date_ymd] => 2025-01-12 08:31:05
[RateCDR] => 1
)
[2025-01-12 08:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:31:05' and `end` < '2025-01-12 08:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:31:11] Production.ERROR: CronJobId end10
[2025-01-12 08:31:11] Production.INFO: ==22440== Releasing lock...
[2025-01-12 08:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:31:13] Production.INFO: call_cost start
[2025-01-12 08:31:13] Production.INFO: call_cost end
[2025-01-12 08:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:31:14] Production.INFO: ==22436== Releasing lock...
[2025-01-12 08:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:31:18] Production.INFO: count ==55
[2025-01-12 08:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:31:05 - End Time 2025-01-12 08:31:05
[2025-01-12 08:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230391', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230391', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230391', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230391', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:31:18] Production.INFO: ProcessCDR(1,14230391,1,1,2)
[2025-01-12 08:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230391,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:31:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230391,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230391', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:31:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230391', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:31:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:31:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:31:22] Production.INFO: ==22444== Releasing lock...
[2025-01-12 08:31:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:31:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:32:02] Production.INFO: ==22514== Lock acquired, processing the job...
[2025-01-12 13:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:32:02] Production.INFO: neon service started
[2025-01-12 13:32:02] Production.INFO: neon service started
[2025-01-12 13:32:02] Production.INFO: ==22514== Releasing lock...
[2025-01-12 13:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:32:02] Production.INFO: ==22516== Lock acquired, processing the job...
[2025-01-12 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:32:02] Production.INFO: ==22516== Releasing lock...
[2025-01-12 08:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:32:02] Production.INFO: ==22518== Lock acquired, processing the job...
[2025-01-12 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:32:03] Production.INFO: ==22518== Releasing lock...
[2025-01-12 13:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:32:03] Production.INFO: ==22525== Lock acquired, processing the job...
[2025-01-12 08:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:32:03] Production.INFO: ==22530== Lock acquired, processing the job...
[2025-01-12 08:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:32:03] Production.INFO: ==22521== Lock acquired, processing the job...
[2025-01-12 08:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:32:03] Production.INFO: ==22523== Lock acquired, processing the job...
[2025-01-12 08:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:32:04] Production.INFO: ==22527== Lock acquired, processing the job...
[2025-01-12 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:32:04] Production.INFO: ==22532== Lock acquired, processing the job...
[2025-01-12 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:32:04] Production.ERROR: done
[2025-01-12 08:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:32:04] Production.INFO: Account Balance Start.
[2025-01-12 08:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:32:04] Production.INFO: 117
[2025-01-12 08:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 08: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-01-12 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:32:04] Production.INFO: count ==21
[2025-01-12 08:32:04] Production.ERROR: done
[2025-01-12 08:32:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:32:04] Production.INFO: count ==21
[2025-01-12 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230394') start
[2025-01-12 08:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:32:04] Production.INFO: ==22523== Releasing lock...
[2025-01-12 08:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:32:04] Production.INFO: Total Charge 0
[2025-01-12 08:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230394') end
[2025-01-12 08:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:32:04] Production.INFO: 1
[2025-01-12 08:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:32:04] Production.INFO: CreateAllLog End
[2025-01-12 08:32:04] Production.INFO: ==22532== Releasing lock...
[2025-01-12 08:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:32:04] Production.INFO: Account Balance End.
[2025-01-12 08:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:32:04] Production.INFO: ==22527== Releasing lock...
[2025-01-12 08:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:32:05
[end_date_ymd] => 2025-01-12 08:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:32:05' and `end` < '2025-01-12 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-01-12 08:32:11] Production.ERROR: CronJobId end10
[2025-01-12 08:32:11] Production.INFO: ==22525== Releasing lock...
[2025-01-12 08:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:32:13] Production.INFO: call_cost start
[2025-01-12 08:32:13] Production.INFO: call_cost end
[2025-01-12 08:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:32:14] Production.INFO: ==22521== Releasing lock...
[2025-01-12 08:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:32:19] Production.INFO: count ==55
[2025-01-12 08:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:32:05 - End Time 2025-01-12 08:32:05
[2025-01-12 08:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230396', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230396', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230396', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230396', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:32:19] Production.INFO: ProcessCDR(1,14230396,1,1,2)
[2025-01-12 08:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230396,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:32:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230396,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230396', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:32:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230396', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:32:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:32:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:32:22] Production.INFO: ==22530== Releasing lock...
[2025-01-12 08:32:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:32:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:33:01] Production.INFO: ==22641== Lock acquired, processing the job...
[2025-01-12 13:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:33:01] Production.INFO: neon service started
[2025-01-12 13:33:01] Production.INFO: neon service started
[2025-01-12 13:33:01] Production.INFO: ==22641== Releasing lock...
[2025-01-12 13:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:33:01] Production.INFO: ==22643== Lock acquired, processing the job...
[2025-01-12 08:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:33:02] Production.INFO: ==22643== Releasing lock...
[2025-01-12 08:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:33:02] Production.INFO: ==22645== Lock acquired, processing the job...
[2025-01-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:33:02] Production.INFO: ==22645== Releasing lock...
[2025-01-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:33:02] Production.INFO: ==22648== Lock acquired, processing the job...
[2025-01-12 08:33:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:33:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:33:02] Production.INFO: ==22650== Lock acquired, processing the job...
[2025-01-12 08:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:33:02] Production.INFO: ==22654== Lock acquired, processing the job...
[2025-01-12 08:33:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:33:03] Production.INFO: Account Balance Start.
[2025-01-12 08:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:33:03] Production.INFO: 117
[2025-01-12 08:33:03] Production.INFO: ==22650== Releasing lock...
[2025-01-12 08:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:33:03] Production.INFO: ==22652== Lock acquired, processing the job...
[2025-01-12 08:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:33:03] Production.INFO: ==22656== Lock acquired, processing the job...
[2025-01-12 08:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:33:03] Production.INFO: Total Charge 0
[2025-01-12 08:33:03] Production.INFO: CreateAllLog End
[2025-01-12 08:33:03] Production.INFO: ==22658== Lock acquired, processing the job...
[2025-01-12 08:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:33:03] Production.INFO: Account Balance End.
[2025-01-12 08:33:03] Production.ERROR: CronJobId end 12
[2025-01-12 08:33:03] Production.INFO: ==22654== Releasing lock...
[2025-01-12 08:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:33:03] Production.ERROR: done
[2025-01-12 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-01-12 08:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:33:03] Production.INFO: count ==21
[2025-01-12 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-01-12 08:33:03] Production.INFO: count ==21
[2025-01-12 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230400') start
[2025-01-12 08:33:03] Production.ERROR: done
[2025-01-12 08:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230400') end
[2025-01-12 08:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:33:03] Production.INFO: 1
[2025-01-12 08:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:33:04] Production.INFO: ==22658== Releasing lock...
[2025-01-12 08:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:33:04
[end_date_ymd] => 2025-01-12 08:33:04
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:33:04' and `end` < '2025-01-12 08: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-01-12 08:33:10] Production.ERROR: CronJobId end10
[2025-01-12 08:33:10] Production.INFO: ==22652== Releasing lock...
[2025-01-12 08:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:33:12] Production.INFO: call_cost start
[2025-01-12 08:33:12] Production.INFO: call_cost end
[2025-01-12 08:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:33:13] Production.INFO: ==22648== Releasing lock...
[2025-01-12 08:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:33:17] Production.INFO: count ==55
[2025-01-12 08:33:17] Production.ERROR: pbx CDR StartTime 2025-01-12 05:33:04 - End Time 2025-01-12 08:33:04
[2025-01-12 08:33:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230401', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230401', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230401', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:33:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230401', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:33:17] Production.INFO: ProcessCDR(1,14230401,1,1,2)
[2025-01-12 08:33:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:33:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230401,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:33:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230401,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230401', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230401', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:33:21] Production.INFO: ==22656== Releasing lock...
[2025-01-12 08:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:33:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:34:02] Production.INFO: ==22730== Lock acquired, processing the job...
[2025-01-12 13:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:34:02] Production.INFO: neon service started
[2025-01-12 13:34:02] Production.INFO: neon service started
[2025-01-12 13:34:02] Production.INFO: ==22730== Releasing lock...
[2025-01-12 13:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:34:02] Production.INFO: ==22732== Lock acquired, processing the job...
[2025-01-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:34:02] Production.INFO: ==22732== Releasing lock...
[2025-01-12 08:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:34:02] Production.INFO: ==22735== Lock acquired, processing the job...
[2025-01-12 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:34:02] Production.INFO: ==22735== Releasing lock...
[2025-01-12 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:34:03] Production.INFO: ==22743== Lock acquired, processing the job...
[2025-01-12 08:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:34:03] Production.INFO: ==22747== Lock acquired, processing the job...
[2025-01-12 08:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:34:03] Production.INFO: Account Balance Start.
[2025-01-12 08:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:34:03] Production.INFO: 117
[2025-01-12 08:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:34:03] Production.INFO: ==22737== Lock acquired, processing the job...
[2025-01-12 08:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08: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-01-12 08:34:03] Production.INFO: count ==21
[2025-01-12 08:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 08: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-01-12 08:34:03] Production.INFO: ==22739== Lock acquired, processing the job...
[2025-01-12 08:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:34:03] Production.INFO: count ==21
[2025-01-12 08:34:03] Production.INFO: ==22741== Lock acquired, processing the job...
[2025-01-12 08:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230403') start
[2025-01-12 08:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:34:03] Production.INFO: ==22745== Lock acquired, processing the job...
[2025-01-12 08:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230403') end
[2025-01-12 08:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:34:03] Production.INFO: 1
[2025-01-12 08:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:34:04] Production.INFO: Total Charge 0
[2025-01-12 08:34:04] Production.INFO: CreateAllLog End
[2025-01-12 08:34:04] Production.INFO: ==22747== Releasing lock...
[2025-01-12 08:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:34:04] Production.INFO: ==22739== Releasing lock...
[2025-01-12 08:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:34:04] Production.ERROR: done
[2025-01-12 08:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:34:04] Production.INFO: Account Balance End.
[2025-01-12 08:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:34:04] Production.INFO: ==22743== Releasing lock...
[2025-01-12 08:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:34:04] Production.ERROR: done
[2025-01-12 08:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:34:05
[end_date_ymd] => 2025-01-12 08:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:34:05' and `end` < '2025-01-12 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-01-12 08:34:10] Production.ERROR: CronJobId end10
[2025-01-12 08:34:10] Production.INFO: ==22741== Releasing lock...
[2025-01-12 08:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:34:13] Production.INFO: call_cost start
[2025-01-12 08:34:13] Production.INFO: call_cost end
[2025-01-12 08:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:34:13] Production.INFO: ==22737== Releasing lock...
[2025-01-12 08:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:34:19] Production.INFO: count ==55
[2025-01-12 08:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:34:05 - End Time 2025-01-12 08:34:05
[2025-01-12 08:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230406', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230406', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230406', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230406', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:34:19] Production.INFO: ProcessCDR(1,14230406,1,1,2)
[2025-01-12 08:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230406,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230406,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230406', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230406', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:34:22] Production.INFO: ==22745== Releasing lock...
[2025-01-12 08:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:34:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:35:01] Production.INFO: ==22814== Lock acquired, processing the job...
[2025-01-12 13:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:35:01] Production.INFO: neon service started
[2025-01-12 13:35:01] Production.INFO: neon service started
[2025-01-12 13:35:01] Production.INFO: ==22814== Releasing lock...
[2025-01-12 13:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:35:01] Production.INFO: ==22816== Lock acquired, processing the job...
[2025-01-12 08:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:35:02] Production.INFO: ==22818== Lock acquired, processing the job...
[2025-01-12 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:35:02] Production.INFO: ==22818== Releasing lock...
[2025-01-12 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:35:02] Production.INFO: ==22816== Releasing lock...
[2025-01-12 08:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:35:02] Production.INFO: ==22823== Lock acquired, processing the job...
[2025-01-12 08:35:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:35:02] Production.INFO: ==22825== Lock acquired, processing the job...
[2025-01-12 08:35:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:35:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:35:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:35:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:35:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:35:02] Production.INFO: ==22831== Lock acquired, processing the job...
[2025-01-12 08:35:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:35:03] Production.INFO: ==22821== Lock acquired, processing the job...
[2025-01-12 08:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:35:03] Production.INFO: ==22829== Lock acquired, processing the job...
[2025-01-12 08:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:35:03] Production.INFO: ==22823== Releasing lock...
[2025-01-12 08:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:35:03] Production.INFO: ==22827== Lock acquired, processing the job...
[2025-01-12 08:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:35:03] Production.INFO: count ==21
[2025-01-12 08:35:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:35:03] Production.INFO: count ==21
[2025-01-12 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230408') start
[2025-01-12 08:35:03] Production.INFO: Account Balance Start.
[2025-01-12 08:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:35:03] Production.INFO: 117
[2025-01-12 08:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230408') end
[2025-01-12 08:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:35:03] Production.INFO: 1
[2025-01-12 08:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:35:03] Production.ERROR: done
[2025-01-12 08:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:35:03] Production.INFO: ==22831== Releasing lock...
[2025-01-12 08:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:35:03] Production.ERROR: done
[2025-01-12 08:35:03] Production.INFO: Total Charge 0
[2025-01-12 08:35:03] Production.INFO: CreateAllLog End
[2025-01-12 08:35:04] Production.INFO: Account Balance End.
[2025-01-12 08:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:35:04] Production.INFO: ==22827== Releasing lock...
[2025-01-12 08:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:35:04
[end_date_ymd] => 2025-01-12 08:35:04
[RateCDR] => 1
)
[2025-01-12 08:35:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:35:04' and `end` < '2025-01-12 08:35:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:35:09] Production.ERROR: CronJobId end10
[2025-01-12 08:35:09] Production.INFO: ==22825== Releasing lock...
[2025-01-12 08:35:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:35:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:35:12] Production.INFO: call_cost start
[2025-01-12 08:35:12] Production.INFO: call_cost end
[2025-01-12 08:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:35:13] Production.INFO: ==22821== Releasing lock...
[2025-01-12 08:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:35:18] Production.INFO: count ==55
[2025-01-12 08:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:35:04 - End Time 2025-01-12 08:35:04
[2025-01-12 08:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230411', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230411', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230411', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230411', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:35:18] Production.INFO: ProcessCDR(1,14230411,1,1,2)
[2025-01-12 08:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230411', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230411', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:35:21] Production.INFO: ==22829== Releasing lock...
[2025-01-12 08:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:35:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:36:01] Production.INFO: ==22893== Lock acquired, processing the job...
[2025-01-12 13:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:36:01] Production.INFO: neon service started
[2025-01-12 13:36:01] Production.INFO: neon service started
[2025-01-12 13:36:01] Production.INFO: ==22893== Releasing lock...
[2025-01-12 13:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:36:02] Production.INFO: ==22895== Lock acquired, processing the job...
[2025-01-12 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:36:02] Production.INFO: ==22897== Lock acquired, processing the job...
[2025-01-12 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:36:02] Production.INFO: ==22897== Releasing lock...
[2025-01-12 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:36:02] Production.INFO: ==22895== Releasing lock...
[2025-01-12 08:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:36:03] Production.INFO: ==22900== Lock acquired, processing the job...
[2025-01-12 08:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:36:03] Production.INFO: ==22906== Lock acquired, processing the job...
[2025-01-12 08:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:36:03] Production.INFO: ==22910== Lock acquired, processing the job...
[2025-01-12 08:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:36:03] Production.INFO: ==22908== Lock acquired, processing the job...
[2025-01-12 08:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:36:03] Production.INFO: Account Balance Start.
[2025-01-12 08:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:36:03] Production.INFO: 117
[2025-01-12 08:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 08: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-01-12 08:36:03] Production.INFO: ==22902== Lock acquired, processing the job...
[2025-01-12 08:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:36:03] Production.INFO: count ==21
[2025-01-12 08: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-01-12 08:36:03] Production.INFO: count ==21
[2025-01-12 08:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230414') start
[2025-01-12 08:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:36:04] Production.INFO: ==22904== Lock acquired, processing the job...
[2025-01-12 08:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:36:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230414') end
[2025-01-12 08:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:36:04] Production.INFO: 1
[2025-01-12 08:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:36:04] Production.INFO: ==22910== Releasing lock...
[2025-01-12 08:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:36:04] Production.INFO: Total Charge 0
[2025-01-12 08:36:04] Production.INFO: CreateAllLog End
[2025-01-12 08:36:04] Production.INFO: ==22902== Releasing lock...
[2025-01-12 08:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:36:04] Production.ERROR: done
[2025-01-12 08:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:36:04] Production.INFO: Account Balance End.
[2025-01-12 08:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:36:04] Production.INFO: ==22906== Releasing lock...
[2025-01-12 08:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:36:04] Production.ERROR: done
[2025-01-12 08:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:36:05
[end_date_ymd] => 2025-01-12 08:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:36:05' and `end` < '2025-01-12 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-01-12 08:36:11] Production.ERROR: CronJobId end10
[2025-01-12 08:36:11] Production.INFO: ==22904== Releasing lock...
[2025-01-12 08:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:36:13] Production.INFO: call_cost start
[2025-01-12 08:36:13] Production.INFO: call_cost end
[2025-01-12 08:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:36:14] Production.INFO: ==22900== Releasing lock...
[2025-01-12 08:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:36:18] Production.INFO: count ==55
[2025-01-12 08:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:36:05 - End Time 2025-01-12 08:36:05
[2025-01-12 08:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230416', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230416', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230416', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230416', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:36:18] Production.INFO: ProcessCDR(1,14230416,1,1,2)
[2025-01-12 08:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230416', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230416', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:36:22] Production.INFO: ==22908== Releasing lock...
[2025-01-12 08:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:36:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:37:02] Production.INFO: ==22969== Lock acquired, processing the job...
[2025-01-12 13:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:37:02] Production.INFO: neon service started
[2025-01-12 13:37:02] Production.INFO: neon service started
[2025-01-12 13:37:02] Production.INFO: ==22969== Releasing lock...
[2025-01-12 13:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:37:02] Production.INFO: ==22971== Lock acquired, processing the job...
[2025-01-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:37:02] Production.INFO: ==22971== Releasing lock...
[2025-01-12 08:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:37:03] Production.INFO: ==22973== Lock acquired, processing the job...
[2025-01-12 13:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:37:03] Production.INFO: ==22973== Releasing lock...
[2025-01-12 13:37:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:37:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:37:03] Production.INFO: ==22980== Lock acquired, processing the job...
[2025-01-12 08:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:37:04] Production.INFO: ==22976== Lock acquired, processing the job...
[2025-01-12 08:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:37:04] Production.INFO: ==22978== Lock acquired, processing the job...
[2025-01-12 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:37:04] Production.INFO: ==22982== Lock acquired, processing the job...
[2025-01-12 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:37:04] Production.INFO: ==22984== Lock acquired, processing the job...
[2025-01-12 08:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:37:04] Production.INFO: ==22986== Lock acquired, processing the job...
[2025-01-12 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:37:04] Production.INFO: Account Balance Start.
[2025-01-12 08:37:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:37:04] Production.INFO: 117
[2025-01-12 08:37:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 08:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:37:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:37:04] Production.INFO: count ==21
[2025-01-12 08:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230420') start
[2025-01-12 08:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:37:04] Production.INFO: ==22978== Releasing lock...
[2025-01-12 08:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:37:04] Production.ERROR: done
[2025-01-12 08:37:04] Production.INFO: Total Charge 0
[2025-01-12 08:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:37:04] Production.INFO: CreateAllLog End
[2025-01-12 08:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230420') end
[2025-01-12 08:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:37:04] Production.INFO: 1
[2025-01-12 08:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:37:04] Production.ERROR: done
[2025-01-12 08:37:04] Production.INFO: ==22986== Releasing lock...
[2025-01-12 08:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:37:04] Production.INFO: Account Balance End.
[2025-01-12 08:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:37:04] Production.INFO: ==22982== Releasing lock...
[2025-01-12 08:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:37:05
[end_date_ymd] => 2025-01-12 08:37:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:37:05' and `end` < '2025-01-12 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-01-12 08:37:11] Production.ERROR: CronJobId end10
[2025-01-12 08:37:11] Production.INFO: ==22980== Releasing lock...
[2025-01-12 08:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:37:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:37:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:37:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:37:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:37:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:37:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:37:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:37:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:37:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:37:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:37:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:37:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:37:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:37:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:37:14] Production.INFO: call_cost start
[2025-01-12 08:37:14] Production.INFO: call_cost end
[2025-01-12 08:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:37:15] Production.INFO: ==22976== Releasing lock...
[2025-01-12 08:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:37:19] Production.INFO: count ==55
[2025-01-12 08:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:37:05 - End Time 2025-01-12 08:37:05
[2025-01-12 08:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230421', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230421', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230421', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230421', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:37:19] Production.INFO: ProcessCDR(1,14230421,1,1,2)
[2025-01-12 08:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230421', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230421', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:37:22] Production.INFO: ==22984== Releasing lock...
[2025-01-12 08:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:37:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:38:01] Production.INFO: ==23063== Lock acquired, processing the job...
[2025-01-12 13:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:38:01] Production.INFO: neon service started
[2025-01-12 13:38:01] Production.INFO: neon service started
[2025-01-12 13:38:01] Production.INFO: ==23063== Releasing lock...
[2025-01-12 13:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:38:02] Production.INFO: ==23065== Lock acquired, processing the job...
[2025-01-12 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:38:02] Production.INFO: ==23065== Releasing lock...
[2025-01-12 08:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:38:02] Production.INFO: ==23067== Lock acquired, processing the job...
[2025-01-12 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:38:02] Production.INFO: ==23067== Releasing lock...
[2025-01-12 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:38:03] Production.INFO: ==23074== Lock acquired, processing the job...
[2025-01-12 08:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:38:03] Production.INFO: ==23080== Lock acquired, processing the job...
[2025-01-12 08:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 08:38:03] Production.INFO: count ==21
[2025-01-12 08:38:03] Production.INFO: ==23070== Lock acquired, processing the job...
[2025-01-12 08:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 08:38:03] Production.INFO: count ==21
[2025-01-12 08:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230422') start
[2025-01-12 08:38:03] Production.INFO: ==23072== Lock acquired, processing the job...
[2025-01-12 08:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:38:04] Production.INFO: ==23076== Lock acquired, processing the job...
[2025-01-12 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230422') end
[2025-01-12 08:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:38:04] Production.INFO: 1
[2025-01-12 08:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:38:04] Production.INFO: ==23078== Lock acquired, processing the job...
[2025-01-12 08:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:38:04] Production.INFO: ==23080== Releasing lock...
[2025-01-12 08:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:38:04] Production.INFO: Account Balance Start.
[2025-01-12 08:38:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:38:04] Production.INFO: 117
[2025-01-12 08:38:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:38:04] Production.INFO: ==23072== Releasing lock...
[2025-01-12 08:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:38:04] Production.INFO: Total Charge 0
[2025-01-12 08:38:04] Production.INFO: CreateAllLog End
[2025-01-12 08:38:04] Production.ERROR: done
[2025-01-12 08:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:38:04] Production.ERROR: done
[2025-01-12 08:38:04] Production.INFO: Account Balance End.
[2025-01-12 08:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:38:04] Production.INFO: ==23076== Releasing lock...
[2025-01-12 08:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:38:05
[end_date_ymd] => 2025-01-12 08:38:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:38:05' and `end` < '2025-01-12 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-01-12 08:38:11] Production.ERROR: CronJobId end10
[2025-01-12 08:38:11] Production.INFO: ==23074== Releasing lock...
[2025-01-12 08:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:38:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:38:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:38:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:38:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:38:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:38:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:38:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:38:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:38:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:38:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:38:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:38:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:38:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:38:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:38:14] Production.INFO: call_cost start
[2025-01-12 08:38:14] Production.INFO: call_cost end
[2025-01-12 08:38:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:38:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:38:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:38:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:38:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:38:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:38:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:38:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:38:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:38:15] Production.INFO: ==23070== Releasing lock...
[2025-01-12 08:38:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:38:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:38:19] Production.INFO: count ==55
[2025-01-12 08:38:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:38:05 - End Time 2025-01-12 08:38:05
[2025-01-12 08:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230426', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230426', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230426', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230426', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:38:19] Production.INFO: ProcessCDR(1,14230426,1,1,2)
[2025-01-12 08:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230426', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230426', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:38:22] Production.INFO: ==23078== Releasing lock...
[2025-01-12 08:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:38:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:39:02] Production.INFO: ==23142== Lock acquired, processing the job...
[2025-01-12 13:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:39:02] Production.INFO: neon service started
[2025-01-12 13:39:02] Production.INFO: neon service started
[2025-01-12 13:39:02] Production.INFO: ==23142== Releasing lock...
[2025-01-12 13:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:39:02] Production.INFO: ==23144== Lock acquired, processing the job...
[2025-01-12 08:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:39:02] Production.INFO: ==23146== Lock acquired, processing the job...
[2025-01-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:39:02] Production.INFO: ==23146== Releasing lock...
[2025-01-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:39:03] Production.INFO: ==23144== Releasing lock...
[2025-01-12 08:39:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:39:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:39:03] Production.INFO: ==23149== Lock acquired, processing the job...
[2025-01-12 08:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:39:03] Production.INFO: ==23151== Lock acquired, processing the job...
[2025-01-12 08:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:39:04] Production.INFO: ==23155== Lock acquired, processing the job...
[2025-01-12 08:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:39:04] Production.INFO: ==23153== Lock acquired, processing the job...
[2025-01-12 08:39:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:39:04] Production.INFO: Account Balance Start.
[2025-01-12 08:39:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:39:04] Production.INFO: 117
[2025-01-12 08:39:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:39:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:39:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:39:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:39:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:39:04] Production.INFO: ==23151== Releasing lock...
[2025-01-12 08:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:39:04] Production.INFO: ==23157== Lock acquired, processing the job...
[2025-01-12 08:39:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:39:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:39:04] Production.INFO: Total Charge 0
[2025-01-12 08:39:04] Production.INFO: CreateAllLog End
[2025-01-12 08:39:04] Production.INFO: ==23159== Lock acquired, processing the job...
[2025-01-12 08:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 08:39:04] Production.INFO: count ==21
[2025-01-12 08:39:04] Production.ERROR: done
[2025-01-12 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-01-12 08:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:39:04] Production.INFO: count ==21
[2025-01-12 08:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230430') start
[2025-01-12 08:39:04] Production.ERROR: done
[2025-01-12 08:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230430') end
[2025-01-12 08:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:39:04] Production.INFO: 1
[2025-01-12 08:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:39:04] Production.INFO: Account Balance End.
[2025-01-12 08:39:05] Production.INFO: ==23159== Releasing lock...
[2025-01-12 08:39:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:39:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:39:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:39:05] Production.INFO: ==23155== Releasing lock...
[2025-01-12 08:39:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:39:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:39:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:39:05
[end_date_ymd] => 2025-01-12 08:39:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:39:05' and `end` < '2025-01-12 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-01-12 08:39:12] Production.ERROR: CronJobId end10
[2025-01-12 08:39:12] Production.INFO: ==23153== Releasing lock...
[2025-01-12 08:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:39:13] Production.INFO: call_cost start
[2025-01-12 08:39:13] Production.INFO: call_cost end
[2025-01-12 08:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:39:14] Production.INFO: ==23149== Releasing lock...
[2025-01-12 08:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:39:19] Production.INFO: count ==55
[2025-01-12 08:39:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:39:05 - End Time 2025-01-12 08:39:05
[2025-01-12 08:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230431', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230431', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230431', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230431', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:39:19] Production.INFO: ProcessCDR(1,14230431,1,1,2)
[2025-01-12 08:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230431', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230431', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:39:23] Production.INFO: ==23157== Releasing lock...
[2025-01-12 08:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:39:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:40:01] Production.INFO: ==23220== Lock acquired, processing the job...
[2025-01-12 13:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:40:01] Production.INFO: neon service started
[2025-01-12 13:40:01] Production.INFO: neon service started
[2025-01-12 13:40:01] Production.INFO: ==23220== Releasing lock...
[2025-01-12 13:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:40:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 08:40:02] Production.INFO: ==23222== Lock acquired, processing the job...
[2025-01-12 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:40:02] Production.INFO: ==23224== Lock acquired, processing the job...
[2025-01-12 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:40:02] Production.INFO: ==23224== Releasing lock...
[2025-01-12 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:40:02] Production.INFO: ==23222== Releasing lock...
[2025-01-12 08:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:40:03] Production.INFO: ==23234== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:40:03] Production.INFO: ==23236== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:40:03] Production.INFO: ==23226== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 08:40:03] Production.INFO: Account Balance Start.
[2025-01-12 08:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:40:03] Production.INFO: 117
[2025-01-12 08:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:40:03] Production.INFO: ==23240== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:40:03] Production.INFO: ==23228== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:40:03] Production.ERROR: CronJob PID - 23234
[2025-01-12 08:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 08:40:03] Production.ERROR: CronJob ID - 12
[2025-01-12 08:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 08:40:00
[2025-01-12 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:40:03] Production.ERROR: CronJob PID - 23236
[2025-01-12 08:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 08:40:03] Production.ERROR: CronJob ID - 16
[2025-01-12 08:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 08:40:00
[2025-01-12 08:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:40:03] Production.INFO: ==23230== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:40:03] Production.INFO: ==23232== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:40:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:40:03] Production.INFO: ==23238== Lock acquired, processing the job...
[2025-01-12 08:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 08:40:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 08:40:03] Production.INFO: ==23226== Releasing lock...
[2025-01-12 08:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 08:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 08:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:40:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:40:03] Production.INFO: Total Charge 0
[2025-01-12 08: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-01-12 08:40:03] Production.INFO: CreateAllLog End
[2025-01-12 08:40:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:40:04] Production.INFO: count ==21
[2025-01-12 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230435') start
[2025-01-12 08:40:04] Production.ERROR: done
[2025-01-12 08:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:40:04] Production.ERROR: done
[2025-01-12 08:40:04] Production.INFO: ==23230== Releasing lock...
[2025-01-12 08:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:40:04] Production.ERROR: done
[2025-01-12 08:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230435') end
[2025-01-12 08:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:40:04] Production.INFO: 1
[2025-01-12 08:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:40:04] Production.INFO: Account Balance End.
[2025-01-12 08:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 08:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230436', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 08:40:04] Production.INFO: ==23240== Releasing lock...
[2025-01-12 08:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:40:04] Production.INFO: ==23234== Releasing lock...
[2025-01-12 08:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:40:05
[end_date_ymd] => 2025-01-12 08:40:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:40:05' and `end` < '2025-01-12 08: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-01-12 08:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230436', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 08:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 08:40:09] Production.INFO: ProcessCDR(1,14230436,1,1,2)
[2025-01-12 08:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230436,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230436,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:40:09] Production.INFO: ==23238== Releasing lock...
[2025-01-12 08:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 08:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 08:40:13] Production.ERROR: CronJobId end10
[2025-01-12 08:40:13] Production.INFO: ==23232== Releasing lock...
[2025-01-12 08:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:40:14] Production.INFO: call_cost start
[2025-01-12 08:40:14] Production.INFO: call_cost end
[2025-01-12 08:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:40:15] Production.INFO: ==23228== Releasing lock...
[2025-01-12 08:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:40:18] Production.INFO: count ==57
[2025-01-12 08:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:40:05 - End Time 2025-01-12 08:40:05
[2025-01-12 08:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230437', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230437', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230437', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230437', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:40:18] Production.INFO: ProcessCDR(1,14230437,1,1,2)
[2025-01-12 08:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230437,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230437,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230437', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230437', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:40:21] Production.INFO: ==23236== Releasing lock...
[2025-01-12 08:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:40:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:41:02] Production.INFO: ==23295== Lock acquired, processing the job...
[2025-01-12 13:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:41:02] Production.INFO: neon service started
[2025-01-12 13:41:02] Production.INFO: neon service started
[2025-01-12 13:41:02] Production.INFO: ==23295== Releasing lock...
[2025-01-12 13:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:41:02] Production.INFO: ==23297== Lock acquired, processing the job...
[2025-01-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:41:02] Production.INFO: ==23297== Releasing lock...
[2025-01-12 08:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:41:02] Production.INFO: ==23299== Lock acquired, processing the job...
[2025-01-12 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:41:02] Production.INFO: ==23299== Releasing lock...
[2025-01-12 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:41:03] Production.INFO: ==23302== Lock acquired, processing the job...
[2025-01-12 08:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:41:03] Production.INFO: ==23304== Lock acquired, processing the job...
[2025-01-12 08:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:41:03] Production.INFO: ==23308== Lock acquired, processing the job...
[2025-01-12 08:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:41:03] Production.INFO: ==23310== Lock acquired, processing the job...
[2025-01-12 08:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:41:03] Production.INFO: ==23306== Lock acquired, processing the job...
[2025-01-12 08:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:41:03] Production.INFO: ==23312== Lock acquired, processing the job...
[2025-01-12 08:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:41:03] Production.INFO: Account Balance Start.
[2025-01-12 08:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:41:03] Production.INFO: 117
[2025-01-12 08:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:41:04] Production.INFO: ==23304== Releasing lock...
[2025-01-12 08:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:41:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:41:04] Production.INFO: count ==21
[2025-01-12 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230441') start
[2025-01-12 08:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:41:04] Production.ERROR: done
[2025-01-12 08:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230441') end
[2025-01-12 08:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:41:04] Production.INFO: 1
[2025-01-12 08:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:41:04] Production.INFO: Total Charge 0
[2025-01-12 08:41:04] Production.INFO: ==23312== Releasing lock...
[2025-01-12 08:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:41:04] Production.ERROR: done
[2025-01-12 08:41:04] Production.INFO: CreateAllLog End
[2025-01-12 08:41:04] Production.INFO: Account Balance End.
[2025-01-12 08:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:41:04] Production.INFO: ==23308== Releasing lock...
[2025-01-12 08:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:41:05
[end_date_ymd] => 2025-01-12 08:41:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:41:05' and `end` < '2025-01-12 08: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-01-12 08:41:11] Production.ERROR: CronJobId end10
[2025-01-12 08:41:11] Production.INFO: ==23306== Releasing lock...
[2025-01-12 08:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:41:13] Production.INFO: call_cost start
[2025-01-12 08:41:13] Production.INFO: call_cost end
[2025-01-12 08:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:41:14] Production.INFO: ==23302== Releasing lock...
[2025-01-12 08:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:41:18] Production.INFO: count ==58
[2025-01-12 08:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:41:05 - End Time 2025-01-12 08:41:05
[2025-01-12 08:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230442', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230442', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230442', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230442', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:41:18] Production.INFO: ProcessCDR(1,14230442,1,1,2)
[2025-01-12 08:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230442,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230442,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230442', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230442', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:41:21] Production.INFO: ==23310== Releasing lock...
[2025-01-12 08:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:41:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:42:01] Production.INFO: ==23369== Lock acquired, processing the job...
[2025-01-12 13:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:42:01] Production.INFO: neon service started
[2025-01-12 13:42:01] Production.INFO: neon service started
[2025-01-12 13:42:01] Production.INFO: ==23369== Releasing lock...
[2025-01-12 13:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:42:02] Production.INFO: ==23371== Lock acquired, processing the job...
[2025-01-12 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:42:02] Production.INFO: ==23373== Lock acquired, processing the job...
[2025-01-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:42:02] Production.INFO: ==23373== Releasing lock...
[2025-01-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:42:02] Production.INFO: ==23371== Releasing lock...
[2025-01-12 08:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:42:03] Production.INFO: ==23376== Lock acquired, processing the job...
[2025-01-12 08:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:42:03] Production.INFO: ==23380== Lock acquired, processing the job...
[2025-01-12 08:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:42:03] Production.INFO: ==23378== Lock acquired, processing the job...
[2025-01-12 08:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:42:03] Production.INFO: ==23386== Lock acquired, processing the job...
[2025-01-12 08:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:42:03] Production.INFO: ==23382== Lock acquired, processing the job...
[2025-01-12 08:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 08:42:03] Production.INFO: ==23384== Lock acquired, processing the job...
[2025-01-12 08:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:42:03] Production.INFO: count ==21
[2025-01-12 08:42:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:42:04] Production.INFO: count ==21
[2025-01-12 08:42:04] Production.INFO: Account Balance Start.
[2025-01-12 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230444') start
[2025-01-12 08:42:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:42:04] Production.INFO: 117
[2025-01-12 08:42:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:42:04] Production.INFO: ==23378== Releasing lock...
[2025-01-12 08:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230444') end
[2025-01-12 08:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:42:04] Production.INFO: 1
[2025-01-12 08:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:42:04] Production.INFO: Total Charge 0
[2025-01-12 08:42:04] Production.INFO: CreateAllLog End
[2025-01-12 08:42:04] Production.INFO: ==23386== Releasing lock...
[2025-01-12 08:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:42:04] Production.ERROR: done
[2025-01-12 08:42:04] Production.INFO: Account Balance End.
[2025-01-12 08:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:42:04] Production.INFO: ==23382== Releasing lock...
[2025-01-12 08:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:42:04] Production.ERROR: done
[2025-01-12 08:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:42:05
[end_date_ymd] => 2025-01-12 08:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:42:05' and `end` < '2025-01-12 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-01-12 08:42:11] Production.ERROR: CronJobId end10
[2025-01-12 08:42:11] Production.INFO: ==23380== Releasing lock...
[2025-01-12 08:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:42:13] Production.INFO: call_cost start
[2025-01-12 08:42:13] Production.INFO: call_cost end
[2025-01-12 08:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:42:14] Production.INFO: ==23376== Releasing lock...
[2025-01-12 08:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:42:18] Production.INFO: count ==58
[2025-01-12 08:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:42:05 - End Time 2025-01-12 08:42:05
[2025-01-12 08:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230447', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230447', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230447', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230447', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:42:18] Production.INFO: ProcessCDR(1,14230447,1,1,2)
[2025-01-12 08:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230447,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:42:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230447,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230447', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:42:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230447', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:42:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:42:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:42:21] Production.INFO: ==23384== Releasing lock...
[2025-01-12 08:42:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:42:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:43:01] Production.INFO: ==23441== Lock acquired, processing the job...
[2025-01-12 13:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:43:01] Production.INFO: neon service started
[2025-01-12 13:43:01] Production.INFO: neon service started
[2025-01-12 13:43:01] Production.INFO: ==23441== Releasing lock...
[2025-01-12 13:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:43:01] Production.INFO: ==23445== Lock acquired, processing the job...
[2025-01-12 13:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:43:01] Production.INFO: ==23445== Releasing lock...
[2025-01-12 13:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:43:02] Production.INFO: ==23443== Lock acquired, processing the job...
[2025-01-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:43:02] Production.INFO: ==23443== Releasing lock...
[2025-01-12 08:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:43:03] Production.INFO: ==23448== Lock acquired, processing the job...
[2025-01-12 08:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:43:03] Production.INFO: ==23450== Lock acquired, processing the job...
[2025-01-12 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:43:03] Production.INFO: ==23456== Lock acquired, processing the job...
[2025-01-12 08:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:43:03] Production.INFO: ==23452== Lock acquired, processing the job...
[2025-01-12 08:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:43:03] Production.INFO: ==23454== Lock acquired, processing the job...
[2025-01-12 08:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:43:03] Production.INFO: ==23458== Lock acquired, processing the job...
[2025-01-12 08:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:43:03] Production.INFO: ==23450== Releasing lock...
[2025-01-12 08:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:43:03] Production.INFO: Account Balance Start.
[2025-01-12 08:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:43:03] Production.INFO: 117
[2025-01-12 08:43:03] Production.ERROR: done
[2025-01-12 08:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 08: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-01-12 08:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:43:03] Production.INFO: count ==21
[2025-01-12 08:43:03] Production.ERROR: done
[2025-01-12 08: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-01-12 08:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:43:03] Production.INFO: count ==21
[2025-01-12 08:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230451') start
[2025-01-12 08:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:43:04] Production.INFO: Total Charge 0
[2025-01-12 08:43:04] Production.INFO: CreateAllLog End
[2025-01-12 08:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230451') end
[2025-01-12 08:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:43:04] Production.INFO: 1
[2025-01-12 08:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:43:04] Production.INFO: Account Balance End.
[2025-01-12 08:43:04] Production.INFO: ==23458== Releasing lock...
[2025-01-12 08:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:43:04] Production.INFO: ==23454== Releasing lock...
[2025-01-12 08:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:43:04
[end_date_ymd] => 2025-01-12 08:43:04
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:43:04' and `end` < '2025-01-12 08: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-01-12 08:43:11] Production.ERROR: CronJobId end10
[2025-01-12 08:43:11] Production.INFO: ==23452== Releasing lock...
[2025-01-12 08:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:43:13] Production.INFO: call_cost start
[2025-01-12 08:43:13] Production.INFO: call_cost end
[2025-01-12 08:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:43:14] Production.INFO: ==23448== Releasing lock...
[2025-01-12 08:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:43:18] Production.INFO: count ==58
[2025-01-12 08:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:43:04 - End Time 2025-01-12 08:43:04
[2025-01-12 08:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230452', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230452', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230452', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230452', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:43:18] Production.INFO: ProcessCDR(1,14230452,1,1,2)
[2025-01-12 08:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230452,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230452,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230452', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230452', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:43:21] Production.INFO: ==23456== Releasing lock...
[2025-01-12 08:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:43:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:44:02] Production.INFO: ==23516== Lock acquired, processing the job...
[2025-01-12 13:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:44:02] Production.INFO: neon service started
[2025-01-12 13:44:02] Production.INFO: neon service started
[2025-01-12 13:44:02] Production.INFO: ==23516== Releasing lock...
[2025-01-12 13:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:44:02] Production.INFO: ==23518== Lock acquired, processing the job...
[2025-01-12 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:44:02] Production.INFO: ==23518== Releasing lock...
[2025-01-12 08:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:44:02] Production.INFO: ==23520== Lock acquired, processing the job...
[2025-01-12 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:44:02] Production.INFO: ==23520== Releasing lock...
[2025-01-12 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:44:03] Production.INFO: ==23523== Lock acquired, processing the job...
[2025-01-12 08:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:44:03] Production.INFO: ==23525== Lock acquired, processing the job...
[2025-01-12 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:44:03] Production.INFO: ==23527== Lock acquired, processing the job...
[2025-01-12 08:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:44:03] Production.INFO: ==23525== Releasing lock...
[2025-01-12 08:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:44:03] Production.INFO: ==23529== Lock acquired, processing the job...
[2025-01-12 08:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:44:03] Production.INFO: ==23531== Lock acquired, processing the job...
[2025-01-12 08:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:44:04] Production.INFO: Account Balance Start.
[2025-01-12 08:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:44:04] Production.INFO: 117
[2025-01-12 08:44:04] Production.INFO: ==23533== Lock acquired, processing the job...
[2025-01-12 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:44:04] Production.INFO: count ==21
[2025-01-12 08:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:44:04] Production.INFO: count ==21
[2025-01-12 08:44:04] Production.INFO: Total Charge 0
[2025-01-12 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230456') start
[2025-01-12 08:44:04] Production.INFO: CreateAllLog End
[2025-01-12 08:44:04] Production.ERROR: done
[2025-01-12 08:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230456') end
[2025-01-12 08:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:44:04] Production.INFO: 1
[2025-01-12 08:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:44:04] Production.ERROR: done
[2025-01-12 08:44:04] Production.INFO: ==23533== Releasing lock...
[2025-01-12 08:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:44:04] Production.INFO: Account Balance End.
[2025-01-12 08:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:44:04] Production.INFO: ==23529== Releasing lock...
[2025-01-12 08:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:44:05
[end_date_ymd] => 2025-01-12 08:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:44:05' and `end` < '2025-01-12 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-01-12 08:44:11] Production.ERROR: CronJobId end10
[2025-01-12 08:44:11] Production.INFO: ==23527== Releasing lock...
[2025-01-12 08:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:44:14] Production.INFO: call_cost start
[2025-01-12 08:44:14] Production.INFO: call_cost end
[2025-01-12 08:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:44:15] Production.INFO: ==23523== Releasing lock...
[2025-01-12 08:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:44:19] Production.INFO: count ==58
[2025-01-12 08:44:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:44:05 - End Time 2025-01-12 08:44:05
[2025-01-12 08:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230457', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230457', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230457', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230457', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:44:19] Production.INFO: ProcessCDR(1,14230457,1,1,2)
[2025-01-12 08:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230457', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230457', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:44:22] Production.INFO: ==23531== Releasing lock...
[2025-01-12 08:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:44:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:45:01] Production.INFO: ==23590== Lock acquired, processing the job...
[2025-01-12 13:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:45:01] Production.INFO: neon service started
[2025-01-12 13:45:01] Production.INFO: neon service started
[2025-01-12 13:45:01] Production.INFO: ==23590== Releasing lock...
[2025-01-12 13:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:45:01] Production.INFO: ==23592== Lock acquired, processing the job...
[2025-01-12 08:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:45:02] Production.INFO: ==23592== Releasing lock...
[2025-01-12 08:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:45:02] Production.INFO: ==23594== Lock acquired, processing the job...
[2025-01-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:45:02] Production.INFO: ==23594== Releasing lock...
[2025-01-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:45:02] Production.INFO: ==23596== Lock acquired, processing the job...
[2025-01-12 08:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:45:02] Production.INFO: ==23600== Lock acquired, processing the job...
[2025-01-12 08:45:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:45:02] Production.INFO: ==23598== Lock acquired, processing the job...
[2025-01-12 08:45:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:45:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:45:03] Production.INFO: ==23602== Lock acquired, processing the job...
[2025-01-12 08:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:45:03] Production.INFO: ==23598== Releasing lock...
[2025-01-12 08:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:45:03] Production.INFO: ==23604== Lock acquired, processing the job...
[2025-01-12 08:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:45:03] Production.INFO: ==23606== Lock acquired, processing the job...
[2025-01-12 08:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:45:03] Production.INFO: Account Balance Start.
[2025-01-12 08:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:45:03] Production.INFO: 117
[2025-01-12 08:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 08: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-01-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:45:03] Production.INFO: count ==21
[2025-01-12 08: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-01-12 08:45:03] Production.INFO: count ==21
[2025-01-12 08:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230461') start
[2025-01-12 08:45:03] Production.INFO: Total Charge 0
[2025-01-12 08:45:03] Production.INFO: CreateAllLog End
[2025-01-12 08:45:03] Production.ERROR: done
[2025-01-12 08:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230461') end
[2025-01-12 08:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:45:03] Production.INFO: 1
[2025-01-12 08:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:45:04] Production.INFO: ==23606== Releasing lock...
[2025-01-12 08:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:45:04] Production.ERROR: done
[2025-01-12 08:45:04] Production.INFO: Account Balance End.
[2025-01-12 08:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:45:04] Production.INFO: ==23602== Releasing lock...
[2025-01-12 08:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:45:05
[end_date_ymd] => 2025-01-12 08:45:05
[RateCDR] => 1
)
[2025-01-12 08:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:45:05' and `end` < '2025-01-12 08:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:45:11] Production.ERROR: CronJobId end10
[2025-01-12 08:45:11] Production.INFO: ==23600== Releasing lock...
[2025-01-12 08:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:45:13] Production.INFO: call_cost start
[2025-01-12 08:45:13] Production.INFO: call_cost end
[2025-01-12 08:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:45:14] Production.INFO: ==23596== Releasing lock...
[2025-01-12 08:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:45:18] Production.INFO: count ==58
[2025-01-12 08:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:45:05 - End Time 2025-01-12 08:45:05
[2025-01-12 08:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230462', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230462', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230462', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230462', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:45:18] Production.INFO: ProcessCDR(1,14230462,1,1,2)
[2025-01-12 08:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230462', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230462', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:45:21] Production.INFO: ==23604== Releasing lock...
[2025-01-12 08:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:45:21] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:46:02] Production.INFO: ==23664== Lock acquired, processing the job...
[2025-01-12 13:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:46:02] Production.INFO: neon service started
[2025-01-12 13:46:02] Production.INFO: neon service started
[2025-01-12 13:46:02] Production.INFO: ==23664== Releasing lock...
[2025-01-12 13:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:46:02] Production.INFO: ==23669== Lock acquired, processing the job...
[2025-01-12 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:46:02] Production.INFO: ==23669== Releasing lock...
[2025-01-12 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:46:02] Production.INFO: ==23667== Lock acquired, processing the job...
[2025-01-12 08:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:46:03] Production.INFO: ==23667== Releasing lock...
[2025-01-12 08:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:46:03] Production.INFO: ==23671== Lock acquired, processing the job...
[2025-01-12 08:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:46:04] Production.INFO: ==23681== Lock acquired, processing the job...
[2025-01-12 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08: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-01-12 08:46:04] Production.INFO: count ==21
[2025-01-12 08: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-01-12 08:46:04] Production.INFO: ==23673== Lock acquired, processing the job...
[2025-01-12 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:46:04] Production.INFO: count ==21
[2025-01-12 08:46:04] Production.INFO: ==23675== Lock acquired, processing the job...
[2025-01-12 08:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230464') start
[2025-01-12 08:46:04] Production.INFO: ==23677== Lock acquired, processing the job...
[2025-01-12 08:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:46:04] Production.INFO: ==23679== Lock acquired, processing the job...
[2025-01-12 08:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:46:04] Production.INFO: Account Balance Start.
[2025-01-12 08:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:46:04] Production.INFO: 117
[2025-01-12 08:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230464') end
[2025-01-12 08:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:46:04] Production.INFO: 1
[2025-01-12 08:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:46:04] Production.INFO: ==23681== Releasing lock...
[2025-01-12 08:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:46:04] Production.ERROR: done
[2025-01-12 08:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:46:04] Production.INFO: ==23673== Releasing lock...
[2025-01-12 08:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:46:04] Production.ERROR: done
[2025-01-12 08:46:04] Production.INFO: Total Charge 0
[2025-01-12 08:46:04] Production.INFO: CreateAllLog End
[2025-01-12 08:46:05] Production.INFO: Account Balance End.
[2025-01-12 08:46:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:46:05] Production.INFO: ==23677== Releasing lock...
[2025-01-12 08:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:46:05
[end_date_ymd] => 2025-01-12 08:46:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:46:05' and `end` < '2025-01-12 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-01-12 08:46:12] Production.ERROR: CronJobId end10
[2025-01-12 08:46:12] Production.INFO: ==23675== Releasing lock...
[2025-01-12 08:46:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:46:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:46:15] Production.INFO: call_cost start
[2025-01-12 08:46:15] Production.INFO: call_cost end
[2025-01-12 08:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:46:15] Production.INFO: ==23671== Releasing lock...
[2025-01-12 08:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:46:20] Production.INFO: count ==58
[2025-01-12 08:46:20] Production.ERROR: pbx CDR StartTime 2025-01-12 05:46:05 - End Time 2025-01-12 08:46:05
[2025-01-12 08:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230467', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230467', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230467', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230467', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:46:20] Production.INFO: ProcessCDR(1,14230467,1,1,2)
[2025-01-12 08:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230467', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230467', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:46:23] Production.INFO: ==23679== Releasing lock...
[2025-01-12 08:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:46:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:47:01] Production.INFO: ==23740== Lock acquired, processing the job...
[2025-01-12 13:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:47:01] Production.INFO: neon service started
[2025-01-12 13:47:01] Production.INFO: neon service started
[2025-01-12 13:47:01] Production.INFO: ==23740== Releasing lock...
[2025-01-12 13:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:47:01] Production.INFO: ==23742== Lock acquired, processing the job...
[2025-01-12 08:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:47:02] Production.INFO: ==23742== Releasing lock...
[2025-01-12 08:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:47:02] Production.INFO: ==23744== Lock acquired, processing the job...
[2025-01-12 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:47:02] Production.INFO: ==23744== Releasing lock...
[2025-01-12 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:47:03] Production.INFO: ==23749== Lock acquired, processing the job...
[2025-01-12 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:47:03] Production.INFO: ==23747== Lock acquired, processing the job...
[2025-01-12 08:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:47:03] Production.INFO: ==23757== Lock acquired, processing the job...
[2025-01-12 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:47:03] Production.INFO: ==23751== Lock acquired, processing the job...
[2025-01-12 08:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 08:47:03] Production.INFO: ==23753== Lock acquired, processing the job...
[2025-01-12 08:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:47:03] Production.INFO: count ==21
[2025-01-12 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-01-12 08:47:03] Production.INFO: count ==21
[2025-01-12 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230470') start
[2025-01-12 08:47:03] Production.INFO: ==23749== Releasing lock...
[2025-01-12 08:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:47:03] Production.INFO: ==23755== Lock acquired, processing the job...
[2025-01-12 08:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:47:03] Production.INFO: Account Balance Start.
[2025-01-12 08:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:47:03] Production.INFO: 117
[2025-01-12 08:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230470') end
[2025-01-12 08:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:47:03] Production.INFO: 1
[2025-01-12 08:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:47:03] Production.INFO: ==23757== Releasing lock...
[2025-01-12 08:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:47:03] Production.ERROR: done
[2025-01-12 08:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:47:03] Production.ERROR: done
[2025-01-12 08:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:47:03] Production.INFO: Total Charge 0
[2025-01-12 08:47:04] Production.INFO: CreateAllLog End
[2025-01-12 08:47:04] Production.INFO: Account Balance End.
[2025-01-12 08:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:47:04] Production.INFO: ==23753== Releasing lock...
[2025-01-12 08:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:47:04
[end_date_ymd] => 2025-01-12 08:47:04
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:47:04' and `end` < '2025-01-12 08: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-01-12 08:47:10] Production.ERROR: CronJobId end10
[2025-01-12 08:47:10] Production.INFO: ==23751== Releasing lock...
[2025-01-12 08:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:47:13] Production.INFO: call_cost start
[2025-01-12 08:47:13] Production.INFO: call_cost end
[2025-01-12 08:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:47:13] Production.INFO: ==23747== Releasing lock...
[2025-01-12 08:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:47:18] Production.INFO: count ==58
[2025-01-12 08:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:47:04 - End Time 2025-01-12 08:47:04
[2025-01-12 08:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230472', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230472', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230472', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230472', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:47:18] Production.INFO: ProcessCDR(1,14230472,1,1,2)
[2025-01-12 08:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230472', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230472', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:47:22] Production.INFO: ==23755== Releasing lock...
[2025-01-12 08:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:47:22] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:48:01] Production.INFO: ==23813== Lock acquired, processing the job...
[2025-01-12 13:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:48:01] Production.INFO: neon service started
[2025-01-12 13:48:02] Production.INFO: neon service started
[2025-01-12 13:48:02] Production.INFO: ==23813== Releasing lock...
[2025-01-12 13:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:48:02] Production.INFO: ==23815== Lock acquired, processing the job...
[2025-01-12 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:48:02] Production.INFO: ==23815== Releasing lock...
[2025-01-12 08:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:48:02] Production.INFO: ==23817== Lock acquired, processing the job...
[2025-01-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:48:02] Production.INFO: ==23817== Releasing lock...
[2025-01-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:48:03] Production.INFO: ==23821== Lock acquired, processing the job...
[2025-01-12 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:48:03] Production.INFO: ==23819== Lock acquired, processing the job...
[2025-01-12 08:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:48:03] Production.INFO: ==23826== Lock acquired, processing the job...
[2025-01-12 08:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:48:03] Production.INFO: ==23823== Lock acquired, processing the job...
[2025-01-12 08:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:48:03] Production.INFO: Account Balance Start.
[2025-01-12 08:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:48:03] Production.INFO: 117
[2025-01-12 08:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:48:03] Production.INFO: ==23821== Releasing lock...
[2025-01-12 08:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:48:03] Production.INFO: ==23828== Lock acquired, processing the job...
[2025-01-12 08:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:48:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:48:03] Production.INFO: ==23830== Lock acquired, processing the job...
[2025-01-12 08:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:48:03] Production.INFO: Total Charge 0
[2025-01-12 08:48:03] Production.INFO: CreateAllLog End
[2025-01-12 08:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:48:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:48:04] Production.INFO: count ==21
[2025-01-12 08:48:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:48:04] Production.INFO: count ==21
[2025-01-12 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230476') start
[2025-01-12 08:48:04] Production.INFO: Account Balance End.
[2025-01-12 08:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230476') end
[2025-01-12 08:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:48:04] Production.INFO: 1
[2025-01-12 08:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:48:04] Production.INFO: ==23826== Releasing lock...
[2025-01-12 08:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:48:04] Production.ERROR: done
[2025-01-12 08:48:04] Production.INFO: ==23830== Releasing lock...
[2025-01-12 08:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:48:04] Production.ERROR: done
[2025-01-12 08:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:48:05
[end_date_ymd] => 2025-01-12 08:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:48:05' and `end` < '2025-01-12 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-01-12 08:48:11] Production.ERROR: CronJobId end10
[2025-01-12 08:48:11] Production.INFO: ==23823== Releasing lock...
[2025-01-12 08:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:48:13] Production.INFO: call_cost start
[2025-01-12 08:48:13] Production.INFO: call_cost end
[2025-01-12 08:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:48:14] Production.INFO: ==23819== Releasing lock...
[2025-01-12 08:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:48:19] Production.INFO: count ==62
[2025-01-12 08:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:48:05 - End Time 2025-01-12 08:48:05
[2025-01-12 08:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230477', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230477', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230477', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230477', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:48:19] Production.INFO: ProcessCDR(1,14230477,1,1,2)
[2025-01-12 08:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230477', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230477', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:48:23] Production.INFO: ==23828== Releasing lock...
[2025-01-12 08:48:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:48:23] Production.INFO: 28 MB #Memory Used#
[2025-01-12 13:49:01] Production.INFO: ==23922== Lock acquired, processing the job...
[2025-01-12 13:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:49:01] Production.INFO: neon service started
[2025-01-12 13:49:01] Production.INFO: neon service started
[2025-01-12 13:49:01] Production.INFO: ==23922== Releasing lock...
[2025-01-12 13:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:49:02] Production.INFO: ==23924== Lock acquired, processing the job...
[2025-01-12 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:49:02] Production.INFO: ==23926== Lock acquired, processing the job...
[2025-01-12 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:49:02] Production.INFO: ==23926== Releasing lock...
[2025-01-12 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:49:02] Production.INFO: ==23924== Releasing lock...
[2025-01-12 08:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:49:03] Production.INFO: ==23933== Lock acquired, processing the job...
[2025-01-12 08:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:49:03] Production.INFO: ==23929== Lock acquired, processing the job...
[2025-01-12 08:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:49:03] Production.INFO: ==23939== Lock acquired, processing the job...
[2025-01-12 08:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:49:03] Production.INFO: ==23931== Lock acquired, processing the job...
[2025-01-12 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 08:49:03] Production.INFO: count ==21
[2025-01-12 08:49:03] Production.INFO: ==23935== Lock acquired, processing the job...
[2025-01-12 08:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 08:49:03] Production.INFO: count ==21
[2025-01-12 08:49:03] Production.INFO: ==23937== Lock acquired, processing the job...
[2025-01-12 08:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230478') start
[2025-01-12 08:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:49:03] Production.INFO: Account Balance Start.
[2025-01-12 08:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:49:03] Production.INFO: 117
[2025-01-12 08:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:49:03] Production.INFO: ==23931== Releasing lock...
[2025-01-12 08:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230478') end
[2025-01-12 08:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:49:03] Production.INFO: 1
[2025-01-12 08:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:49:04] Production.INFO: ==23939== Releasing lock...
[2025-01-12 08:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:49:04] Production.ERROR: done
[2025-01-12 08:49:04] Production.INFO: Total Charge 0
[2025-01-12 08:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:49:04] Production.INFO: CreateAllLog End
[2025-01-12 08:49:04] Production.ERROR: done
[2025-01-12 08:49:04] Production.INFO: Account Balance End.
[2025-01-12 08:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:49:04] Production.INFO: ==23935== Releasing lock...
[2025-01-12 08:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:49:05
[end_date_ymd] => 2025-01-12 08:49:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:49:05' and `end` < '2025-01-12 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-01-12 08:49:10] Production.ERROR: CronJobId end10
[2025-01-12 08:49:10] Production.INFO: ==23933== Releasing lock...
[2025-01-12 08:49:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:49:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:49:13] Production.INFO: call_cost start
[2025-01-12 08:49:13] Production.INFO: call_cost end
[2025-01-12 08:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:49:13] Production.INFO: ==23929== Releasing lock...
[2025-01-12 08:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:49:18] Production.INFO: count ==64
[2025-01-12 08:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:49:05 - End Time 2025-01-12 08:49:05
[2025-01-12 08:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230482', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230482', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230482', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230482', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:49:18] Production.INFO: ProcessCDR(1,14230482,1,1,2)
[2025-01-12 08:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230482', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230482', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:49:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:49:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:49:22] Production.INFO: ==23937== Releasing lock...
[2025-01-12 08:49:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:49:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:50:01] Production.INFO: ==23993== Lock acquired, processing the job...
[2025-01-12 13:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:50:01] Production.INFO: neon service started
[2025-01-12 13:50:01] Production.INFO: neon service started
[2025-01-12 13:50:01] Production.INFO: ==23993== Releasing lock...
[2025-01-12 13:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:50:02] Production.INFO: ==23995== Lock acquired, processing the job...
[2025-01-12 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:50:02] Production.INFO: ==23995== Releasing lock...
[2025-01-12 08:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:50:02] Production.INFO: ==23997== Lock acquired, processing the job...
[2025-01-12 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:50:02] Production.INFO: ==23997== Releasing lock...
[2025-01-12 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:50:03] Production.INFO: ==24007== Lock acquired, processing the job...
[2025-01-12 08:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:50:03] Production.INFO: ==24011== Lock acquired, processing the job...
[2025-01-12 08:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 08:50:03] Production.INFO: ==24009== Lock acquired, processing the job...
[2025-01-12 08:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:50:03] Production.INFO: ==24001== Lock acquired, processing the job...
[2025-01-12 08:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:50:03] Production.INFO: ==23999== Lock acquired, processing the job...
[2025-01-12 08:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 08:50:03] Production.INFO: Account Balance Start.
[2025-01-12 08:50:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:50:03] Production.INFO: 117
[2025-01-12 08:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:50:04] Production.INFO: ==24003== Lock acquired, processing the job...
[2025-01-12 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:50:04] Production.INFO: ==24005== Lock acquired, processing the job...
[2025-01-12 08:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:50:04] Production.INFO: ==24013== Lock acquired, processing the job...
[2025-01-12 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:50:04] Production.ERROR: done
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 08:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 08:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230486', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:50:04] Production.ERROR: CronJob PID - 24001
[2025-01-12 08:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 08:50:04] Production.ERROR: CronJob ID - 5
[2025-01-12 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:50:00
[2025-01-12 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:50:04] Production.ERROR: CronJob PID - 24003
[2025-01-12 08:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 08:50:04] Production.ERROR: CronJob ID - 7
[2025-01-12 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:50:00
[2025-01-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:50:04] Production.ERROR: CronJob PID - 24005
[2025-01-12 08:50:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 08:50:04] Production.ERROR: CronJob ID - 10
[2025-01-12 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:50:00
[2025-01-12 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:50:04] Production.ERROR: CronJob PID - 24007
[2025-01-12 08:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 08:50:04] Production.ERROR: CronJob ID - 12
[2025-01-12 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:50:00
[2025-01-12 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:50:04] Production.ERROR: CronJob PID - 24009
[2025-01-12 08:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 08:50:04] Production.ERROR: CronJob ID - 16
[2025-01-12 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:50:00
[2025-01-12 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 08:50:04] Production.ERROR: CronJob PID - 24011
[2025-01-12 08:50:04] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 08:50:04] Production.ERROR: CronJob ID - 17
[2025-01-12 08:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 08:50:00
[2025-01-12 08:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 08:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 08:50:04] Production.INFO: ==23999== Releasing lock...
[2025-01-12 08:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 08:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 08:50:04] Production.ERROR: done
[2025-01-12 08:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:50:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:50:04] Production.INFO: count ==21
[2025-01-12 08:50:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:50:04] Production.INFO: count ==21
[2025-01-12 08:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:50:04] Production.ERROR: done
[2025-01-12 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230487') start
[2025-01-12 08:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:50:04] Production.INFO: Total Charge 0
[2025-01-12 08:50:04] Production.INFO: CreateAllLog End
[2025-01-12 08:50:04] Production.INFO: ==24003== Releasing lock...
[2025-01-12 08:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230487') end
[2025-01-12 08:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:50:04] Production.INFO: 1
[2025-01-12 08:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:50:04] Production.INFO: Account Balance End.
[2025-01-12 08:50:04] Production.INFO: ==24013== Releasing lock...
[2025-01-12 08:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:50:04] Production.INFO: ==24007== Releasing lock...
[2025-01-12 08:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:50:05
[end_date_ymd] => 2025-01-12 08:50:05
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:50:05' and `end` < '2025-01-12 08: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-01-12 08:50:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230486', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 08:50:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 08:50:07] Production.INFO: ProcessCDR(1,14230486,1,1,2)
[2025-01-12 08:50:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230486,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:50:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230486,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:50:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:50:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:50:07] Production.INFO: ==24011== Releasing lock...
[2025-01-12 08:50:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 08:50:07] Production.INFO: 26 MB #Memory Used#
[2025-01-12 08:50:14] Production.ERROR: CronJobId end10
[2025-01-12 08:50:14] Production.INFO: ==24005== Releasing lock...
[2025-01-12 08:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:50:16] Production.INFO: call_cost start
[2025-01-12 08:50:16] Production.INFO: call_cost end
[2025-01-12 08:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:50:16] Production.INFO: ==24001== Releasing lock...
[2025-01-12 08:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:50:18] Production.INFO: count ==71
[2025-01-12 08:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:50:05 - End Time 2025-01-12 08:50:05
[2025-01-12 08:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230488', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230488', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230488', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230488', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:50:18] Production.INFO: ProcessCDR(1,14230488,1,1,2)
[2025-01-12 08:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230488,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230488,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230488', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230488', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:50:22] Production.INFO: ==24009== Releasing lock...
[2025-01-12 08:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:50:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:51:02] Production.INFO: ==24073== Lock acquired, processing the job...
[2025-01-12 13:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:51:02] Production.INFO: neon service started
[2025-01-12 13:51:02] Production.INFO: neon service started
[2025-01-12 13:51:02] Production.INFO: ==24073== Releasing lock...
[2025-01-12 13:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:51:02] Production.INFO: ==24075== Lock acquired, processing the job...
[2025-01-12 08:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:51:03] Production.INFO: ==24077== Lock acquired, processing the job...
[2025-01-12 13:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:51:03] Production.INFO: ==24077== Releasing lock...
[2025-01-12 13:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:51:03] Production.INFO: ==24075== Releasing lock...
[2025-01-12 08:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:51:04] Production.INFO: ==24082== Lock acquired, processing the job...
[2025-01-12 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:51:04] Production.INFO: ==24086== Lock acquired, processing the job...
[2025-01-12 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:51:04] Production.INFO: ==24090== Lock acquired, processing the job...
[2025-01-12 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:51:04] Production.INFO: Account Balance Start.
[2025-01-12 08:51:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:51:04] Production.INFO: 117
[2025-01-12 08:51:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:51:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:51:04] Production.INFO: ==24082== Releasing lock...
[2025-01-12 08:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 08:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:51:04] Production.INFO: count ==21
[2025-01-12 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-01-12 08:51:04] Production.INFO: count ==21
[2025-01-12 08:51:04] Production.INFO: ==24080== Lock acquired, processing the job...
[2025-01-12 08:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230491') start
[2025-01-12 08:51:04] Production.INFO: ==24084== Lock acquired, processing the job...
[2025-01-12 08:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:51:04] Production.INFO: ==24088== Lock acquired, processing the job...
[2025-01-12 08:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:51:04] Production.INFO: Total Charge 0
[2025-01-12 08:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230491') end
[2025-01-12 08:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:51:04] Production.INFO: 1
[2025-01-12 08:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:51:04] Production.INFO: CreateAllLog End
[2025-01-12 08:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:51:04] Production.INFO: ==24090== Releasing lock...
[2025-01-12 08:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:51:04] Production.INFO: Account Balance End.
[2025-01-12 08:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:51:04] Production.INFO: ==24086== Releasing lock...
[2025-01-12 08:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:51:04] Production.ERROR: done
[2025-01-12 08:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:51:05] Production.ERROR: done
[2025-01-12 08:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:51:05
[end_date_ymd] => 2025-01-12 08:51:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:51:05' and `end` < '2025-01-12 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-01-12 08:51:10] Production.ERROR: CronJobId end10
[2025-01-12 08:51:10] Production.INFO: ==24084== Releasing lock...
[2025-01-12 08:51:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:51:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:51:13] Production.INFO: call_cost start
[2025-01-12 08:51:13] Production.INFO: call_cost end
[2025-01-12 08:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:51:14] Production.INFO: ==24080== Releasing lock...
[2025-01-12 08:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:51:18] Production.INFO: count ==71
[2025-01-12 08:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:51:05 - End Time 2025-01-12 08:51:05
[2025-01-12 08:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230493', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230493', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230493', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230493', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:51:18] Production.INFO: ProcessCDR(1,14230493,1,1,2)
[2025-01-12 08:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230493,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230493,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230493', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230493', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:51:22] Production.INFO: ==24088== Releasing lock...
[2025-01-12 08:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:51:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:52:01] Production.INFO: ==24151== Lock acquired, processing the job...
[2025-01-12 13:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:52:01] Production.INFO: neon service started
[2025-01-12 13:52:01] Production.INFO: neon service started
[2025-01-12 13:52:01] Production.INFO: ==24151== Releasing lock...
[2025-01-12 13:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:52:02] Production.INFO: ==24153== Lock acquired, processing the job...
[2025-01-12 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:52:02] Production.INFO: ==24153== Releasing lock...
[2025-01-12 08:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:52:02] Production.INFO: ==24155== Lock acquired, processing the job...
[2025-01-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:52:02] Production.INFO: ==24155== Releasing lock...
[2025-01-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:52:03] Production.INFO: ==24158== Lock acquired, processing the job...
[2025-01-12 08:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:52:03] Production.INFO: ==24162== Lock acquired, processing the job...
[2025-01-12 08:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:52:03] Production.INFO: ==24164== Lock acquired, processing the job...
[2025-01-12 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:52:03] Production.INFO: Account Balance Start.
[2025-01-12 08:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:52:03] Production.INFO: 117
[2025-01-12 08:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:52:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:52:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:52:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:52:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:52:03] Production.INFO: Total Charge 0
[2025-01-12 08:52:03] Production.INFO: CreateAllLog End
[2025-01-12 08:52:03] Production.INFO: ==24160== Lock acquired, processing the job...
[2025-01-12 08:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:52:03] Production.INFO: Account Balance End.
[2025-01-12 08:52:03] Production.INFO: ==24166== Lock acquired, processing the job...
[2025-01-12 08:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:52:03] Production.ERROR: CronJobId end 12
[2025-01-12 08:52:03] Production.INFO: ==24164== Releasing lock...
[2025-01-12 08:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:52:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:52:03] Production.INFO: ==24168== Lock acquired, processing the job...
[2025-01-12 08:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:52:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:52:03] Production.INFO: count ==21
[2025-01-12 08:52:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:52:03] Production.INFO: count ==21
[2025-01-12 08:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230497') start
[2025-01-12 08:52:04] Production.INFO: ==24160== Releasing lock...
[2025-01-12 08:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230497') end
[2025-01-12 08:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:52:04] Production.INFO: 1
[2025-01-12 08:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:52:04] Production.ERROR: done
[2025-01-12 08:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:52:04] Production.INFO: ==24168== Releasing lock...
[2025-01-12 08:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:52:04] Production.ERROR: done
[2025-01-12 08:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:52:05
[end_date_ymd] => 2025-01-12 08:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:52:05' and `end` < '2025-01-12 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-01-12 08:52:11] Production.ERROR: CronJobId end10
[2025-01-12 08:52:11] Production.INFO: ==24162== Releasing lock...
[2025-01-12 08:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:52:13] Production.INFO: call_cost start
[2025-01-12 08:52:13] Production.INFO: call_cost end
[2025-01-12 08:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:52:14] Production.INFO: ==24158== Releasing lock...
[2025-01-12 08:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:52:18] Production.INFO: count ==71
[2025-01-12 08:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:52:05 - End Time 2025-01-12 08:52:05
[2025-01-12 08:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230498', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230498', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230498', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230498', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:52:18] Production.INFO: ProcessCDR(1,14230498,1,1,2)
[2025-01-12 08:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230498,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230498,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230498', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230498', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:52:21] Production.INFO: ==24166== Releasing lock...
[2025-01-12 08:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:52:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:53:02] Production.INFO: ==24229== Lock acquired, processing the job...
[2025-01-12 13:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:53:02] Production.INFO: neon service started
[2025-01-12 13:53:02] Production.INFO: neon service started
[2025-01-12 13:53:02] Production.INFO: ==24229== Releasing lock...
[2025-01-12 13:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:53:02] Production.INFO: ==24233== Lock acquired, processing the job...
[2025-01-12 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:53:02] Production.INFO: ==24233== Releasing lock...
[2025-01-12 13:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:53:02] Production.INFO: ==24231== Lock acquired, processing the job...
[2025-01-12 08:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:53:03] Production.INFO: ==24231== Releasing lock...
[2025-01-12 08:53:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:53:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:53:03] Production.INFO: ==24236== Lock acquired, processing the job...
[2025-01-12 08:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:53:03] Production.INFO: ==24244== Lock acquired, processing the job...
[2025-01-12 08:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:53:04] Production.INFO: ==24246== Lock acquired, processing the job...
[2025-01-12 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:53:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:53:04] Production.INFO: ==24238== Lock acquired, processing the job...
[2025-01-12 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:53:04] Production.INFO: ==24240== Lock acquired, processing the job...
[2025-01-12 08:53:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:53:04] Production.INFO: ==24242== Lock acquired, processing the job...
[2025-01-12 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08: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-01-12 08:53:04] Production.INFO: count ==21
[2025-01-12 08:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:53:04] Production.INFO: count ==21
[2025-01-12 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230500') start
[2025-01-12 08:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:53:04] Production.INFO: Account Balance Start.
[2025-01-12 08:53:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:53:04] Production.ERROR: done
[2025-01-12 08:53:04] Production.INFO: 117
[2025-01-12 08:53:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230500') end
[2025-01-12 08:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:53:04] Production.INFO: 1
[2025-01-12 08:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:53:04] Production.INFO: ==24246== Releasing lock...
[2025-01-12 08:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:53:04] Production.INFO: ==24238== Releasing lock...
[2025-01-12 08:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:53:04] Production.ERROR: done
[2025-01-12 08:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:53:04] Production.INFO: Total Charge 0
[2025-01-12 08:53:04] Production.INFO: CreateAllLog End
[2025-01-12 08:53:04] Production.INFO: Account Balance End.
[2025-01-12 08:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:53:04] Production.INFO: ==24242== Releasing lock...
[2025-01-12 08:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:53:05
[end_date_ymd] => 2025-01-12 08:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:53:05' and `end` < '2025-01-12 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-01-12 08:53:11] Production.ERROR: CronJobId end10
[2025-01-12 08:53:11] Production.INFO: ==24240== Releasing lock...
[2025-01-12 08:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:53:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:53:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:53:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:53:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:53:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:53:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:53:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:53:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:53:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:53:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:53:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:53:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:53:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:53:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:53:14] Production.INFO: call_cost start
[2025-01-12 08:53:14] Production.INFO: call_cost end
[2025-01-12 08:53:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:53:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:53:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:53:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:53:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:53:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:53:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:53:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:53:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:53:15] Production.INFO: ==24236== Releasing lock...
[2025-01-12 08:53:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:53:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:53:19] Production.INFO: count ==71
[2025-01-12 08:53:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:53:05 - End Time 2025-01-12 08:53:05
[2025-01-12 08:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230503', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230503', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230503', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230503', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:53:19] Production.INFO: ProcessCDR(1,14230503,1,1,2)
[2025-01-12 08:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230503,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230503,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230503', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230503', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:53:22] Production.INFO: ==24244== Releasing lock...
[2025-01-12 08:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:53:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:54:01] Production.INFO: ==24302== Lock acquired, processing the job...
[2025-01-12 13:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:54:01] Production.INFO: neon service started
[2025-01-12 13:54:01] Production.INFO: neon service started
[2025-01-12 13:54:01] Production.INFO: ==24302== Releasing lock...
[2025-01-12 13:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:54:02] Production.INFO: ==24304== Lock acquired, processing the job...
[2025-01-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:54:02] Production.INFO: ==24306== Lock acquired, processing the job...
[2025-01-12 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:54:02] Production.INFO: ==24306== Releasing lock...
[2025-01-12 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:54:02] Production.INFO: ==24304== Releasing lock...
[2025-01-12 08:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:54:03] Production.INFO: ==24311== Lock acquired, processing the job...
[2025-01-12 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:54:03] Production.INFO: ==24313== Lock acquired, processing the job...
[2025-01-12 08:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:54:03] Production.INFO: ==24317== Lock acquired, processing the job...
[2025-01-12 08:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:54:03] Production.INFO: ==24311== Releasing lock...
[2025-01-12 08:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:54:03] Production.INFO: ==24309== Lock acquired, processing the job...
[2025-01-12 08:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:54:04] Production.INFO: ==24315== Lock acquired, processing the job...
[2025-01-12 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:54:04] Production.ERROR: done
[2025-01-12 08:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:54:04] Production.INFO: ==24319== Lock acquired, processing the job...
[2025-01-12 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:54:04] Production.INFO: Account Balance Start.
[2025-01-12 08:54:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:54:04] Production.INFO: 117
[2025-01-12 08:54:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:54:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:54:04] Production.ERROR: done
[2025-01-12 08:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 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-01-12 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:54:04] Production.INFO: count ==21
[2025-01-12 08:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 08:54:04] Production.INFO: count ==21
[2025-01-12 08:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:54:04] Production.INFO: Total Charge 0
[2025-01-12 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230507') start
[2025-01-12 08:54:04] Production.INFO: CreateAllLog End
[2025-01-12 08:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230507') end
[2025-01-12 08:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:54:04] Production.INFO: 1
[2025-01-12 08:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:54:04] Production.INFO: Account Balance End.
[2025-01-12 08:54:04] Production.INFO: ==24319== Releasing lock...
[2025-01-12 08:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:54:04] Production.INFO: ==24315== Releasing lock...
[2025-01-12 08:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:54:05
[end_date_ymd] => 2025-01-12 08:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:54:05' and `end` < '2025-01-12 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-01-12 08:54:10] Production.ERROR: CronJobId end10
[2025-01-12 08:54:10] Production.INFO: ==24313== Releasing lock...
[2025-01-12 08:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:54:13] Production.INFO: call_cost start
[2025-01-12 08:54:13] Production.INFO: call_cost end
[2025-01-12 08:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:54:13] Production.INFO: ==24309== Releasing lock...
[2025-01-12 08:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:54:19] Production.INFO: count ==71
[2025-01-12 08:54:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:54:05 - End Time 2025-01-12 08:54:05
[2025-01-12 08:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230508', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230508', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230508', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230508', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:54:19] Production.INFO: ProcessCDR(1,14230508,1,1,2)
[2025-01-12 08:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230508', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230508', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:54:22] Production.INFO: ==24317== Releasing lock...
[2025-01-12 08:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:54:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:55:02] Production.INFO: ==24376== Lock acquired, processing the job...
[2025-01-12 13:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:55:02] Production.INFO: neon service started
[2025-01-12 13:55:02] Production.INFO: neon service started
[2025-01-12 13:55:02] Production.INFO: ==24376== Releasing lock...
[2025-01-12 13:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:55:02] Production.INFO: ==24381== Lock acquired, processing the job...
[2025-01-12 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:55:02] Production.INFO: ==24381== Releasing lock...
[2025-01-12 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:55:02] Production.INFO: ==24378== Lock acquired, processing the job...
[2025-01-12 08:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:55:03] Production.INFO: ==24378== Releasing lock...
[2025-01-12 08:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:55:03] Production.INFO: ==24387== Lock acquired, processing the job...
[2025-01-12 08:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:55:03] Production.INFO: ==24391== Lock acquired, processing the job...
[2025-01-12 08:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:55:04] Production.INFO: ==24385== Lock acquired, processing the job...
[2025-01-12 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:55:04] Production.INFO: ==24383== Lock acquired, processing the job...
[2025-01-12 08:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:55:04] Production.INFO: ==24393== Lock acquired, processing the job...
[2025-01-12 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:55:04] Production.ERROR: done
[2025-01-12 08:55:04] Production.INFO: ==24389== Lock acquired, processing the job...
[2025-01-12 08:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 08:55:04] Production.INFO: Account Balance Start.
[2025-01-12 08:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:55:04] Production.INFO: 117
[2025-01-12 08:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:55:04] Production.INFO: count ==21
[2025-01-12 08:55:04] Production.ERROR: done
[2025-01-12 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-01-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:55:04] Production.INFO: count ==21
[2025-01-12 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230509') start
[2025-01-12 08:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230509') end
[2025-01-12 08:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:55:04] Production.INFO: 1
[2025-01-12 08:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:55:04] Production.INFO: ==24393== Releasing lock...
[2025-01-12 08:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:55:04] Production.INFO: ==24385== Releasing lock...
[2025-01-12 08:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:55:04] Production.INFO: Total Charge 0
[2025-01-12 08:55:04] Production.INFO: CreateAllLog End
[2025-01-12 08:55:04] Production.INFO: Account Balance End.
[2025-01-12 08:55:05] Production.ERROR: CronJobId end 12
[2025-01-12 08:55:05] Production.INFO: ==24389== Releasing lock...
[2025-01-12 08:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:55:05
[end_date_ymd] => 2025-01-12 08:55:05
[RateCDR] => 1
)
[2025-01-12 08:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:55:05' and `end` < '2025-01-12 08:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:55:10] Production.ERROR: CronJobId end10
[2025-01-12 08:55:10] Production.INFO: ==24387== Releasing lock...
[2025-01-12 08:55:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:55:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:55:14] Production.INFO: call_cost start
[2025-01-12 08:55:14] Production.INFO: call_cost end
[2025-01-12 08:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:55:14] Production.INFO: ==24383== Releasing lock...
[2025-01-12 08:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:55:18] Production.INFO: count ==71
[2025-01-12 08:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:55:05 - End Time 2025-01-12 08:55:05
[2025-01-12 08:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230513', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230513', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230513', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230513', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:55:18] Production.INFO: ProcessCDR(1,14230513,1,1,2)
[2025-01-12 08:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230513', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230513', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:55:21] Production.INFO: ==24391== Releasing lock...
[2025-01-12 08:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:55:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:56:01] Production.INFO: ==24449== Lock acquired, processing the job...
[2025-01-12 13:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:56:01] Production.INFO: neon service started
[2025-01-12 13:56:01] Production.INFO: neon service started
[2025-01-12 13:56:01] Production.INFO: ==24449== Releasing lock...
[2025-01-12 13:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:56:02] Production.INFO: ==24451== Lock acquired, processing the job...
[2025-01-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:56:02] Production.INFO: ==24451== Releasing lock...
[2025-01-12 08:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:56:02] Production.INFO: ==24453== Lock acquired, processing the job...
[2025-01-12 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:56:02] Production.INFO: ==24453== Releasing lock...
[2025-01-12 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:56:03] Production.INFO: ==24461== Lock acquired, processing the job...
[2025-01-12 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:56:03] Production.INFO: Account Balance Start.
[2025-01-12 08:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:56:03] Production.INFO: 117
[2025-01-12 08:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:56:03] Production.INFO: ==24465== Lock acquired, processing the job...
[2025-01-12 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:56:03] Production.INFO: ==24455== Lock acquired, processing the job...
[2025-01-12 08:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:56:03] Production.INFO: ==24457== Lock acquired, processing the job...
[2025-01-12 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:56:03] Production.INFO: ==24459== Lock acquired, processing the job...
[2025-01-12 08:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 08:56:03] Production.INFO: Total Charge 0
[2025-01-12 08:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:56:03] Production.INFO: count ==21
[2025-01-12 08:56:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 08:56:03] Production.INFO: count ==21
[2025-01-12 08:56:03] Production.INFO: ==24463== Lock acquired, processing the job...
[2025-01-12 08:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230515') start
[2025-01-12 08:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230515') end
[2025-01-12 08:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:56:03] Production.INFO: 1
[2025-01-12 08:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:56:03] Production.INFO: ==24465== Releasing lock...
[2025-01-12 08:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:56:03] Production.INFO: Account Balance End.
[2025-01-12 08:56:03] Production.INFO: ==24457== Releasing lock...
[2025-01-12 08:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:56:03] Production.ERROR: CronJobId end 12
[2025-01-12 08:56:03] Production.INFO: ==24461== Releasing lock...
[2025-01-12 08:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:56:04] Production.ERROR: done
[2025-01-12 08:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:56:04] Production.ERROR: done
[2025-01-12 08:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:56:05
[end_date_ymd] => 2025-01-12 08:56:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:56:05' and `end` < '2025-01-12 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-01-12 08:56:11] Production.ERROR: CronJobId end10
[2025-01-12 08:56:11] Production.INFO: ==24459== Releasing lock...
[2025-01-12 08:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:56:13] Production.INFO: call_cost start
[2025-01-12 08:56:13] Production.INFO: call_cost end
[2025-01-12 08:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:56:13] Production.INFO: ==24455== Releasing lock...
[2025-01-12 08:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:56:19] Production.INFO: count ==71
[2025-01-12 08:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:56:05 - End Time 2025-01-12 08:56:05
[2025-01-12 08:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230518', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230518', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230518', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230518', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:56:19] Production.INFO: ProcessCDR(1,14230518,1,1,2)
[2025-01-12 08:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230518', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230518', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:56:22] Production.INFO: ==24463== Releasing lock...
[2025-01-12 08:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:56:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:57:02] Production.INFO: ==24521== Lock acquired, processing the job...
[2025-01-12 13:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:57:02] Production.INFO: neon service started
[2025-01-12 13:57:02] Production.INFO: neon service started
[2025-01-12 13:57:02] Production.INFO: ==24521== Releasing lock...
[2025-01-12 13:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:57:02] Production.INFO: ==24523== Lock acquired, processing the job...
[2025-01-12 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:57:02] Production.INFO: ==24523== Releasing lock...
[2025-01-12 08:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:57:02] Production.INFO: ==24525== Lock acquired, processing the job...
[2025-01-12 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:57:02] Production.INFO: ==24525== Releasing lock...
[2025-01-12 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:57:03] Production.INFO: ==24536== Lock acquired, processing the job...
[2025-01-12 08:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:57:03] Production.INFO: ==24538== Lock acquired, processing the job...
[2025-01-12 08:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:57:03] Production.INFO: ==24528== Lock acquired, processing the job...
[2025-01-12 08:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:57:03] Production.INFO: ==24530== Lock acquired, processing the job...
[2025-01-12 08:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:57:03] Production.INFO: ==24532== Lock acquired, processing the job...
[2025-01-12 08:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:57:03] Production.INFO: ==24534== Lock acquired, processing the job...
[2025-01-12 08:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:57:03] Production.INFO: count ==21
[2025-01-12 08:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 08:57:03] Production.INFO: count ==21
[2025-01-12 08:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230519') start
[2025-01-12 08:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:57:04] Production.INFO: Account Balance Start.
[2025-01-12 08:57:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:57:04] Production.ERROR: done
[2025-01-12 08:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:57:04] Production.INFO: 117
[2025-01-12 08:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230519') end
[2025-01-12 08:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:57:04] Production.INFO: 1
[2025-01-12 08:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:57:04] Production.ERROR: done
[2025-01-12 08:57:04] Production.INFO: ==24538== Releasing lock...
[2025-01-12 08:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:57:04] Production.INFO: ==24530== Releasing lock...
[2025-01-12 08:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:57:04] Production.INFO: Total Charge 0
[2025-01-12 08:57:04] Production.INFO: CreateAllLog End
[2025-01-12 08:57:04] Production.INFO: Account Balance End.
[2025-01-12 08:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:57:04] Production.INFO: ==24534== Releasing lock...
[2025-01-12 08:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:57:05
[end_date_ymd] => 2025-01-12 08:57:05
[RateCDR] => 1
)
[2025-01-12 08:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 05:57:05' and `end` < '2025-01-12 08:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 08:57:10] Production.ERROR: CronJobId end10
[2025-01-12 08:57:10] Production.INFO: ==24532== Releasing lock...
[2025-01-12 08:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:57:13] Production.INFO: call_cost start
[2025-01-12 08:57:13] Production.INFO: call_cost end
[2025-01-12 08:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:57:13] Production.INFO: ==24528== Releasing lock...
[2025-01-12 08:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:57:19] Production.INFO: count ==71
[2025-01-12 08:57:19] Production.ERROR: pbx CDR StartTime 2025-01-12 05:57:05 - End Time 2025-01-12 08:57:05
[2025-01-12 08:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230523', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230523', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230523', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230523', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:57:19] Production.INFO: ProcessCDR(1,14230523,1,1,2)
[2025-01-12 08:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230523', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230523', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:57:22] Production.INFO: ==24536== Releasing lock...
[2025-01-12 08:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:57:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:58:01] Production.INFO: ==24594== Lock acquired, processing the job...
[2025-01-12 13:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:58:01] Production.INFO: neon service started
[2025-01-12 13:58:01] Production.INFO: neon service started
[2025-01-12 13:58:01] Production.INFO: ==24594== Releasing lock...
[2025-01-12 13:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 08:58:01] Production.INFO: ==24596== Lock acquired, processing the job...
[2025-01-12 08:58:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:58:02] Production.INFO: ==24596== Releasing lock...
[2025-01-12 08:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:58:02] Production.INFO: ==24598== Lock acquired, processing the job...
[2025-01-12 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:58:02] Production.INFO: ==24598== Releasing lock...
[2025-01-12 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:58:02] Production.INFO: ==24603== Lock acquired, processing the job...
[2025-01-12 08:58:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:58:02] Production.INFO: ==24605== Lock acquired, processing the job...
[2025-01-12 08:58:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:58:03] Production.INFO: ==24607== Lock acquired, processing the job...
[2025-01-12 08:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:58:03] Production.INFO: ==24603== Releasing lock...
[2025-01-12 08:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 08:58:03] Production.INFO: Account Balance Start.
[2025-01-12 08:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 08:58:03] Production.INFO: 117
[2025-01-12 08:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:58:03] Production.INFO: ==24601== Lock acquired, processing the job...
[2025-01-12 08:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 08:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 08:58:03] Production.INFO: ==24609== Lock acquired, processing the job...
[2025-01-12 08:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:58:03] Production.INFO: ==24611== Lock acquired, processing the job...
[2025-01-12 08:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:58:03] Production.INFO: Total Charge 0
[2025-01-12 08:58:03] Production.INFO: CreateAllLog End
[2025-01-12 08: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-01-12 08:58:03] Production.INFO: count ==21
[2025-01-12 08: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-01-12 08:58:03] Production.INFO: count ==21
[2025-01-12 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230527') start
[2025-01-12 08:58:03] Production.ERROR: done
[2025-01-12 08:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230527') end
[2025-01-12 08:58:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:58:03] Production.INFO: 1
[2025-01-12 08:58:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:58:03] Production.INFO: Account Balance End.
[2025-01-12 08:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:58:04] Production.INFO: ==24607== Releasing lock...
[2025-01-12 08:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:58:04] Production.ERROR: done
[2025-01-12 08:58:04] Production.INFO: ==24611== Releasing lock...
[2025-01-12 08:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:58:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:58:04
[end_date_ymd] => 2025-01-12 08:58:04
[RateCDR] => 1
)
[2025-01-12 08: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-01-12 05:58:04' and `end` < '2025-01-12 08: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-01-12 08:58:09] Production.ERROR: CronJobId end10
[2025-01-12 08:58:09] Production.INFO: ==24605== Releasing lock...
[2025-01-12 08:58:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:58:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:58:13] Production.INFO: call_cost start
[2025-01-12 08:58:13] Production.INFO: call_cost end
[2025-01-12 08:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:58:13] Production.INFO: ==24601== Releasing lock...
[2025-01-12 08:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:58:17] Production.INFO: count ==71
[2025-01-12 08:58:17] Production.ERROR: pbx CDR StartTime 2025-01-12 05:58:04 - End Time 2025-01-12 08:58:04
[2025-01-12 08:58:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230528', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230528', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230528', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:58:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230528', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:58:17] Production.INFO: ProcessCDR(1,14230528,1,1,2)
[2025-01-12 08:58:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:58:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:58:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:58:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230528', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:58:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230528', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:58:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:58:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:58:20] Production.INFO: ==24609== Releasing lock...
[2025-01-12 08:58:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:58:20] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:59:02] Production.INFO: ==24667== Lock acquired, processing the job...
[2025-01-12 13:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 13:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 13:59:02] Production.INFO: neon service started
[2025-01-12 13:59:02] Production.INFO: neon service started
[2025-01-12 13:59:02] Production.INFO: ==24667== Releasing lock...
[2025-01-12 13:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 13:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:59:02] Production.INFO: ==24671== Lock acquired, processing the job...
[2025-01-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:59:02] Production.INFO: ==24671== Releasing lock...
[2025-01-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 13:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 08:59:02] Production.INFO: ==24669== Lock acquired, processing the job...
[2025-01-12 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 08:59:02] Production.INFO: ==24669== Releasing lock...
[2025-01-12 08:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 08:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 08:59:03] Production.INFO: ==24678== Lock acquired, processing the job...
[2025-01-12 08:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 08:59:03] Production.INFO: ==24682== Lock acquired, processing the job...
[2025-01-12 08:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 08:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 08:59:03] Production.INFO: ==24674== Lock acquired, processing the job...
[2025-01-12 08:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 08:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 08:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 08:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 08:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 08:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 08:59:03] Production.INFO: ==24676== Lock acquired, processing the job...
[2025-01-12 08:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 08:59:04] Production.INFO: ==24680== Lock acquired, processing the job...
[2025-01-12 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 08:59:04] Production.ERROR: done
[2025-01-12 08:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 08:59:04] Production.INFO: ==24684== Lock acquired, processing the job...
[2025-01-12 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 08:59:04] Production.INFO: Account Balance Start.
[2025-01-12 08:59:04] Production.INFO: CreateAllLog Start
[2025-01-12 08:59:04] Production.INFO: 117
[2025-01-12 08:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:59:04] Production.ERROR: done
[2025-01-12 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-01-12 08:59:04] Production.INFO: count ==21
[2025-01-12 08:59:04] Production.INFO: ==24676== Releasing lock...
[2025-01-12 08:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 08:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 08:59:04] Production.INFO: count ==21
[2025-01-12 08:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230532') start
[2025-01-12 08:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 08:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 08:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230532') end
[2025-01-12 08:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 08:59:04] Production.INFO: 1
[2025-01-12 08:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 08:59:04] Production.INFO: Total Charge 0
[2025-01-12 08:59:04] Production.INFO: CreateAllLog End
[2025-01-12 08:59:04] Production.INFO: ==24684== Releasing lock...
[2025-01-12 08:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 08:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 08:59:04] Production.INFO: Account Balance End.
[2025-01-12 08:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 08:59:04] Production.INFO: ==24680== Releasing lock...
[2025-01-12 08:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 08:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 08:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 05:59:05
[end_date_ymd] => 2025-01-12 08:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 05:59:05' and `end` < '2025-01-12 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-01-12 08:59:11] Production.ERROR: CronJobId end10
[2025-01-12 08:59:11] Production.INFO: ==24678== Releasing lock...
[2025-01-12 08:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 08:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 08:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 08:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 08:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 08:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 08:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 08:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 08:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 08:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 08:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 08:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 08:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 08:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 08:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 08:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 08:59:12] Production.INFO: call_cost start
[2025-01-12 08:59:12] Production.INFO: call_cost end
[2025-01-12 08:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 08:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 08:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 08:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 08:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 08:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 08:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 08:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 08:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 08:59:13] Production.INFO: ==24674== Releasing lock...
[2025-01-12 08:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 08:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 08:59:18] Production.INFO: count ==71
[2025-01-12 08:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 05:59:05 - End Time 2025-01-12 08:59:05
[2025-01-12 08:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230533', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230533', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230533', 'tblTempVendorCDR_20' ) start
[2025-01-12 08:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230533', 'tblTempVendorCDR_20' ) end
[2025-01-12 08:59:18] Production.INFO: ProcessCDR(1,14230533,1,1,2)
[2025-01-12 08:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 08:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230533', 'tblTempUsageDetail_20' ) start
[2025-01-12 08:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230533', 'tblTempUsageDetail_20' ) end
[2025-01-12 08:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 08:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 08:59:21] Production.INFO: ==24682== Releasing lock...
[2025-01-12 08:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 08:59:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:00:01] Production.INFO: ==24742== Lock acquired, processing the job...
[2025-01-12 14:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:00:01] Production.INFO: neon service started
[2025-01-12 14:00:01] Production.INFO: neon service started
[2025-01-12 14:00:01] Production.INFO: ==24742== Releasing lock...
[2025-01-12 14:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:00:02] Production.INFO: ==24746== Lock acquired, processing the job...
[2025-01-12 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:00:02] Production.INFO: ==24746== Releasing lock...
[2025-01-12 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:00:02] Production.INFO: ==24744== Lock acquired, processing the job...
[2025-01-12 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:00:02] Production.INFO: ==24744== Releasing lock...
[2025-01-12 09:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:00:03] Production.INFO: ==24750== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 09:00:03] Production.INFO: ==24752== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 09:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 09:00:03] Production.ERROR: CronJob PID - 24752
[2025-01-12 09:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 09:00:03] Production.ERROR: CronJob ID - 5
[2025-01-12 09:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 09:00:00
[2025-01-12 09:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 09:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 09:00:03] Production.INFO: ==24754== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 09:00:03] Production.INFO: ==24750== Releasing lock...
[2025-01-12 09:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 09:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 09:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:00:03] Production.INFO: ==24760== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:00:03] Production.INFO: ==24756== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:00:03] Production.INFO: ==24758== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:00:03] Production.INFO: ==24764== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:00:03] Production.INFO: ==24762== Lock acquired, processing the job...
[2025-01-12 09:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 09:00:03] Production.INFO: Account Balance Start.
[2025-01-12 09:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:00:03] Production.INFO: 117
[2025-01-12 09: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-01-12 09:00:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:00:04] Production.INFO: count ==21
[2025-01-12 09:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 09:00:04] Production.INFO: count ==21
[2025-01-12 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230537') start
[2025-01-12 09:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:00:04] Production.ERROR: done
[2025-01-12 09:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:00:04] Production.INFO: ==24754== Releasing lock...
[2025-01-12 09:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230537') end
[2025-01-12 09:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:00:04] Production.INFO: 1
[2025-01-12 09:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:00:04] Production.ERROR: done
[2025-01-12 09:00:04] Production.INFO: ==24764== Releasing lock...
[2025-01-12 09:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:00:04] Production.INFO: Total Charge 0
[2025-01-12 09:00:04] Production.INFO: CreateAllLog End
[2025-01-12 09:00:04] Production.ERROR: done
[2025-01-12 09:00:04] Production.INFO: Account Balance End.
[2025-01-12 09:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:00:04] Production.INFO: ==24758== Releasing lock...
[2025-01-12 09:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 09:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230539', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 09:00:05] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:05] Production.INFO: =diffInterval=0
[2025-01-12 09:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:00:05
[end_date_ymd] => 2025-01-12 09:00:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:00:05' and `end` < '2025-01-12 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-01-12 09:00:06] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:06] Production.INFO: =diffInterval=0
[2025-01-12 09:00:07] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:07] Production.INFO: =diffInterval=0
[2025-01-12 09:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230539', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 09:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 09:00:08] Production.INFO: ProcessCDR(1,14230539,1,1,2)
[2025-01-12 09:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230539,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230539,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:00:08] Production.INFO: ==24762== Releasing lock...
[2025-01-12 09:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 09:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 09:00:08] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:08] Production.INFO: =diffInterval=0
[2025-01-12 09:00:09] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:09] Production.INFO: =diffInterval=0
[2025-01-12 09:00:10] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:10] Production.INFO: =diffInterval=0
[2025-01-12 09:00:11] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:11] Production.INFO: =diffInterval=0
[2025-01-12 09:00:12] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:12] Production.INFO: =diffInterval=0
[2025-01-12 09:00:12] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:12] Production.INFO: =diffInterval=0
[2025-01-12 09:00:13] Production.ERROR: CronJobId end10
[2025-01-12 09:00:13] Production.INFO: ==24756== Releasing lock...
[2025-01-12 09:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:00:13] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:13] Production.INFO: =diffInterval=0
[2025-01-12 09:00:13] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:13] Production.INFO: =diffInterval=0
[2025-01-12 09:00:14] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:14] Production.INFO: =diffInterval=0
[2025-01-12 09:00:14] Production.INFO: helper-LastRunTime===2025-01-12 09:00:00
[2025-01-12 09:00:14] Production.INFO: =diffInterval=0
[2025-01-12 09:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:00:15] Production.INFO: call_cost start
[2025-01-12 09:00:15] Production.INFO: call_cost end
[2025-01-12 09:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:00:16] Production.INFO: ==24752== Releasing lock...
[2025-01-12 09:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:00:18] Production.INFO: count ==71
[2025-01-12 09:00:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:00:05 - End Time 2025-01-12 09:00:05
[2025-01-12 09:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230538', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230538', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230538', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230538', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:00:18] Production.INFO: ProcessCDR(1,14230538,1,1,2)
[2025-01-12 09:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:00:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:00:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:00:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230538', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:00:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230538', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:00:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:00:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:00:21] Production.INFO: ==24760== Releasing lock...
[2025-01-12 09:00:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:00:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:01:02] Production.INFO: ==24823== Lock acquired, processing the job...
[2025-01-12 14:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:01:02] Production.INFO: neon service started
[2025-01-12 14:01:02] Production.INFO: neon service started
[2025-01-12 14:01:02] Production.INFO: ==24823== Releasing lock...
[2025-01-12 14:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:01:02] Production.INFO: ==24837== Lock acquired, processing the job...
[2025-01-12 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:01:02] Production.INFO: ==24837== Releasing lock...
[2025-01-12 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:01:02] Production.INFO: ==24835== Lock acquired, processing the job...
[2025-01-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:01:02] Production.INFO: ==24835== Releasing lock...
[2025-01-12 09:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:01:03] Production.INFO: ==24843== Lock acquired, processing the job...
[2025-01-12 09:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:01:03] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-01-12 09:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:01:03] Production.INFO: ==24839== Lock acquired, processing the job...
[2025-01-12 09:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:01:03] Production.INFO: ==24841== Lock acquired, processing the job...
[2025-01-12 09:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:01:04] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-01-12 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:01:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:01:04] Production.INFO: ==24850== Lock acquired, processing the job...
[2025-01-12 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:01:04] Production.INFO: Account Balance Start.
[2025-01-12 09:01:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:01:04] Production.INFO: 117
[2025-01-12 09:01:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 09:01:04] Production.ERROR: done
[2025-01-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:01:04] Production.INFO: count ==21
[2025-01-12 09:01:04] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:01:04] Production.INFO: count ==21
[2025-01-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230543') start
[2025-01-12 09:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:01:04] Production.ERROR: done
[2025-01-12 09:01:04] Production.INFO: ==24841== Releasing lock...
[2025-01-12 09:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:01:04] Production.INFO: Total Charge 0
[2025-01-12 09:01:04] Production.INFO: CreateAllLog End
[2025-01-12 09:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230543') end
[2025-01-12 09:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:01:04] Production.INFO: 1
[2025-01-12 09:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:01:04] Production.INFO: ==24850== Releasing lock...
[2025-01-12 09:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:01:04] Production.INFO: Account Balance End.
[2025-01-12 09:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:01:04] Production.INFO: ==24846== Releasing lock...
[2025-01-12 09:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:01:05
[end_date_ymd] => 2025-01-12 09:01:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:01:05' and `end` < '2025-01-12 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-01-12 09:01:11] Production.ERROR: CronJobId end10
[2025-01-12 09:01:11] Production.INFO: ==24843== Releasing lock...
[2025-01-12 09:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:01:14] Production.INFO: call_cost start
[2025-01-12 09:01:14] Production.INFO: call_cost end
[2025-01-12 09:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:01:14] Production.INFO: ==24839== Releasing lock...
[2025-01-12 09:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:01:18] Production.INFO: count ==71
[2025-01-12 09:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:01:05 - End Time 2025-01-12 09:01:05
[2025-01-12 09:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230544', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230544', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230544', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230544', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:01:18] Production.INFO: ProcessCDR(1,14230544,1,1,2)
[2025-01-12 09:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:01:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230544,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:01:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:01:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230544,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230544', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:01:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230544', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:01:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:01:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:01:22] Production.INFO: ==24848== Releasing lock...
[2025-01-12 09:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:01:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:02:01] Production.INFO: ==24904== Lock acquired, processing the job...
[2025-01-12 14:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:02:01] Production.INFO: neon service started
[2025-01-12 14:02:01] Production.INFO: neon service started
[2025-01-12 14:02:01] Production.INFO: ==24904== Releasing lock...
[2025-01-12 14:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:02:02] Production.INFO: ==24906== Lock acquired, processing the job...
[2025-01-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:02:02] Production.INFO: ==24908== Lock acquired, processing the job...
[2025-01-12 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:02:02] Production.INFO: ==24908== Releasing lock...
[2025-01-12 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:02:02] Production.INFO: ==24906== Releasing lock...
[2025-01-12 09:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:02:03] Production.INFO: ==24915== Lock acquired, processing the job...
[2025-01-12 09:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:02:03] Production.INFO: ==24911== Lock acquired, processing the job...
[2025-01-12 09:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:02:03] Production.INFO: ==24913== Lock acquired, processing the job...
[2025-01-12 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:02:03] Production.INFO: ==24919== Lock acquired, processing the job...
[2025-01-12 09:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:02:03] Production.INFO: ==24917== Lock acquired, processing the job...
[2025-01-12 09:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:02:03] Production.INFO: ==24921== Lock acquired, processing the job...
[2025-01-12 09:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:02:03] Production.INFO: Account Balance Start.
[2025-01-12 09:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:02:03] Production.INFO: 117
[2025-01-12 09:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:02:03] Production.INFO: ==24913== Releasing lock...
[2025-01-12 09:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:02:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:02:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:02:03] Production.INFO: count ==21
[2025-01-12 09:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230548') start
[2025-01-12 09:02:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230548') end
[2025-01-12 09:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:02:04] Production.INFO: 1
[2025-01-12 09:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:02:04] Production.ERROR: done
[2025-01-12 09:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:02:04] Production.INFO: Total Charge 0
[2025-01-12 09:02:04] Production.INFO: ==24921== Releasing lock...
[2025-01-12 09:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:02:04] Production.INFO: CreateAllLog End
[2025-01-12 09:02:04] Production.ERROR: done
[2025-01-12 09:02:04] Production.INFO: Account Balance End.
[2025-01-12 09:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:02:04] Production.INFO: ==24917== Releasing lock...
[2025-01-12 09:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:02:05
[end_date_ymd] => 2025-01-12 09:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:02:05' and `end` < '2025-01-12 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-01-12 09:02:11] Production.ERROR: CronJobId end10
[2025-01-12 09:02:11] Production.INFO: ==24915== Releasing lock...
[2025-01-12 09:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:02:13] Production.INFO: call_cost start
[2025-01-12 09:02:13] Production.INFO: call_cost end
[2025-01-12 09:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:02:14] Production.INFO: ==24911== Releasing lock...
[2025-01-12 09:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:02:19] Production.INFO: count ==71
[2025-01-12 09:02:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:02:05 - End Time 2025-01-12 09:02:05
[2025-01-12 09:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230549', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230549', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230549', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230549', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:02:19] Production.INFO: ProcessCDR(1,14230549,1,1,2)
[2025-01-12 09:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230549,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230549,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230549', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230549', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:02:22] Production.INFO: ==24919== Releasing lock...
[2025-01-12 09:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:02:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:03:01] Production.INFO: ==24976== Lock acquired, processing the job...
[2025-01-12 14:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:03:01] Production.INFO: neon service started
[2025-01-12 14:03:01] Production.INFO: neon service started
[2025-01-12 14:03:01] Production.INFO: ==24976== Releasing lock...
[2025-01-12 14:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:03:02] Production.INFO: ==24978== Lock acquired, processing the job...
[2025-01-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:03:02] Production.INFO: ==24980== Lock acquired, processing the job...
[2025-01-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:03:02] Production.INFO: ==24980== Releasing lock...
[2025-01-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:03:02] Production.INFO: ==24978== Releasing lock...
[2025-01-12 09:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:03:03] Production.INFO: ==24989== Lock acquired, processing the job...
[2025-01-12 09:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:03:03] Production.INFO: ==24983== Lock acquired, processing the job...
[2025-01-12 09:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:03:03] Production.INFO: ==24991== Lock acquired, processing the job...
[2025-01-12 09:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:03:03] Production.INFO: ==24985== Lock acquired, processing the job...
[2025-01-12 09:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:03:03] Production.INFO: Account Balance Start.
[2025-01-12 09:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:03:03] Production.INFO: 117
[2025-01-12 09:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:03:04] Production.INFO: ==24987== Lock acquired, processing the job...
[2025-01-12 09:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:03:04] Production.INFO: ==24993== Lock acquired, processing the job...
[2025-01-12 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:03:04] Production.ERROR: done
[2025-01-12 09:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:03:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:03:04] Production.INFO: count ==21
[2025-01-12 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230553') start
[2025-01-12 09:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:03:04] Production.INFO: ==24985== Releasing lock...
[2025-01-12 09:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:03:04] Production.INFO: Total Charge 0
[2025-01-12 09:03:04] Production.ERROR: done
[2025-01-12 09:03:04] Production.INFO: CreateAllLog End
[2025-01-12 09:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230553') end
[2025-01-12 09:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:03:04] Production.INFO: 1
[2025-01-12 09:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:03:04] Production.INFO: ==24993== Releasing lock...
[2025-01-12 09:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:03:04] Production.INFO: Account Balance End.
[2025-01-12 09:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:03:04] Production.INFO: ==24989== Releasing lock...
[2025-01-12 09:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:03:04
[end_date_ymd] => 2025-01-12 09:03:04
[RateCDR] => 1
)
[2025-01-12 09:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:03:04' and `end` < '2025-01-12 09:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:03:10] Production.ERROR: CronJobId end10
[2025-01-12 09:03:10] Production.INFO: ==24987== Releasing lock...
[2025-01-12 09:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:03:13] Production.INFO: call_cost start
[2025-01-12 09:03:13] Production.INFO: call_cost end
[2025-01-12 09:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:03:14] Production.INFO: ==24983== Releasing lock...
[2025-01-12 09:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:03:18] Production.INFO: count ==71
[2025-01-12 09:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:03:04 - End Time 2025-01-12 09:03:04
[2025-01-12 09:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230554', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230554', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230554', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230554', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:03:18] Production.INFO: ProcessCDR(1,14230554,1,1,2)
[2025-01-12 09:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230554,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230554,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230554', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230554', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:03:21] Production.INFO: ==24991== Releasing lock...
[2025-01-12 09:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:03:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:04:01] Production.INFO: ==25088== Lock acquired, processing the job...
[2025-01-12 14:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:04:01] Production.INFO: neon service started
[2025-01-12 14:04:01] Production.INFO: neon service started
[2025-01-12 14:04:01] Production.INFO: ==25088== Releasing lock...
[2025-01-12 14:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:04:01] Production.INFO: ==25090== Lock acquired, processing the job...
[2025-01-12 09:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:04:02] Production.INFO: ==25090== Releasing lock...
[2025-01-12 09:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:04:02] Production.INFO: ==25092== Lock acquired, processing the job...
[2025-01-12 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:04:02] Production.INFO: ==25092== Releasing lock...
[2025-01-12 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:04:02] Production.INFO: ==25097== Lock acquired, processing the job...
[2025-01-12 09:04:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:04:02] Production.INFO: ==25095== Lock acquired, processing the job...
[2025-01-12 09:04:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:04:02] Production.INFO: ==25101== Lock acquired, processing the job...
[2025-01-12 09:04:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:04:03] Production.INFO: Account Balance Start.
[2025-01-12 09:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:04:03] Production.INFO: 117
[2025-01-12 09:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:04:03] Production.INFO: ==25099== Lock acquired, processing the job...
[2025-01-12 09:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:04:03] Production.INFO: ==25105== Lock acquired, processing the job...
[2025-01-12 09:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:04:03] Production.INFO: ==25103== Lock acquired, processing the job...
[2025-01-12 09:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:04:03] Production.INFO: ==25097== Releasing lock...
[2025-01-12 09:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:04:03] Production.INFO: Total Charge 0
[2025-01-12 09:04:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 09:04:03] Production.INFO: count ==21
[2025-01-12 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-01-12 09:04:03] Production.INFO: count ==21
[2025-01-12 09:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230558') start
[2025-01-12 09:04:03] Production.ERROR: done
[2025-01-12 09:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230558') end
[2025-01-12 09:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:04:03] Production.INFO: 1
[2025-01-12 09:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:04:03] Production.ERROR: done
[2025-01-12 09:04:03] Production.INFO: ==25105== Releasing lock...
[2025-01-12 09:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:04:03] Production.INFO: Account Balance End.
[2025-01-12 09:04:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:04:03] Production.INFO: ==25101== Releasing lock...
[2025-01-12 09:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:04:04
[end_date_ymd] => 2025-01-12 09:04:04
[RateCDR] => 1
)
[2025-01-12 09:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:04:04' and `end` < '2025-01-12 09:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:04:11] Production.ERROR: CronJobId end10
[2025-01-12 09:04:11] Production.INFO: ==25099== Releasing lock...
[2025-01-12 09:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:04:12] Production.INFO: call_cost start
[2025-01-12 09:04:12] Production.INFO: call_cost end
[2025-01-12 09:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:04:13] Production.INFO: ==25095== Releasing lock...
[2025-01-12 09:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:04:18] Production.INFO: count ==71
[2025-01-12 09:04:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:04:04 - End Time 2025-01-12 09:04:04
[2025-01-12 09:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230559', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230559', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230559', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230559', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:04:18] Production.INFO: ProcessCDR(1,14230559,1,1,2)
[2025-01-12 09:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:04:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:04:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:04:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230559', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:04:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230559', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:04:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:04:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:04:21] Production.INFO: ==25103== Releasing lock...
[2025-01-12 09:04:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:04:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:05:01] Production.INFO: ==25162== Lock acquired, processing the job...
[2025-01-12 14:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:05:01] Production.INFO: neon service started
[2025-01-12 14:05:01] Production.INFO: neon service started
[2025-01-12 14:05:01] Production.INFO: ==25162== Releasing lock...
[2025-01-12 14:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:05:02] Production.INFO: ==25164== Lock acquired, processing the job...
[2025-01-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:05:02] Production.INFO: ==25164== Releasing lock...
[2025-01-12 09:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:05:02] Production.INFO: ==25166== Lock acquired, processing the job...
[2025-01-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:05:02] Production.INFO: ==25166== Releasing lock...
[2025-01-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:05:03] Production.INFO: ==25173== Lock acquired, processing the job...
[2025-01-12 09:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:05:03] Production.INFO: ==25169== Lock acquired, processing the job...
[2025-01-12 09:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:05:03] Production.INFO: ==25171== Lock acquired, processing the job...
[2025-01-12 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:05:03] Production.INFO: ==25179== Lock acquired, processing the job...
[2025-01-12 09:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:05:03] Production.INFO: ==25177== Lock acquired, processing the job...
[2025-01-12 09:05:03] Production.INFO: ==25175== Lock acquired, processing the job...
[2025-01-12 09:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:05:03] Production.INFO: Account Balance Start.
[2025-01-12 09:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:05:03] Production.INFO: 117
[2025-01-12 09: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-01-12 09:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:05:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:05:03] Production.INFO: count ==21
[2025-01-12 09:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230562') start
[2025-01-12 09:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:05:03] Production.INFO: ==25171== Releasing lock...
[2025-01-12 09:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:05:04] Production.INFO: Total Charge 0
[2025-01-12 09:05:04] Production.ERROR: done
[2025-01-12 09:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230562') end
[2025-01-12 09:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:05:04] Production.INFO: 1
[2025-01-12 09:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:05:04] Production.INFO: CreateAllLog End
[2025-01-12 09:05:04] Production.INFO: ==25179== Releasing lock...
[2025-01-12 09:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:05:04] Production.ERROR: done
[2025-01-12 09:05:04] Production.INFO: Account Balance End.
[2025-01-12 09:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:05:04] Production.INFO: ==25175== Releasing lock...
[2025-01-12 09:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:05:05
[end_date_ymd] => 2025-01-12 09:05:05
[RateCDR] => 1
)
[2025-01-12 09:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:05:05' and `end` < '2025-01-12 09:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:05:11] Production.ERROR: CronJobId end10
[2025-01-12 09:05:11] Production.INFO: ==25173== Releasing lock...
[2025-01-12 09:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:05:13] Production.INFO: call_cost start
[2025-01-12 09:05:13] Production.INFO: call_cost end
[2025-01-12 09:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:05:13] Production.INFO: ==25169== Releasing lock...
[2025-01-12 09:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:05:18] Production.INFO: count ==71
[2025-01-12 09:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:05:05 - End Time 2025-01-12 09:05:05
[2025-01-12 09:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230564', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230564', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230564', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230564', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:05:18] Production.INFO: ProcessCDR(1,14230564,1,1,2)
[2025-01-12 09:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230564', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230564', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:05:21] Production.INFO: ==25177== Releasing lock...
[2025-01-12 09:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:05:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:06:02] Production.INFO: ==25236== Lock acquired, processing the job...
[2025-01-12 14:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:06:02] Production.INFO: neon service started
[2025-01-12 14:06:02] Production.INFO: neon service started
[2025-01-12 14:06:02] Production.INFO: ==25236== Releasing lock...
[2025-01-12 14:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:06:02] Production.INFO: ==25240== Lock acquired, processing the job...
[2025-01-12 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:06:02] Production.INFO: ==25240== Releasing lock...
[2025-01-12 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:06:02] Production.INFO: ==25238== Lock acquired, processing the job...
[2025-01-12 09:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:06:03] Production.INFO: ==25238== Releasing lock...
[2025-01-12 09:06:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:06:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:06:03] Production.INFO: ==25247== Lock acquired, processing the job...
[2025-01-12 09:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:06:03] Production.INFO: ==25253== Lock acquired, processing the job...
[2025-01-12 09:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:06:04] Production.INFO: ==25243== Lock acquired, processing the job...
[2025-01-12 09:06:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 09:06:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:06:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:06:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:06:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:06:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:06:04] Production.INFO: ==25245== Lock acquired, processing the job...
[2025-01-12 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:06:04] Production.INFO: count ==21
[2025-01-12 09:06:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:06:04] Production.INFO: ==25249== Lock acquired, processing the job...
[2025-01-12 09:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230565') start
[2025-01-12 09:06:04] Production.INFO: ==25251== Lock acquired, processing the job...
[2025-01-12 09:06:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:06:04] Production.INFO: Account Balance Start.
[2025-01-12 09:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:06:04] Production.INFO: 117
[2025-01-12 09:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230565') end
[2025-01-12 09:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:06:04] Production.INFO: 1
[2025-01-12 09:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:06:04] Production.INFO: ==25253== Releasing lock...
[2025-01-12 09:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:06:04] Production.INFO: ==25245== Releasing lock...
[2025-01-12 09:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:06:04] Production.ERROR: done
[2025-01-12 09:06:04] Production.INFO: Total Charge 0
[2025-01-12 09:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:06:04] Production.INFO: CreateAllLog End
[2025-01-12 09:06:04] Production.ERROR: done
[2025-01-12 09:06:05] Production.INFO: Account Balance End.
[2025-01-12 09:06:05] Production.ERROR: CronJobId end 12
[2025-01-12 09:06:05] Production.INFO: ==25249== Releasing lock...
[2025-01-12 09:06:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:06:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:06:05
[end_date_ymd] => 2025-01-12 09:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:06:05' and `end` < '2025-01-12 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-01-12 09:06:10] Production.ERROR: CronJobId end10
[2025-01-12 09:06:10] Production.INFO: ==25247== Releasing lock...
[2025-01-12 09:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:06:13] Production.INFO: call_cost start
[2025-01-12 09:06:13] Production.INFO: call_cost end
[2025-01-12 09:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:06:14] Production.INFO: ==25243== Releasing lock...
[2025-01-12 09:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:06:20] Production.INFO: count ==71
[2025-01-12 09:06:20] Production.ERROR: pbx CDR StartTime 2025-01-12 06:06:05 - End Time 2025-01-12 09:06:05
[2025-01-12 09:06:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230569', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230569', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230569', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:06:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230569', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:06:20] Production.INFO: ProcessCDR(1,14230569,1,1,2)
[2025-01-12 09:06:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230569', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230569', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:06:23] Production.INFO: ==25251== Releasing lock...
[2025-01-12 09:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:06:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:07:01] Production.INFO: ==25311== Lock acquired, processing the job...
[2025-01-12 14:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:07:01] Production.INFO: neon service started
[2025-01-12 14:07:01] Production.INFO: neon service started
[2025-01-12 14:07:01] Production.INFO: ==25311== Releasing lock...
[2025-01-12 14:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:07:01] Production.INFO: ==25315== Lock acquired, processing the job...
[2025-01-12 14:07:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:07:02] Production.INFO: ==25315== Releasing lock...
[2025-01-12 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:07:02] Production.INFO: ==25313== Lock acquired, processing the job...
[2025-01-12 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:07:02] Production.INFO: ==25313== Releasing lock...
[2025-01-12 09:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:07:03] Production.INFO: ==25323== Lock acquired, processing the job...
[2025-01-12 09:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:07:03] Production.INFO: ==25326== Lock acquired, processing the job...
[2025-01-12 09:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:07:03] Production.INFO: Account Balance Start.
[2025-01-12 09:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:07:03] Production.INFO: 117
[2025-01-12 09:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:07:03] Production.INFO: ==25317== Lock acquired, processing the job...
[2025-01-12 09:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:07:03] Production.INFO: ==25319== Lock acquired, processing the job...
[2025-01-12 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:07:03] Production.INFO: ==25321== Lock acquired, processing the job...
[2025-01-12 09:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:07:03] Production.INFO: ==25328== Lock acquired, processing the job...
[2025-01-12 09:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:07:03] Production.INFO: count ==21
[2025-01-12 09:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:07:03] Production.ERROR: done
[2025-01-12 09:07:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:07:03] Production.INFO: count ==21
[2025-01-12 09:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230572') start
[2025-01-12 09:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:07:03] Production.INFO: ==25319== Releasing lock...
[2025-01-12 09:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:07:03] Production.INFO: Total Charge 0
[2025-01-12 09:07:03] Production.ERROR: done
[2025-01-12 09:07:03] Production.INFO: CreateAllLog End
[2025-01-12 09:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230572') end
[2025-01-12 09:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:07:04] Production.INFO: 1
[2025-01-12 09:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:07:04] Production.INFO: ==25328== Releasing lock...
[2025-01-12 09:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:07:04] Production.INFO: Account Balance End.
[2025-01-12 09:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:07:04] Production.INFO: ==25323== Releasing lock...
[2025-01-12 09:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:07:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:07:04
[end_date_ymd] => 2025-01-12 09:07:04
[RateCDR] => 1
)
[2025-01-12 09:07:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:07:04' and `end` < '2025-01-12 09:07:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:07:09] Production.ERROR: CronJobId end10
[2025-01-12 09:07:09] Production.INFO: ==25321== Releasing lock...
[2025-01-12 09:07:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:07:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:07:13] Production.INFO: call_cost start
[2025-01-12 09:07:13] Production.INFO: call_cost end
[2025-01-12 09:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:07:13] Production.INFO: ==25317== Releasing lock...
[2025-01-12 09:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:07:18] Production.INFO: count ==71
[2025-01-12 09:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:07:04 - End Time 2025-01-12 09:07:04
[2025-01-12 09:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230574', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230574', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230574', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230574', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:07:18] Production.INFO: ProcessCDR(1,14230574,1,1,2)
[2025-01-12 09:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230574', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230574', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:07:21] Production.INFO: ==25326== Releasing lock...
[2025-01-12 09:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:07:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:08:02] Production.INFO: ==25381== Lock acquired, processing the job...
[2025-01-12 14:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:08:02] Production.INFO: neon service started
[2025-01-12 14:08:02] Production.INFO: neon service started
[2025-01-12 14:08:02] Production.INFO: ==25381== Releasing lock...
[2025-01-12 14:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:08:02] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-01-12 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:08:02] Production.INFO: ==25383== Releasing lock...
[2025-01-12 09:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:08:02] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-01-12 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:08:02] Production.INFO: ==25385== Releasing lock...
[2025-01-12 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:08:03] Production.INFO: ==25390== Lock acquired, processing the job...
[2025-01-12 09:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:08:03] Production.INFO: ==25388== Lock acquired, processing the job...
[2025-01-12 09:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:08:03] Production.INFO: ==25394== Lock acquired, processing the job...
[2025-01-12 09:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:08:03] Production.INFO: ==25392== Lock acquired, processing the job...
[2025-01-12 09:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:08:03] Production.INFO: Account Balance Start.
[2025-01-12 09:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:08:03] Production.INFO: 117
[2025-01-12 09:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:08:04] Production.INFO: ==25396== Lock acquired, processing the job...
[2025-01-12 09:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:08:04] Production.INFO: Total Charge 0
[2025-01-12 09:08:04] Production.INFO: ==25398== Lock acquired, processing the job...
[2025-01-12 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:08:04] Production.INFO: ==25390== Releasing lock...
[2025-01-12 09:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:08:04] Production.INFO: CreateAllLog End
[2025-01-12 09:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:08:04] Production.INFO: count ==21
[2025-01-12 09:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:08:04] Production.INFO: count ==21
[2025-01-12 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230578') start
[2025-01-12 09:08:04] Production.ERROR: done
[2025-01-12 09:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230578') end
[2025-01-12 09:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:08:04] Production.INFO: 1
[2025-01-12 09:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:08:04] Production.ERROR: done
[2025-01-12 09:08:04] Production.INFO: ==25398== Releasing lock...
[2025-01-12 09:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:08:04] Production.INFO: Account Balance End.
[2025-01-12 09:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:08:04] Production.INFO: ==25394== Releasing lock...
[2025-01-12 09:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:08:05
[end_date_ymd] => 2025-01-12 09:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:08:05' and `end` < '2025-01-12 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-01-12 09:08:11] Production.ERROR: CronJobId end10
[2025-01-12 09:08:11] Production.INFO: ==25392== Releasing lock...
[2025-01-12 09:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:08:13] Production.INFO: call_cost start
[2025-01-12 09:08:13] Production.INFO: call_cost end
[2025-01-12 09:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:08:14] Production.INFO: ==25388== Releasing lock...
[2025-01-12 09:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:08:19] Production.INFO: count ==71
[2025-01-12 09:08:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:08:05 - End Time 2025-01-12 09:08:05
[2025-01-12 09:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230579', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230579', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230579', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230579', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:08:19] Production.INFO: ProcessCDR(1,14230579,1,1,2)
[2025-01-12 09:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230579', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230579', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:08:22] Production.INFO: ==25396== Releasing lock...
[2025-01-12 09:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:08:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:09:01] Production.INFO: ==25453== Lock acquired, processing the job...
[2025-01-12 14:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:09:01] Production.INFO: neon service started
[2025-01-12 14:09:01] Production.INFO: neon service started
[2025-01-12 14:09:01] Production.INFO: ==25453== Releasing lock...
[2025-01-12 14:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:09:02] Production.INFO: ==25456== Lock acquired, processing the job...
[2025-01-12 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:09:02] Production.INFO: ==25458== Lock acquired, processing the job...
[2025-01-12 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:09:02] Production.INFO: ==25458== Releasing lock...
[2025-01-12 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:09:02] Production.INFO: ==25456== Releasing lock...
[2025-01-12 09:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:09:03] Production.INFO: ==25460== Lock acquired, processing the job...
[2025-01-12 09:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:09:03] Production.INFO: ==25464== Lock acquired, processing the job...
[2025-01-12 09:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:09:03] Production.INFO: ==25468== Lock acquired, processing the job...
[2025-01-12 09:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:09:03] Production.INFO: ==25462== Lock acquired, processing the job...
[2025-01-12 09:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:09:03] Production.INFO: ==25466== Lock acquired, processing the job...
[2025-01-12 09:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:09:03] Production.INFO: ==25470== Lock acquired, processing the job...
[2025-01-12 09:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:09:04] Production.ERROR: done
[2025-01-12 09:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:09:04] Production.INFO: Account Balance Start.
[2025-01-12 09:09:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:09:04] Production.INFO: 117
[2025-01-12 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-01-12 09:09:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:09:04] Production.INFO: count ==21
[2025-01-12 09:09:04] Production.ERROR: done
[2025-01-12 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-01-12 09:09:04] Production.INFO: count ==21
[2025-01-12 09:09:04] Production.INFO: ==25462== Releasing lock...
[2025-01-12 09:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230583') start
[2025-01-12 09:09:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230583') end
[2025-01-12 09:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:09:04] Production.INFO: 1
[2025-01-12 09:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:09:04] Production.INFO: Total Charge 0
[2025-01-12 09:09:04] Production.INFO: ==25470== Releasing lock...
[2025-01-12 09:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:09:04] Production.INFO: CreateAllLog End
[2025-01-12 09:09:04] Production.INFO: Account Balance End.
[2025-01-12 09:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:09:04] Production.INFO: ==25466== Releasing lock...
[2025-01-12 09:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:09:05
[end_date_ymd] => 2025-01-12 09:09:05
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:09:05' and `end` < '2025-01-12 09: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-01-12 09:09:11] Production.ERROR: CronJobId end10
[2025-01-12 09:09:11] Production.INFO: ==25464== Releasing lock...
[2025-01-12 09:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:09:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:09:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:09:14] Production.INFO: call_cost start
[2025-01-12 09:09:14] Production.INFO: call_cost end
[2025-01-12 09:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:09:15] Production.INFO: ==25460== Releasing lock...
[2025-01-12 09:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:09:18] Production.INFO: count ==71
[2025-01-12 09:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:09:05 - End Time 2025-01-12 09:09:05
[2025-01-12 09:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230584', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230584', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230584', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230584', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:09:18] Production.INFO: ProcessCDR(1,14230584,1,1,2)
[2025-01-12 09:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230584', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230584', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:09:21] Production.INFO: ==25468== Releasing lock...
[2025-01-12 09:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:09:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:10:02] Production.INFO: ==25527== Lock acquired, processing the job...
[2025-01-12 14:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:10:02] Production.INFO: neon service started
[2025-01-12 14:10:02] Production.INFO: neon service started
[2025-01-12 14:10:02] Production.INFO: ==25527== Releasing lock...
[2025-01-12 14:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:10:02] Production.INFO: ==25529== Lock acquired, processing the job...
[2025-01-12 09:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:10:02] Production.INFO: ==25531== Lock acquired, processing the job...
[2025-01-12 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:10:02] Production.INFO: ==25531== Releasing lock...
[2025-01-12 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:10:03] Production.INFO: ==25529== Releasing lock...
[2025-01-12 09:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:10:03] Production.INFO: ==25534== Lock acquired, processing the job...
[2025-01-12 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 09:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 09:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 09:10:03] Production.INFO: ==25534== Releasing lock...
[2025-01-12 09:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 09:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 09:10:03] Production.INFO: ==25536== Lock acquired, processing the job...
[2025-01-12 09:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:10:03] Production.INFO: ==25538== Lock acquired, processing the job...
[2025-01-12 09:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:10:04] Production.INFO: ==25540== Lock acquired, processing the job...
[2025-01-12 09:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:10:04] Production.INFO: ==25546== Lock acquired, processing the job...
[2025-01-12 09:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 09:10:04] Production.INFO: ==25542== Lock acquired, processing the job...
[2025-01-12 09:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:10:04] Production.INFO: ==25544== Lock acquired, processing the job...
[2025-01-12 09:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:10:04] Production.INFO: ==25538== Releasing lock...
[2025-01-12 09:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:10:04] Production.INFO: Account Balance Start.
[2025-01-12 09:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:10:04] Production.INFO: ==25548== Lock acquired, processing the job...
[2025-01-12 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:10:04] Production.INFO: 117
[2025-01-12 09:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:10:04] Production.INFO: count ==21
[2025-01-12 09:10:04] Production.ERROR: done
[2025-01-12 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-01-12 09:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:10:04] Production.INFO: count ==21
[2025-01-12 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230588') start
[2025-01-12 09:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 09:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230589', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 09:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230588') end
[2025-01-12 09:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:10:04] Production.INFO: 1
[2025-01-12 09:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:10:04] Production.ERROR: done
[2025-01-12 09:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:10:04] Production.INFO: Total Charge 0
[2025-01-12 09:10:04] Production.INFO: ==25548== Releasing lock...
[2025-01-12 09:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:10:05] Production.INFO: CreateAllLog End
[2025-01-12 09:10:05] Production.ERROR: done
[2025-01-12 09:10:05] Production.INFO: Account Balance End.
[2025-01-12 09:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 09:10:05] Production.INFO: ==25542== Releasing lock...
[2025-01-12 09:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:10:06
[end_date_ymd] => 2025-01-12 09:10:06
[RateCDR] => 1
)
[2025-01-12 09:10:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:10:06' and `end` < '2025-01-12 09:10:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230589', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 09:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 09:10:08] Production.INFO: ProcessCDR(1,14230589,1,1,2)
[2025-01-12 09:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230589,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230589,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:10:08] Production.INFO: ==25546== Releasing lock...
[2025-01-12 09:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 09:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 09:10:12] Production.ERROR: CronJobId end10
[2025-01-12 09:10:12] Production.INFO: ==25540== Releasing lock...
[2025-01-12 09:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:10:14] Production.INFO: call_cost start
[2025-01-12 09:10:14] Production.INFO: call_cost end
[2025-01-12 09:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:10:15] Production.INFO: ==25536== Releasing lock...
[2025-01-12 09:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:10:20] Production.INFO: count ==76
[2025-01-12 09:10:20] Production.ERROR: pbx CDR StartTime 2025-01-12 06:10:06 - End Time 2025-01-12 09:10:06
[2025-01-12 09:10:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230590', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230590', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230590', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:10:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230590', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:10:20] Production.INFO: ProcessCDR(1,14230590,1,1,2)
[2025-01-12 09:10:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230590,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:10:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230590,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230590', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:10:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230590', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:10:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:10:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:10:25] Production.INFO: ==25544== Releasing lock...
[2025-01-12 09:10:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:10:25] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:11:01] Production.INFO: ==25604== Lock acquired, processing the job...
[2025-01-12 14:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:11:01] Production.INFO: neon service started
[2025-01-12 14:11:01] Production.INFO: neon service started
[2025-01-12 14:11:01] Production.INFO: ==25604== Releasing lock...
[2025-01-12 14:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:11:01] Production.INFO: ==25608== Lock acquired, processing the job...
[2025-01-12 09:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:11:02] Production.INFO: ==25608== Releasing lock...
[2025-01-12 09:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:11:02] Production.INFO: ==25610== Lock acquired, processing the job...
[2025-01-12 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:11:02] Production.INFO: ==25610== Releasing lock...
[2025-01-12 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:11:03] Production.INFO: ==25612== Lock acquired, processing the job...
[2025-01-12 09:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:11:03] Production.INFO: ==25614== Lock acquired, processing the job...
[2025-01-12 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:11:03] Production.INFO: ==25616== Lock acquired, processing the job...
[2025-01-12 09:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:11:03] Production.INFO: ==25619== Lock acquired, processing the job...
[2025-01-12 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:11:03] Production.INFO: Account Balance Start.
[2025-01-12 09:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:11:03] Production.INFO: 117
[2025-01-12 09:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:11:03] Production.INFO: ==25623== Lock acquired, processing the job...
[2025-01-12 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:11:03] Production.INFO: ==25621== Lock acquired, processing the job...
[2025-01-12 09:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09: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-01-12 09:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:11:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:11:03] Production.INFO: count ==21
[2025-01-12 09:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230594') start
[2025-01-12 09:11:03] Production.INFO: ==25614== Releasing lock...
[2025-01-12 09:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:11:03] Production.INFO: Total Charge 0
[2025-01-12 09:11:03] Production.INFO: CreateAllLog End
[2025-01-12 09:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230594') end
[2025-01-12 09:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:11:03] Production.INFO: 1
[2025-01-12 09:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:11:03] Production.INFO: Account Balance End.
[2025-01-12 09:11:03] Production.INFO: ==25623== Releasing lock...
[2025-01-12 09:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:11:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:11:03] Production.INFO: ==25619== Releasing lock...
[2025-01-12 09:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:11:03] Production.ERROR: done
[2025-01-12 09:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:11:04] Production.ERROR: done
[2025-01-12 09:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:11:05
[end_date_ymd] => 2025-01-12 09:11:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:11:05' and `end` < '2025-01-12 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-01-12 09:11:10] Production.ERROR: CronJobId end10
[2025-01-12 09:11:10] Production.INFO: ==25616== Releasing lock...
[2025-01-12 09:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:11:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:11:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:11:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:11:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:11:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:11:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:11:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:11:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:11:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:11:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:11:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:11:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:11:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:11:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:11:12] Production.INFO: call_cost start
[2025-01-12 09:11:12] Production.INFO: call_cost end
[2025-01-12 09:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:11:13] Production.INFO: ==25612== Releasing lock...
[2025-01-12 09:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:11:18] Production.INFO: count ==76
[2025-01-12 09:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:11:05 - End Time 2025-01-12 09:11:05
[2025-01-12 09:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230595', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230595', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230595', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230595', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:11:18] Production.INFO: ProcessCDR(1,14230595,1,1,2)
[2025-01-12 09:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:11:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230595,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:11:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:11:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230595,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230595', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:11:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230595', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:11:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:11:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:11:21] Production.INFO: ==25621== Releasing lock...
[2025-01-12 09:11:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:11:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:12:01] Production.INFO: ==25678== Lock acquired, processing the job...
[2025-01-12 14:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:12:01] Production.INFO: neon service started
[2025-01-12 14:12:01] Production.INFO: neon service started
[2025-01-12 14:12:01] Production.INFO: ==25678== Releasing lock...
[2025-01-12 14:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:12:02] Production.INFO: ==25680== Lock acquired, processing the job...
[2025-01-12 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:12:02] Production.INFO: ==25680== Releasing lock...
[2025-01-12 09:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:12:02] Production.INFO: ==25682== Lock acquired, processing the job...
[2025-01-12 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:12:02] Production.INFO: ==25682== Releasing lock...
[2025-01-12 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:12:03] Production.INFO: ==25688== Lock acquired, processing the job...
[2025-01-12 09:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:12:03] Production.INFO: ==25692== Lock acquired, processing the job...
[2025-01-12 09:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:12:03] Production.INFO: ==25684== Lock acquired, processing the job...
[2025-01-12 09:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:12:03] Production.INFO: ==25686== Lock acquired, processing the job...
[2025-01-12 09:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:12:03] Production.INFO: ==25690== Lock acquired, processing the job...
[2025-01-12 09:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:12:03] Production.INFO: ==25694== Lock acquired, processing the job...
[2025-01-12 09:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:12:04] Production.ERROR: done
[2025-01-12 09:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:12:04] Production.INFO: Account Balance Start.
[2025-01-12 09:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:12:04] Production.INFO: 117
[2025-01-12 09:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:12:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:12:04] Production.INFO: count ==21
[2025-01-12 09:12:04] Production.ERROR: done
[2025-01-12 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230599') start
[2025-01-12 09:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230599') end
[2025-01-12 09:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:12:04] Production.INFO: 1
[2025-01-12 09:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:12:04] Production.INFO: ==25694== Releasing lock...
[2025-01-12 09:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:12:04] Production.INFO: Total Charge 0
[2025-01-12 09:12:04] Production.INFO: CreateAllLog End
[2025-01-12 09:12:04] Production.INFO: ==25686== Releasing lock...
[2025-01-12 09:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:12:04] Production.INFO: Account Balance End.
[2025-01-12 09:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:12:04] Production.INFO: ==25690== Releasing lock...
[2025-01-12 09:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:12:05
[end_date_ymd] => 2025-01-12 09:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:12:05' and `end` < '2025-01-12 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-01-12 09:12:10] Production.ERROR: CronJobId end10
[2025-01-12 09:12:10] Production.INFO: ==25688== Releasing lock...
[2025-01-12 09:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:12:13] Production.INFO: call_cost start
[2025-01-12 09:12:13] Production.INFO: call_cost end
[2025-01-12 09:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:12:13] Production.INFO: ==25684== Releasing lock...
[2025-01-12 09:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:12:18] Production.INFO: count ==77
[2025-01-12 09:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:12:05 - End Time 2025-01-12 09:12:05
[2025-01-12 09:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230600', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230600', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230600', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230600', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:12:18] Production.INFO: ProcessCDR(1,14230600,1,1,2)
[2025-01-12 09:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230600,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230600,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230600', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230600', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:12:23] Production.INFO: ==25692== Releasing lock...
[2025-01-12 09:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:12:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:13:01] Production.INFO: ==25752== Lock acquired, processing the job...
[2025-01-12 14:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:13:01] Production.INFO: neon service started
[2025-01-12 14:13:01] Production.INFO: neon service started
[2025-01-12 14:13:01] Production.INFO: ==25752== Releasing lock...
[2025-01-12 14:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:13:01] Production.INFO: ==25756== Lock acquired, processing the job...
[2025-01-12 14:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:13:01] Production.INFO: ==25756== Releasing lock...
[2025-01-12 14:13:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:13:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:13:01] Production.INFO: ==25754== Lock acquired, processing the job...
[2025-01-12 09:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:13:02] Production.INFO: ==25754== Releasing lock...
[2025-01-12 09:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:13:02] Production.INFO: ==25761== Lock acquired, processing the job...
[2025-01-12 09:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:13:02] Production.INFO: ==25765== Lock acquired, processing the job...
[2025-01-12 09:13:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:13:02] Production.INFO: ==25761== Releasing lock...
[2025-01-12 09:13:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:13:02] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:13:02] Production.INFO: ==25767== Lock acquired, processing the job...
[2025-01-12 09:13:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:13:02] Production.INFO: Account Balance Start.
[2025-01-12 09:13:02] Production.INFO: CreateAllLog Start
[2025-01-12 09:13:02] Production.INFO: 117
[2025-01-12 09:13:02] Production.INFO: Date 2025-01-08
[2025-01-12 09:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:13:03] Production.INFO: ==25759== Lock acquired, processing the job...
[2025-01-12 09:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:13:03] Production.INFO: ==25763== Lock acquired, processing the job...
[2025-01-12 09:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:13:03] Production.INFO: ==25769== Lock acquired, processing the job...
[2025-01-12 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:13:03] Production.INFO: Total Charge 0
[2025-01-12 09:13:03] Production.INFO: CreateAllLog End
[2025-01-12 09:13:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:13:03] Production.INFO: count ==21
[2025-01-12 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230604') start
[2025-01-12 09:13:03] Production.ERROR: done
[2025-01-12 09:13:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:13:03] Production.INFO: Account Balance End.
[2025-01-12 09:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230604') end
[2025-01-12 09:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:13:03] Production.INFO: 1
[2025-01-12 09:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:13:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:13:03] Production.INFO: ==25765== Releasing lock...
[2025-01-12 09:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:13:03] Production.ERROR: done
[2025-01-12 09:13:03] Production.INFO: ==25769== Releasing lock...
[2025-01-12 09:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:13:04
[end_date_ymd] => 2025-01-12 09:13:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:13:04' and `end` < '2025-01-12 09: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-01-12 09:13:10] Production.ERROR: CronJobId end10
[2025-01-12 09:13:10] Production.INFO: ==25763== Releasing lock...
[2025-01-12 09:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:13:13] Production.INFO: call_cost start
[2025-01-12 09:13:13] Production.INFO: call_cost end
[2025-01-12 09:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:13:14] Production.INFO: ==25759== Releasing lock...
[2025-01-12 09:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:13:17] Production.INFO: count ==77
[2025-01-12 09:13:17] Production.ERROR: pbx CDR StartTime 2025-01-12 06:13:04 - End Time 2025-01-12 09:13:04
[2025-01-12 09:13:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230605', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230605', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230605', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:13:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230605', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:13:17] Production.INFO: ProcessCDR(1,14230605,1,1,2)
[2025-01-12 09:13:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:13:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230605,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:13:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230605,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230605', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230605', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:13:21] Production.INFO: ==25767== Releasing lock...
[2025-01-12 09:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:13:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:14:01] Production.INFO: ==25825== Lock acquired, processing the job...
[2025-01-12 14:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:14:01] Production.INFO: neon service started
[2025-01-12 14:14:01] Production.INFO: neon service started
[2025-01-12 14:14:01] Production.INFO: ==25825== Releasing lock...
[2025-01-12 14:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:14:02] Production.INFO: ==25827== Lock acquired, processing the job...
[2025-01-12 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:14:02] Production.INFO: ==25827== Releasing lock...
[2025-01-12 09:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:14:02] Production.INFO: ==25829== Lock acquired, processing the job...
[2025-01-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:14:02] Production.INFO: ==25829== Releasing lock...
[2025-01-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:14:03] Production.INFO: ==25831== Lock acquired, processing the job...
[2025-01-12 09:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:14:03] Production.INFO: ==25833== Lock acquired, processing the job...
[2025-01-12 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:14:03] Production.INFO: ==25838== Lock acquired, processing the job...
[2025-01-12 09:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:14:03] Production.INFO: Account Balance Start.
[2025-01-12 09:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:14:03] Production.INFO: 117
[2025-01-12 09:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:14:03] Production.INFO: ==25842== Lock acquired, processing the job...
[2025-01-12 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:14:03] Production.INFO: ==25835== Lock acquired, processing the job...
[2025-01-12 09:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:14:03] Production.INFO: ==25840== Lock acquired, processing the job...
[2025-01-12 09:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:14:03] Production.INFO: count ==21
[2025-01-12 09:14:03] Production.INFO: ==25833== Releasing lock...
[2025-01-12 09:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:14:03] Production.INFO: count ==21
[2025-01-12 09:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:14:03] Production.INFO: Total Charge 0
[2025-01-12 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230609') start
[2025-01-12 09:14:03] Production.INFO: CreateAllLog End
[2025-01-12 09:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230609') end
[2025-01-12 09:14:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:14:03] Production.INFO: 1
[2025-01-12 09:14:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:14:03] Production.INFO: ==25842== Releasing lock...
[2025-01-12 09:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:14:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:14:04] Production.ERROR: done
[2025-01-12 09:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:14:04] Production.INFO: Account Balance End.
[2025-01-12 09:14:04] Production.ERROR: done
[2025-01-12 09:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:14:04] Production.INFO: ==25838== Releasing lock...
[2025-01-12 09:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:14:05
[end_date_ymd] => 2025-01-12 09:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:14:05' and `end` < '2025-01-12 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-01-12 09:14:11] Production.ERROR: CronJobId end10
[2025-01-12 09:14:11] Production.INFO: ==25835== Releasing lock...
[2025-01-12 09:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:14:13] Production.INFO: call_cost start
[2025-01-12 09:14:13] Production.INFO: call_cost end
[2025-01-12 09:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:14:14] Production.INFO: ==25831== Releasing lock...
[2025-01-12 09:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:14:19] Production.INFO: count ==77
[2025-01-12 09:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:14:05 - End Time 2025-01-12 09:14:05
[2025-01-12 09:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230610', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230610', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230610', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230610', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:14:19] Production.INFO: ProcessCDR(1,14230610,1,1,2)
[2025-01-12 09:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230610', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230610', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:14:22] Production.INFO: ==25840== Releasing lock...
[2025-01-12 09:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:14:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:15:02] Production.INFO: ==25899== Lock acquired, processing the job...
[2025-01-12 14:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:15:02] Production.INFO: neon service started
[2025-01-12 14:15:02] Production.INFO: neon service started
[2025-01-12 14:15:02] Production.INFO: ==25899== Releasing lock...
[2025-01-12 14:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:15:02] Production.INFO: ==25901== Lock acquired, processing the job...
[2025-01-12 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:15:02] Production.INFO: ==25903== Lock acquired, processing the job...
[2025-01-12 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:15:02] Production.INFO: ==25903== Releasing lock...
[2025-01-12 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:15:02] Production.INFO: ==25901== Releasing lock...
[2025-01-12 09:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:15:03] Production.INFO: ==25906== Lock acquired, processing the job...
[2025-01-12 09:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:15:03] Production.INFO: ==25908== Lock acquired, processing the job...
[2025-01-12 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:15:03] Production.INFO: ==25910== Lock acquired, processing the job...
[2025-01-12 09:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:15:03] Production.INFO: ==25908== Releasing lock...
[2025-01-12 09:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:15:03] Production.INFO: ==25912== Lock acquired, processing the job...
[2025-01-12 09:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:15:04] Production.INFO: Account Balance Start.
[2025-01-12 09:15:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:15:04] Production.INFO: 117
[2025-01-12 09:15:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:15:04] Production.INFO: ==25916== Lock acquired, processing the job...
[2025-01-12 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:15:04] Production.INFO: ==25914== Lock acquired, processing the job...
[2025-01-12 09:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:15:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:15:04] Production.INFO: Total Charge 0
[2025-01-12 09:15:04] Production.INFO: count ==21
[2025-01-12 09:15:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 09:15:04] Production.INFO: count ==21
[2025-01-12 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230614') start
[2025-01-12 09:15:04] Production.ERROR: done
[2025-01-12 09:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230614') end
[2025-01-12 09:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:15:04] Production.INFO: 1
[2025-01-12 09:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:15:04] Production.INFO: ==25916== Releasing lock...
[2025-01-12 09:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:15:04] Production.INFO: Account Balance End.
[2025-01-12 09:15:04] Production.ERROR: done
[2025-01-12 09:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:15:04] Production.INFO: ==25912== Releasing lock...
[2025-01-12 09:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:15:05
[end_date_ymd] => 2025-01-12 09:15:05
[RateCDR] => 1
)
[2025-01-12 09:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:15:05' and `end` < '2025-01-12 09:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:15:11] Production.ERROR: CronJobId end10
[2025-01-12 09:15:11] Production.INFO: ==25910== Releasing lock...
[2025-01-12 09:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:15:13] Production.INFO: call_cost start
[2025-01-12 09:15:13] Production.INFO: call_cost end
[2025-01-12 09:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:15:14] Production.INFO: ==25906== Releasing lock...
[2025-01-12 09:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:15:18] Production.INFO: count ==78
[2025-01-12 09:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:15:05 - End Time 2025-01-12 09:15:05
[2025-01-12 09:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230615', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230615', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230615', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230615', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:15:18] Production.INFO: ProcessCDR(1,14230615,1,1,2)
[2025-01-12 09:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230615', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230615', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:15:23] Production.INFO: ==25914== Releasing lock...
[2025-01-12 09:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:15:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:16:01] Production.INFO: ==25968== Lock acquired, processing the job...
[2025-01-12 14:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:16:01] Production.INFO: neon service started
[2025-01-12 14:16:01] Production.INFO: neon service started
[2025-01-12 14:16:01] Production.INFO: ==25968== Releasing lock...
[2025-01-12 14:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:16:02] Production.INFO: ==25970== Lock acquired, processing the job...
[2025-01-12 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:16:02] Production.INFO: ==25972== Lock acquired, processing the job...
[2025-01-12 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:16:02] Production.INFO: ==25972== Releasing lock...
[2025-01-12 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:16:02] Production.INFO: ==25970== Releasing lock...
[2025-01-12 09:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:16:03] Production.INFO: ==25977== Lock acquired, processing the job...
[2025-01-12 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:16:03] Production.INFO: ==25985== Lock acquired, processing the job...
[2025-01-12 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:16:03] Production.INFO: ==25975== Lock acquired, processing the job...
[2025-01-12 09:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:16:03] Production.INFO: ==25977== Releasing lock...
[2025-01-12 09:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 09:16:03] Production.INFO: count ==21
[2025-01-12 09:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 09:16:03] Production.INFO: count ==21
[2025-01-12 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230617') start
[2025-01-12 09:16:03] Production.INFO: ==25979== Lock acquired, processing the job...
[2025-01-12 09:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:16:03] Production.INFO: ==25981== Lock acquired, processing the job...
[2025-01-12 09:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:16:03] Production.INFO: ==25983== Lock acquired, processing the job...
[2025-01-12 09:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230617') end
[2025-01-12 09:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:16:03] Production.INFO: 1
[2025-01-12 09:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:16:03] Production.INFO: Account Balance Start.
[2025-01-12 09:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:16:03] Production.INFO: 117
[2025-01-12 09:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:16:03] Production.INFO: ==25985== Releasing lock...
[2025-01-12 09:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:16:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:16:04] Production.INFO: Total Charge 0
[2025-01-12 09:16:04] Production.INFO: CreateAllLog End
[2025-01-12 09:16:04] Production.ERROR: done
[2025-01-12 09:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:16:04] Production.INFO: Account Balance End.
[2025-01-12 09:16:04] Production.ERROR: done
[2025-01-12 09:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:16:04] Production.INFO: ==25981== Releasing lock...
[2025-01-12 09:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:16:05
[end_date_ymd] => 2025-01-12 09:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:16:05' and `end` < '2025-01-12 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-01-12 09:16:10] Production.ERROR: CronJobId end10
[2025-01-12 09:16:10] Production.INFO: ==25979== Releasing lock...
[2025-01-12 09:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:16:13] Production.INFO: call_cost start
[2025-01-12 09:16:13] Production.INFO: call_cost end
[2025-01-12 09:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:16:14] Production.INFO: ==25975== Releasing lock...
[2025-01-12 09:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:16:18] Production.INFO: count ==78
[2025-01-12 09:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:16:05 - End Time 2025-01-12 09:16:05
[2025-01-12 09:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230620', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230620', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230620', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230620', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:16:18] Production.INFO: ProcessCDR(1,14230620,1,1,2)
[2025-01-12 09:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:16:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230620', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:16:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230620', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:16:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:16:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:16:21] Production.INFO: ==25983== Releasing lock...
[2025-01-12 09:16:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:16:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:17:02] Production.INFO: ==26044== Lock acquired, processing the job...
[2025-01-12 14:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:17:02] Production.INFO: neon service started
[2025-01-12 14:17:02] Production.INFO: neon service started
[2025-01-12 14:17:02] Production.INFO: ==26044== Releasing lock...
[2025-01-12 14:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:17:02] Production.INFO: ==26048== Lock acquired, processing the job...
[2025-01-12 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:17:02] Production.INFO: ==26048== Releasing lock...
[2025-01-12 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:17:02] Production.INFO: ==26046== Lock acquired, processing the job...
[2025-01-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:17:02] Production.INFO: ==26046== Releasing lock...
[2025-01-12 09:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:17:03] Production.INFO: ==26055== Lock acquired, processing the job...
[2025-01-12 09:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:17:03] Production.INFO: ==26059== Lock acquired, processing the job...
[2025-01-12 09:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:17:03] Production.INFO: ==26051== Lock acquired, processing the job...
[2025-01-12 09:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:17:03] Production.INFO: ==26053== Lock acquired, processing the job...
[2025-01-12 09:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:17:03] Production.INFO: ==26057== Lock acquired, processing the job...
[2025-01-12 09:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:17:04] Production.INFO: ==26061== Lock acquired, processing the job...
[2025-01-12 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:17:04] Production.ERROR: done
[2025-01-12 09:17:04] Production.INFO: Account Balance Start.
[2025-01-12 09:17:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:17:04] Production.INFO: 117
[2025-01-12 09:17:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:17:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:17:04] Production.INFO: count ==21
[2025-01-12 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230624') start
[2025-01-12 09:17:04] Production.ERROR: done
[2025-01-12 09:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230624') end
[2025-01-12 09:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:17:04] Production.INFO: 1
[2025-01-12 09:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:17:04] Production.INFO: ==26053== Releasing lock...
[2025-01-12 09:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:17:04] Production.INFO: ==26061== Releasing lock...
[2025-01-12 09:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:17:04] Production.INFO: Total Charge 0
[2025-01-12 09:17:04] Production.INFO: CreateAllLog End
[2025-01-12 09:17:04] Production.INFO: Account Balance End.
[2025-01-12 09:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:17:04] Production.INFO: ==26057== Releasing lock...
[2025-01-12 09:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:17:05
[end_date_ymd] => 2025-01-12 09:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:17:05' and `end` < '2025-01-12 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-01-12 09:17:11] Production.ERROR: CronJobId end10
[2025-01-12 09:17:11] Production.INFO: ==26055== Releasing lock...
[2025-01-12 09:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:17:13] Production.INFO: call_cost start
[2025-01-12 09:17:13] Production.INFO: call_cost end
[2025-01-12 09:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:17:14] Production.INFO: ==26051== Releasing lock...
[2025-01-12 09:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:17:18] Production.INFO: count ==78
[2025-01-12 09:17:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:17:05 - End Time 2025-01-12 09:17:05
[2025-01-12 09:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230625', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230625', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230625', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230625', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:17:18] Production.INFO: ProcessCDR(1,14230625,1,1,2)
[2025-01-12 09:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:17:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:17:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:17:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230625', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:17:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230625', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:17:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:17:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:17:21] Production.INFO: ==26059== Releasing lock...
[2025-01-12 09:17:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:17:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:18:01] Production.INFO: ==26116== Lock acquired, processing the job...
[2025-01-12 14:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:18:01] Production.INFO: neon service started
[2025-01-12 14:18:01] Production.INFO: neon service started
[2025-01-12 14:18:01] Production.INFO: ==26116== Releasing lock...
[2025-01-12 14:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:18:01] Production.INFO: ==26118== Lock acquired, processing the job...
[2025-01-12 09:18:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:18:02] Production.INFO: ==26118== Releasing lock...
[2025-01-12 09:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:18:02] Production.INFO: ==26120== Lock acquired, processing the job...
[2025-01-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:18:02] Production.INFO: ==26120== Releasing lock...
[2025-01-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:18:02] Production.INFO: ==26125== Lock acquired, processing the job...
[2025-01-12 09:18:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:18:02] Production.INFO: ==26125== Releasing lock...
[2025-01-12 09:18:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:18:02] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:18:03] Production.INFO: ==26123== Lock acquired, processing the job...
[2025-01-12 09:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:18:03] Production.INFO: ==26127== Lock acquired, processing the job...
[2025-01-12 09:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:18:03] Production.INFO: ==26129== Lock acquired, processing the job...
[2025-01-12 09:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:18:03] Production.INFO: ==26131== Lock acquired, processing the job...
[2025-01-12 09:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:18:03] Production.INFO: ==26133== Lock acquired, processing the job...
[2025-01-12 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:18:03] Production.INFO: Account Balance Start.
[2025-01-12 09:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:18:03] Production.INFO: 117
[2025-01-12 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-01-12 09:18:03] Production.INFO: count ==21
[2025-01-12 09:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 09:18:03] Production.INFO: count ==21
[2025-01-12 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230629') start
[2025-01-12 09:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:18:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:18:03] Production.INFO: Total Charge 0
[2025-01-12 09:18:03] Production.INFO: CreateAllLog End
[2025-01-12 09:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230629') end
[2025-01-12 09:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:18:03] Production.INFO: 1
[2025-01-12 09:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:18:03] Production.ERROR: done
[2025-01-12 09:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:18:03] Production.INFO: ==26133== Releasing lock...
[2025-01-12 09:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:18:04] Production.ERROR: done
[2025-01-12 09:18:04] Production.INFO: Account Balance End.
[2025-01-12 09:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:18:04] Production.INFO: ==26129== Releasing lock...
[2025-01-12 09:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:18:05
[end_date_ymd] => 2025-01-12 09:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:18:05' and `end` < '2025-01-12 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-01-12 09:18:10] Production.ERROR: CronJobId end10
[2025-01-12 09:18:10] Production.INFO: ==26127== Releasing lock...
[2025-01-12 09:18:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:18:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:18:12] Production.INFO: call_cost start
[2025-01-12 09:18:12] Production.INFO: call_cost end
[2025-01-12 09:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:18:13] Production.INFO: ==26123== Releasing lock...
[2025-01-12 09:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:18:18] Production.INFO: count ==78
[2025-01-12 09:18:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:18:05 - End Time 2025-01-12 09:18:05
[2025-01-12 09:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230630', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230630', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230630', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230630', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:18:18] Production.INFO: ProcessCDR(1,14230630,1,1,2)
[2025-01-12 09:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230630', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230630', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:18:21] Production.INFO: ==26131== Releasing lock...
[2025-01-12 09:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:18:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:19:01] Production.INFO: ==26189== Lock acquired, processing the job...
[2025-01-12 14:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:19:01] Production.INFO: neon service started
[2025-01-12 14:19:01] Production.INFO: neon service started
[2025-01-12 14:19:01] Production.INFO: ==26189== Releasing lock...
[2025-01-12 14:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:19:02] Production.INFO: ==26191== Lock acquired, processing the job...
[2025-01-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:19:02] Production.INFO: ==26193== Lock acquired, processing the job...
[2025-01-12 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:19:02] Production.INFO: ==26193== Releasing lock...
[2025-01-12 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:19:02] Production.INFO: ==26191== Releasing lock...
[2025-01-12 09:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:19:03] Production.INFO: ==26196== Lock acquired, processing the job...
[2025-01-12 09:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:19:03] Production.INFO: ==26198== Lock acquired, processing the job...
[2025-01-12 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:19:03] Production.INFO: ==26204== Lock acquired, processing the job...
[2025-01-12 09:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:19:03] Production.INFO: ==26200== Lock acquired, processing the job...
[2025-01-12 09:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:19:03] Production.INFO: ==26202== Lock acquired, processing the job...
[2025-01-12 09:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:19:03] Production.INFO: ==26198== Releasing lock...
[2025-01-12 09:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:19:03] Production.INFO: ==26206== Lock acquired, processing the job...
[2025-01-12 09:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:19:03] Production.ERROR: done
[2025-01-12 09:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 09:19:04] Production.INFO: Account Balance Start.
[2025-01-12 09:19:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:19:04] Production.INFO: count ==21
[2025-01-12 09:19:04] Production.INFO: 117
[2025-01-12 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-01-12 09:19:04] Production.INFO: count ==21
[2025-01-12 09:19:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230633') start
[2025-01-12 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:19:04] Production.ERROR: done
[2025-01-12 09:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230633') end
[2025-01-12 09:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:19:04] Production.INFO: 1
[2025-01-12 09:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:19:04] Production.INFO: ==26206== Releasing lock...
[2025-01-12 09:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:19:04] Production.INFO: Total Charge 0
[2025-01-12 09:19:04] Production.INFO: CreateAllLog End
[2025-01-12 09:19:04] Production.INFO: Account Balance End.
[2025-01-12 09:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:19:04] Production.INFO: ==26202== Releasing lock...
[2025-01-12 09:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:19:05
[end_date_ymd] => 2025-01-12 09:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:19:05' and `end` < '2025-01-12 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-01-12 09:19:11] Production.ERROR: CronJobId end10
[2025-01-12 09:19:11] Production.INFO: ==26200== Releasing lock...
[2025-01-12 09:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:19:13] Production.INFO: call_cost start
[2025-01-12 09:19:13] Production.INFO: call_cost end
[2025-01-12 09:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:19:14] Production.INFO: ==26196== Releasing lock...
[2025-01-12 09:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:19:19] Production.INFO: count ==78
[2025-01-12 09:19:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:19:05 - End Time 2025-01-12 09:19:05
[2025-01-12 09:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230635', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230635', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230635', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230635', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:19:19] Production.INFO: ProcessCDR(1,14230635,1,1,2)
[2025-01-12 09:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230635', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230635', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:19:22] Production.INFO: ==26204== Releasing lock...
[2025-01-12 09:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:19:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:20:02] Production.INFO: ==26305== Lock acquired, processing the job...
[2025-01-12 14:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:20:02] Production.INFO: neon service started
[2025-01-12 14:20:02] Production.INFO: neon service started
[2025-01-12 14:20:02] Production.INFO: ==26305== Releasing lock...
[2025-01-12 14:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:20:02] Production.INFO: ==26307== Lock acquired, processing the job...
[2025-01-12 09:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:20:02] Production.INFO: ==26309== Lock acquired, processing the job...
[2025-01-12 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:20:02] Production.INFO: ==26309== Releasing lock...
[2025-01-12 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:20:03] Production.INFO: ==26307== Releasing lock...
[2025-01-12 09:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:20:03] Production.INFO: ==26314== Lock acquired, processing the job...
[2025-01-12 09:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:20:03] Production.INFO: ==26312== Lock acquired, processing the job...
[2025-01-12 09:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 09:20:04] Production.INFO: ==26316== Lock acquired, processing the job...
[2025-01-12 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 09:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 09:20:04] Production.ERROR: CronJob PID - 26314
[2025-01-12 09:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 09:20:04] Production.ERROR: CronJob ID - 5
[2025-01-12 09:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 09:20:00
[2025-01-12 09:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 09:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 09:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 09:20:04] Production.INFO: ==26312== Releasing lock...
[2025-01-12 09:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 09:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 09:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:20:04] Production.INFO: ==26318== Lock acquired, processing the job...
[2025-01-12 09:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:20:04] Production.INFO: ==26322== Lock acquired, processing the job...
[2025-01-12 09:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:20:04] Production.INFO: ==26320== Lock acquired, processing the job...
[2025-01-12 09:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:20:04] Production.INFO: ==26326== Lock acquired, processing the job...
[2025-01-12 09:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:20:04] Production.INFO: ==26316== Releasing lock...
[2025-01-12 09:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:20:04] Production.INFO: ==26324== Lock acquired, processing the job...
[2025-01-12 09:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:20:04] Production.INFO: Account Balance Start.
[2025-01-12 09:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:20:04] Production.INFO: 117
[2025-01-12 09:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 09:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:20:04] Production.INFO: count ==21
[2025-01-12 09:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 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-01-12 09:20:04] Production.INFO: count ==21
[2025-01-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230639') start
[2025-01-12 09:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:20:05] Production.ERROR: done
[2025-01-12 09:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 09:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230640', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 09:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230639') end
[2025-01-12 09:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:20:05] Production.INFO: 1
[2025-01-12 09:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:20:05] Production.ERROR: done
[2025-01-12 09:20:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:20:05] Production.INFO: Date 2025-01-12
[2025-01-12 09:20:05] Production.INFO: Reseller ==> 0
[2025-01-12 09:20:05] Production.INFO: Total Charge 0
[2025-01-12 09:20:05] Production.INFO: CreateAllLog End
[2025-01-12 09:20:05] Production.INFO: ==26326== Releasing lock...
[2025-01-12 09:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:20:05] Production.ERROR: done
[2025-01-12 09:20:05] Production.INFO: Account Balance End.
[2025-01-12 09:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 09:20:05] Production.INFO: ==26320== Releasing lock...
[2025-01-12 09:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:20:06
[end_date_ymd] => 2025-01-12 09:20:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:20:06' and `end` < '2025-01-12 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-01-12 09:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230640', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 09:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 09:20:09] Production.INFO: ProcessCDR(1,14230640,1,1,2)
[2025-01-12 09:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230640,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230640,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:20:09] Production.INFO: ==26324== Releasing lock...
[2025-01-12 09:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 09:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 09:20:13] Production.ERROR: CronJobId end10
[2025-01-12 09:20:13] Production.INFO: ==26318== Releasing lock...
[2025-01-12 09:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:20:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:20:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:20:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:20:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:20:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:20:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:20:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:20:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:20:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:20:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:20:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:20:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:20:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:20:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:20:15] Production.INFO: call_cost start
[2025-01-12 09:20:15] Production.INFO: call_cost end
[2025-01-12 09:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:20:16] Production.INFO: ==26314== Releasing lock...
[2025-01-12 09:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:20:19] Production.INFO: count ==85
[2025-01-12 09:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:20:06 - End Time 2025-01-12 09:20:06
[2025-01-12 09:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230641', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230641', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230641', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230641', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:20:19] Production.INFO: ProcessCDR(1,14230641,1,1,2)
[2025-01-12 09:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230641,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230641,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230641', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230641', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:20:24] Production.INFO: ==26322== Releasing lock...
[2025-01-12 09:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:20:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:21:01] Production.INFO: ==26386== Lock acquired, processing the job...
[2025-01-12 14:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:21:01] Production.INFO: neon service started
[2025-01-12 14:21:01] Production.INFO: neon service started
[2025-01-12 14:21:01] Production.INFO: ==26386== Releasing lock...
[2025-01-12 14:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:21:02] Production.INFO: ==26388== Lock acquired, processing the job...
[2025-01-12 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:21:02] Production.INFO: ==26388== Releasing lock...
[2025-01-12 09:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:21:02] Production.INFO: ==26390== Lock acquired, processing the job...
[2025-01-12 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:21:02] Production.INFO: ==26390== Releasing lock...
[2025-01-12 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:21:03] Production.INFO: ==26403== Lock acquired, processing the job...
[2025-01-12 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09: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-01-12 09:21:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:21:03] Production.INFO: count ==21
[2025-01-12 09:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230642') start
[2025-01-12 09:21:03] Production.INFO: ==26401== Lock acquired, processing the job...
[2025-01-12 09:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:21:03] Production.INFO: ==26393== Lock acquired, processing the job...
[2025-01-12 09:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:21:03] Production.INFO: ==26395== Lock acquired, processing the job...
[2025-01-12 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:21:03] Production.INFO: ==26399== Lock acquired, processing the job...
[2025-01-12 09:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:21:03] Production.INFO: ==26397== Lock acquired, processing the job...
[2025-01-12 09:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230642') end
[2025-01-12 09:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:21:03] Production.INFO: 1
[2025-01-12 09:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:21:03] Production.INFO: ==26403== Releasing lock...
[2025-01-12 09:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:21:03] Production.INFO: Account Balance Start.
[2025-01-12 09:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:21:03] Production.INFO: 117
[2025-01-12 09:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:21:03] Production.ERROR: done
[2025-01-12 09:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:21:03] Production.INFO: ==26395== Releasing lock...
[2025-01-12 09:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:21:04] Production.ERROR: done
[2025-01-12 09:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:21:04] Production.INFO: Total Charge 0
[2025-01-12 09:21:04] Production.INFO: CreateAllLog End
[2025-01-12 09:21:04] Production.INFO: Account Balance End.
[2025-01-12 09:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:21:04] Production.INFO: ==26399== Releasing lock...
[2025-01-12 09:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:21:05
[end_date_ymd] => 2025-01-12 09:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:21:05' and `end` < '2025-01-12 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-01-12 09:21:10] Production.ERROR: CronJobId end10
[2025-01-12 09:21:10] Production.INFO: ==26397== Releasing lock...
[2025-01-12 09:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:21:13] Production.INFO: call_cost start
[2025-01-12 09:21:13] Production.INFO: call_cost end
[2025-01-12 09:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:21:14] Production.INFO: ==26393== Releasing lock...
[2025-01-12 09:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:21:19] Production.INFO: count ==97
[2025-01-12 09:21:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:21:05 - End Time 2025-01-12 09:21:05
[2025-01-12 09:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230646', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230646', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230646', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230646', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:21:19] Production.INFO: ProcessCDR(1,14230646,1,1,2)
[2025-01-12 09:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230646,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230646,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230646', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230646', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:21:24] Production.INFO: ==26401== Releasing lock...
[2025-01-12 09:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:21:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:22:02] Production.INFO: ==26460== Lock acquired, processing the job...
[2025-01-12 14:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:22:02] Production.INFO: neon service started
[2025-01-12 14:22:02] Production.INFO: neon service started
[2025-01-12 14:22:02] Production.INFO: ==26460== Releasing lock...
[2025-01-12 14:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:22:02] Production.INFO: ==26462== Lock acquired, processing the job...
[2025-01-12 09:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:22:02] Production.INFO: ==26464== Lock acquired, processing the job...
[2025-01-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:22:02] Production.INFO: ==26464== Releasing lock...
[2025-01-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:22:03] Production.INFO: ==26462== Releasing lock...
[2025-01-12 09:22:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:22:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:22:03] Production.INFO: ==26467== Lock acquired, processing the job...
[2025-01-12 09:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:22:03] Production.INFO: ==26473== Lock acquired, processing the job...
[2025-01-12 09:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:22:03] Production.INFO: ==26477== Lock acquired, processing the job...
[2025-01-12 09:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:22:03] Production.INFO: Account Balance Start.
[2025-01-12 09:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:22:03] Production.INFO: 117
[2025-01-12 09:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:22:04] Production.INFO: count ==21
[2025-01-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:22:04] Production.INFO: ==26469== Lock acquired, processing the job...
[2025-01-12 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:22:04] Production.INFO: ==26471== Lock acquired, processing the job...
[2025-01-12 09:22:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 09:22:04] Production.INFO: count ==21
[2025-01-12 09:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230649') start
[2025-01-12 09:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:22:04] Production.INFO: ==26475== Lock acquired, processing the job...
[2025-01-12 09:22:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:22:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:22:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:22:04] Production.INFO: Total Charge 0
[2025-01-12 09:22:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:22:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:22:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:22:04] Production.INFO: CreateAllLog End
[2025-01-12 09:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230649') end
[2025-01-12 09:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:22:04] Production.INFO: 1
[2025-01-12 09:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:22:04] Production.INFO: ==26477== Releasing lock...
[2025-01-12 09:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:22:04] Production.INFO: Account Balance End.
[2025-01-12 09:22:04] Production.ERROR: done
[2025-01-12 09:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:22:04] Production.INFO: ==26469== Releasing lock...
[2025-01-12 09:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:22:04] Production.INFO: ==26473== Releasing lock...
[2025-01-12 09:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:22:04] Production.ERROR: done
[2025-01-12 09:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:22:05
[end_date_ymd] => 2025-01-12 09:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:22:05' and `end` < '2025-01-12 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-01-12 09:22:11] Production.ERROR: CronJobId end10
[2025-01-12 09:22:11] Production.INFO: ==26471== Releasing lock...
[2025-01-12 09:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:22:13] Production.INFO: call_cost start
[2025-01-12 09:22:13] Production.INFO: call_cost end
[2025-01-12 09:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:22:13] Production.INFO: ==26467== Releasing lock...
[2025-01-12 09:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:22:19] Production.INFO: count ==98
[2025-01-12 09:22:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:22:05 - End Time 2025-01-12 09:22:05
[2025-01-12 09:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230651', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230651', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230651', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230651', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:22:19] Production.INFO: ProcessCDR(1,14230651,1,1,2)
[2025-01-12 09:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230651,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230651,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230651', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230651', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:22:23] Production.INFO: ==26475== Releasing lock...
[2025-01-12 09:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:22:23] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:23:01] Production.INFO: ==26531== Lock acquired, processing the job...
[2025-01-12 14:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:23:01] Production.INFO: neon service started
[2025-01-12 14:23:01] Production.INFO: neon service started
[2025-01-12 14:23:01] Production.INFO: ==26531== Releasing lock...
[2025-01-12 14:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:23:01] Production.INFO: ==26535== Lock acquired, processing the job...
[2025-01-12 14:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:23:01] Production.INFO: ==26535== Releasing lock...
[2025-01-12 14:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:23:01] Production.INFO: ==26533== Lock acquired, processing the job...
[2025-01-12 09:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:23:02] Production.INFO: ==26533== Releasing lock...
[2025-01-12 09:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:23:02] Production.INFO: ==26541== Lock acquired, processing the job...
[2025-01-12 09:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:23:03] Production.INFO: ==26547== Lock acquired, processing the job...
[2025-01-12 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:23:03] Production.INFO: ==26537== Lock acquired, processing the job...
[2025-01-12 09:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:23:03] Production.INFO: ==26539== Lock acquired, processing the job...
[2025-01-12 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09: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-01-12 09:23:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:23:03] Production.INFO: ==26543== Lock acquired, processing the job...
[2025-01-12 09:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:23:03] Production.INFO: count ==21
[2025-01-12 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230652') start
[2025-01-12 09:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:23:03] Production.INFO: ==26545== Lock acquired, processing the job...
[2025-01-12 09:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230652') end
[2025-01-12 09:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:23:03] Production.INFO: 1
[2025-01-12 09:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:23:03] Production.INFO: Account Balance Start.
[2025-01-12 09:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:23:03] Production.INFO: 117
[2025-01-12 09:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:23:03] Production.INFO: ==26547== Releasing lock...
[2025-01-12 09:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:23:03] Production.INFO: ==26539== Releasing lock...
[2025-01-12 09:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:23:03] Production.ERROR: done
[2025-01-12 09:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:23:03] Production.ERROR: done
[2025-01-12 09:23:03] Production.INFO: Total Charge 0
[2025-01-12 09:23:03] Production.INFO: CreateAllLog End
[2025-01-12 09:23:04] Production.INFO: Account Balance End.
[2025-01-12 09:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:23:04] Production.INFO: ==26543== Releasing lock...
[2025-01-12 09:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:23:04
[end_date_ymd] => 2025-01-12 09:23:04
[RateCDR] => 1
)
[2025-01-12 09:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:23:04' and `end` < '2025-01-12 09:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:23:10] Production.ERROR: CronJobId end10
[2025-01-12 09:23:10] Production.INFO: ==26541== Releasing lock...
[2025-01-12 09:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:23:12] Production.INFO: call_cost start
[2025-01-12 09:23:12] Production.INFO: call_cost end
[2025-01-12 09:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:23:13] Production.INFO: ==26537== Releasing lock...
[2025-01-12 09:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:23:17] Production.INFO: count ==98
[2025-01-12 09:23:17] Production.ERROR: pbx CDR StartTime 2025-01-12 06:23:04 - End Time 2025-01-12 09:23:04
[2025-01-12 09:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230656', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230656', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230656', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230656', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:23:17] Production.INFO: ProcessCDR(1,14230656,1,1,2)
[2025-01-12 09:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230656,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230656,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230656', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230656', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:23:21] Production.INFO: ==26545== Releasing lock...
[2025-01-12 09:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:23:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:24:01] Production.INFO: ==26604== Lock acquired, processing the job...
[2025-01-12 14:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:24:01] Production.INFO: neon service started
[2025-01-12 14:24:01] Production.INFO: neon service started
[2025-01-12 14:24:01] Production.INFO: ==26604== Releasing lock...
[2025-01-12 14:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:24:02] Production.INFO: ==26606== Lock acquired, processing the job...
[2025-01-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:24:02] Production.INFO: ==26606== Releasing lock...
[2025-01-12 09:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:24:02] Production.INFO: ==26608== Lock acquired, processing the job...
[2025-01-12 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:24:02] Production.INFO: ==26608== Releasing lock...
[2025-01-12 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:24:03] Production.INFO: ==26616== Lock acquired, processing the job...
[2025-01-12 09:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:24:03] Production.INFO: ==26620== Lock acquired, processing the job...
[2025-01-12 09:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:24:03] Production.INFO: Account Balance Start.
[2025-01-12 09:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:24:03] Production.INFO: 117
[2025-01-12 09:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:24:03] Production.INFO: ==26610== Lock acquired, processing the job...
[2025-01-12 09:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09: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-01-12 09:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:24:03] Production.INFO: ==26612== Lock acquired, processing the job...
[2025-01-12 09:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:24:03] Production.INFO: count ==21
[2025-01-12 09:24:03] Production.INFO: Total Charge 0
[2025-01-12 09: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-01-12 09:24:03] Production.INFO: ==26614== Lock acquired, processing the job...
[2025-01-12 09:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:24:03] Production.INFO: count ==21
[2025-01-12 09:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:24:03] Production.INFO: ==26618== Lock acquired, processing the job...
[2025-01-12 09:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230658') start
[2025-01-12 09:24:03] Production.INFO: CreateAllLog End
[2025-01-12 09:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230658') end
[2025-01-12 09:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:24:03] Production.INFO: 1
[2025-01-12 09:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:24:04] Production.INFO: ==26620== Releasing lock...
[2025-01-12 09:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:24:04] Production.ERROR: done
[2025-01-12 09:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:24:04] Production.INFO: ==26612== Releasing lock...
[2025-01-12 09:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:24:04] Production.INFO: Account Balance End.
[2025-01-12 09:24:04] Production.ERROR: done
[2025-01-12 09:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:24:04] Production.INFO: ==26616== Releasing lock...
[2025-01-12 09:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:24:05
[end_date_ymd] => 2025-01-12 09:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:24:05' and `end` < '2025-01-12 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-01-12 09:24:10] Production.ERROR: CronJobId end10
[2025-01-12 09:24:10] Production.INFO: ==26614== Releasing lock...
[2025-01-12 09:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:24:12] Production.INFO: call_cost start
[2025-01-12 09:24:12] Production.INFO: call_cost end
[2025-01-12 09:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:24:13] Production.INFO: ==26610== Releasing lock...
[2025-01-12 09:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:24:20] Production.INFO: count ==98
[2025-01-12 09:24:20] Production.ERROR: pbx CDR StartTime 2025-01-12 06:24:05 - End Time 2025-01-12 09:24:05
[2025-01-12 09:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230661', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230661', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230661', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230661', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:24:20] Production.INFO: ProcessCDR(1,14230661,1,1,2)
[2025-01-12 09:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230661', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230661', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:24:22] Production.INFO: ==26618== Releasing lock...
[2025-01-12 09:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:24:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:25:01] Production.INFO: ==26675== Lock acquired, processing the job...
[2025-01-12 14:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:25:01] Production.INFO: neon service started
[2025-01-12 14:25:01] Production.INFO: neon service started
[2025-01-12 14:25:01] Production.INFO: ==26675== Releasing lock...
[2025-01-12 14:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:25:01] Production.INFO: ==26679== Lock acquired, processing the job...
[2025-01-12 14:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:25:01] Production.INFO: ==26679== Releasing lock...
[2025-01-12 14:25:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:25:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:25:01] Production.INFO: ==26677== Lock acquired, processing the job...
[2025-01-12 09:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:25:02] Production.INFO: ==26677== Releasing lock...
[2025-01-12 09:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:25:03] Production.INFO: ==26681== Lock acquired, processing the job...
[2025-01-12 09:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:25:03] Production.INFO: ==26683== Lock acquired, processing the job...
[2025-01-12 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:25:03] Production.INFO: ==26687== Lock acquired, processing the job...
[2025-01-12 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:25:03] Production.INFO: ==26685== Lock acquired, processing the job...
[2025-01-12 09:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:25:03] Production.INFO: Account Balance Start.
[2025-01-12 09:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:25:03] Production.INFO: 117
[2025-01-12 09:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:25:03] Production.INFO: ==26689== Lock acquired, processing the job...
[2025-01-12 09:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:25:03] Production.INFO: ==26691== Lock acquired, processing the job...
[2025-01-12 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:25:03] Production.INFO: Total Charge 0
[2025-01-12 09:25:03] Production.INFO: CreateAllLog End
[2025-01-12 09:25:03] Production.INFO: ==26683== Releasing lock...
[2025-01-12 09:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:25:03] Production.INFO: Account Balance End.
[2025-01-12 09:25:03] Production.INFO: count ==21
[2025-01-12 09:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:25:03] Production.INFO: count ==21
[2025-01-12 09:25:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:25:03] Production.INFO: ==26687== Releasing lock...
[2025-01-12 09:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230665') start
[2025-01-12 09:25:03] Production.ERROR: done
[2025-01-12 09:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230665') end
[2025-01-12 09:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:25:03] Production.INFO: 1
[2025-01-12 09:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:25:03] Production.INFO: ==26691== Releasing lock...
[2025-01-12 09:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:25:03] Production.ERROR: done
[2025-01-12 09:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:25:04
[end_date_ymd] => 2025-01-12 09:25:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:25:04' and `end` < '2025-01-12 09: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-01-12 09:25:11] Production.ERROR: CronJobId end10
[2025-01-12 09:25:11] Production.INFO: ==26685== Releasing lock...
[2025-01-12 09:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:25:12] Production.INFO: call_cost start
[2025-01-12 09:25:12] Production.INFO: call_cost end
[2025-01-12 09:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:25:13] Production.INFO: ==26681== Releasing lock...
[2025-01-12 09:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:25:17] Production.INFO: count ==98
[2025-01-12 09:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:25:04 - End Time 2025-01-12 09:25:04
[2025-01-12 09:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230666', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230666', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230666', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230666', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:25:18] Production.INFO: ProcessCDR(1,14230666,1,1,2)
[2025-01-12 09:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230666', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230666', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:25:21] Production.INFO: ==26689== Releasing lock...
[2025-01-12 09:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:25:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:26:01] Production.INFO: ==26747== Lock acquired, processing the job...
[2025-01-12 14:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:26:01] Production.INFO: neon service started
[2025-01-12 14:26:01] Production.INFO: neon service started
[2025-01-12 14:26:01] Production.INFO: ==26747== Releasing lock...
[2025-01-12 14:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:26:02] Production.INFO: ==26749== Lock acquired, processing the job...
[2025-01-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:26:02] Production.INFO: ==26749== Releasing lock...
[2025-01-12 09:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:26:02] Production.INFO: ==26751== Lock acquired, processing the job...
[2025-01-12 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:26:02] Production.INFO: ==26751== Releasing lock...
[2025-01-12 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:26:03] Production.INFO: ==26758== Lock acquired, processing the job...
[2025-01-12 09:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:26:03] Production.INFO: ==26754== Lock acquired, processing the job...
[2025-01-12 09:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:26:03] Production.INFO: ==26756== Lock acquired, processing the job...
[2025-01-12 09:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:26:03] Production.INFO: ==26760== Lock acquired, processing the job...
[2025-01-12 09:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:26:03] Production.INFO: ==26762== Lock acquired, processing the job...
[2025-01-12 09:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:26:03] Production.INFO: ==26764== Lock acquired, processing the job...
[2025-01-12 09:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:26:03] Production.INFO: Account Balance Start.
[2025-01-12 09:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:26:03] Production.INFO: 117
[2025-01-12 09:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:26:04] Production.INFO: ==26756== Releasing lock...
[2025-01-12 09:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:26:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:26:04] Production.INFO: count ==21
[2025-01-12 09:26:04] Production.ERROR: done
[2025-01-12 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230670') start
[2025-01-12 09:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:26:04] Production.INFO: Total Charge 0
[2025-01-12 09:26:04] Production.INFO: CreateAllLog End
[2025-01-12 09:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230670') end
[2025-01-12 09:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:26:04] Production.INFO: 1
[2025-01-12 09:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:26:04] Production.INFO: Account Balance End.
[2025-01-12 09:26:04] Production.ERROR: done
[2025-01-12 09:26:04] Production.INFO: ==26764== Releasing lock...
[2025-01-12 09:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:26:04] Production.INFO: ==26760== Releasing lock...
[2025-01-12 09:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:26:05
[end_date_ymd] => 2025-01-12 09:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:26:05' and `end` < '2025-01-12 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-01-12 09:26:10] Production.ERROR: CronJobId end10
[2025-01-12 09:26:10] Production.INFO: ==26758== Releasing lock...
[2025-01-12 09:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:26:13] Production.INFO: call_cost start
[2025-01-12 09:26:13] Production.INFO: call_cost end
[2025-01-12 09:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:26:14] Production.INFO: ==26754== Releasing lock...
[2025-01-12 09:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:26:19] Production.INFO: count ==98
[2025-01-12 09:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:26:05 - End Time 2025-01-12 09:26:05
[2025-01-12 09:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230671', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230671', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230671', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230671', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:26:19] Production.INFO: ProcessCDR(1,14230671,1,1,2)
[2025-01-12 09:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230671', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230671', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:26:22] Production.INFO: ==26762== Releasing lock...
[2025-01-12 09:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:26:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:27:02] Production.INFO: ==26819== Lock acquired, processing the job...
[2025-01-12 14:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:27:02] Production.INFO: neon service started
[2025-01-12 14:27:02] Production.INFO: neon service started
[2025-01-12 14:27:02] Production.INFO: ==26819== Releasing lock...
[2025-01-12 14:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:27:02] Production.INFO: ==26821== Lock acquired, processing the job...
[2025-01-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:27:02] Production.INFO: ==26821== Releasing lock...
[2025-01-12 09:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:27:02] Production.INFO: ==26823== Lock acquired, processing the job...
[2025-01-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:27:02] Production.INFO: ==26823== Releasing lock...
[2025-01-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:27:03] Production.INFO: ==26833== Lock acquired, processing the job...
[2025-01-12 09:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:27:03] Production.INFO: ==26835== Lock acquired, processing the job...
[2025-01-12 09:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:27:03] Production.INFO: ==26825== Lock acquired, processing the job...
[2025-01-12 09:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:27:03] Production.INFO: ==26827== Lock acquired, processing the job...
[2025-01-12 09:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:27:03] Production.INFO: ==26829== Lock acquired, processing the job...
[2025-01-12 09:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:27:03] Production.INFO: ==26831== Lock acquired, processing the job...
[2025-01-12 09:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:27:03] Production.INFO: count ==21
[2025-01-12 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-01-12 09:27:04] Production.INFO: count ==21
[2025-01-12 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230672') start
[2025-01-12 09:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:27:04] Production.INFO: Account Balance Start.
[2025-01-12 09:27:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:27:04] Production.INFO: 117
[2025-01-12 09:27:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:27:04] Production.ERROR: done
[2025-01-12 09:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230672') end
[2025-01-12 09:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:27:04] Production.INFO: 1
[2025-01-12 09:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:27:04] Production.INFO: ==26835== Releasing lock...
[2025-01-12 09:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:27:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:27:04] Production.ERROR: done
[2025-01-12 09:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:27:04] Production.INFO: ==26827== Releasing lock...
[2025-01-12 09:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:27:04] Production.INFO: Total Charge 0
[2025-01-12 09:27:04] Production.INFO: CreateAllLog End
[2025-01-12 09:27:04] Production.INFO: Account Balance End.
[2025-01-12 09:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:27:04] Production.INFO: ==26831== Releasing lock...
[2025-01-12 09:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:27:05
[end_date_ymd] => 2025-01-12 09:27:05
[RateCDR] => 1
)
[2025-01-12 09:27:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:27:05' and `end` < '2025-01-12 09:27:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:27:10] Production.ERROR: CronJobId end10
[2025-01-12 09:27:10] Production.INFO: ==26829== Releasing lock...
[2025-01-12 09:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:27:13] Production.INFO: call_cost start
[2025-01-12 09:27:13] Production.INFO: call_cost end
[2025-01-12 09:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:27:14] Production.INFO: ==26825== Releasing lock...
[2025-01-12 09:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:27:19] Production.INFO: count ==99
[2025-01-12 09:27:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:27:05 - End Time 2025-01-12 09:27:05
[2025-01-12 09:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230676', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230676', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230676', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230676', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:27:19] Production.INFO: ProcessCDR(1,14230676,1,1,2)
[2025-01-12 09:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:27:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:27:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230676', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:27:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230676', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:27:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:27:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:27:24] Production.INFO: ==26833== Releasing lock...
[2025-01-12 09:27:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:27:24] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:28:01] Production.INFO: ==26891== Lock acquired, processing the job...
[2025-01-12 14:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:28:01] Production.INFO: neon service started
[2025-01-12 14:28:01] Production.INFO: neon service started
[2025-01-12 14:28:01] Production.INFO: ==26891== Releasing lock...
[2025-01-12 14:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:28:01] Production.INFO: ==26893== Lock acquired, processing the job...
[2025-01-12 09:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:28:02] Production.INFO: ==26893== Releasing lock...
[2025-01-12 09:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:28:02] Production.INFO: ==26895== Lock acquired, processing the job...
[2025-01-12 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:28:02] Production.INFO: ==26895== Releasing lock...
[2025-01-12 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:28:03] Production.INFO: ==26897== Lock acquired, processing the job...
[2025-01-12 09:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:28:03] Production.INFO: ==26903== Lock acquired, processing the job...
[2025-01-12 09:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:28:03] Production.INFO: ==26899== Lock acquired, processing the job...
[2025-01-12 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:28:03] Production.INFO: ==26901== Lock acquired, processing the job...
[2025-01-12 09:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:28:03] Production.INFO: Account Balance Start.
[2025-01-12 09:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:28:03] Production.INFO: 117
[2025-01-12 09:28:03] Production.INFO: ==26907== Lock acquired, processing the job...
[2025-01-12 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09: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-01-12 09:28:03] Production.INFO: ==26905== Lock acquired, processing the job...
[2025-01-12 09:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:28:03] Production.INFO: count ==21
[2025-01-12 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:28:03] Production.INFO: count ==21
[2025-01-12 09:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230680') start
[2025-01-12 09:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:28:03] Production.INFO: Total Charge 0
[2025-01-12 09:28:03] Production.INFO: CreateAllLog End
[2025-01-12 09:28:03] Production.INFO: ==26899== Releasing lock...
[2025-01-12 09:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230680') end
[2025-01-12 09:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:28:03] Production.INFO: 1
[2025-01-12 09:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:28:03] Production.ERROR: done
[2025-01-12 09:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:28:03] Production.INFO: ==26907== Releasing lock...
[2025-01-12 09:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:28:03] Production.INFO: Account Balance End.
[2025-01-12 09:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:28:04] Production.INFO: ==26903== Releasing lock...
[2025-01-12 09:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:28:04] Production.ERROR: done
[2025-01-12 09:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:28:05
[end_date_ymd] => 2025-01-12 09:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:28:05' and `end` < '2025-01-12 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-01-12 09:28:11] Production.ERROR: CronJobId end10
[2025-01-12 09:28:11] Production.INFO: ==26901== Releasing lock...
[2025-01-12 09:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:28:12] Production.INFO: call_cost start
[2025-01-12 09:28:12] Production.INFO: call_cost end
[2025-01-12 09:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:28:13] Production.INFO: ==26897== Releasing lock...
[2025-01-12 09:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:28:18] Production.INFO: count ==99
[2025-01-12 09:28:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:28:05 - End Time 2025-01-12 09:28:05
[2025-01-12 09:28:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230681', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230681', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230681', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:28:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230681', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:28:18] Production.INFO: ProcessCDR(1,14230681,1,1,2)
[2025-01-12 09:28:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:28:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:28:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:28:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230681', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:28:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230681', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:28:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:28:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:28:21] Production.INFO: ==26905== Releasing lock...
[2025-01-12 09:28:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:28:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:29:02] Production.INFO: ==26963== Lock acquired, processing the job...
[2025-01-12 14:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:29:02] Production.INFO: neon service started
[2025-01-12 14:29:02] Production.INFO: neon service started
[2025-01-12 14:29:02] Production.INFO: ==26963== Releasing lock...
[2025-01-12 14:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:29:02] Production.INFO: ==26968== Lock acquired, processing the job...
[2025-01-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:29:02] Production.INFO: ==26968== Releasing lock...
[2025-01-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:29:02] Production.INFO: ==26966== Lock acquired, processing the job...
[2025-01-12 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:29:02] Production.INFO: ==26966== Releasing lock...
[2025-01-12 09:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:29:03] Production.INFO: ==26978== Lock acquired, processing the job...
[2025-01-12 09:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:29:03] Production.INFO: ==26980== Lock acquired, processing the job...
[2025-01-12 09:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:29:03] Production.INFO: ==26970== Lock acquired, processing the job...
[2025-01-12 09:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:29:03] Production.INFO: ==26972== Lock acquired, processing the job...
[2025-01-12 09:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:29:03] Production.INFO: ==26974== Lock acquired, processing the job...
[2025-01-12 09:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:29:03] Production.INFO: count ==21
[2025-01-12 09:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:29:03] Production.INFO: count ==21
[2025-01-12 09:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230682') start
[2025-01-12 09:29:03] Production.INFO: ==26976== Lock acquired, processing the job...
[2025-01-12 09:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:29:03] Production.ERROR: done
[2025-01-12 09:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230682') end
[2025-01-12 09:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:29:04] Production.INFO: 1
[2025-01-12 09:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:29:04] Production.ERROR: done
[2025-01-12 09:29:04] Production.INFO: Account Balance Start.
[2025-01-12 09:29:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:29:04] Production.INFO: 117
[2025-01-12 09:29:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:29:04] Production.INFO: ==26980== Releasing lock...
[2025-01-12 09:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:29:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:29:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:29:04] Production.INFO: ==26972== Releasing lock...
[2025-01-12 09:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:29:04] Production.INFO: Total Charge 0
[2025-01-12 09:29:04] Production.INFO: CreateAllLog End
[2025-01-12 09:29:04] Production.INFO: Account Balance End.
[2025-01-12 09:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:29:04] Production.INFO: ==26976== Releasing lock...
[2025-01-12 09:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:29:05
[end_date_ymd] => 2025-01-12 09:29:05
[RateCDR] => 1
)
[2025-01-12 09:29:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:29:05' and `end` < '2025-01-12 09:29:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:29:11] Production.ERROR: CronJobId end10
[2025-01-12 09:29:11] Production.INFO: ==26974== Releasing lock...
[2025-01-12 09:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:29:13] Production.INFO: call_cost start
[2025-01-12 09:29:13] Production.INFO: call_cost end
[2025-01-12 09:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:29:14] Production.INFO: ==26970== Releasing lock...
[2025-01-12 09:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:29:19] Production.INFO: count ==99
[2025-01-12 09:29:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:29:05 - End Time 2025-01-12 09:29:05
[2025-01-12 09:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230686', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230686', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230686', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230686', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:29:19] Production.INFO: ProcessCDR(1,14230686,1,1,2)
[2025-01-12 09:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230686', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230686', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:29:22] Production.INFO: ==26978== Releasing lock...
[2025-01-12 09:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:29:22] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:30:01] Production.INFO: ==27037== Lock acquired, processing the job...
[2025-01-12 14:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:30:01] Production.INFO: neon service started
[2025-01-12 14:30:01] Production.INFO: neon service started
[2025-01-12 14:30:01] Production.INFO: ==27037== Releasing lock...
[2025-01-12 14:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:30:01] Production.INFO: ==27039== Lock acquired, processing the job...
[2025-01-12 09:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:30:02] Production.INFO: ==27041== Lock acquired, processing the job...
[2025-01-12 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:30:02] Production.INFO: ==27041== Releasing lock...
[2025-01-12 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:30:02] Production.INFO: ==27039== Releasing lock...
[2025-01-12 09:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:30:03] Production.INFO: ==27043== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 09:30:03] Production.INFO: ==27049== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 09:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 09:30:03] Production.ERROR: CronJob PID - 27049
[2025-01-12 09:30:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 09:30:03] Production.ERROR: CronJob ID - 10
[2025-01-12 09:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 09:30:00
[2025-01-12 09:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 09:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 09:30:03] Production.INFO: ==27055== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 09:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 09:30:03] Production.INFO: ==27043== Releasing lock...
[2025-01-12 09:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 09:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 09:30:03] Production.INFO: ==27051== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:30:03] Production.INFO: ==27045== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:30:03] Production.INFO: ==27047== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:30:03] Production.INFO: Account Balance Start.
[2025-01-12 09:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:30:03] Production.INFO: 117
[2025-01-12 09:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:30:03] Production.INFO: ==27053== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:30:03] Production.INFO: ==27058== Lock acquired, processing the job...
[2025-01-12 09:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:30:03] Production.ERROR: done
[2025-01-12 09:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:30:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:30:03] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 09:30:03] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230689', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 09:30:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:30:03] Production.INFO: count ==21
[2025-01-12 09:30:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:30:03] Production.INFO: count ==21
[2025-01-12 09:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230690') start
[2025-01-12 09:30:03] Production.INFO: Total Charge 0
[2025-01-12 09:30:03] Production.INFO: CreateAllLog End
[2025-01-12 09:30:04] Production.ERROR: done
[2025-01-12 09:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:30:04] Production.INFO: ==27047== Releasing lock...
[2025-01-12 09:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230690') end
[2025-01-12 09:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:30:04] Production.INFO: 1
[2025-01-12 09:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:30:04] Production.INFO: Account Balance End.
[2025-01-12 09:30:04] Production.INFO: ==27058== Releasing lock...
[2025-01-12 09:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:30:04] Production.ERROR: done
[2025-01-12 09:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:30:04] Production.INFO: ==27051== Releasing lock...
[2025-01-12 09:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:30:05
[end_date_ymd] => 2025-01-12 09:30:05
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:30:05' and `end` < '2025-01-12 09: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-01-12 09:30:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230689', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 09:30:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 09:30:07] Production.INFO: ProcessCDR(1,14230689,1,1,2)
[2025-01-12 09:30:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230689,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:30:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230689,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:30:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:30:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:30:07] Production.INFO: ==27055== Releasing lock...
[2025-01-12 09:30:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 09:30:07] Production.INFO: 26 MB #Memory Used#
[2025-01-12 09:30:12] Production.ERROR: CronJobId end10
[2025-01-12 09:30:12] Production.INFO: ==27049== Releasing lock...
[2025-01-12 09:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:30:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:30:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:30:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:30:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:30:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:30:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:30:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:30:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:30:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:30:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:30:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:30:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:30:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:30:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:30:14] Production.INFO: call_cost start
[2025-01-12 09:30:14] Production.INFO: call_cost end
[2025-01-12 09:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:30:15] Production.INFO: ==27045== Releasing lock...
[2025-01-12 09:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:30:18] Production.INFO: count ==101
[2025-01-12 09:30:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:30:05 - End Time 2025-01-12 09:30:05
[2025-01-12 09:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230692', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230692', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230692', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230692', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:30:18] Production.INFO: ProcessCDR(1,14230692,1,1,2)
[2025-01-12 09:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:30:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230692,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:30:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:30:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230692,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230692', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:30:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230692', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:30:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:30:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:30:21] Production.INFO: ==27053== Releasing lock...
[2025-01-12 09:30:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:30:21] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:31:01] Production.INFO: ==27114== Lock acquired, processing the job...
[2025-01-12 14:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:31:01] Production.INFO: neon service started
[2025-01-12 14:31:01] Production.INFO: neon service started
[2025-01-12 14:31:01] Production.INFO: ==27114== Releasing lock...
[2025-01-12 14:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:31:02] Production.INFO: ==27116== Lock acquired, processing the job...
[2025-01-12 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:31:02] Production.INFO: ==27118== Lock acquired, processing the job...
[2025-01-12 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:31:02] Production.INFO: ==27118== Releasing lock...
[2025-01-12 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:31:02] Production.INFO: ==27116== Releasing lock...
[2025-01-12 09:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:31:03] Production.INFO: ==27127== Lock acquired, processing the job...
[2025-01-12 09:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:31:03] Production.INFO: ==27129== Lock acquired, processing the job...
[2025-01-12 09:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:31:03] Production.INFO: Account Balance Start.
[2025-01-12 09:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:31:03] Production.INFO: 117
[2025-01-12 09:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:31:03] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-01-12 09:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:31:03] Production.INFO: ==27123== Lock acquired, processing the job...
[2025-01-12 09:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:31:03] Production.INFO: ==27125== Lock acquired, processing the job...
[2025-01-12 09:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:31:03] Production.INFO: Total Charge 0
[2025-01-12 09:31:03] Production.INFO: CreateAllLog End
[2025-01-12 09:31:03] Production.INFO: ==27131== Lock acquired, processing the job...
[2025-01-12 09:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:31:03] Production.ERROR: done
[2025-01-12 09:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 09:31:04] Production.INFO: Account Balance End.
[2025-01-12 09:31:04] Production.INFO: count ==21
[2025-01-12 09:31:04] Production.ERROR: done
[2025-01-12 09:31:04] Production.INFO: ==27123== Releasing lock...
[2025-01-12 09:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 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-01-12 09:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:31:04] Production.INFO: count ==21
[2025-01-12 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230696') start
[2025-01-12 09:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:31:04] Production.INFO: ==27127== Releasing lock...
[2025-01-12 09:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230696') end
[2025-01-12 09:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:31:04] Production.INFO: 1
[2025-01-12 09:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:31:04] Production.INFO: ==27131== Releasing lock...
[2025-01-12 09:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:31:05
[end_date_ymd] => 2025-01-12 09:31:05
[RateCDR] => 1
)
[2025-01-12 09:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:31:05' and `end` < '2025-01-12 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-01-12 09:31:12] Production.ERROR: CronJobId end10
[2025-01-12 09:31:12] Production.INFO: ==27125== Releasing lock...
[2025-01-12 09:31:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:31:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:31:13] Production.INFO: call_cost start
[2025-01-12 09:31:13] Production.INFO: call_cost end
[2025-01-12 09:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:31:14] Production.INFO: ==27121== Releasing lock...
[2025-01-12 09:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:31:18] Production.INFO: count ==111
[2025-01-12 09:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:31:05 - End Time 2025-01-12 09:31:05
[2025-01-12 09:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230697', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230697', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230697', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230697', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:31:18] Production.INFO: ProcessCDR(1,14230697,1,1,2)
[2025-01-12 09:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230697,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230697,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230697', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230697', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:31:21] Production.INFO: ==27129== Releasing lock...
[2025-01-12 09:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:31:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:32:02] Production.INFO: ==27188== Lock acquired, processing the job...
[2025-01-12 14:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:32:02] Production.INFO: neon service started
[2025-01-12 14:32:02] Production.INFO: neon service started
[2025-01-12 14:32:02] Production.INFO: ==27188== Releasing lock...
[2025-01-12 14:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:32:02] Production.INFO: ==27190== Lock acquired, processing the job...
[2025-01-12 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:32:02] Production.INFO: ==27190== Releasing lock...
[2025-01-12 09:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:32:03] Production.INFO: ==27192== Lock acquired, processing the job...
[2025-01-12 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:32:03] Production.INFO: ==27192== Releasing lock...
[2025-01-12 14:32:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:32:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:32:03] Production.INFO: ==27203== Lock acquired, processing the job...
[2025-01-12 09:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:32:03] Production.INFO: ==27197== Lock acquired, processing the job...
[2025-01-12 09:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:32:03] Production.INFO: ==27195== Lock acquired, processing the job...
[2025-01-12 09:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:32:03] Production.INFO: ==27205== Lock acquired, processing the job...
[2025-01-12 09:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:32:04] Production.INFO: ==27199== Lock acquired, processing the job...
[2025-01-12 09:32:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:32:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:32:04] Production.INFO: ==27201== Lock acquired, processing the job...
[2025-01-12 09:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:32:04] Production.ERROR: done
[2025-01-12 09:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 09:32:04] Production.INFO: Account Balance Start.
[2025-01-12 09:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:32:04] Production.INFO: 117
[2025-01-12 09:32:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:32:04] Production.INFO: count ==21
[2025-01-12 09:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230700') start
[2025-01-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:32:04] Production.ERROR: done
[2025-01-12 09:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230700') end
[2025-01-12 09:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:32:04] Production.INFO: 1
[2025-01-12 09:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:32:04] Production.INFO: ==27197== Releasing lock...
[2025-01-12 09:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:32:04] Production.INFO: ==27205== Releasing lock...
[2025-01-12 09:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:32:04] Production.INFO: Total Charge 0
[2025-01-12 09:32:04] Production.INFO: CreateAllLog End
[2025-01-12 09:32:04] Production.INFO: Account Balance End.
[2025-01-12 09:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:32:04] Production.INFO: ==27201== Releasing lock...
[2025-01-12 09:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:32:05
[end_date_ymd] => 2025-01-12 09:32:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:32:05' and `end` < '2025-01-12 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-01-12 09:32:12] Production.ERROR: CronJobId end10
[2025-01-12 09:32:12] Production.INFO: ==27199== Releasing lock...
[2025-01-12 09:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:32:14] Production.INFO: call_cost start
[2025-01-12 09:32:14] Production.INFO: call_cost end
[2025-01-12 09:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:32:15] Production.INFO: ==27195== Releasing lock...
[2025-01-12 09:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:32:19] Production.INFO: count ==112
[2025-01-12 09:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:32:05 - End Time 2025-01-12 09:32:05
[2025-01-12 09:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230702', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230702', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230702', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230702', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:32:19] Production.INFO: ProcessCDR(1,14230702,1,1,2)
[2025-01-12 09:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230702,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230702,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230702', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230702', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:32:24] Production.INFO: ==27203== Releasing lock...
[2025-01-12 09:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:32:24] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:33:01] Production.INFO: ==27260== Lock acquired, processing the job...
[2025-01-12 14:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:33:01] Production.INFO: neon service started
[2025-01-12 14:33:01] Production.INFO: neon service started
[2025-01-12 14:33:01] Production.INFO: ==27260== Releasing lock...
[2025-01-12 14:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:33:02] Production.INFO: ==27264== Lock acquired, processing the job...
[2025-01-12 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:33:02] Production.INFO: ==27264== Releasing lock...
[2025-01-12 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:33:02] Production.INFO: ==27262== Lock acquired, processing the job...
[2025-01-12 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:33:02] Production.INFO: ==27262== Releasing lock...
[2025-01-12 09:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:33:03] Production.INFO: ==27271== Lock acquired, processing the job...
[2025-01-12 09:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:33:03] Production.INFO: ==27277== Lock acquired, processing the job...
[2025-01-12 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:33:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:33:03] Production.INFO: ==27267== Lock acquired, processing the job...
[2025-01-12 09:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:33:03] Production.INFO: count ==21
[2025-01-12 09:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:33:03] Production.INFO: count ==21
[2025-01-12 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230703') start
[2025-01-12 09:33:03] Production.INFO: ==27269== Lock acquired, processing the job...
[2025-01-12 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:33:03] Production.INFO: ==27273== Lock acquired, processing the job...
[2025-01-12 09:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230703') end
[2025-01-12 09:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:33:03] Production.INFO: 1
[2025-01-12 09:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:33:03] Production.INFO: ==27275== Lock acquired, processing the job...
[2025-01-12 09:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:33:03] Production.INFO: Account Balance Start.
[2025-01-12 09:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:33:03] Production.INFO: ==27277== Releasing lock...
[2025-01-12 09:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:33:03] Production.INFO: 117
[2025-01-12 09:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:33:03] Production.INFO: ==27269== Releasing lock...
[2025-01-12 09:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:33:03] Production.INFO: Total Charge 0
[2025-01-12 09:33:04] Production.ERROR: done
[2025-01-12 09:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:33:04] Production.INFO: CreateAllLog End
[2025-01-12 09:33:04] Production.ERROR: done
[2025-01-12 09:33:04] Production.INFO: Account Balance End.
[2025-01-12 09:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:33:04] Production.INFO: ==27273== Releasing lock...
[2025-01-12 09:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:33:04
[end_date_ymd] => 2025-01-12 09:33:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:33:04' and `end` < '2025-01-12 09: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-01-12 09:33:10] Production.ERROR: CronJobId end10
[2025-01-12 09:33:10] Production.INFO: ==27271== Releasing lock...
[2025-01-12 09:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:33:12] Production.INFO: call_cost start
[2025-01-12 09:33:12] Production.INFO: call_cost end
[2025-01-12 09:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:33:13] Production.INFO: ==27267== Releasing lock...
[2025-01-12 09:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:33:18] Production.INFO: count ==112
[2025-01-12 09:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:33:04 - End Time 2025-01-12 09:33:04
[2025-01-12 09:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230707', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230707', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230707', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230707', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:33:18] Production.INFO: ProcessCDR(1,14230707,1,1,2)
[2025-01-12 09:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230707,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230707,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230707', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230707', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:33:22] Production.INFO: ==27275== Releasing lock...
[2025-01-12 09:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:33:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:34:02] Production.INFO: ==27336== Lock acquired, processing the job...
[2025-01-12 14:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:34:02] Production.INFO: neon service started
[2025-01-12 14:34:02] Production.INFO: neon service started
[2025-01-12 14:34:02] Production.INFO: ==27336== Releasing lock...
[2025-01-12 14:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:34:02] Production.INFO: ==27338== Lock acquired, processing the job...
[2025-01-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:34:02] Production.INFO: ==27338== Releasing lock...
[2025-01-12 09:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:34:02] Production.INFO: ==27340== Lock acquired, processing the job...
[2025-01-12 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:34:02] Production.INFO: ==27340== Releasing lock...
[2025-01-12 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:34:03] Production.INFO: ==27343== Lock acquired, processing the job...
[2025-01-12 09:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:34:03] Production.INFO: ==27347== Lock acquired, processing the job...
[2025-01-12 09:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:34:03] Production.INFO: ==27349== Lock acquired, processing the job...
[2025-01-12 09:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:34:03] Production.INFO: ==27345== Lock acquired, processing the job...
[2025-01-12 09:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:34:03] Production.INFO: Account Balance Start.
[2025-01-12 09:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:34:03] Production.INFO: 117
[2025-01-12 09:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:34:03] Production.INFO: ==27351== Lock acquired, processing the job...
[2025-01-12 09:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:34:03] Production.INFO: ==27353== Lock acquired, processing the job...
[2025-01-12 09:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:34:04] Production.INFO: count ==21
[2025-01-12 09:34:04] Production.ERROR: done
[2025-01-12 09:34:04] Production.INFO: ==27345== Releasing lock...
[2025-01-12 09:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:34:04] Production.INFO: count ==21
[2025-01-12 09:34:04] Production.INFO: Total Charge 0
[2025-01-12 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230711') start
[2025-01-12 09:34:04] Production.INFO: CreateAllLog End
[2025-01-12 09:34:04] Production.ERROR: done
[2025-01-12 09:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230711') end
[2025-01-12 09:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:34:04] Production.INFO: 1
[2025-01-12 09:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:34:04] Production.INFO: Account Balance End.
[2025-01-12 09:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:34:04] Production.INFO: ==27349== Releasing lock...
[2025-01-12 09:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:34:04] Production.INFO: ==27353== Releasing lock...
[2025-01-12 09:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:34:05
[end_date_ymd] => 2025-01-12 09:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:34:05' and `end` < '2025-01-12 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-01-12 09:34:11] Production.ERROR: CronJobId end10
[2025-01-12 09:34:11] Production.INFO: ==27347== Releasing lock...
[2025-01-12 09:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:34:13] Production.INFO: call_cost start
[2025-01-12 09:34:13] Production.INFO: call_cost end
[2025-01-12 09:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:34:14] Production.INFO: ==27343== Releasing lock...
[2025-01-12 09:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:34:18] Production.INFO: count ==112
[2025-01-12 09:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:34:05 - End Time 2025-01-12 09:34:05
[2025-01-12 09:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230712', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230712', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230712', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230712', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:34:18] Production.INFO: ProcessCDR(1,14230712,1,1,2)
[2025-01-12 09:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230712', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230712', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:34:21] Production.INFO: ==27351== Releasing lock...
[2025-01-12 09:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:34:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:35:01] Production.INFO: ==27452== Lock acquired, processing the job...
[2025-01-12 14:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:35:01] Production.INFO: neon service started
[2025-01-12 14:35:01] Production.INFO: neon service started
[2025-01-12 14:35:01] Production.INFO: ==27452== Releasing lock...
[2025-01-12 14:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:35:01] Production.INFO: ==27454== Lock acquired, processing the job...
[2025-01-12 09:35:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:35:01] Production.INFO: ==27456== Lock acquired, processing the job...
[2025-01-12 14:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:35:01] Production.INFO: ==27456== Releasing lock...
[2025-01-12 14:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:35:02] Production.INFO: ==27454== Releasing lock...
[2025-01-12 09:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:35:02] Production.INFO: ==27459== Lock acquired, processing the job...
[2025-01-12 09:35:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:35:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:35:03] Production.INFO: ==27463== Lock acquired, processing the job...
[2025-01-12 09:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:35:03] Production.INFO: ==27467== Lock acquired, processing the job...
[2025-01-12 09:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:35:03] Production.INFO: ==27461== Lock acquired, processing the job...
[2025-01-12 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:35:03] Production.INFO: ==27465== Lock acquired, processing the job...
[2025-01-12 09:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:35:03] Production.INFO: ==27469== Lock acquired, processing the job...
[2025-01-12 09:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:35:03] Production.INFO: Account Balance Start.
[2025-01-12 09:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:35:03] Production.ERROR: done
[2025-01-12 09:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:35:03] Production.INFO: 117
[2025-01-12 09:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:35:03] Production.ERROR: done
[2025-01-12 09: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-01-12 09:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:35:03] Production.INFO: count ==21
[2025-01-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:35:03] Production.INFO: count ==21
[2025-01-12 09:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230716') start
[2025-01-12 09:35:03] Production.INFO: ==27461== Releasing lock...
[2025-01-12 09:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:35:03] Production.INFO: Total Charge 0
[2025-01-12 09:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230716') end
[2025-01-12 09:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:35:03] Production.INFO: 1
[2025-01-12 09:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:35:03] Production.INFO: CreateAllLog End
[2025-01-12 09:35:04] Production.INFO: ==27469== Releasing lock...
[2025-01-12 09:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:35:04] Production.INFO: Account Balance End.
[2025-01-12 09:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:35:04] Production.INFO: ==27465== Releasing lock...
[2025-01-12 09:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:35:04
[end_date_ymd] => 2025-01-12 09:35:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:35:04' and `end` < '2025-01-12 09: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-01-12 09:35:10] Production.ERROR: CronJobId end10
[2025-01-12 09:35:10] Production.INFO: ==27463== Releasing lock...
[2025-01-12 09:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:35:12] Production.INFO: call_cost start
[2025-01-12 09:35:12] Production.INFO: call_cost end
[2025-01-12 09:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:35:13] Production.INFO: ==27459== Releasing lock...
[2025-01-12 09:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:35:17] Production.INFO: count ==112
[2025-01-12 09:35:17] Production.ERROR: pbx CDR StartTime 2025-01-12 06:35:04 - End Time 2025-01-12 09:35:04
[2025-01-12 09:35:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230717', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230717', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230717', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:35:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230717', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:35:17] Production.INFO: ProcessCDR(1,14230717,1,1,2)
[2025-01-12 09:35:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:35:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:35:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:35:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230717', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:35:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230717', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:35:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:35:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:35:20] Production.INFO: ==27467== Releasing lock...
[2025-01-12 09:35:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:35:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:36:01] Production.INFO: ==27524== Lock acquired, processing the job...
[2025-01-12 14:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:36:01] Production.INFO: neon service started
[2025-01-12 14:36:01] Production.INFO: neon service started
[2025-01-12 14:36:01] Production.INFO: ==27524== Releasing lock...
[2025-01-12 14:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:36:02] Production.INFO: ==27526== Lock acquired, processing the job...
[2025-01-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:36:02] Production.INFO: ==27526== Releasing lock...
[2025-01-12 09:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:36:02] Production.INFO: ==27528== Lock acquired, processing the job...
[2025-01-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:36:02] Production.INFO: ==27528== Releasing lock...
[2025-01-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:36:03] Production.INFO: ==27531== Lock acquired, processing the job...
[2025-01-12 09:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:36:03] Production.INFO: ==27533== Lock acquired, processing the job...
[2025-01-12 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:36:03] Production.INFO: ==27535== Lock acquired, processing the job...
[2025-01-12 09:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:36:03] Production.INFO: ==27537== Lock acquired, processing the job...
[2025-01-12 09:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:36:03] Production.INFO: ==27539== Lock acquired, processing the job...
[2025-01-12 09:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:36:03] Production.INFO: ==27533== Releasing lock...
[2025-01-12 09:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:36:03] Production.INFO: Account Balance Start.
[2025-01-12 09:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:36:03] Production.INFO: 117
[2025-01-12 09:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:36:03] Production.INFO: ==27541== Lock acquired, processing the job...
[2025-01-12 09:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:36:03] Production.INFO: Total Charge 0
[2025-01-12 09:36:03] Production.INFO: CreateAllLog End
[2025-01-12 09: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-01-12 09:36:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:36:03] Production.INFO: count ==21
[2025-01-12 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230721') start
[2025-01-12 09:36:04] Production.ERROR: done
[2025-01-12 09:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:36:04] Production.ERROR: done
[2025-01-12 09:36:04] Production.INFO: Account Balance End.
[2025-01-12 09:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230721') end
[2025-01-12 09:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:36:04] Production.INFO: 1
[2025-01-12 09:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:36:04] Production.INFO: ==27537== Releasing lock...
[2025-01-12 09:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:36:04] Production.INFO: ==27541== Releasing lock...
[2025-01-12 09:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:36:05
[end_date_ymd] => 2025-01-12 09:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:36:05' and `end` < '2025-01-12 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-01-12 09:36:10] Production.ERROR: CronJobId end10
[2025-01-12 09:36:10] Production.INFO: ==27535== Releasing lock...
[2025-01-12 09:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:36:12] Production.INFO: call_cost start
[2025-01-12 09:36:12] Production.INFO: call_cost end
[2025-01-12 09:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:36:13] Production.INFO: ==27531== Releasing lock...
[2025-01-12 09:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:36:18] Production.INFO: count ==112
[2025-01-12 09:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:36:05 - End Time 2025-01-12 09:36:05
[2025-01-12 09:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230722', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230722', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230722', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230722', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:36:18] Production.INFO: ProcessCDR(1,14230722,1,1,2)
[2025-01-12 09:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230722', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230722', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:36:21] Production.INFO: ==27539== Releasing lock...
[2025-01-12 09:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:36:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:37:02] Production.INFO: ==27596== Lock acquired, processing the job...
[2025-01-12 14:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:37:02] Production.INFO: neon service started
[2025-01-12 14:37:02] Production.INFO: neon service started
[2025-01-12 14:37:02] Production.INFO: ==27596== Releasing lock...
[2025-01-12 14:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:37:02] Production.INFO: ==27598== Lock acquired, processing the job...
[2025-01-12 09:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:37:02] Production.INFO: ==27600== Lock acquired, processing the job...
[2025-01-12 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:37:02] Production.INFO: ==27600== Releasing lock...
[2025-01-12 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:37:03] Production.INFO: ==27598== Releasing lock...
[2025-01-12 09:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:37:03] Production.INFO: ==27607== Lock acquired, processing the job...
[2025-01-12 09:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:37:03] Production.INFO: ==27609== Lock acquired, processing the job...
[2025-01-12 09:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:37:04] Production.INFO: Account Balance Start.
[2025-01-12 09:37:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:37:04] Production.INFO: 117
[2025-01-12 09:37:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:37:04] Production.INFO: ==27603== Lock acquired, processing the job...
[2025-01-12 09:37:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:37:04] Production.INFO: ==27605== Lock acquired, processing the job...
[2025-01-12 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:37:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:37:04] Production.INFO: Total Charge 0
[2025-01-12 09:37:04] Production.INFO: CreateAllLog End
[2025-01-12 09:37:04] Production.INFO: ==27611== Lock acquired, processing the job...
[2025-01-12 09:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:37:04] Production.INFO: ==27613== Lock acquired, processing the job...
[2025-01-12 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:37:04] Production.INFO: Account Balance End.
[2025-01-12 09:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:37:04] Production.INFO: ==27609== Releasing lock...
[2025-01-12 09:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 09:37:04] Production.INFO: count ==21
[2025-01-12 09:37:04] Production.INFO: ==27605== Releasing lock...
[2025-01-12 09:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 09:37:04] Production.INFO: count ==21
[2025-01-12 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230726') start
[2025-01-12 09:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230726') end
[2025-01-12 09:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:37:04] Production.INFO: 1
[2025-01-12 09:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:37:04] Production.ERROR: done
[2025-01-12 09:37:04] Production.INFO: ==27613== Releasing lock...
[2025-01-12 09:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:37:05] Production.ERROR: done
[2025-01-12 09:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:37:05
[end_date_ymd] => 2025-01-12 09:37:05
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:37:05' and `end` < '2025-01-12 09: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-01-12 09:37:11] Production.ERROR: CronJobId end10
[2025-01-12 09:37:11] Production.INFO: ==27607== Releasing lock...
[2025-01-12 09:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:37:14] Production.INFO: call_cost start
[2025-01-12 09:37:14] Production.INFO: call_cost end
[2025-01-12 09:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:37:14] Production.INFO: ==27603== Releasing lock...
[2025-01-12 09:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:37:19] Production.INFO: count ==112
[2025-01-12 09:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:37:05 - End Time 2025-01-12 09:37:05
[2025-01-12 09:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230727', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230727', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230727', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230727', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:37:19] Production.INFO: ProcessCDR(1,14230727,1,1,2)
[2025-01-12 09:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230727', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230727', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:37:23] Production.INFO: ==27611== Releasing lock...
[2025-01-12 09:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:37:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:38:01] Production.INFO: ==27667== Lock acquired, processing the job...
[2025-01-12 14:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:38:01] Production.INFO: neon service started
[2025-01-12 14:38:01] Production.INFO: neon service started
[2025-01-12 14:38:01] Production.INFO: ==27667== Releasing lock...
[2025-01-12 14:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:38:02] Production.INFO: ==27669== Lock acquired, processing the job...
[2025-01-12 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:38:02] Production.INFO: ==27671== Lock acquired, processing the job...
[2025-01-12 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:38:02] Production.INFO: ==27671== Releasing lock...
[2025-01-12 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:38:02] Production.INFO: ==27669== Releasing lock...
[2025-01-12 09:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:38:03] Production.INFO: ==27680== Lock acquired, processing the job...
[2025-01-12 09:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:38:03] Production.INFO: ==27678== Lock acquired, processing the job...
[2025-01-12 09:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:38:03] Production.INFO: Account Balance Start.
[2025-01-12 09:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:38:03] Production.INFO: 117
[2025-01-12 09:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:38:03] Production.INFO: ==27674== Lock acquired, processing the job...
[2025-01-12 09:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:38:03] Production.INFO: ==27676== Lock acquired, processing the job...
[2025-01-12 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:38:03] Production.INFO: ==27682== Lock acquired, processing the job...
[2025-01-12 09:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:38:03] Production.INFO: ==27684== Lock acquired, processing the job...
[2025-01-12 09:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:38:03] Production.INFO: Total Charge 0
[2025-01-12 09:38:03] Production.INFO: CreateAllLog End
[2025-01-12 09:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 09:38:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:38:03] Production.INFO: count ==21
[2025-01-12 09:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230731') start
[2025-01-12 09:38:03] Production.INFO: ==27676== Releasing lock...
[2025-01-12 09:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:38:03] Production.ERROR: done
[2025-01-12 09:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230731') end
[2025-01-12 09:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:38:04] Production.INFO: 1
[2025-01-12 09:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:38:04] Production.INFO: ==27684== Releasing lock...
[2025-01-12 09:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:38:04] Production.INFO: Account Balance End.
[2025-01-12 09:38:04] Production.ERROR: done
[2025-01-12 09:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:38:04] Production.INFO: ==27680== Releasing lock...
[2025-01-12 09:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:38:04
[end_date_ymd] => 2025-01-12 09:38:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:38:04' and `end` < '2025-01-12 09:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:38:10] Production.ERROR: CronJobId end10
[2025-01-12 09:38:10] Production.INFO: ==27678== Releasing lock...
[2025-01-12 09:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:38:13] Production.INFO: call_cost start
[2025-01-12 09:38:13] Production.INFO: call_cost end
[2025-01-12 09:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:38:14] Production.INFO: ==27674== Releasing lock...
[2025-01-12 09:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:38:18] Production.INFO: count ==114
[2025-01-12 09:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:38:04 - End Time 2025-01-12 09:38:04
[2025-01-12 09:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230732', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230732', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230732', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230732', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:38:18] Production.INFO: ProcessCDR(1,14230732,1,1,2)
[2025-01-12 09:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230732', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230732', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:38:22] Production.INFO: ==27682== Releasing lock...
[2025-01-12 09:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:38:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:39:02] Production.INFO: ==27742== Lock acquired, processing the job...
[2025-01-12 14:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:39:02] Production.INFO: neon service started
[2025-01-12 14:39:02] Production.INFO: neon service started
[2025-01-12 14:39:02] Production.INFO: ==27742== Releasing lock...
[2025-01-12 14:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:39:02] Production.INFO: ==27744== Lock acquired, processing the job...
[2025-01-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:39:02] Production.INFO: ==27746== Lock acquired, processing the job...
[2025-01-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:39:02] Production.INFO: ==27746== Releasing lock...
[2025-01-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:39:02] Production.INFO: ==27744== Releasing lock...
[2025-01-12 09:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:39:03] Production.INFO: ==27748== Lock acquired, processing the job...
[2025-01-12 09:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:39:03] Production.INFO: ==27750== Lock acquired, processing the job...
[2025-01-12 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:39:03] Production.INFO: ==27752== Lock acquired, processing the job...
[2025-01-12 09:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:39:03] Production.INFO: ==27750== Releasing lock...
[2025-01-12 09:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:39:03] Production.INFO: ==27754== Lock acquired, processing the job...
[2025-01-12 09:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:39:03] Production.INFO: ==27756== Lock acquired, processing the job...
[2025-01-12 09:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:39:03] Production.INFO: Account Balance Start.
[2025-01-12 09:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:39:03] Production.INFO: 117
[2025-01-12 09:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:39:04] Production.INFO: ==27758== Lock acquired, processing the job...
[2025-01-12 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:39:04] Production.INFO: Total Charge 0
[2025-01-12 09:39:04] Production.INFO: CreateAllLog End
[2025-01-12 09:39:04] Production.ERROR: done
[2025-01-12 09:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 09:39:04] Production.INFO: Account Balance End.
[2025-01-12 09:39:04] Production.ERROR: done
[2025-01-12 09:39:04] Production.INFO: count ==21
[2025-01-12 09:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:39:04] Production.INFO: ==27754== Releasing lock...
[2025-01-12 09:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 09:39:04] Production.INFO: count ==21
[2025-01-12 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230736') start
[2025-01-12 09:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230736') end
[2025-01-12 09:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:39:04] Production.INFO: 1
[2025-01-12 09:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:39:04] Production.INFO: ==27758== Releasing lock...
[2025-01-12 09:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:39:05
[end_date_ymd] => 2025-01-12 09:39:05
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:39:05' and `end` < '2025-01-12 09: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-01-12 09:39:11] Production.ERROR: CronJobId end10
[2025-01-12 09:39:11] Production.INFO: ==27752== Releasing lock...
[2025-01-12 09:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:39:13] Production.INFO: call_cost start
[2025-01-12 09:39:13] Production.INFO: call_cost end
[2025-01-12 09:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:39:14] Production.INFO: ==27748== Releasing lock...
[2025-01-12 09:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:39:18] Production.INFO: count ==114
[2025-01-12 09:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:39:05 - End Time 2025-01-12 09:39:05
[2025-01-12 09:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230737', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230737', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230737', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230737', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:39:18] Production.INFO: ProcessCDR(1,14230737,1,1,2)
[2025-01-12 09:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230737', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230737', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:39:21] Production.INFO: ==27756== Releasing lock...
[2025-01-12 09:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:39:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:40:01] Production.INFO: ==27815== Lock acquired, processing the job...
[2025-01-12 14:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:40:01] Production.INFO: neon service started
[2025-01-12 14:40:01] Production.INFO: neon service started
[2025-01-12 14:40:01] Production.INFO: ==27815== Releasing lock...
[2025-01-12 14:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:40:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 09:40:01] Production.INFO: ==27817== Lock acquired, processing the job...
[2025-01-12 09:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:40:02] Production.INFO: ==27817== Releasing lock...
[2025-01-12 09:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:40:02] Production.INFO: ==27819== Lock acquired, processing the job...
[2025-01-12 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:40:02] Production.INFO: ==27819== Releasing lock...
[2025-01-12 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:40:03] Production.INFO: ==27825== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:40:03] Production.INFO: ==27834== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 09:40:03] Production.INFO: ==27821== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 09:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:40:03] Production.INFO: ==27823== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:40:03] Production.INFO: ==27836== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 09:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 09:40:03] Production.ERROR: CronJob PID - 27825
[2025-01-12 09:40:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 09:40:03] Production.ERROR: CronJob ID - 7
[2025-01-12 09:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 09:40:00
[2025-01-12 09:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 09:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 09:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 09:40:03] Production.ERROR: CronJob PID - 27834
[2025-01-12 09:40:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 09:40:03] Production.ERROR: CronJob ID - 17
[2025-01-12 09:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 09:40:00
[2025-01-12 09:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 09:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 09:40:03] Production.INFO: ==27827== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:40:03] Production.INFO: ==27829== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 09:40:03] Production.INFO: ==27821== Releasing lock...
[2025-01-12 09:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 09:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 09:40:03] Production.INFO: ==27825== Releasing lock...
[2025-01-12 09:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:40:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:40:03] Production.INFO: ==27831== Lock acquired, processing the job...
[2025-01-12 09:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:40:03] Production.INFO: Account Balance Start.
[2025-01-12 09:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:40:03] Production.INFO: 117
[2025-01-12 09:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:40:03] Production.ERROR: done
[2025-01-12 09: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-01-12 09:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:40:03] Production.INFO: count ==21
[2025-01-12 09:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:40:03] Production.INFO: count ==21
[2025-01-12 09:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230739') start
[2025-01-12 09:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 09:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230742', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 09:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230739') end
[2025-01-12 09:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:40:04] Production.INFO: 1
[2025-01-12 09:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:40:04] Production.INFO: ==27836== Releasing lock...
[2025-01-12 09:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:40:04] Production.ERROR: done
[2025-01-12 09:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:40:04] Production.INFO: Total Charge 0
[2025-01-12 09:40:04] Production.INFO: CreateAllLog End
[2025-01-12 09:40:04] Production.ERROR: done
[2025-01-12 09:40:04] Production.INFO: Account Balance End.
[2025-01-12 09:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:40:04] Production.INFO: ==27829== Releasing lock...
[2025-01-12 09:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:40:05
[end_date_ymd] => 2025-01-12 09:40:05
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:40:05' and `end` < '2025-01-12 09: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-01-12 09:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230742', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 09:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 09:40:08] Production.INFO: ProcessCDR(1,14230742,1,1,2)
[2025-01-12 09:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230742,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230742,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:40:08] Production.INFO: ==27834== Releasing lock...
[2025-01-12 09:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 09:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 09:40:12] Production.ERROR: CronJobId end10
[2025-01-12 09:40:12] Production.INFO: ==27827== Releasing lock...
[2025-01-12 09:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:40:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:40:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:40:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:40:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:40:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:40:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:40:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:40:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:40:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:40:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:40:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:40:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:40:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:40:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:40:14] Production.INFO: call_cost start
[2025-01-12 09:40:14] Production.INFO: call_cost end
[2025-01-12 09:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:40:15] Production.INFO: ==27823== Releasing lock...
[2025-01-12 09:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:40:20] Production.INFO: count ==116
[2025-01-12 09:40:20] Production.ERROR: pbx CDR StartTime 2025-01-12 06:40:05 - End Time 2025-01-12 09:40:05
[2025-01-12 09:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230743', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230743', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230743', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230743', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:40:20] Production.INFO: ProcessCDR(1,14230743,1,1,2)
[2025-01-12 09:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:40:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230743,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:40:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:40:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230743,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230743', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:40:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230743', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:40:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:40:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:40:23] Production.INFO: ==27831== Releasing lock...
[2025-01-12 09:40:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:40:23] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:41:02] Production.INFO: ==27889== Lock acquired, processing the job...
[2025-01-12 14:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:41:02] Production.INFO: neon service started
[2025-01-12 14:41:02] Production.INFO: neon service started
[2025-01-12 14:41:02] Production.INFO: ==27889== Releasing lock...
[2025-01-12 14:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:41:02] Production.INFO: ==27892== Lock acquired, processing the job...
[2025-01-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:41:02] Production.INFO: ==27894== Lock acquired, processing the job...
[2025-01-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:41:02] Production.INFO: ==27894== Releasing lock...
[2025-01-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:41:02] Production.INFO: ==27892== Releasing lock...
[2025-01-12 09:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:41:03] Production.INFO: ==27900== Lock acquired, processing the job...
[2025-01-12 09:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:41:03] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-01-12 09:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:41:03] Production.INFO: Account Balance Start.
[2025-01-12 09:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:41:03] Production.INFO: 117
[2025-01-12 09:41:03] Production.INFO: ==27896== Lock acquired, processing the job...
[2025-01-12 09:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:41:03] Production.INFO: ==27898== Lock acquired, processing the job...
[2025-01-12 09:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:41:04] Production.INFO: ==27904== Lock acquired, processing the job...
[2025-01-12 09:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:41:04] Production.INFO: Total Charge 0
[2025-01-12 09:41:04] Production.INFO: ==27906== Lock acquired, processing the job...
[2025-01-12 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:41:04] Production.INFO: CreateAllLog End
[2025-01-12 09:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 09:41:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:41:04] Production.INFO: count ==21
[2025-01-12 09:41:04] Production.INFO: ==27898== Releasing lock...
[2025-01-12 09:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230747') start
[2025-01-12 09:41:04] Production.ERROR: done
[2025-01-12 09:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230747') end
[2025-01-12 09:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:41:04] Production.INFO: 1
[2025-01-12 09:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:41:04] Production.INFO: Account Balance End.
[2025-01-12 09:41:04] Production.INFO: ==27906== Releasing lock...
[2025-01-12 09:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:41:04] Production.INFO: ==27902== Releasing lock...
[2025-01-12 09:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:41:04] Production.ERROR: done
[2025-01-12 09:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:41:05
[end_date_ymd] => 2025-01-12 09:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:41:05' and `end` < '2025-01-12 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-01-12 09:41:12] Production.ERROR: CronJobId end10
[2025-01-12 09:41:12] Production.INFO: ==27900== Releasing lock...
[2025-01-12 09:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:41:14] Production.INFO: call_cost start
[2025-01-12 09:41:14] Production.INFO: call_cost end
[2025-01-12 09:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:41:15] Production.INFO: ==27896== Releasing lock...
[2025-01-12 09:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:41:18] Production.INFO: count ==116
[2025-01-12 09:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:41:05 - End Time 2025-01-12 09:41:05
[2025-01-12 09:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230748', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230748', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230748', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230748', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:41:18] Production.INFO: ProcessCDR(1,14230748,1,1,2)
[2025-01-12 09:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230748,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230748,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230748', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230748', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:41:21] Production.INFO: ==27904== Releasing lock...
[2025-01-12 09:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:41:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:42:01] Production.INFO: ==27966== Lock acquired, processing the job...
[2025-01-12 14:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:42:01] Production.INFO: neon service started
[2025-01-12 14:42:01] Production.INFO: neon service started
[2025-01-12 14:42:01] Production.INFO: ==27966== Releasing lock...
[2025-01-12 14:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:42:01] Production.INFO: ==27968== Lock acquired, processing the job...
[2025-01-12 09:42:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:42:02] Production.INFO: ==27968== Releasing lock...
[2025-01-12 09:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:42:02] Production.INFO: ==27970== Lock acquired, processing the job...
[2025-01-12 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:42:02] Production.INFO: ==27970== Releasing lock...
[2025-01-12 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:42:03] Production.INFO: ==27972== Lock acquired, processing the job...
[2025-01-12 09:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:42:03] Production.INFO: ==27974== Lock acquired, processing the job...
[2025-01-12 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:42:03] Production.INFO: ==27982== Lock acquired, processing the job...
[2025-01-12 09:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:42:03] Production.INFO: ==27976== Lock acquired, processing the job...
[2025-01-12 09:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 09:42:03] Production.INFO: ==27980== Lock acquired, processing the job...
[2025-01-12 09:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:42:03] Production.INFO: ==27978== Lock acquired, processing the job...
[2025-01-12 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:42:03] Production.INFO: count ==21
[2025-01-12 09:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 09:42:03] Production.INFO: count ==21
[2025-01-12 09:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230750') start
[2025-01-12 09:42:03] Production.INFO: Account Balance Start.
[2025-01-12 09:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:42:03] Production.INFO: 117
[2025-01-12 09:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:42:03] Production.ERROR: done
[2025-01-12 09:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230750') end
[2025-01-12 09:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:42:03] Production.INFO: 1
[2025-01-12 09:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:42:03] Production.INFO: ==27982== Releasing lock...
[2025-01-12 09:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:42:03] Production.INFO: ==27974== Releasing lock...
[2025-01-12 09:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:42:03] Production.ERROR: done
[2025-01-12 09:42:03] Production.INFO: Total Charge 0
[2025-01-12 09:42:03] Production.INFO: CreateAllLog End
[2025-01-12 09:42:03] Production.INFO: Account Balance End.
[2025-01-12 09:42:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:42:03] Production.INFO: ==27978== Releasing lock...
[2025-01-12 09:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:42:04
[end_date_ymd] => 2025-01-12 09:42:04
[RateCDR] => 1
)
[2025-01-12 09:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:42:04' and `end` < '2025-01-12 09:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:42:11] Production.ERROR: CronJobId end10
[2025-01-12 09:42:11] Production.INFO: ==27976== Releasing lock...
[2025-01-12 09:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:42:13] Production.INFO: call_cost start
[2025-01-12 09:42:13] Production.INFO: call_cost end
[2025-01-12 09:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:42:14] Production.INFO: ==27972== Releasing lock...
[2025-01-12 09:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:42:17] Production.INFO: count ==116
[2025-01-12 09:42:17] Production.ERROR: pbx CDR StartTime 2025-01-12 06:42:04 - End Time 2025-01-12 09:42:04
[2025-01-12 09:42:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230753', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230753', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230753', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:42:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230753', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:42:17] Production.INFO: ProcessCDR(1,14230753,1,1,2)
[2025-01-12 09:42:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:42:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230753,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:42:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:42:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230753,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230753', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:42:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230753', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:42:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:42:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:42:20] Production.INFO: ==27980== Releasing lock...
[2025-01-12 09:42:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:42:20] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:43:01] Production.INFO: ==28041== Lock acquired, processing the job...
[2025-01-12 14:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:43:01] Production.INFO: neon service started
[2025-01-12 14:43:01] Production.INFO: neon service started
[2025-01-12 14:43:01] Production.INFO: ==28041== Releasing lock...
[2025-01-12 14:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:43:02] Production.INFO: ==28043== Lock acquired, processing the job...
[2025-01-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:43:02] Production.INFO: ==28045== Lock acquired, processing the job...
[2025-01-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:43:02] Production.INFO: ==28045== Releasing lock...
[2025-01-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:43:02] Production.INFO: ==28043== Releasing lock...
[2025-01-12 09:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:43:03] Production.INFO: ==28052== Lock acquired, processing the job...
[2025-01-12 09:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:43:03] Production.INFO: ==28054== Lock acquired, processing the job...
[2025-01-12 09:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:43:03] Production.INFO: Account Balance Start.
[2025-01-12 09:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:43:03] Production.INFO: 117
[2025-01-12 09:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:43:03] Production.INFO: ==28058== Lock acquired, processing the job...
[2025-01-12 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:43:03] Production.INFO: ==28048== Lock acquired, processing the job...
[2025-01-12 09:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:43:03] Production.INFO: ==28050== Lock acquired, processing the job...
[2025-01-12 09:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:43:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:43:03] Production.INFO: count ==21
[2025-01-12 09:43:03] Production.INFO: ==28056== Lock acquired, processing the job...
[2025-01-12 09:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230755') start
[2025-01-12 09:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:43:03] Production.INFO: Total Charge 0
[2025-01-12 09:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230755') end
[2025-01-12 09:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:43:03] Production.INFO: 1
[2025-01-12 09:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:43:03] Production.INFO: CreateAllLog End
[2025-01-12 09:43:03] Production.INFO: ==28058== Releasing lock...
[2025-01-12 09:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:43:04] Production.ERROR: done
[2025-01-12 09:43:04] Production.INFO: Account Balance End.
[2025-01-12 09:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:43:04] Production.INFO: ==28050== Releasing lock...
[2025-01-12 09:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:43:04] Production.INFO: ==28054== Releasing lock...
[2025-01-12 09:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:43:04] Production.ERROR: done
[2025-01-12 09:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:43:05
[end_date_ymd] => 2025-01-12 09:43:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:43:05' and `end` < '2025-01-12 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-01-12 09:43:11] Production.ERROR: CronJobId end10
[2025-01-12 09:43:11] Production.INFO: ==28052== Releasing lock...
[2025-01-12 09:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:43:13] Production.INFO: call_cost start
[2025-01-12 09:43:13] Production.INFO: call_cost end
[2025-01-12 09:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:43:14] Production.INFO: ==28048== Releasing lock...
[2025-01-12 09:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:43:18] Production.INFO: count ==116
[2025-01-12 09:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:43:05 - End Time 2025-01-12 09:43:05
[2025-01-12 09:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230758', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230758', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230758', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230758', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:43:18] Production.INFO: ProcessCDR(1,14230758,1,1,2)
[2025-01-12 09:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230758,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230758,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230758', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230758', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:43:21] Production.INFO: ==28056== Releasing lock...
[2025-01-12 09:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:43:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:44:02] Production.INFO: ==28123== Lock acquired, processing the job...
[2025-01-12 14:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:44:02] Production.INFO: neon service started
[2025-01-12 14:44:02] Production.INFO: neon service started
[2025-01-12 14:44:02] Production.INFO: ==28123== Releasing lock...
[2025-01-12 14:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:44:02] Production.INFO: ==28127== Lock acquired, processing the job...
[2025-01-12 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:44:02] Production.INFO: ==28127== Releasing lock...
[2025-01-12 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:44:02] Production.INFO: ==28125== Lock acquired, processing the job...
[2025-01-12 09:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:44:03] Production.INFO: ==28125== Releasing lock...
[2025-01-12 09:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:44:03] Production.INFO: ==28129== Lock acquired, processing the job...
[2025-01-12 09:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:44:03] Production.INFO: ==28131== Lock acquired, processing the job...
[2025-01-12 09:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:44:03] Production.INFO: ==28140== Lock acquired, processing the job...
[2025-01-12 09:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:44:04] Production.INFO: ==28131== Releasing lock...
[2025-01-12 09:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09: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-01-12 09:44:04] Production.INFO: ==28133== Lock acquired, processing the job...
[2025-01-12 09:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:44:04] Production.INFO: ==28135== Lock acquired, processing the job...
[2025-01-12 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:44:04] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:44:04] Production.INFO: count ==21
[2025-01-12 09:44:04] Production.INFO: ==28138== Lock acquired, processing the job...
[2025-01-12 09:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230761') start
[2025-01-12 09:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:44:04] Production.INFO: Account Balance Start.
[2025-01-12 09:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:44:04] Production.INFO: 117
[2025-01-12 09:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230761') end
[2025-01-12 09:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:44:04] Production.INFO: 1
[2025-01-12 09:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:44:04] Production.INFO: ==28140== Releasing lock...
[2025-01-12 09:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:44:04] Production.INFO: Total Charge 0
[2025-01-12 09:44:04] Production.ERROR: done
[2025-01-12 09:44:04] Production.INFO: CreateAllLog End
[2025-01-12 09:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:44:04] Production.ERROR: done
[2025-01-12 09:44:04] Production.INFO: Account Balance End.
[2025-01-12 09:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:44:04] Production.INFO: ==28135== Releasing lock...
[2025-01-12 09:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:44:05
[end_date_ymd] => 2025-01-12 09:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:44:05' and `end` < '2025-01-12 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-01-12 09:44:11] Production.ERROR: CronJobId end10
[2025-01-12 09:44:11] Production.INFO: ==28133== Releasing lock...
[2025-01-12 09:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:44:13] Production.INFO: call_cost start
[2025-01-12 09:44:13] Production.INFO: call_cost end
[2025-01-12 09:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:44:14] Production.INFO: ==28129== Releasing lock...
[2025-01-12 09:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:44:18] Production.INFO: count ==116
[2025-01-12 09:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:44:05 - End Time 2025-01-12 09:44:05
[2025-01-12 09:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230763', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230763', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230763', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230763', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:44:18] Production.INFO: ProcessCDR(1,14230763,1,1,2)
[2025-01-12 09:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:44:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:44:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:44:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230763', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:44:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230763', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:44:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:44:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:44:21] Production.INFO: ==28138== Releasing lock...
[2025-01-12 09:44:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:44:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:45:01] Production.INFO: ==28199== Lock acquired, processing the job...
[2025-01-12 14:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:45:01] Production.INFO: neon service started
[2025-01-12 14:45:01] Production.INFO: neon service started
[2025-01-12 14:45:01] Production.INFO: ==28199== Releasing lock...
[2025-01-12 14:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:45:02] Production.INFO: ==28201== Lock acquired, processing the job...
[2025-01-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:45:02] Production.INFO: ==28201== Releasing lock...
[2025-01-12 09:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:45:02] Production.INFO: ==28203== Lock acquired, processing the job...
[2025-01-12 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:45:02] Production.INFO: ==28203== Releasing lock...
[2025-01-12 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:45:03] Production.INFO: ==28207== Lock acquired, processing the job...
[2025-01-12 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:45:03] Production.INFO: ==28209== Lock acquired, processing the job...
[2025-01-12 09:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:45:03] Production.INFO: ==28213== Lock acquired, processing the job...
[2025-01-12 09:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:45:03] Production.INFO: ==28205== Lock acquired, processing the job...
[2025-01-12 09:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:45:03] Production.INFO: ==28211== Lock acquired, processing the job...
[2025-01-12 09:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:45:03] Production.INFO: ==28207== Releasing lock...
[2025-01-12 09:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:45:03] Production.INFO: ==28215== Lock acquired, processing the job...
[2025-01-12 09:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:45:03] Production.INFO: Account Balance Start.
[2025-01-12 09:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:45:03] Production.INFO: 117
[2025-01-12 09:45:03] Production.ERROR: done
[2025-01-12 09:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:45:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:45:03] Production.INFO: count ==21
[2025-01-12 09:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230767') start
[2025-01-12 09:45:03] Production.ERROR: done
[2025-01-12 09:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:45:04] Production.INFO: Total Charge 0
[2025-01-12 09:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230767') end
[2025-01-12 09:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:45:04] Production.INFO: 1
[2025-01-12 09:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:45:04] Production.INFO: CreateAllLog End
[2025-01-12 09:45:04] Production.INFO: ==28215== Releasing lock...
[2025-01-12 09:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:45:04] Production.INFO: Account Balance End.
[2025-01-12 09:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:45:04] Production.INFO: ==28211== Releasing lock...
[2025-01-12 09:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:45:05
[end_date_ymd] => 2025-01-12 09:45:05
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:45:05' and `end` < '2025-01-12 09: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-01-12 09:45:11] Production.ERROR: CronJobId end10
[2025-01-12 09:45:11] Production.INFO: ==28209== Releasing lock...
[2025-01-12 09:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:45:14] Production.INFO: call_cost start
[2025-01-12 09:45:14] Production.INFO: call_cost end
[2025-01-12 09:45:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:45:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:45:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:45:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:45:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:45:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:45:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:45:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:45:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:45:15] Production.INFO: ==28205== Releasing lock...
[2025-01-12 09:45:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:45:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:45:18] Production.INFO: count ==116
[2025-01-12 09:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:45:05 - End Time 2025-01-12 09:45:05
[2025-01-12 09:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230768', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230768', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230768', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230768', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:45:18] Production.INFO: ProcessCDR(1,14230768,1,1,2)
[2025-01-12 09:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230768', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230768', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:45:21] Production.INFO: ==28213== Releasing lock...
[2025-01-12 09:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:45:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:46:02] Production.INFO: ==28277== Lock acquired, processing the job...
[2025-01-12 14:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:46:02] Production.INFO: neon service started
[2025-01-12 14:46:02] Production.INFO: neon service started
[2025-01-12 14:46:02] Production.INFO: ==28277== Releasing lock...
[2025-01-12 14:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:46:02] Production.INFO: ==28279== Lock acquired, processing the job...
[2025-01-12 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:46:02] Production.INFO: ==28281== Lock acquired, processing the job...
[2025-01-12 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:46:02] Production.INFO: ==28281== Releasing lock...
[2025-01-12 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:46:02] Production.INFO: ==28279== Releasing lock...
[2025-01-12 09:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:46:03] Production.INFO: ==28294== Lock acquired, processing the job...
[2025-01-12 09:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:46:03] Production.INFO: ==28292== Lock acquired, processing the job...
[2025-01-12 09:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:46:03] Production.INFO: ==28283== Lock acquired, processing the job...
[2025-01-12 09:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:46:03] Production.INFO: ==28285== Lock acquired, processing the job...
[2025-01-12 09:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:46:03] Production.INFO: ==28288== Lock acquired, processing the job...
[2025-01-12 09:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:46:04] Production.INFO: ==28290== Lock acquired, processing the job...
[2025-01-12 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:46:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:46:04] Production.INFO: count ==21
[2025-01-12 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230769') start
[2025-01-12 09:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:46:04] Production.INFO: Account Balance Start.
[2025-01-12 09:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:46:04] Production.INFO: 117
[2025-01-12 09:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:46:04] Production.ERROR: done
[2025-01-12 09:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230769') end
[2025-01-12 09:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:46:04] Production.INFO: 1
[2025-01-12 09:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:46:04] Production.INFO: ==28294== Releasing lock...
[2025-01-12 09:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:46:04] Production.ERROR: done
[2025-01-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:46:04] Production.INFO: Total Charge 0
[2025-01-12 09:46:04] Production.INFO: CreateAllLog End
[2025-01-12 09:46:04] Production.INFO: ==28285== Releasing lock...
[2025-01-12 09:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:46:04] Production.INFO: Account Balance End.
[2025-01-12 09:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:46:04] Production.INFO: ==28290== Releasing lock...
[2025-01-12 09:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:46:05
[end_date_ymd] => 2025-01-12 09:46:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:46:05' and `end` < '2025-01-12 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-01-12 09:46:11] Production.ERROR: CronJobId end10
[2025-01-12 09:46:11] Production.INFO: ==28288== Releasing lock...
[2025-01-12 09:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:46:14] Production.INFO: call_cost start
[2025-01-12 09:46:14] Production.INFO: call_cost end
[2025-01-12 09:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:46:15] Production.INFO: ==28283== Releasing lock...
[2025-01-12 09:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:46:19] Production.INFO: count ==116
[2025-01-12 09:46:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:46:05 - End Time 2025-01-12 09:46:05
[2025-01-12 09:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230773', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230773', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230773', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230773', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:46:19] Production.INFO: ProcessCDR(1,14230773,1,1,2)
[2025-01-12 09:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230773', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230773', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:46:22] Production.INFO: ==28292== Releasing lock...
[2025-01-12 09:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:46:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:47:01] Production.INFO: ==28356== Lock acquired, processing the job...
[2025-01-12 14:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:47:01] Production.INFO: neon service started
[2025-01-12 14:47:01] Production.INFO: neon service started
[2025-01-12 14:47:01] Production.INFO: ==28356== Releasing lock...
[2025-01-12 14:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:47:01] Production.INFO: ==28358== Lock acquired, processing the job...
[2025-01-12 09:47:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:47:02] Production.INFO: ==28358== Releasing lock...
[2025-01-12 09:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:47:02] Production.INFO: ==28360== Lock acquired, processing the job...
[2025-01-12 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:47:02] Production.INFO: ==28360== Releasing lock...
[2025-01-12 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:47:03] Production.INFO: ==28369== Lock acquired, processing the job...
[2025-01-12 09:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:47:03] Production.INFO: ==28363== Lock acquired, processing the job...
[2025-01-12 09:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:47:03] Production.INFO: ==28373== Lock acquired, processing the job...
[2025-01-12 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:47:03] Production.INFO: Account Balance Start.
[2025-01-12 09:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:47:03] Production.INFO: 117
[2025-01-12 09:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:47:03] Production.INFO: ==28365== Lock acquired, processing the job...
[2025-01-12 09:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:47:03] Production.INFO: ==28371== Lock acquired, processing the job...
[2025-01-12 09:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:47:03] Production.INFO: ==28367== Lock acquired, processing the job...
[2025-01-12 09:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:47:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:47:03] Production.INFO: count ==21
[2025-01-12 09:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230776') start
[2025-01-12 09:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230776') end
[2025-01-12 09:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:47:03] Production.INFO: 1
[2025-01-12 09:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:47:03] Production.INFO: Total Charge 0
[2025-01-12 09:47:03] Production.INFO: CreateAllLog End
[2025-01-12 09:47:03] Production.INFO: ==28373== Releasing lock...
[2025-01-12 09:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:47:03] Production.ERROR: done
[2025-01-12 09:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:47:03] Production.INFO: Account Balance End.
[2025-01-12 09:47:04] Production.INFO: ==28365== Releasing lock...
[2025-01-12 09:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:47:04] Production.ERROR: done
[2025-01-12 09:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:47:04] Production.INFO: ==28369== Releasing lock...
[2025-01-12 09:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:47:04
[end_date_ymd] => 2025-01-12 09:47:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:47:04' and `end` < '2025-01-12 09: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-01-12 09:47:10] Production.ERROR: CronJobId end10
[2025-01-12 09:47:10] Production.INFO: ==28367== Releasing lock...
[2025-01-12 09:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:47:13] Production.INFO: call_cost start
[2025-01-12 09:47:13] Production.INFO: call_cost end
[2025-01-12 09:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:47:13] Production.INFO: ==28363== Releasing lock...
[2025-01-12 09:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:47:18] Production.INFO: count ==116
[2025-01-12 09:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:47:04 - End Time 2025-01-12 09:47:04
[2025-01-12 09:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230778', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230778', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230778', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230778', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:47:18] Production.INFO: ProcessCDR(1,14230778,1,1,2)
[2025-01-12 09:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230778', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230778', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:47:21] Production.INFO: ==28371== Releasing lock...
[2025-01-12 09:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:47:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:48:02] Production.INFO: ==28449== Lock acquired, processing the job...
[2025-01-12 14:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:48:02] Production.INFO: neon service started
[2025-01-12 14:48:02] Production.INFO: neon service started
[2025-01-12 14:48:02] Production.INFO: ==28449== Releasing lock...
[2025-01-12 14:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:48:02] Production.INFO: ==28451== Lock acquired, processing the job...
[2025-01-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:48:02] Production.INFO: ==28451== Releasing lock...
[2025-01-12 09:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:48:02] Production.INFO: ==28453== Lock acquired, processing the job...
[2025-01-12 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:48:03] Production.INFO: ==28453== Releasing lock...
[2025-01-12 14:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:48:03] Production.INFO: ==28455== Lock acquired, processing the job...
[2025-01-12 09:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:48:03] Production.INFO: ==28457== Lock acquired, processing the job...
[2025-01-12 09:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:48:03] Production.INFO: ==28463== Lock acquired, processing the job...
[2025-01-12 09:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:48:03] Production.INFO: ==28459== Lock acquired, processing the job...
[2025-01-12 09:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:48:03] Production.INFO: ==28461== Lock acquired, processing the job...
[2025-01-12 09:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:48:03] Production.INFO: ==28465== Lock acquired, processing the job...
[2025-01-12 09:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:48:03] Production.INFO: Account Balance Start.
[2025-01-12 09:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:48:03] Production.INFO: 117
[2025-01-12 09:48:04] Production.ERROR: done
[2025-01-12 09:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:48:04] Production.INFO: ==28457== Releasing lock...
[2025-01-12 09:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:48:04] Production.INFO: count ==21
[2025-01-12 09:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:48:04] Production.ERROR: done
[2025-01-12 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-01-12 09:48:04] Production.INFO: count ==21
[2025-01-12 09:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230782') start
[2025-01-12 09:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:48:04] Production.INFO: Total Charge 0
[2025-01-12 09:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230782') end
[2025-01-12 09:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:48:04] Production.INFO: 1
[2025-01-12 09:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:48:04] Production.INFO: CreateAllLog End
[2025-01-12 09:48:04] Production.INFO: ==28465== Releasing lock...
[2025-01-12 09:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:48:04] Production.INFO: Account Balance End.
[2025-01-12 09:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:48:04] Production.INFO: ==28461== Releasing lock...
[2025-01-12 09:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:48:05
[end_date_ymd] => 2025-01-12 09:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:48:05' and `end` < '2025-01-12 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-01-12 09:48:12] Production.ERROR: CronJobId end10
[2025-01-12 09:48:12] Production.INFO: ==28459== Releasing lock...
[2025-01-12 09:48:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:48:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:48:13] Production.INFO: call_cost start
[2025-01-12 09:48:13] Production.INFO: call_cost end
[2025-01-12 09:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:48:14] Production.INFO: ==28455== Releasing lock...
[2025-01-12 09:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:48:19] Production.INFO: count ==116
[2025-01-12 09:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:48:05 - End Time 2025-01-12 09:48:05
[2025-01-12 09:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230783', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230783', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230783', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230783', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:48:19] Production.INFO: ProcessCDR(1,14230783,1,1,2)
[2025-01-12 09:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230783', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230783', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:48:22] Production.INFO: ==28463== Releasing lock...
[2025-01-12 09:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:48:22] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:49:01] Production.INFO: ==28561== Lock acquired, processing the job...
[2025-01-12 14:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:49:01] Production.INFO: neon service started
[2025-01-12 14:49:01] Production.INFO: neon service started
[2025-01-12 14:49:01] Production.INFO: ==28561== Releasing lock...
[2025-01-12 14:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:49:01] Production.INFO: ==28563== Lock acquired, processing the job...
[2025-01-12 09:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:49:02] Production.INFO: ==28563== Releasing lock...
[2025-01-12 09:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:49:02] Production.INFO: ==28565== Lock acquired, processing the job...
[2025-01-12 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:49:02] Production.INFO: ==28565== Releasing lock...
[2025-01-12 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:49:02] Production.INFO: ==28567== Lock acquired, processing the job...
[2025-01-12 09:49:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:49:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:49:02] Production.INFO: ==28571== Lock acquired, processing the job...
[2025-01-12 09:49:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:49:02] Production.INFO: ==28575== Lock acquired, processing the job...
[2025-01-12 09:49:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:49:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:49:03] Production.INFO: ==28569== Lock acquired, processing the job...
[2025-01-12 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:49:03] Production.INFO: ==28573== Lock acquired, processing the job...
[2025-01-12 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:49:03] Production.INFO: ==28577== Lock acquired, processing the job...
[2025-01-12 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:49:03] Production.ERROR: done
[2025-01-12 09:49:03] Production.INFO: Account Balance Start.
[2025-01-12 09:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:49:03] Production.INFO: 117
[2025-01-12 09:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:49:03] Production.INFO: count ==21
[2025-01-12 09:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:49:03] Production.INFO: count ==21
[2025-01-12 09:49:03] Production.ERROR: done
[2025-01-12 09:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230787') start
[2025-01-12 09:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:49:03] Production.INFO: ==28569== Releasing lock...
[2025-01-12 09:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:49:03] Production.INFO: Total Charge 0
[2025-01-12 09:49:03] Production.INFO: CreateAllLog End
[2025-01-12 09:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230787') end
[2025-01-12 09:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:49:03] Production.INFO: 1
[2025-01-12 09:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:49:03] Production.INFO: ==28577== Releasing lock...
[2025-01-12 09:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:49:03] Production.INFO: Account Balance End.
[2025-01-12 09:49:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:49:03] Production.INFO: ==28573== Releasing lock...
[2025-01-12 09:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:49:04
[end_date_ymd] => 2025-01-12 09:49:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:49:04' and `end` < '2025-01-12 09: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-01-12 09:49:12] Production.ERROR: CronJobId end10
[2025-01-12 09:49:12] Production.INFO: ==28571== Releasing lock...
[2025-01-12 09:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:49:13] Production.INFO: call_cost start
[2025-01-12 09:49:13] Production.INFO: call_cost end
[2025-01-12 09:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:49:13] Production.INFO: ==28567== Releasing lock...
[2025-01-12 09:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:49:17] Production.INFO: count ==117
[2025-01-12 09:49:17] Production.ERROR: pbx CDR StartTime 2025-01-12 06:49:04 - End Time 2025-01-12 09:49:04
[2025-01-12 09:49:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230788', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230788', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230788', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:49:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230788', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:49:17] Production.INFO: ProcessCDR(1,14230788,1,1,2)
[2025-01-12 09:49:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230788', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230788', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:49:21] Production.INFO: ==28575== Releasing lock...
[2025-01-12 09:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:49:21] Production.INFO: 28.5 MB #Memory Used#
[2025-01-12 14:50:01] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-01-12 14:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:50:01] Production.INFO: neon service started
[2025-01-12 14:50:01] Production.INFO: neon service started
[2025-01-12 14:50:01] Production.INFO: ==28671== Releasing lock...
[2025-01-12 14:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:50:02] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-01-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:50:02] Production.INFO: ==28675== Releasing lock...
[2025-01-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:50:02] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-01-12 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:50:02] Production.INFO: ==28673== Releasing lock...
[2025-01-12 09:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:50:03] Production.INFO: ==28681== Lock acquired, processing the job...
[2025-01-12 09:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:50:03] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-01-12 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 09:50:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-01-12 09:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 09:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 09:50:03] Production.ERROR: CronJob PID - 28681
[2025-01-12 09:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 09:50:03] Production.ERROR: CronJob ID - 7
[2025-01-12 09:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 09:50:00
[2025-01-12 09:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 09:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 09:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 09:50:03] Production.INFO: ==28677== Releasing lock...
[2025-01-12 09:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 09:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 09:50:03] Production.INFO: ==28688== Lock acquired, processing the job...
[2025-01-12 09:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:50:03] Production.INFO: ==28690== Lock acquired, processing the job...
[2025-01-12 09:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 09:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:50:03] Production.INFO: ==28684== Lock acquired, processing the job...
[2025-01-12 09:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:50:03] Production.INFO: ==28686== Lock acquired, processing the job...
[2025-01-12 09:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:50:04] Production.INFO: ==28692== Lock acquired, processing the job...
[2025-01-12 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:50:04] Production.INFO: ==28681== Releasing lock...
[2025-01-12 09:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:50:04] Production.INFO: Account Balance Start.
[2025-01-12 09:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:50:04] Production.ERROR: done
[2025-01-12 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-01-12 09:50:04] Production.INFO: 117
[2025-01-12 09:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 09:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230793', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 09:50:04] Production.ERROR: done
[2025-01-12 09:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:50:04] Production.INFO: count ==21
[2025-01-12 09:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 09:50:04] Production.INFO: count ==21
[2025-01-12 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230792') start
[2025-01-12 09:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:50:04] Production.ERROR: done
[2025-01-12 09:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230792') end
[2025-01-12 09:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:50:04] Production.INFO: 1
[2025-01-12 09:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:50:04] Production.INFO: ==28692== Releasing lock...
[2025-01-12 09:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:50:04] Production.INFO: Total Charge 0
[2025-01-12 09:50:04] Production.INFO: CreateAllLog End
[2025-01-12 09:50:04] Production.INFO: Account Balance End.
[2025-01-12 09:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:50:04] Production.INFO: ==28686== Releasing lock...
[2025-01-12 09:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:50:05
[end_date_ymd] => 2025-01-12 09:50:05
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:50:05' and `end` < '2025-01-12 09: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-01-12 09:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230793', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 09:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 09:50:08] Production.INFO: ProcessCDR(1,14230793,1,1,2)
[2025-01-12 09:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230793,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230793,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:50:08] Production.INFO: ==28690== Releasing lock...
[2025-01-12 09:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 09:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 09:50:13] Production.ERROR: CronJobId end10
[2025-01-12 09:50:13] Production.INFO: ==28684== Releasing lock...
[2025-01-12 09:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:50:15] Production.INFO: call_cost start
[2025-01-12 09:50:15] Production.INFO: call_cost end
[2025-01-12 09:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:50:16] Production.INFO: ==28679== Releasing lock...
[2025-01-12 09:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:50:18] Production.INFO: count ==125
[2025-01-12 09:50:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:50:05 - End Time 2025-01-12 09:50:05
[2025-01-12 09:50:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230794', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230794', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230794', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:50:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230794', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:50:18] Production.INFO: ProcessCDR(1,14230794,1,1,2)
[2025-01-12 09:50:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:50:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230794,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:50:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:50:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230794,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230794', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:50:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230794', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:50:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:50:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:50:21] Production.INFO: ==28688== Releasing lock...
[2025-01-12 09:50:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:50:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:51:02] Production.INFO: ==28828== Lock acquired, processing the job...
[2025-01-12 14:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:51:02] Production.INFO: neon service started
[2025-01-12 14:51:02] Production.INFO: neon service started
[2025-01-12 14:51:02] Production.INFO: ==28828== Releasing lock...
[2025-01-12 14:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:51:02] Production.INFO: ==28830== Lock acquired, processing the job...
[2025-01-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:51:02] Production.INFO: ==28830== Releasing lock...
[2025-01-12 09:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:51:03] Production.INFO: ==28832== Lock acquired, processing the job...
[2025-01-12 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:51:03] Production.INFO: ==28832== Releasing lock...
[2025-01-12 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:51:03] Production.INFO: ==28836== Lock acquired, processing the job...
[2025-01-12 09:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:51:03] Production.INFO: ==28840== Lock acquired, processing the job...
[2025-01-12 09:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:51:03] Production.INFO: ==28834== Lock acquired, processing the job...
[2025-01-12 09:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:51:03] Production.INFO: Account Balance Start.
[2025-01-12 09:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:51:03] Production.INFO: 117
[2025-01-12 09:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:51:03] Production.INFO: ==28838== Lock acquired, processing the job...
[2025-01-12 09:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:51:03] Production.INFO: ==28842== Lock acquired, processing the job...
[2025-01-12 09:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:51:03] Production.INFO: ==28844== Lock acquired, processing the job...
[2025-01-12 09:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:51:04] Production.INFO: ==28836== Releasing lock...
[2025-01-12 09:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:51:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:51:04] Production.INFO: Total Charge 0
[2025-01-12 09:51:04] Production.INFO: count ==21
[2025-01-12 09:51:04] Production.INFO: CreateAllLog End
[2025-01-12 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230798') start
[2025-01-12 09:51:04] Production.ERROR: done
[2025-01-12 09:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230798') end
[2025-01-12 09:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:51:04] Production.INFO: 1
[2025-01-12 09:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:51:04] Production.INFO: ==28844== Releasing lock...
[2025-01-12 09:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:51:04] Production.INFO: Account Balance End.
[2025-01-12 09:51:04] Production.ERROR: done
[2025-01-12 09:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:51:04] Production.INFO: ==28840== Releasing lock...
[2025-01-12 09:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:51:05
[end_date_ymd] => 2025-01-12 09:51:05
[RateCDR] => 1
)
[2025-01-12 09:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:51:05' and `end` < '2025-01-12 09:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:51:12] Production.ERROR: CronJobId end10
[2025-01-12 09:51:12] Production.INFO: ==28838== Releasing lock...
[2025-01-12 09:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:51:14] Production.INFO: call_cost start
[2025-01-12 09:51:14] Production.INFO: call_cost end
[2025-01-12 09:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:51:15] Production.INFO: ==28834== Releasing lock...
[2025-01-12 09:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:51:18] Production.INFO: count ==125
[2025-01-12 09:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:51:05 - End Time 2025-01-12 09:51:05
[2025-01-12 09:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230799', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230799', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230799', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230799', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:51:18] Production.INFO: ProcessCDR(1,14230799,1,1,2)
[2025-01-12 09:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:51:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230799,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:51:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:51:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230799,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230799', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:51:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230799', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:51:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:51:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:51:21] Production.INFO: ==28842== Releasing lock...
[2025-01-12 09:51:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:51:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:52:01] Production.INFO: ==28942== Lock acquired, processing the job...
[2025-01-12 14:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:52:01] Production.INFO: neon service started
[2025-01-12 14:52:01] Production.INFO: neon service started
[2025-01-12 14:52:01] Production.INFO: ==28942== Releasing lock...
[2025-01-12 14:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:52:02] Production.INFO: ==28944== Lock acquired, processing the job...
[2025-01-12 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:52:02] Production.INFO: ==28944== Releasing lock...
[2025-01-12 09:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:52:02] Production.INFO: ==28946== Lock acquired, processing the job...
[2025-01-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:52:02] Production.INFO: ==28946== Releasing lock...
[2025-01-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:52:03] Production.INFO: ==28952== Lock acquired, processing the job...
[2025-01-12 09:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:52:03] Production.INFO: ==28961== Lock acquired, processing the job...
[2025-01-12 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:52:03] Production.INFO: ==28948== Lock acquired, processing the job...
[2025-01-12 09:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:52:03] Production.INFO: ==28950== Lock acquired, processing the job...
[2025-01-12 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09: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-01-12 09:52:03] Production.INFO: ==28958== Lock acquired, processing the job...
[2025-01-12 09:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:52:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:52:03] Production.INFO: ==28956== Lock acquired, processing the job...
[2025-01-12 09:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:52:03] Production.INFO: count ==21
[2025-01-12 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230800') start
[2025-01-12 09:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:52:03] Production.INFO: Account Balance Start.
[2025-01-12 09:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:52:03] Production.INFO: 117
[2025-01-12 09:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230800') end
[2025-01-12 09:52:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:52:03] Production.INFO: 1
[2025-01-12 09:52:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:52:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:52:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:52:03] Production.INFO: ==28961== Releasing lock...
[2025-01-12 09:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:52:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:52:03] Production.INFO: ==28950== Releasing lock...
[2025-01-12 09:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:52:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:52:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:52:03] Production.ERROR: done
[2025-01-12 09:52:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:52:03] Production.INFO: Total Charge 0
[2025-01-12 09:52:03] Production.INFO: CreateAllLog End
[2025-01-12 09:52:04] Production.ERROR: done
[2025-01-12 09:52:04] Production.INFO: Account Balance End.
[2025-01-12 09:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:52:04] Production.INFO: ==28956== Releasing lock...
[2025-01-12 09:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:52:04
[end_date_ymd] => 2025-01-12 09:52:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:52:04' and `end` < '2025-01-12 09:52:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:52:10] Production.ERROR: CronJobId end10
[2025-01-12 09:52:10] Production.INFO: ==28952== Releasing lock...
[2025-01-12 09:52:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:52:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:52:13] Production.INFO: call_cost start
[2025-01-12 09:52:13] Production.INFO: call_cost end
[2025-01-12 09:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:52:14] Production.INFO: ==28948== Releasing lock...
[2025-01-12 09:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:52:18] Production.INFO: count ==125
[2025-01-12 09:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:52:04 - End Time 2025-01-12 09:52:04
[2025-01-12 09:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230804', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230804', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230804', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230804', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:52:18] Production.INFO: ProcessCDR(1,14230804,1,1,2)
[2025-01-12 09:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230804,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230804,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230804', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230804', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:52:21] Production.INFO: ==28958== Releasing lock...
[2025-01-12 09:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:52:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:53:02] Production.INFO: ==29054== Lock acquired, processing the job...
[2025-01-12 14:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:53:02] Production.INFO: neon service started
[2025-01-12 14:53:02] Production.INFO: neon service started
[2025-01-12 14:53:02] Production.INFO: ==29054== Releasing lock...
[2025-01-12 14:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:53:02] Production.INFO: ==29056== Lock acquired, processing the job...
[2025-01-12 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:53:02] Production.INFO: ==29056== Releasing lock...
[2025-01-12 09:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:53:02] Production.INFO: ==29058== Lock acquired, processing the job...
[2025-01-12 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:53:02] Production.INFO: ==29058== Releasing lock...
[2025-01-12 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:53:03] Production.INFO: ==29064== Lock acquired, processing the job...
[2025-01-12 09:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:53:03] Production.INFO: ==29071== Lock acquired, processing the job...
[2025-01-12 09:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:53:03] Production.INFO: ==29060== Lock acquired, processing the job...
[2025-01-12 09:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:53:03] Production.INFO: ==29062== Lock acquired, processing the job...
[2025-01-12 09:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09: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-01-12 09:53:03] Production.INFO: ==29067== Lock acquired, processing the job...
[2025-01-12 09:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:53:03] Production.INFO: ==29069== Lock acquired, processing the job...
[2025-01-12 09:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:53:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:53:03] Production.INFO: count ==21
[2025-01-12 09:53:03] Production.INFO: Account Balance Start.
[2025-01-12 09:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:53:03] Production.INFO: 117
[2025-01-12 09:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230805') start
[2025-01-12 09:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230805') end
[2025-01-12 09:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:53:03] Production.INFO: 1
[2025-01-12 09:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:53:04] Production.INFO: ==29071== Releasing lock...
[2025-01-12 09:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:53:04] Production.INFO: ==29062== Releasing lock...
[2025-01-12 09:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:53:04] Production.INFO: Total Charge 0
[2025-01-12 09:53:04] Production.ERROR: done
[2025-01-12 09:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:53:04] Production.INFO: CreateAllLog End
[2025-01-12 09:53:04] Production.ERROR: done
[2025-01-12 09:53:04] Production.INFO: Account Balance End.
[2025-01-12 09:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:53:04] Production.INFO: ==29067== Releasing lock...
[2025-01-12 09:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:53:05
[end_date_ymd] => 2025-01-12 09:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:53:05' and `end` < '2025-01-12 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-01-12 09:53:11] Production.ERROR: CronJobId end10
[2025-01-12 09:53:11] Production.INFO: ==29064== Releasing lock...
[2025-01-12 09:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:53:13] Production.INFO: call_cost start
[2025-01-12 09:53:13] Production.INFO: call_cost end
[2025-01-12 09:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:53:14] Production.INFO: ==29060== Releasing lock...
[2025-01-12 09:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:53:18] Production.INFO: count ==125
[2025-01-12 09:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:53:05 - End Time 2025-01-12 09:53:05
[2025-01-12 09:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230809', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230809', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230809', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230809', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:53:18] Production.INFO: ProcessCDR(1,14230809,1,1,2)
[2025-01-12 09:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230809,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230809,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230809', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230809', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:53:21] Production.INFO: ==29069== Releasing lock...
[2025-01-12 09:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:53:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:54:01] Production.INFO: ==29161== Lock acquired, processing the job...
[2025-01-12 14:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:54:01] Production.INFO: neon service started
[2025-01-12 14:54:01] Production.INFO: neon service started
[2025-01-12 14:54:01] Production.INFO: ==29161== Releasing lock...
[2025-01-12 14:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:54:02] Production.INFO: ==29167== Lock acquired, processing the job...
[2025-01-12 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:54:02] Production.INFO: ==29165== Lock acquired, processing the job...
[2025-01-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:54:02] Production.INFO: ==29167== Releasing lock...
[2025-01-12 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:54:02] Production.INFO: ==29165== Releasing lock...
[2025-01-12 09:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:54:03] Production.INFO: ==29176== Lock acquired, processing the job...
[2025-01-12 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:54:03] Production.INFO: ==29178== Lock acquired, processing the job...
[2025-01-12 09:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:54:03] Production.INFO: Account Balance Start.
[2025-01-12 09:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:54:03] Production.INFO: 117
[2025-01-12 09:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:54:03] Production.INFO: ==29170== Lock acquired, processing the job...
[2025-01-12 09:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:54:03] Production.INFO: ==29172== Lock acquired, processing the job...
[2025-01-12 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:54:03] Production.INFO: ==29174== Lock acquired, processing the job...
[2025-01-12 09:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:54:03] Production.INFO: ==29180== Lock acquired, processing the job...
[2025-01-12 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:54:03] Production.ERROR: done
[2025-01-12 09:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:54:03] Production.INFO: Total Charge 0
[2025-01-12 09:54:03] Production.INFO: CreateAllLog End
[2025-01-12 09:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:54:03] Production.ERROR: done
[2025-01-12 09:54:03] Production.INFO: count ==21
[2025-01-12 09:54:03] Production.INFO: Account Balance End.
[2025-01-12 09: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-01-12 09:54:03] Production.INFO: count ==21
[2025-01-12 09:54:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:54:03] Production.INFO: ==29176== Releasing lock...
[2025-01-12 09:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:54:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230813') start
[2025-01-12 09:54:03] Production.INFO: ==29172== Releasing lock...
[2025-01-12 09:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230813') end
[2025-01-12 09:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:54:03] Production.INFO: 1
[2025-01-12 09:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:54:03] Production.INFO: ==29180== Releasing lock...
[2025-01-12 09:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:54:04
[end_date_ymd] => 2025-01-12 09:54:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:54:04' and `end` < '2025-01-12 09: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-01-12 09:54:11] Production.ERROR: CronJobId end10
[2025-01-12 09:54:11] Production.INFO: ==29174== Releasing lock...
[2025-01-12 09:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:54:13] Production.INFO: call_cost start
[2025-01-12 09:54:13] Production.INFO: call_cost end
[2025-01-12 09:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:54:13] Production.INFO: ==29170== Releasing lock...
[2025-01-12 09:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:54:18] Production.INFO: count ==125
[2025-01-12 09:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:54:04 - End Time 2025-01-12 09:54:04
[2025-01-12 09:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230814', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230814', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230814', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230814', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:54:18] Production.INFO: ProcessCDR(1,14230814,1,1,2)
[2025-01-12 09:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230814,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230814,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230814', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230814', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:54:21] Production.INFO: ==29178== Releasing lock...
[2025-01-12 09:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:54:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:55:01] Production.INFO: ==29278== Lock acquired, processing the job...
[2025-01-12 14:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:55:01] Production.INFO: neon service started
[2025-01-12 14:55:01] Production.INFO: neon service started
[2025-01-12 14:55:01] Production.INFO: ==29278== Releasing lock...
[2025-01-12 14:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:55:02] Production.INFO: ==29280== Lock acquired, processing the job...
[2025-01-12 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:55:02] Production.INFO: ==29280== Releasing lock...
[2025-01-12 09:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:55:02] Production.INFO: ==29282== Lock acquired, processing the job...
[2025-01-12 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:55:02] Production.INFO: ==29282== Releasing lock...
[2025-01-12 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:55:03] Production.INFO: ==29291== Lock acquired, processing the job...
[2025-01-12 09:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:55:03] Production.INFO: ==29285== Lock acquired, processing the job...
[2025-01-12 09:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:55:03] Production.INFO: ==29295== Lock acquired, processing the job...
[2025-01-12 09:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:55:03] Production.INFO: Account Balance Start.
[2025-01-12 09:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:55:03] Production.INFO: 117
[2025-01-12 09:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 09: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-01-12 09:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:55:03] Production.INFO: ==29289== Lock acquired, processing the job...
[2025-01-12 09:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:55:03] Production.INFO: count ==21
[2025-01-12 09: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-01-12 09:55:03] Production.INFO: ==29293== Lock acquired, processing the job...
[2025-01-12 09:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:55:03] Production.INFO: count ==21
[2025-01-12 09:55:03] Production.INFO: ==29287== Lock acquired, processing the job...
[2025-01-12 09:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230816') start
[2025-01-12 09:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:55:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:55:03] Production.INFO: Total Charge 0
[2025-01-12 09:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230816') end
[2025-01-12 09:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:55:03] Production.INFO: 1
[2025-01-12 09:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:55:03] Production.INFO: CreateAllLog End
[2025-01-12 09:55:04] Production.INFO: ==29295== Releasing lock...
[2025-01-12 09:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:55:04] Production.INFO: Account Balance End.
[2025-01-12 09:55:04] Production.ERROR: done
[2025-01-12 09:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:55:04] Production.INFO: ==29291== Releasing lock...
[2025-01-12 09:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:55:04] Production.ERROR: done
[2025-01-12 09:55:04] Production.INFO: ==29287== Releasing lock...
[2025-01-12 09:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:55:05
[end_date_ymd] => 2025-01-12 09:55:05
[RateCDR] => 1
)
[2025-01-12 09:55:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:55:05' and `end` < '2025-01-12 09:55:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:55:11] Production.ERROR: CronJobId end10
[2025-01-12 09:55:11] Production.INFO: ==29289== Releasing lock...
[2025-01-12 09:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:55:13] Production.INFO: call_cost start
[2025-01-12 09:55:13] Production.INFO: call_cost end
[2025-01-12 09:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:55:14] Production.INFO: ==29285== Releasing lock...
[2025-01-12 09:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:55:19] Production.INFO: count ==125
[2025-01-12 09:55:19] Production.ERROR: pbx CDR StartTime 2025-01-12 06:55:05 - End Time 2025-01-12 09:55:05
[2025-01-12 09:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230819', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230819', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230819', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230819', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:55:19] Production.INFO: ProcessCDR(1,14230819,1,1,2)
[2025-01-12 09:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230819', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230819', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:55:22] Production.INFO: ==29293== Releasing lock...
[2025-01-12 09:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:55:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:56:01] Production.INFO: ==29388== Lock acquired, processing the job...
[2025-01-12 14:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:56:01] Production.INFO: neon service started
[2025-01-12 14:56:01] Production.INFO: neon service started
[2025-01-12 14:56:01] Production.INFO: ==29388== Releasing lock...
[2025-01-12 14:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:56:01] Production.INFO: ==29390== Lock acquired, processing the job...
[2025-01-12 09:56:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:56:02] Production.INFO: ==29390== Releasing lock...
[2025-01-12 09:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:56:02] Production.INFO: ==29392== Lock acquired, processing the job...
[2025-01-12 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:56:02] Production.INFO: ==29392== Releasing lock...
[2025-01-12 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:56:02] Production.INFO: ==29397== Lock acquired, processing the job...
[2025-01-12 09:56:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:56:02] Production.INFO: ==29401== Lock acquired, processing the job...
[2025-01-12 09:56:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:56:02] Production.INFO: Account Balance Start.
[2025-01-12 09:56:02] Production.INFO: CreateAllLog Start
[2025-01-12 09:56:02] Production.INFO: 117
[2025-01-12 09:56:02] Production.INFO: Date 2025-01-08
[2025-01-12 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:56:03] Production.INFO: ==29397== Releasing lock...
[2025-01-12 09:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:56:03] Production.INFO: ==29395== Lock acquired, processing the job...
[2025-01-12 09:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:56:03] Production.INFO: Total Charge 0
[2025-01-12 09:56:03] Production.INFO: ==29399== Lock acquired, processing the job...
[2025-01-12 09:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:56:03] Production.INFO: CreateAllLog End
[2025-01-12 09:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:56:03] Production.INFO: ==29403== Lock acquired, processing the job...
[2025-01-12 09:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:56:03] Production.INFO: ==29405== Lock acquired, processing the job...
[2025-01-12 09:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:56:03] Production.INFO: Account Balance End.
[2025-01-12 09:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:56:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:56:03] Production.INFO: ==29401== Releasing lock...
[2025-01-12 09:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:56:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 09:56:03] Production.ERROR: done
[2025-01-12 09:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:56:03] Production.INFO: count ==21
[2025-01-12 09:56:03] Production.ERROR: done
[2025-01-12 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-01-12 09:56:03] Production.INFO: count ==21
[2025-01-12 09:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230823') start
[2025-01-12 09:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230823') end
[2025-01-12 09:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:56:04] Production.INFO: 1
[2025-01-12 09:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:56:04] Production.INFO: ==29405== Releasing lock...
[2025-01-12 09:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:56:04
[end_date_ymd] => 2025-01-12 09:56:04
[RateCDR] => 1
)
[2025-01-12 09: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-01-12 06:56:04' and `end` < '2025-01-12 09: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-01-12 09:56:09] Production.ERROR: CronJobId end10
[2025-01-12 09:56:09] Production.INFO: ==29399== Releasing lock...
[2025-01-12 09:56:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:56:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:56:13] Production.INFO: call_cost start
[2025-01-12 09:56:13] Production.INFO: call_cost end
[2025-01-12 09:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:56:14] Production.INFO: ==29395== Releasing lock...
[2025-01-12 09:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:56:17] Production.INFO: count ==125
[2025-01-12 09:56:17] Production.ERROR: pbx CDR StartTime 2025-01-12 06:56:04 - End Time 2025-01-12 09:56:04
[2025-01-12 09:56:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230824', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230824', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230824', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:56:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230824', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:56:17] Production.INFO: ProcessCDR(1,14230824,1,1,2)
[2025-01-12 09:56:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:56:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:56:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230824', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230824', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:56:21] Production.INFO: ==29403== Releasing lock...
[2025-01-12 09:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:56:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:57:02] Production.INFO: ==29502== Lock acquired, processing the job...
[2025-01-12 14:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:57:02] Production.INFO: neon service started
[2025-01-12 14:57:02] Production.INFO: neon service started
[2025-01-12 14:57:02] Production.INFO: ==29502== Releasing lock...
[2025-01-12 14:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:57:02] Production.INFO: ==29504== Lock acquired, processing the job...
[2025-01-12 09:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:57:02] Production.INFO: ==29506== Lock acquired, processing the job...
[2025-01-12 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:57:02] Production.INFO: ==29506== Releasing lock...
[2025-01-12 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:57:03] Production.INFO: ==29504== Releasing lock...
[2025-01-12 09:57:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:57:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:57:03] Production.INFO: ==29511== Lock acquired, processing the job...
[2025-01-12 09:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:57:03] Production.INFO: ==29519== Lock acquired, processing the job...
[2025-01-12 09:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 09:57:04] Production.INFO: ==29517== Lock acquired, processing the job...
[2025-01-12 09:57:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:57:04] Production.INFO: count ==21
[2025-01-12 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-01-12 09:57:04] Production.INFO: count ==21
[2025-01-12 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230826') start
[2025-01-12 09:57:04] Production.INFO: ==29509== Lock acquired, processing the job...
[2025-01-12 09:57:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:57:04] Production.INFO: ==29513== Lock acquired, processing the job...
[2025-01-12 09:57:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:57:04] Production.INFO: ==29515== Lock acquired, processing the job...
[2025-01-12 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:57:04] Production.INFO: ==29511== Releasing lock...
[2025-01-12 09:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:57:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230826') end
[2025-01-12 09:57:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:57:04] Production.INFO: 1
[2025-01-12 09:57:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:57:04] Production.INFO: Account Balance Start.
[2025-01-12 09:57:04] Production.INFO: CreateAllLog Start
[2025-01-12 09:57:04] Production.INFO: 117
[2025-01-12 09:57:04] Production.INFO: ==29519== Releasing lock...
[2025-01-12 09:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:57:04] Production.ERROR: done
[2025-01-12 09:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 09:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 09:57:04] Production.ERROR: done
[2025-01-12 09:57:04] Production.INFO: Total Charge 0
[2025-01-12 09:57:04] Production.INFO: CreateAllLog End
[2025-01-12 09:57:04] Production.INFO: Account Balance End.
[2025-01-12 09:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:57:04] Production.INFO: ==29515== Releasing lock...
[2025-01-12 09:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:57:05
[end_date_ymd] => 2025-01-12 09:57:05
[RateCDR] => 1
)
[2025-01-12 09:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:57:05' and `end` < '2025-01-12 09:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:57:11] Production.ERROR: CronJobId end10
[2025-01-12 09:57:11] Production.INFO: ==29513== Releasing lock...
[2025-01-12 09:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:57:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:57:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:57:14] Production.INFO: call_cost start
[2025-01-12 09:57:14] Production.INFO: call_cost end
[2025-01-12 09:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:57:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:57:15] Production.INFO: ==29509== Releasing lock...
[2025-01-12 09:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:57:21] Production.INFO: count ==125
[2025-01-12 09:57:21] Production.ERROR: pbx CDR StartTime 2025-01-12 06:57:05 - End Time 2025-01-12 09:57:05
[2025-01-12 09:57:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230829', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230829', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230829', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:57:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230829', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:57:21] Production.INFO: ProcessCDR(1,14230829,1,1,2)
[2025-01-12 09:57:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:57:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230829', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:57:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230829', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:57:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:57:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:57:25] Production.INFO: ==29517== Releasing lock...
[2025-01-12 09:57:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:57:25] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:58:01] Production.INFO: ==29606== Lock acquired, processing the job...
[2025-01-12 14:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:58:01] Production.INFO: neon service started
[2025-01-12 14:58:01] Production.INFO: neon service started
[2025-01-12 14:58:01] Production.INFO: ==29606== Releasing lock...
[2025-01-12 14:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:58:02] Production.INFO: ==29611== Lock acquired, processing the job...
[2025-01-12 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 09:58:02] Production.INFO: ==29608== Lock acquired, processing the job...
[2025-01-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:58:02] Production.INFO: ==29611== Releasing lock...
[2025-01-12 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:58:02] Production.INFO: ==29608== Releasing lock...
[2025-01-12 09:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 09:58:03] Production.INFO: ==29613== Lock acquired, processing the job...
[2025-01-12 09:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:58:03] Production.INFO: ==29615== Lock acquired, processing the job...
[2025-01-12 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:58:03] Production.INFO: ==29621== Lock acquired, processing the job...
[2025-01-12 09:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:58:03] Production.INFO: ==29617== Lock acquired, processing the job...
[2025-01-12 09:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:58:03] Production.INFO: ==29619== Lock acquired, processing the job...
[2025-01-12 09:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:58:03] Production.INFO: ==29624== Lock acquired, processing the job...
[2025-01-12 09:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:58:03] Production.INFO: Account Balance Start.
[2025-01-12 09:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:58:03] Production.INFO: 117
[2025-01-12 09:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:58:03] Production.INFO: ==29615== Releasing lock...
[2025-01-12 09:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 09:58:03] Production.ERROR: done
[2025-01-12 09:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:58:03] Production.INFO: count ==21
[2025-01-12 09:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 09:58:03] Production.INFO: Total Charge 0
[2025-01-12 09:58:03] Production.INFO: count ==21
[2025-01-12 09:58:04] Production.INFO: CreateAllLog End
[2025-01-12 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230833') start
[2025-01-12 09:58:04] Production.ERROR: done
[2025-01-12 09:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230833') end
[2025-01-12 09:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:58:04] Production.INFO: 1
[2025-01-12 09:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:58:04] Production.INFO: ==29624== Releasing lock...
[2025-01-12 09:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:58:04] Production.INFO: Account Balance End.
[2025-01-12 09:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 09:58:04] Production.INFO: ==29619== Releasing lock...
[2025-01-12 09:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:58:05
[end_date_ymd] => 2025-01-12 09:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 06:58:05' and `end` < '2025-01-12 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-01-12 09:58:11] Production.ERROR: CronJobId end10
[2025-01-12 09:58:11] Production.INFO: ==29617== Releasing lock...
[2025-01-12 09:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:58:13] Production.INFO: call_cost start
[2025-01-12 09:58:13] Production.INFO: call_cost end
[2025-01-12 09:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:58:14] Production.INFO: ==29613== Releasing lock...
[2025-01-12 09:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:58:20] Production.INFO: count ==125
[2025-01-12 09:58:20] Production.ERROR: pbx CDR StartTime 2025-01-12 06:58:05 - End Time 2025-01-12 09:58:05
[2025-01-12 09:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230834', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230834', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230834', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230834', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:58:20] Production.INFO: ProcessCDR(1,14230834,1,1,2)
[2025-01-12 09:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230834', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230834', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:58:23] Production.INFO: ==29621== Releasing lock...
[2025-01-12 09:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:58:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 14:59:01] Production.INFO: ==29718== Lock acquired, processing the job...
[2025-01-12 14:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 14:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 14:59:01] Production.INFO: neon service started
[2025-01-12 14:59:01] Production.INFO: neon service started
[2025-01-12 14:59:01] Production.INFO: ==29718== Releasing lock...
[2025-01-12 14:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 14:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 09:59:02] Production.INFO: ==29720== Lock acquired, processing the job...
[2025-01-12 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 09:59:02] Production.INFO: ==29720== Releasing lock...
[2025-01-12 09:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 09:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:59:02] Production.INFO: ==29722== Lock acquired, processing the job...
[2025-01-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:59:02] Production.INFO: ==29722== Releasing lock...
[2025-01-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 14:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 09:59:03] Production.INFO: ==29730== Lock acquired, processing the job...
[2025-01-12 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 09:59:03] Production.INFO: Account Balance Start.
[2025-01-12 09:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 09:59:03] Production.INFO: 117
[2025-01-12 09:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:59:03] Production.INFO: ==29724== Lock acquired, processing the job...
[2025-01-12 09:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 09:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 09:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 09:59:03] Production.INFO: ==29734== Lock acquired, processing the job...
[2025-01-12 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 09:59:03] Production.INFO: Total Charge 0
[2025-01-12 09:59:03] Production.INFO: CreateAllLog End
[2025-01-12 09:59:03] Production.INFO: ==29726== Lock acquired, processing the job...
[2025-01-12 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 09:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 09:59:03] Production.INFO: ==29732== Lock acquired, processing the job...
[2025-01-12 09:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 09:59:03] Production.INFO: ==29728== Lock acquired, processing the job...
[2025-01-12 09:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 09:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 09:59:03] Production.INFO: Account Balance End.
[2025-01-12 09:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:59:03] Production.INFO: count ==21
[2025-01-12 09:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 09:59:03] Production.INFO: count ==21
[2025-01-12 09:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 09:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 09:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 09:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 09:59:03] Production.ERROR: CronJobId end 12
[2025-01-12 09:59:03] Production.INFO: ==29730== Releasing lock...
[2025-01-12 09:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 09:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230837') start
[2025-01-12 09:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230837') end
[2025-01-12 09:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 09:59:03] Production.INFO: 1
[2025-01-12 09:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 09:59:03] Production.INFO: ==29734== Releasing lock...
[2025-01-12 09:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 09:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 09:59:03] Production.INFO: ==29726== Releasing lock...
[2025-01-12 09:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 09:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 09:59:04] Production.ERROR: done
[2025-01-12 09:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 09:59:04] Production.ERROR: done
[2025-01-12 09:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 06:59:05
[end_date_ymd] => 2025-01-12 09:59:05
[RateCDR] => 1
)
[2025-01-12 09:59:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 06:59:05' and `end` < '2025-01-12 09:59:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 09:59:10] Production.ERROR: CronJobId end10
[2025-01-12 09:59:10] Production.INFO: ==29728== Releasing lock...
[2025-01-12 09:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 09:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 09:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 09:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 09:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 09:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 09:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 09:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 09:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 09:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 09:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 09:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 09:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 09:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 09:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 09:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 09:59:13] Production.INFO: call_cost start
[2025-01-12 09:59:13] Production.INFO: call_cost end
[2025-01-12 09:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 09:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 09:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 09:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 09:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 09:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 09:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 09:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 09:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 09:59:14] Production.INFO: ==29724== Releasing lock...
[2025-01-12 09:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 09:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 09:59:18] Production.INFO: count ==125
[2025-01-12 09:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 06:59:05 - End Time 2025-01-12 09:59:05
[2025-01-12 09:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230839', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230839', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230839', 'tblTempVendorCDR_20' ) start
[2025-01-12 09:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230839', 'tblTempVendorCDR_20' ) end
[2025-01-12 09:59:18] Production.INFO: ProcessCDR(1,14230839,1,1,2)
[2025-01-12 09:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:59:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 09:59:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:59:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 09:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230839', 'tblTempUsageDetail_20' ) start
[2025-01-12 09:59:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230839', 'tblTempUsageDetail_20' ) end
[2025-01-12 09:59:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 09:59:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 09:59:21] Production.INFO: ==29732== Releasing lock...
[2025-01-12 09:59:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 09:59:21] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 15:00:02] Production.INFO: ==29828== Lock acquired, processing the job...
[2025-01-12 15:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:00:02] Production.INFO: neon service started
[2025-01-12 15:00:02] Production.INFO: neon service started
[2025-01-12 15:00:02] Production.INFO: ==29828== Releasing lock...
[2025-01-12 15:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:00:02] Production.INFO: ==29832== Lock acquired, processing the job...
[2025-01-12 10:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:00:03] Production.INFO: ==29834== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:00:03] Production.INFO: ==29834== Releasing lock...
[2025-01-12 15:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:00:03] Production.INFO: ==29832== Releasing lock...
[2025-01-12 10:00:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:00:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:00:04] Production.INFO: ==29842== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:00:04] Production.INFO: ==29838== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 10:00:04] Production.INFO: ==29848== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 10:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 10:00:04] Production.ERROR: CronJob PID - 29842
[2025-01-12 10:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 10:00:04] Production.ERROR: CronJob ID - 7
[2025-01-12 10:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 10:00:00
[2025-01-12 10:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 10:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 10:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 10:00:04] Production.INFO: ==29838== Releasing lock...
[2025-01-12 10:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 10:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 10:00:04] Production.INFO: ==29840== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:00:04] Production.INFO: Account Balance Start.
[2025-01-12 10:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:00:04] Production.INFO: 117
[2025-01-12 10:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:00:04] Production.INFO: ==29855== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:00:04] Production.INFO: ==29842== Releasing lock...
[2025-01-12 10:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:00:04] Production.INFO: ==29844== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:00:04] Production.INFO: Total Charge 0
[2025-01-12 10:00:04] Production.INFO: ==29846== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Starts#
[2025-01-12 10:00:04] Production.INFO: count ==21
[2025-01-12 10:00:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 10:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:00:04] Production.INFO: count ==21
[2025-01-12 10:00:04] Production.INFO: ==29851== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:00:04] Production.INFO: ==29853== Lock acquired, processing the job...
[2025-01-12 10:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230843') start
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '5', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '7', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '8', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '13', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '14', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '17', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '19', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '21', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '25', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '26', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '20', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '32', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '33', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '37', '0', '1' )
[2025-01-12 10:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230843') end
[2025-01-12 10:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:00:04] Production.INFO: 1
[2025-01-12 10:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '41', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '43', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '45', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: ==29855== Releasing lock...
[2025-01-12 10:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '49', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '47', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '52', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '53', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '54', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: Account Balance End.
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '57', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '58', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '34', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '59', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '63', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '65', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '67', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '73', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '74', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:04] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:04] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '70', '0', '1' )
[2025-01-12 10:00:04] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-12 10:00:04] Production.INFO: Outstanding Amount 64.98
[2025-01-12 10:00:04] Production.INFO: Invoice Full Number INV11353
[2025-01-12 10:00:04] Production.INFO: Transaction start
[2025-01-12 10:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:00:04] Production.INFO: ==29848== Releasing lock...
[2025-01-12 10:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:00:05] Production.ERROR: done
[2025-01-12 10:00:05] Production.ERROR: done
[2025-01-12 10:00:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 10:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230844', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 10:00:05] Production.ERROR: done
[2025-01-12 10:00:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:00:06
[end_date_ymd] => 2025-01-12 10:00:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:00:06' and `end` < '2025-01-12 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-01-12 10:00:06] Production.INFO: Transaction end
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '82', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '83', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '84', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '85', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '93', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '95', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '92', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '86', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '78', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '87', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '88', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 3
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '90', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '98', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '99', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '97', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '100', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '101', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '102', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '104', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '106', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '107', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '110', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '111', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '113', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '114', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '115', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '119', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '121', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '123', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '124', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '127', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '131', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '130', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 5
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '134', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '137', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '138', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '136', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '139', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '140', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '146', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 4
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '147', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '151', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '153', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '154', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '155', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '157', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 0
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '149', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '160', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '152', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '161', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '165', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '166', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '183', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '184', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '185', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '187', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '195', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '190', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '192', '0', '1' )
[2025-01-12 10:00:07] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:07] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:07] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '193', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 2
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '205', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '208', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 1
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '207', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 20
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '206', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 17
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '182', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '211', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '188', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '226', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '227', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '189', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '229', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '230', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '232', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '236', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 0
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '239', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:08] Production.INFO: PaymentMethod - 1
[2025-01-12 10:00:08] Production.ERROR: CALL prc_getPaymentPendingInvoice ('1', '241', '0', '1' )
[2025-01-12 10:00:08] Production.INFO: PaymentPendingInvoice Count - 0
[2025-01-12 10:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230844', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 10:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 10:00:09] Production.INFO: ProcessCDR(1,14230844,1,1,2)
[2025-01-12 10:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230844,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:00:09] Production.ERROR: CronJobId end11
[2025-01-12 10:00:09] Production.INFO: ==29846== Releasing lock...
[2025-01-12 10:00:09] Production.INFO: bulkautopaymentcapture-command-bulkautopaymentcapture-companyid-1-cronjobid-11 #Stops#
[2025-01-12 10:00:09] Production.INFO: 34 MB #Memory Used#
[2025-01-12 10:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230844,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:00:09] Production.INFO: ==29853== Releasing lock...
[2025-01-12 10:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 10:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 10:00:13] Production.ERROR: CronJobId end10
[2025-01-12 10:00:13] Production.INFO: ==29844== Releasing lock...
[2025-01-12 10:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:00:15] Production.INFO: call_cost start
[2025-01-12 10:00:15] Production.INFO: call_cost end
[2025-01-12 10:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:00:16] Production.INFO: ==29840== Releasing lock...
[2025-01-12 10:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:00:19] Production.INFO: count ==125
[2025-01-12 10:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:00:06 - End Time 2025-01-12 10:00:06
[2025-01-12 10:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230845', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230845', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230845', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230845', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:00:19] Production.INFO: ProcessCDR(1,14230845,1,1,2)
[2025-01-12 10:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230845,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230845,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230845', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230845', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:00:22] Production.INFO: ==29851== Releasing lock...
[2025-01-12 10:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:00:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 15:01:01] Production.INFO: ==29967== Lock acquired, processing the job...
[2025-01-12 15:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:01:01] Production.INFO: neon service started
[2025-01-12 15:01:01] Production.INFO: neon service started
[2025-01-12 15:01:01] Production.INFO: ==29967== Releasing lock...
[2025-01-12 15:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:01:02] Production.INFO: ==29983== Lock acquired, processing the job...
[2025-01-12 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:01:02] Production.INFO: ==29983== Releasing lock...
[2025-01-12 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:01:02] Production.INFO: ==29981== Lock acquired, processing the job...
[2025-01-12 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:01:02] Production.INFO: ==29981== Releasing lock...
[2025-01-12 10:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:01:03] Production.INFO: ==29989== Lock acquired, processing the job...
[2025-01-12 10:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:01:03] Production.INFO: ==29987== Lock acquired, processing the job...
[2025-01-12 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:01:03] Production.INFO: ==29991== Lock acquired, processing the job...
[2025-01-12 10:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:01:03] Production.INFO: ==29985== Lock acquired, processing the job...
[2025-01-12 10:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:01:03] Production.INFO: ==29995== Lock acquired, processing the job...
[2025-01-12 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:01:03] Production.INFO: Account Balance Start.
[2025-01-12 10:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:01:03] Production.INFO: 117
[2025-01-12 10:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 10: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-01-12 10:01:03] Production.INFO: ==29993== Lock acquired, processing the job...
[2025-01-12 10:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:01:03] Production.INFO: count ==21
[2025-01-12 10:01:03] Production.INFO: ==29987== Releasing lock...
[2025-01-12 10:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 10: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-01-12 10:01:03] Production.INFO: count ==21
[2025-01-12 10:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:01:03] Production.INFO: Total Charge 0
[2025-01-12 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230849') start
[2025-01-12 10:01:03] Production.INFO: CreateAllLog End
[2025-01-12 10:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230849') end
[2025-01-12 10:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:01:03] Production.INFO: 1
[2025-01-12 10:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:01:03] Production.INFO: ==29995== Releasing lock...
[2025-01-12 10:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:01:03] Production.ERROR: done
[2025-01-12 10:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:01:03] Production.INFO: Account Balance End.
[2025-01-12 10:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:01:04] Production.INFO: ==29991== Releasing lock...
[2025-01-12 10:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:01:04] Production.ERROR: done
[2025-01-12 10:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:01:04
[end_date_ymd] => 2025-01-12 10:01:04
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:01:04' and `end` < '2025-01-12 10: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-01-12 10:01:11] Production.ERROR: CronJobId end10
[2025-01-12 10:01:11] Production.INFO: ==29989== Releasing lock...
[2025-01-12 10:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:01:13] Production.INFO: call_cost start
[2025-01-12 10:01:13] Production.INFO: call_cost end
[2025-01-12 10:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:01:14] Production.INFO: ==29985== Releasing lock...
[2025-01-12 10:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:01:19] Production.INFO: count ==125
[2025-01-12 10:01:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:01:04 - End Time 2025-01-12 10:01:04
[2025-01-12 10:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230850', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230850', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230850', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230850', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:01:19] Production.INFO: ProcessCDR(1,14230850,1,1,2)
[2025-01-12 10:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230850,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230850,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230850', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230850', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:01:23] Production.INFO: ==29993== Releasing lock...
[2025-01-12 10:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:01:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 15:02:02] Production.INFO: ==30102== Lock acquired, processing the job...
[2025-01-12 15:02:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:02:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:02:02] Production.INFO: neon service started
[2025-01-12 15:02:02] Production.INFO: neon service started
[2025-01-12 15:02:02] Production.INFO: ==30102== Releasing lock...
[2025-01-12 15:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:02:02] Production.INFO: ==30104== Lock acquired, processing the job...
[2025-01-12 10:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:02:02] Production.INFO: ==30106== Lock acquired, processing the job...
[2025-01-12 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:02:02] Production.INFO: ==30106== Releasing lock...
[2025-01-12 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:02:03] Production.INFO: ==30104== Releasing lock...
[2025-01-12 10:02:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:02:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:02:03] Production.INFO: ==30109== Lock acquired, processing the job...
[2025-01-12 10:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:02:03] Production.INFO: ==30111== Lock acquired, processing the job...
[2025-01-12 10:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:02:03] Production.INFO: ==30117== Lock acquired, processing the job...
[2025-01-12 10:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:02:04] Production.INFO: ==30113== Lock acquired, processing the job...
[2025-01-12 10:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:02:04] Production.INFO: ==30115== Lock acquired, processing the job...
[2025-01-12 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:02:04] Production.INFO: ==30119== Lock acquired, processing the job...
[2025-01-12 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:02:04] Production.ERROR: done
[2025-01-12 10:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:02:04] Production.INFO: ==30111== Releasing lock...
[2025-01-12 10:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:02:04] Production.INFO: count ==21
[2025-01-12 10:02:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:02:04] Production.INFO: Account Balance Start.
[2025-01-12 10:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:02:04] Production.INFO: 117
[2025-01-12 10:02:04] Production.INFO: count ==21
[2025-01-12 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230853') start
[2025-01-12 10:02:04] Production.ERROR: done
[2025-01-12 10:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230853') end
[2025-01-12 10:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:02:04] Production.INFO: 1
[2025-01-12 10:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:02:04] Production.INFO: ==30119== Releasing lock...
[2025-01-12 10:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:02:04] Production.INFO: Total Charge 0
[2025-01-12 10:02:04] Production.INFO: CreateAllLog End
[2025-01-12 10:02:04] Production.INFO: Account Balance End.
[2025-01-12 10:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:02:04] Production.INFO: ==30115== Releasing lock...
[2025-01-12 10:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:02:05
[end_date_ymd] => 2025-01-12 10:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:02:05' and `end` < '2025-01-12 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-01-12 10:02:11] Production.ERROR: CronJobId end10
[2025-01-12 10:02:11] Production.INFO: ==30113== Releasing lock...
[2025-01-12 10:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:02:14] Production.INFO: call_cost start
[2025-01-12 10:02:14] Production.INFO: call_cost end
[2025-01-12 10:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:02:14] Production.INFO: ==30109== Releasing lock...
[2025-01-12 10:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:02:18] Production.INFO: count ==134
[2025-01-12 10:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:02:05 - End Time 2025-01-12 10:02:05
[2025-01-12 10:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230855', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230855', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230855', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230855', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:02:18] Production.INFO: ProcessCDR(1,14230855,1,1,2)
[2025-01-12 10:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230855,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230855,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230855', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230855', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:02:22] Production.INFO: ==30117== Releasing lock...
[2025-01-12 10:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:02:22] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 15:03:01] Production.INFO: ==30213== Lock acquired, processing the job...
[2025-01-12 15:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:03:01] Production.INFO: neon service started
[2025-01-12 15:03:01] Production.INFO: neon service started
[2025-01-12 15:03:01] Production.INFO: ==30213== Releasing lock...
[2025-01-12 15:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:03:01] Production.INFO: ==30215== Lock acquired, processing the job...
[2025-01-12 10:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:03:02] Production.INFO: ==30215== Releasing lock...
[2025-01-12 10:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:03:02] Production.INFO: ==30217== Lock acquired, processing the job...
[2025-01-12 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:03:02] Production.INFO: ==30217== Releasing lock...
[2025-01-12 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:03:02] Production.INFO: ==30219== Lock acquired, processing the job...
[2025-01-12 10:03:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:03:02] Production.INFO: ==30227== Lock acquired, processing the job...
[2025-01-12 10:03:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:03:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:03:03] Production.INFO: ==30223== Lock acquired, processing the job...
[2025-01-12 10:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:03:03] Production.INFO: ==30221== Lock acquired, processing the job...
[2025-01-12 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:03:03] Production.ERROR: done
[2025-01-12 10:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:03:03] Production.INFO: ==30225== Lock acquired, processing the job...
[2025-01-12 10:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:03:03] Production.INFO: ==30229== Lock acquired, processing the job...
[2025-01-12 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:03:03] Production.INFO: Account Balance Start.
[2025-01-12 10:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:03:03] Production.ERROR: done
[2025-01-12 10:03:03] Production.INFO: 117
[2025-01-12 10:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 10: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-01-12 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:03:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:03:03] Production.INFO: count ==21
[2025-01-12 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230859') start
[2025-01-12 10:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230859') end
[2025-01-12 10:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:03:03] Production.INFO: 1
[2025-01-12 10:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:03:03] Production.INFO: ==30229== Releasing lock...
[2025-01-12 10:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:03:03] Production.INFO: Total Charge 0
[2025-01-12 10:03:03] Production.INFO: ==30221== Releasing lock...
[2025-01-12 10:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:03:03] Production.INFO: CreateAllLog End
[2025-01-12 10:03:03] Production.INFO: Account Balance End.
[2025-01-12 10:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:03:04] Production.INFO: ==30225== Releasing lock...
[2025-01-12 10:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:03:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:03:04
[end_date_ymd] => 2025-01-12 10:03:04
[RateCDR] => 1
)
[2025-01-12 10:03:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:03:04' and `end` < '2025-01-12 10:03:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:03:11] Production.ERROR: CronJobId end10
[2025-01-12 10:03:11] Production.INFO: ==30223== Releasing lock...
[2025-01-12 10:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:03:14] Production.INFO: call_cost start
[2025-01-12 10:03:14] Production.INFO: call_cost end
[2025-01-12 10:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:03:14] Production.INFO: ==30219== Releasing lock...
[2025-01-12 10:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:03:18] Production.INFO: count ==136
[2025-01-12 10:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:03:04 - End Time 2025-01-12 10:03:04
[2025-01-12 10:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230860', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230860', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230860', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230860', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:03:18] Production.INFO: ProcessCDR(1,14230860,1,1,2)
[2025-01-12 10:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230860,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230860,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230860', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230860', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:03:23] Production.INFO: ==30227== Releasing lock...
[2025-01-12 10:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:03:23] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 15:04:01] Production.INFO: ==30326== Lock acquired, processing the job...
[2025-01-12 15:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:04:01] Production.INFO: neon service started
[2025-01-12 15:04:02] Production.INFO: neon service started
[2025-01-12 15:04:02] Production.INFO: ==30326== Releasing lock...
[2025-01-12 15:04:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:04:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:04:02] Production.INFO: ==30328== Lock acquired, processing the job...
[2025-01-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:04:02] Production.INFO: ==30328== Releasing lock...
[2025-01-12 10:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:04:02] Production.INFO: ==30330== Lock acquired, processing the job...
[2025-01-12 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:04:02] Production.INFO: ==30330== Releasing lock...
[2025-01-12 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:04:03] Production.INFO: ==30341== Lock acquired, processing the job...
[2025-01-12 10:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:04:03] Production.INFO: ==30339== Lock acquired, processing the job...
[2025-01-12 10:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:04:03] Production.INFO: ==30333== Lock acquired, processing the job...
[2025-01-12 10:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:04:03] Production.INFO: ==30335== Lock acquired, processing the job...
[2025-01-12 10:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:04:03] Production.INFO: ==30343== Lock acquired, processing the job...
[2025-01-12 10:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:04:03] Production.INFO: ==30337== Lock acquired, processing the job...
[2025-01-12 10:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:04:03] Production.INFO: Account Balance Start.
[2025-01-12 10:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:04:03] Production.INFO: 117
[2025-01-12 10:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:04:03] Production.INFO: count ==21
[2025-01-12 10:04:03] Production.ERROR: done
[2025-01-12 10:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:04:03] Production.INFO: count ==21
[2025-01-12 10:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230864') start
[2025-01-12 10:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:04:04] Production.ERROR: done
[2025-01-12 10:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230864') end
[2025-01-12 10:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:04:04] Production.INFO: 1
[2025-01-12 10:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:04:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:04:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:04:04] Production.INFO: Total Charge 0
[2025-01-12 10:04:04] Production.INFO: ==30343== Releasing lock...
[2025-01-12 10:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:04:04] Production.INFO: CreateAllLog End
[2025-01-12 10:04:04] Production.INFO: ==30335== Releasing lock...
[2025-01-12 10:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:04:04] Production.INFO: Account Balance End.
[2025-01-12 10:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:04:04] Production.INFO: ==30339== Releasing lock...
[2025-01-12 10:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:04:05
[end_date_ymd] => 2025-01-12 10:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:04:05' and `end` < '2025-01-12 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-01-12 10:04:12] Production.ERROR: CronJobId end10
[2025-01-12 10:04:12] Production.INFO: ==30337== Releasing lock...
[2025-01-12 10:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:04:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:04:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:04:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:04:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:04:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:04:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:04:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:04:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:04:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:04:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:04:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:04:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:04:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:04:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:04:14] Production.INFO: call_cost start
[2025-01-12 10:04:14] Production.INFO: call_cost end
[2025-01-12 10:04:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:04:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:04:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:04:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:04:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:04:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:04:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:04:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:04:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:04:15] Production.INFO: ==30333== Releasing lock...
[2025-01-12 10:04:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:04:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:04:21] Production.INFO: count ==137
[2025-01-12 10:04:21] Production.ERROR: pbx CDR StartTime 2025-01-12 07:04:05 - End Time 2025-01-12 10:04:05
[2025-01-12 10:04:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230865', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230865', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230865', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:04:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230865', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:04:21] Production.INFO: ProcessCDR(1,14230865,1,1,2)
[2025-01-12 10:04:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:04:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:04:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:04:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230865', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:04:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230865', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:04:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:04:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:04:25] Production.INFO: ==30341== Releasing lock...
[2025-01-12 10:04:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:04:25] Production.INFO: 28.75 MB #Memory Used#
[2025-01-12 15:05:01] Production.INFO: ==30427== Lock acquired, processing the job...
[2025-01-12 15:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:05:01] Production.INFO: neon service started
[2025-01-12 15:05:01] Production.INFO: neon service started
[2025-01-12 15:05:01] Production.INFO: ==30427== Releasing lock...
[2025-01-12 15:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:05:01] Production.INFO: ==30429== Lock acquired, processing the job...
[2025-01-12 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:05:01] Production.INFO: ==30429== Releasing lock...
[2025-01-12 10:05:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:05:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:05:02] Production.INFO: ==30431== Lock acquired, processing the job...
[2025-01-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:05:02] Production.INFO: ==30431== Releasing lock...
[2025-01-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:05:02] Production.INFO: ==30435== Lock acquired, processing the job...
[2025-01-12 10:05:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:05:02] Production.INFO: ==30439== Lock acquired, processing the job...
[2025-01-12 10:05:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:05:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:05:02] Production.INFO: ==30443== Lock acquired, processing the job...
[2025-01-12 10:05:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:05:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:05:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:05:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:05:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:05:03] Production.INFO: ==30437== Lock acquired, processing the job...
[2025-01-12 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:05:03] Production.INFO: ==30441== Lock acquired, processing the job...
[2025-01-12 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:05:03] Production.INFO: ==30445== Lock acquired, processing the job...
[2025-01-12 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:05:03] Production.ERROR: done
[2025-01-12 10:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:05:03] Production.INFO: Account Balance Start.
[2025-01-12 10:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:05:03] Production.INFO: 117
[2025-01-12 10:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:05:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:05:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:05:03] Production.INFO: count ==21
[2025-01-12 10:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230867') start
[2025-01-12 10:05:03] Production.ERROR: done
[2025-01-12 10:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:05:03] Production.INFO: ==30437== Releasing lock...
[2025-01-12 10:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:05:03] Production.INFO: Total Charge 0
[2025-01-12 10:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230867') end
[2025-01-12 10:05:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:05:03] Production.INFO: 1
[2025-01-12 10:05:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:05:03] Production.INFO: CreateAllLog End
[2025-01-12 10:05:03] Production.INFO: ==30445== Releasing lock...
[2025-01-12 10:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:05:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:05:03] Production.INFO: Account Balance End.
[2025-01-12 10:05:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:05:03] Production.INFO: ==30441== Releasing lock...
[2025-01-12 10:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:05:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:05:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:05:04
[end_date_ymd] => 2025-01-12 10:05:04
[RateCDR] => 1
)
[2025-01-12 10:05:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:05:04' and `end` < '2025-01-12 10:05:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:05:11] Production.ERROR: CronJobId end10
[2025-01-12 10:05:11] Production.INFO: ==30439== Releasing lock...
[2025-01-12 10:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:05:13] Production.INFO: call_cost start
[2025-01-12 10:05:13] Production.INFO: call_cost end
[2025-01-12 10:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:05:14] Production.INFO: ==30435== Releasing lock...
[2025-01-12 10:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:05:17] Production.INFO: count ==152
[2025-01-12 10:05:17] Production.ERROR: pbx CDR StartTime 2025-01-12 07:05:04 - End Time 2025-01-12 10:05:04
[2025-01-12 10:05:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230870', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230870', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230870', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:05:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230870', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:05:17] Production.INFO: ProcessCDR(1,14230870,1,1,2)
[2025-01-12 10:05:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:05:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:05:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:05:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230870', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:05:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230870', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:05:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:05:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:05:21] Production.INFO: ==30443== Releasing lock...
[2025-01-12 10:05:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:05:21] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 15:06:01] Production.INFO: ==30540== Lock acquired, processing the job...
[2025-01-12 15:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:06:01] Production.INFO: neon service started
[2025-01-12 15:06:01] Production.INFO: neon service started
[2025-01-12 15:06:01] Production.INFO: ==30540== Releasing lock...
[2025-01-12 15:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:06:02] Production.INFO: ==30545== Lock acquired, processing the job...
[2025-01-12 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:06:02] Production.INFO: ==30545== Releasing lock...
[2025-01-12 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:06:02] Production.INFO: ==30543== Lock acquired, processing the job...
[2025-01-12 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:06:02] Production.INFO: ==30543== Releasing lock...
[2025-01-12 10:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:06:03] Production.INFO: ==30553== Lock acquired, processing the job...
[2025-01-12 10:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:06:03] Production.INFO: ==30555== Lock acquired, processing the job...
[2025-01-12 10:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:06:03] Production.INFO: ==30547== Lock acquired, processing the job...
[2025-01-12 10:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:06:03] Production.INFO: Account Balance Start.
[2025-01-12 10:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:06:03] Production.INFO: 117
[2025-01-12 10:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:06:03] Production.INFO: ==30549== Lock acquired, processing the job...
[2025-01-12 10:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:06:03] Production.INFO: ==30551== Lock acquired, processing the job...
[2025-01-12 10:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:06:03] Production.INFO: ==30557== Lock acquired, processing the job...
[2025-01-12 10:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:06:03] Production.ERROR: done
[2025-01-12 10:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:06:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:06:04] Production.ERROR: done
[2025-01-12 10:06:04] Production.INFO: count ==21
[2025-01-12 10:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230873') start
[2025-01-12 10:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:06:04] Production.INFO: Total Charge 0
[2025-01-12 10:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230873') end
[2025-01-12 10:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:06:04] Production.INFO: 1
[2025-01-12 10:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:06:04] Production.INFO: CreateAllLog End
[2025-01-12 10:06:04] Production.INFO: ==30549== Releasing lock...
[2025-01-12 10:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:06:04] Production.INFO: ==30557== Releasing lock...
[2025-01-12 10:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:06:04] Production.INFO: Account Balance End.
[2025-01-12 10:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:06:04] Production.INFO: ==30553== Releasing lock...
[2025-01-12 10:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:06:05
[end_date_ymd] => 2025-01-12 10:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:06:05' and `end` < '2025-01-12 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-01-12 10:06:10] Production.ERROR: CronJobId end10
[2025-01-12 10:06:10] Production.INFO: ==30551== Releasing lock...
[2025-01-12 10:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:06:13] Production.INFO: call_cost start
[2025-01-12 10:06:13] Production.INFO: call_cost end
[2025-01-12 10:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:06:13] Production.INFO: ==30547== Releasing lock...
[2025-01-12 10:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:06:18] Production.INFO: count ==154
[2025-01-12 10:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:06:05 - End Time 2025-01-12 10:06:05
[2025-01-12 10:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230875', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230875', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230875', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230875', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:06:18] Production.INFO: ProcessCDR(1,14230875,1,1,2)
[2025-01-12 10:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230875', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230875', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:06:23] Production.INFO: ==30555== Releasing lock...
[2025-01-12 10:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:06:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 15:07:02] Production.INFO: ==30676== Lock acquired, processing the job...
[2025-01-12 15:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:07:02] Production.INFO: neon service started
[2025-01-12 15:07:02] Production.INFO: neon service started
[2025-01-12 15:07:02] Production.INFO: ==30676== Releasing lock...
[2025-01-12 15:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:07:02] Production.INFO: ==30678== Lock acquired, processing the job...
[2025-01-12 10:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:07:02] Production.INFO: ==30680== Lock acquired, processing the job...
[2025-01-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:07:02] Production.INFO: ==30680== Releasing lock...
[2025-01-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:07:03] Production.INFO: ==30678== Releasing lock...
[2025-01-12 10:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:07:04] Production.INFO: ==30689== Lock acquired, processing the job...
[2025-01-12 10:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:07:04] Production.INFO: ==30693== Lock acquired, processing the job...
[2025-01-12 10:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:07:04] Production.INFO: ==30685== Lock acquired, processing the job...
[2025-01-12 10:07:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:07:04] Production.INFO: ==30687== Lock acquired, processing the job...
[2025-01-12 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:07:04] Production.INFO: ==30691== Lock acquired, processing the job...
[2025-01-12 10:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:07:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:07:04] Production.INFO: ==30695== Lock acquired, processing the job...
[2025-01-12 10:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:07:04] Production.INFO: Account Balance Start.
[2025-01-12 10:07:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:07:04] Production.INFO: 117
[2025-01-12 10:07:04] Production.ERROR: done
[2025-01-12 10:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:07:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:07:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:07:04] Production.ERROR: done
[2025-01-12 10:07:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:07:04] Production.INFO: ==30687== Releasing lock...
[2025-01-12 10:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:07:04] Production.INFO: count ==21
[2025-01-12 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230879') start
[2025-01-12 10:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230879') end
[2025-01-12 10:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:07:04] Production.INFO: 1
[2025-01-12 10:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:07:05] Production.INFO: ==30695== Releasing lock...
[2025-01-12 10:07:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:07:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:07:05] Production.INFO: Date 2025-01-12
[2025-01-12 10:07:05] Production.INFO: Reseller ==> 0
[2025-01-12 10:07:05] Production.INFO: Total Charge 0
[2025-01-12 10:07:05] Production.INFO: CreateAllLog End
[2025-01-12 10:07:05] Production.INFO: Account Balance End.
[2025-01-12 10:07:05] Production.ERROR: CronJobId end 12
[2025-01-12 10:07:05] Production.INFO: ==30691== Releasing lock...
[2025-01-12 10:07:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:07:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:07:05
[end_date_ymd] => 2025-01-12 10:07:05
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:07:05' and `end` < '2025-01-12 10: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-01-12 10:07:11] Production.ERROR: CronJobId end10
[2025-01-12 10:07:11] Production.INFO: ==30689== Releasing lock...
[2025-01-12 10:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:07:14] Production.INFO: call_cost start
[2025-01-12 10:07:14] Production.INFO: call_cost end
[2025-01-12 10:07:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:07:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:07:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:07:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:07:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:07:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:07:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:07:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:07:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:07:15] Production.INFO: ==30685== Releasing lock...
[2025-01-12 10:07:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:07:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:07:18] Production.INFO: count ==155
[2025-01-12 10:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:07:05 - End Time 2025-01-12 10:07:05
[2025-01-12 10:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230880', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230880', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230880', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230880', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:07:18] Production.INFO: ProcessCDR(1,14230880,1,1,2)
[2025-01-12 10:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230880', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230880', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:07:23] Production.INFO: ==30693== Releasing lock...
[2025-01-12 10:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:07:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 15:08:01] Production.INFO: ==30777== Lock acquired, processing the job...
[2025-01-12 15:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:08:01] Production.INFO: neon service started
[2025-01-12 15:08:01] Production.INFO: neon service started
[2025-01-12 15:08:01] Production.INFO: ==30777== Releasing lock...
[2025-01-12 15:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:08:02] Production.INFO: ==30779== Lock acquired, processing the job...
[2025-01-12 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:08:02] Production.INFO: ==30779== Releasing lock...
[2025-01-12 10:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:08:02] Production.INFO: ==30781== Lock acquired, processing the job...
[2025-01-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:08:02] Production.INFO: ==30781== Releasing lock...
[2025-01-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:08:03] Production.INFO: ==30785== Lock acquired, processing the job...
[2025-01-12 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:08:03] Production.INFO: ==30790== Lock acquired, processing the job...
[2025-01-12 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:08:03] Production.INFO: ==30794== Lock acquired, processing the job...
[2025-01-12 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:08:03] Production.INFO: Account Balance Start.
[2025-01-12 10:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:08:03] Production.INFO: 117
[2025-01-12 10:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:08:03] Production.INFO: Total Charge 0
[2025-01-12 10: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-01-12 10:08:03] Production.INFO: CreateAllLog End
[2025-01-12 10:08:03] Production.INFO: count ==21
[2025-01-12 10:08:03] Production.INFO: ==30783== Lock acquired, processing the job...
[2025-01-12 10:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:08:03] Production.INFO: ==30785== Releasing lock...
[2025-01-12 10:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10: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-01-12 10:08:03] Production.INFO: ==30787== Lock acquired, processing the job...
[2025-01-12 10:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:08:03] Production.INFO: count ==21
[2025-01-12 10:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230883') start
[2025-01-12 10:08:03] Production.INFO: ==30792== Lock acquired, processing the job...
[2025-01-12 10:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:08:03] Production.INFO: Account Balance End.
[2025-01-12 10:08:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:08:03] Production.INFO: ==30790== Releasing lock...
[2025-01-12 10:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230883') end
[2025-01-12 10:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:08:03] Production.INFO: 1
[2025-01-12 10:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:08:03] Production.INFO: ==30794== Releasing lock...
[2025-01-12 10:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:08:04] Production.ERROR: done
[2025-01-12 10:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:08:04] Production.ERROR: done
[2025-01-12 10:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:08:05
[end_date_ymd] => 2025-01-12 10:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:08:05' and `end` < '2025-01-12 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-01-12 10:08:10] Production.ERROR: CronJobId end10
[2025-01-12 10:08:10] Production.INFO: ==30787== Releasing lock...
[2025-01-12 10:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:08:13] Production.INFO: call_cost start
[2025-01-12 10:08:13] Production.INFO: call_cost end
[2025-01-12 10:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:08:14] Production.INFO: ==30783== Releasing lock...
[2025-01-12 10:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:08:18] Production.INFO: count ==164
[2025-01-12 10:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:08:05 - End Time 2025-01-12 10:08:05
[2025-01-12 10:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230885', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230885', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230885', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230885', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:08:18] Production.INFO: ProcessCDR(1,14230885,1,1,2)
[2025-01-12 10:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230885', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230885', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:08:22] Production.INFO: ==30792== Releasing lock...
[2025-01-12 10:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:08:22] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 15:09:02] Production.INFO: ==30875== Lock acquired, processing the job...
[2025-01-12 15:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:09:02] Production.INFO: neon service started
[2025-01-12 15:09:02] Production.INFO: neon service started
[2025-01-12 15:09:02] Production.INFO: ==30875== Releasing lock...
[2025-01-12 15:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:09:02] Production.INFO: ==30879== Lock acquired, processing the job...
[2025-01-12 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:09:02] Production.INFO: ==30879== Releasing lock...
[2025-01-12 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:09:02] Production.INFO: ==30877== Lock acquired, processing the job...
[2025-01-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:09:02] Production.INFO: ==30877== Releasing lock...
[2025-01-12 10:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:09:03] Production.INFO: ==30885== Lock acquired, processing the job...
[2025-01-12 10:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:09:03] Production.INFO: ==30889== Lock acquired, processing the job...
[2025-01-12 10:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:09:03] Production.INFO: ==30881== Lock acquired, processing the job...
[2025-01-12 10:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:09:03] Production.INFO: ==30883== Lock acquired, processing the job...
[2025-01-12 10:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:09:03] Production.INFO: ==30887== Lock acquired, processing the job...
[2025-01-12 10:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:09:03] Production.INFO: ==30891== Lock acquired, processing the job...
[2025-01-12 10:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:09:04] Production.INFO: Account Balance Start.
[2025-01-12 10:09:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:09:04] Production.INFO: 117
[2025-01-12 10:09:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:09:04] Production.ERROR: done
[2025-01-12 10:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:09:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:09:04] Production.ERROR: done
[2025-01-12 10:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:09:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:09:04] Production.INFO: ==30883== Releasing lock...
[2025-01-12 10:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:09:04] Production.INFO: count ==21
[2025-01-12 10:09:04] Production.INFO: Total Charge 0
[2025-01-12 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230889') start
[2025-01-12 10:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230889') end
[2025-01-12 10:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:09:04] Production.INFO: 1
[2025-01-12 10:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:09:04] Production.INFO: CreateAllLog End
[2025-01-12 10:09:04] Production.INFO: ==30891== Releasing lock...
[2025-01-12 10:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:09:04] Production.INFO: Account Balance End.
[2025-01-12 10:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:09:04] Production.INFO: ==30887== Releasing lock...
[2025-01-12 10:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:09:05
[end_date_ymd] => 2025-01-12 10:09:05
[RateCDR] => 1
)
[2025-01-12 10:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:09:05' and `end` < '2025-01-12 10:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:09:13] Production.ERROR: CronJobId end10
[2025-01-12 10:09:13] Production.INFO: ==30885== Releasing lock...
[2025-01-12 10:09:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:09:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:09:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:09:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:09:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:09:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:09:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:09:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:09:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:09:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:09:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:09:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:09:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:09:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:09:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:09:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:09:14] Production.INFO: call_cost start
[2025-01-12 10:09:14] Production.INFO: call_cost end
[2025-01-12 10:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:09:15] Production.INFO: ==30881== Releasing lock...
[2025-01-12 10:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:09:18] Production.INFO: count ==168
[2025-01-12 10:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:09:05 - End Time 2025-01-12 10:09:05
[2025-01-12 10:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230890', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230890', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230890', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230890', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:09:18] Production.INFO: ProcessCDR(1,14230890,1,1,2)
[2025-01-12 10:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230890', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230890', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:09:23] Production.INFO: ==30889== Releasing lock...
[2025-01-12 10:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:09:23] Production.INFO: 29.25 MB #Memory Used#
[2025-01-12 15:10:01] Production.INFO: ==30961== Lock acquired, processing the job...
[2025-01-12 15:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:10:01] Production.INFO: neon service started
[2025-01-12 15:10:01] Production.INFO: neon service started
[2025-01-12 15:10:01] Production.INFO: ==30961== Releasing lock...
[2025-01-12 15:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:10:01] Production.INFO: ==30963== Lock acquired, processing the job...
[2025-01-12 10:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:10:02] Production.INFO: ==30965== Lock acquired, processing the job...
[2025-01-12 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:10:02] Production.INFO: ==30965== Releasing lock...
[2025-01-12 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:10:02] Production.INFO: ==30963== Releasing lock...
[2025-01-12 10:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:10:03] Production.INFO: ==30967== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 10:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 10:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 10:10:03] Production.INFO: ==30967== Releasing lock...
[2025-01-12 10:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 10:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 10:10:03] Production.INFO: ==30971== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:10:03] Production.INFO: ==30973== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:10:03] Production.INFO: ==30969== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:10:03] Production.INFO: ==30975== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:10:03] Production.INFO: Account Balance Start.
[2025-01-12 10:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:10:03] Production.INFO: 117
[2025-01-12 10:10:03] Production.INFO: ==30971== Releasing lock...
[2025-01-12 10:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:10:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:10:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:10:03] Production.INFO: ==30978== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:10:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:10:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:10:03] Production.INFO: ==30980== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 10:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:10:03] Production.INFO: Total Charge 0
[2025-01-12 10:10:03] Production.INFO: CreateAllLog End
[2025-01-12 10:10:03] Production.INFO: ==30982== Lock acquired, processing the job...
[2025-01-12 10:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:10:04] Production.ERROR: done
[2025-01-12 10:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 10:10:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:10:04] Production.INFO: count ==21
[2025-01-12 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230894') start
[2025-01-12 10:10:04] Production.ERROR: done
[2025-01-12 10:10:04] Production.ERROR: done
[2025-01-12 10:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230894') end
[2025-01-12 10:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:10:04] Production.INFO: 1
[2025-01-12 10:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 10:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230895', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 10:10:04] Production.INFO: ==30982== Releasing lock...
[2025-01-12 10:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:10:04] Production.INFO: Account Balance End.
[2025-01-12 10:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:10:04] Production.INFO: ==30975== Releasing lock...
[2025-01-12 10:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:10:05
[end_date_ymd] => 2025-01-12 10:10:05
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:10:05' and `end` < '2025-01-12 10: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-01-12 10:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230895', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 10:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 10:10:08] Production.INFO: ProcessCDR(1,14230895,1,1,2)
[2025-01-12 10:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230895,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230895,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:10:09] Production.INFO: ==30980== Releasing lock...
[2025-01-12 10:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 10:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 10:10:13] Production.ERROR: CronJobId end10
[2025-01-12 10:10:13] Production.INFO: ==30973== Releasing lock...
[2025-01-12 10:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:10:15] Production.INFO: call_cost start
[2025-01-12 10:10:15] Production.INFO: call_cost end
[2025-01-12 10:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:10:16] Production.INFO: ==30969== Releasing lock...
[2025-01-12 10:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:10:18] Production.INFO: count ==175
[2025-01-12 10:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:10:05 - End Time 2025-01-12 10:10:05
[2025-01-12 10:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230896', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230896', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230896', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230896', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:10:18] Production.INFO: ProcessCDR(1,14230896,1,1,2)
[2025-01-12 10:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230896,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230896,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230896', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230896', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:10:23] Production.INFO: ==30978== Releasing lock...
[2025-01-12 10:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:10:23] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 15:11:01] Production.INFO: ==31046== Lock acquired, processing the job...
[2025-01-12 15:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:11:02] Production.INFO: neon service started
[2025-01-12 15:11:02] Production.INFO: neon service started
[2025-01-12 15:11:02] Production.INFO: ==31046== Releasing lock...
[2025-01-12 15:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:11:02] Production.INFO: ==31048== Lock acquired, processing the job...
[2025-01-12 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:11:02] Production.INFO: ==31048== Releasing lock...
[2025-01-12 10:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:11:02] Production.INFO: ==31050== Lock acquired, processing the job...
[2025-01-12 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:11:02] Production.INFO: ==31050== Releasing lock...
[2025-01-12 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:11:03] Production.INFO: ==31053== Lock acquired, processing the job...
[2025-01-12 10:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:11:03] Production.INFO: ==31055== Lock acquired, processing the job...
[2025-01-12 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:11:03] Production.INFO: ==31057== Lock acquired, processing the job...
[2025-01-12 10:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:11:03] Production.INFO: ==31059== Lock acquired, processing the job...
[2025-01-12 10:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:11:03] Production.INFO: ==31055== Releasing lock...
[2025-01-12 10:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:11:03] Production.INFO: Account Balance Start.
[2025-01-12 10:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:11:03] Production.INFO: 117
[2025-01-12 10:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:11:03] Production.INFO: ==31063== Lock acquired, processing the job...
[2025-01-12 10:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:11:03] Production.INFO: ==31061== Lock acquired, processing the job...
[2025-01-12 10:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 10: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-01-12 10:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:11:04] Production.INFO: count ==21
[2025-01-12 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230900') start
[2025-01-12 10:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230900') end
[2025-01-12 10:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:11:04] Production.INFO: 1
[2025-01-12 10:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:11:04] Production.INFO: Total Charge 0
[2025-01-12 10:11:04] Production.ERROR: done
[2025-01-12 10:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:11:04] Production.INFO: CreateAllLog End
[2025-01-12 10:11:04] Production.INFO: ==31063== Releasing lock...
[2025-01-12 10:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:11:04] Production.ERROR: done
[2025-01-12 10:11:04] Production.INFO: Account Balance End.
[2025-01-12 10:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:11:04] Production.INFO: ==31059== Releasing lock...
[2025-01-12 10:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:11:05
[end_date_ymd] => 2025-01-12 10:11:05
[RateCDR] => 1
)
[2025-01-12 10:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:11:05' and `end` < '2025-01-12 10:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:11:10] Production.ERROR: CronJobId end10
[2025-01-12 10:11:10] Production.INFO: ==31057== Releasing lock...
[2025-01-12 10:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:11:13] Production.INFO: call_cost start
[2025-01-12 10:11:13] Production.INFO: call_cost end
[2025-01-12 10:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:11:14] Production.INFO: ==31053== Releasing lock...
[2025-01-12 10:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:11:19] Production.INFO: count ==178
[2025-01-12 10:11:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:11:05 - End Time 2025-01-12 10:11:05
[2025-01-12 10:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230901', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230901', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230901', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230901', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:11:19] Production.INFO: ProcessCDR(1,14230901,1,1,2)
[2025-01-12 10:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:11:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230901,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:11:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:11:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230901,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230901', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:11:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230901', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:11:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:11:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:11:24] Production.INFO: ==31061== Releasing lock...
[2025-01-12 10:11:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:11:24] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 15:12:01] Production.INFO: ==31129== Lock acquired, processing the job...
[2025-01-12 15:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:12:01] Production.INFO: neon service started
[2025-01-12 15:12:01] Production.INFO: neon service started
[2025-01-12 15:12:01] Production.INFO: ==31129== Releasing lock...
[2025-01-12 15:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:12:01] Production.INFO: ==31131== Lock acquired, processing the job...
[2025-01-12 10:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:12:02] Production.INFO: ==31131== Releasing lock...
[2025-01-12 10:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:12:02] Production.INFO: ==31133== Lock acquired, processing the job...
[2025-01-12 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:12:02] Production.INFO: ==31133== Releasing lock...
[2025-01-12 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:12:03] Production.INFO: ==31139== Lock acquired, processing the job...
[2025-01-12 10:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:12:03] Production.INFO: ==31137== Lock acquired, processing the job...
[2025-01-12 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:12:03] Production.INFO: ==31141== Lock acquired, processing the job...
[2025-01-12 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:12:03] Production.INFO: ==31135== Lock acquired, processing the job...
[2025-01-12 10:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:12:03] Production.INFO: ==31145== Lock acquired, processing the job...
[2025-01-12 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:12:03] Production.INFO: Account Balance Start.
[2025-01-12 10:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:12:03] Production.INFO: 117
[2025-01-12 10:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:12:03] Production.INFO: ==31143== Lock acquired, processing the job...
[2025-01-12 10:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:12:03] Production.INFO: count ==21
[2025-01-12 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-01-12 10:12:03] Production.INFO: count ==21
[2025-01-12 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230905') start
[2025-01-12 10:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:12:03] Production.INFO: ==31137== Releasing lock...
[2025-01-12 10:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230905') end
[2025-01-12 10:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:12:03] Production.INFO: 1
[2025-01-12 10:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:12:03] Production.INFO: Total Charge 0
[2025-01-12 10:12:03] Production.INFO: CreateAllLog End
[2025-01-12 10:12:03] Production.INFO: ==31145== Releasing lock...
[2025-01-12 10:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:12:03] Production.INFO: Account Balance End.
[2025-01-12 10:12:03] Production.ERROR: done
[2025-01-12 10:12:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:12:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:12:03] Production.INFO: ==31141== Releasing lock...
[2025-01-12 10:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:12:04] Production.ERROR: done
[2025-01-12 10:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:12:05
[end_date_ymd] => 2025-01-12 10:12:05
[RateCDR] => 1
)
[2025-01-12 10:12:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:12:05' and `end` < '2025-01-12 10:12:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:12:10] Production.ERROR: CronJobId end10
[2025-01-12 10:12:10] Production.INFO: ==31139== Releasing lock...
[2025-01-12 10:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:12:12] Production.INFO: call_cost start
[2025-01-12 10:12:12] Production.INFO: call_cost end
[2025-01-12 10:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:12:13] Production.INFO: ==31135== Releasing lock...
[2025-01-12 10:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:12:18] Production.INFO: count ==182
[2025-01-12 10:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:12:05 - End Time 2025-01-12 10:12:05
[2025-01-12 10:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230906', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230906', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230906', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230906', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:12:18] Production.INFO: ProcessCDR(1,14230906,1,1,2)
[2025-01-12 10:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230906,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230906,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230906', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230906', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:12:21] Production.INFO: ==31143== Releasing lock...
[2025-01-12 10:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:12:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 15:13:01] Production.INFO: ==31204== Lock acquired, processing the job...
[2025-01-12 15:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:13:01] Production.INFO: neon service started
[2025-01-12 15:13:01] Production.INFO: neon service started
[2025-01-12 15:13:01] Production.INFO: ==31204== Releasing lock...
[2025-01-12 15:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:13:02] Production.INFO: ==31206== Lock acquired, processing the job...
[2025-01-12 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:13:02] Production.INFO: ==31208== Lock acquired, processing the job...
[2025-01-12 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:13:02] Production.INFO: ==31208== Releasing lock...
[2025-01-12 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:13:02] Production.INFO: ==31206== Releasing lock...
[2025-01-12 10:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:13:03] Production.INFO: ==31215== Lock acquired, processing the job...
[2025-01-12 10:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:13:03] Production.INFO: ==31219== Lock acquired, processing the job...
[2025-01-12 10:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:13:03] Production.INFO: ==31211== Lock acquired, processing the job...
[2025-01-12 10:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:13:03] Production.INFO: ==31213== Lock acquired, processing the job...
[2025-01-12 10:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:13:03] Production.INFO: ==31217== Lock acquired, processing the job...
[2025-01-12 10:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:13:04] Production.INFO: ==31221== Lock acquired, processing the job...
[2025-01-12 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:13:04] Production.ERROR: done
[2025-01-12 10:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:13:04] Production.INFO: Account Balance Start.
[2025-01-12 10:13:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:13:04] Production.INFO: 117
[2025-01-12 10:13:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:13:04] Production.ERROR: done
[2025-01-12 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-01-12 10:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:13:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:13:04] Production.INFO: ==31213== Releasing lock...
[2025-01-12 10:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:13:04] Production.INFO: count ==21
[2025-01-12 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230910') start
[2025-01-12 10:13:04] Production.INFO: Total Charge 0
[2025-01-12 10:13:04] Production.INFO: CreateAllLog End
[2025-01-12 10:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230910') end
[2025-01-12 10:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:13:04] Production.INFO: 1
[2025-01-12 10:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:13:04] Production.INFO: Account Balance End.
[2025-01-12 10:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:13:04] Production.INFO: ==31217== Releasing lock...
[2025-01-12 10:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:13:04] Production.INFO: ==31221== Releasing lock...
[2025-01-12 10:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:13:05
[end_date_ymd] => 2025-01-12 10:13:05
[RateCDR] => 1
)
[2025-01-12 10:13:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:13:05' and `end` < '2025-01-12 10:13:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:13:11] Production.ERROR: CronJobId end10
[2025-01-12 10:13:11] Production.INFO: ==31215== Releasing lock...
[2025-01-12 10:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:13:12] Production.INFO: call_cost start
[2025-01-12 10:13:12] Production.INFO: call_cost end
[2025-01-12 10:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:13:13] Production.INFO: ==31211== Releasing lock...
[2025-01-12 10:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:13:18] Production.INFO: count ==184
[2025-01-12 10:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:13:05 - End Time 2025-01-12 10:13:05
[2025-01-12 10:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230911', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230911', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230911', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230911', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:13:18] Production.INFO: ProcessCDR(1,14230911,1,1,2)
[2025-01-12 10:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:13:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230911,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:13:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:13:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230911,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230911', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:13:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230911', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:13:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:13:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:13:21] Production.INFO: ==31219== Releasing lock...
[2025-01-12 10:13:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:13:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:14:02] Production.INFO: ==31276== Lock acquired, processing the job...
[2025-01-12 15:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:14:02] Production.INFO: neon service started
[2025-01-12 15:14:02] Production.INFO: neon service started
[2025-01-12 15:14:02] Production.INFO: ==31276== Releasing lock...
[2025-01-12 15:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:14:02] Production.INFO: ==31278== Lock acquired, processing the job...
[2025-01-12 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:14:02] Production.INFO: ==31278== Releasing lock...
[2025-01-12 10:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:14:03] Production.INFO: ==31280== Lock acquired, processing the job...
[2025-01-12 15:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:14:03] Production.INFO: ==31280== Releasing lock...
[2025-01-12 15:14:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:14:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:14:03] Production.INFO: ==31287== Lock acquired, processing the job...
[2025-01-12 10:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:14:03] Production.INFO: ==31283== Lock acquired, processing the job...
[2025-01-12 10:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:14:03] Production.INFO: ==31293== Lock acquired, processing the job...
[2025-01-12 10:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:14:04] Production.INFO: ==31285== Lock acquired, processing the job...
[2025-01-12 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10: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-01-12 10:14:04] Production.INFO: ==31289== Lock acquired, processing the job...
[2025-01-12 10:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:14:04] Production.INFO: count ==21
[2025-01-12 10:14:04] Production.INFO: ==31291== Lock acquired, processing the job...
[2025-01-12 10:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10: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-01-12 10:14:04] Production.INFO: count ==21
[2025-01-12 10:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230913') start
[2025-01-12 10:14:04] Production.INFO: Account Balance Start.
[2025-01-12 10:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:14:04] Production.INFO: 117
[2025-01-12 10:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230913') end
[2025-01-12 10:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:14:04] Production.INFO: 1
[2025-01-12 10:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:14:04] Production.INFO: ==31293== Releasing lock...
[2025-01-12 10:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:14:04] Production.INFO: ==31285== Releasing lock...
[2025-01-12 10:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:14:04] Production.ERROR: done
[2025-01-12 10:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:14:04] Production.INFO: Total Charge 0
[2025-01-12 10:14:04] Production.INFO: CreateAllLog End
[2025-01-12 10:14:04] Production.ERROR: done
[2025-01-12 10:14:04] Production.INFO: Account Balance End.
[2025-01-12 10:14:05] Production.ERROR: CronJobId end 12
[2025-01-12 10:14:05] Production.INFO: ==31289== Releasing lock...
[2025-01-12 10:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:14:05
[end_date_ymd] => 2025-01-12 10:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:14:05' and `end` < '2025-01-12 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-01-12 10:14:10] Production.ERROR: CronJobId end10
[2025-01-12 10:14:10] Production.INFO: ==31287== Releasing lock...
[2025-01-12 10:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:14:13] Production.INFO: call_cost start
[2025-01-12 10:14:13] Production.INFO: call_cost end
[2025-01-12 10:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:14:14] Production.INFO: ==31283== Releasing lock...
[2025-01-12 10:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:14:18] Production.INFO: count ==186
[2025-01-12 10:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:14:05 - End Time 2025-01-12 10:14:05
[2025-01-12 10:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230916', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230916', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230916', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230916', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:14:18] Production.INFO: ProcessCDR(1,14230916,1,1,2)
[2025-01-12 10:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230916', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230916', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:14:22] Production.INFO: ==31291== Releasing lock...
[2025-01-12 10:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:14:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:15:01] Production.INFO: ==31349== Lock acquired, processing the job...
[2025-01-12 15:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:15:01] Production.INFO: neon service started
[2025-01-12 15:15:01] Production.INFO: neon service started
[2025-01-12 15:15:01] Production.INFO: ==31349== Releasing lock...
[2025-01-12 15:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:15:02] Production.INFO: ==31351== Lock acquired, processing the job...
[2025-01-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:15:02] Production.INFO: ==31353== Lock acquired, processing the job...
[2025-01-12 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:15:02] Production.INFO: ==31353== Releasing lock...
[2025-01-12 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:15:02] Production.INFO: ==31351== Releasing lock...
[2025-01-12 10:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:15:03] Production.INFO: ==31364== Lock acquired, processing the job...
[2025-01-12 10:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:15:03] Production.INFO: ==31362== Lock acquired, processing the job...
[2025-01-12 10:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:15:03] Production.INFO: Account Balance Start.
[2025-01-12 10:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:15:03] Production.INFO: 117
[2025-01-12 10:15:03] Production.INFO: ==31356== Lock acquired, processing the job...
[2025-01-12 10:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:15:03] Production.INFO: ==31358== Lock acquired, processing the job...
[2025-01-12 10:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:15:03] Production.INFO: ==31360== Lock acquired, processing the job...
[2025-01-12 10:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:15:03] Production.ERROR: done
[2025-01-12 10:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:15:03] Production.INFO: ==31366== Lock acquired, processing the job...
[2025-01-12 10:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:15:03] Production.ERROR: done
[2025-01-12 10:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 10: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-01-12 10:15:03] Production.INFO: count ==21
[2025-01-12 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-01-12 10:15:04] Production.INFO: count ==21
[2025-01-12 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230920') start
[2025-01-12 10:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:15:04] Production.INFO: Total Charge 0
[2025-01-12 10:15:04] Production.INFO: CreateAllLog End
[2025-01-12 10:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230920') end
[2025-01-12 10:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:15:04] Production.INFO: 1
[2025-01-12 10:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:15:04] Production.INFO: ==31358== Releasing lock...
[2025-01-12 10:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:15:04] Production.INFO: Account Balance End.
[2025-01-12 10:15:04] Production.INFO: ==31366== Releasing lock...
[2025-01-12 10:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:15:04] Production.INFO: ==31362== Releasing lock...
[2025-01-12 10:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:15:05
[end_date_ymd] => 2025-01-12 10:15:05
[RateCDR] => 1
)
[2025-01-12 10:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:15:05' and `end` < '2025-01-12 10:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:15:10] Production.ERROR: CronJobId end10
[2025-01-12 10:15:10] Production.INFO: ==31360== Releasing lock...
[2025-01-12 10:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:15:12] Production.INFO: call_cost start
[2025-01-12 10:15:12] Production.INFO: call_cost end
[2025-01-12 10:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:15:13] Production.INFO: ==31356== Releasing lock...
[2025-01-12 10:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:15:18] Production.INFO: count ==189
[2025-01-12 10:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:15:05 - End Time 2025-01-12 10:15:05
[2025-01-12 10:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230921', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230921', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230921', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230921', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:15:18] Production.INFO: ProcessCDR(1,14230921,1,1,2)
[2025-01-12 10:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230921', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230921', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:15:21] Production.INFO: ==31364== Releasing lock...
[2025-01-12 10:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:15:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:16:02] Production.INFO: ==31429== Lock acquired, processing the job...
[2025-01-12 15:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:16:02] Production.INFO: neon service started
[2025-01-12 15:16:02] Production.INFO: neon service started
[2025-01-12 15:16:02] Production.INFO: ==31429== Releasing lock...
[2025-01-12 15:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:16:02] Production.INFO: ==31434== Lock acquired, processing the job...
[2025-01-12 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:16:02] Production.INFO: ==31434== Releasing lock...
[2025-01-12 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:16:02] Production.INFO: ==31432== Lock acquired, processing the job...
[2025-01-12 10:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:16:03] Production.INFO: ==31432== Releasing lock...
[2025-01-12 10:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:16:04] Production.INFO: ==31439== Lock acquired, processing the job...
[2025-01-12 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:16:04] Production.INFO: ==31436== Lock acquired, processing the job...
[2025-01-12 10:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:16:04] Production.INFO: ==31441== Lock acquired, processing the job...
[2025-01-12 10:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:16:04] Production.INFO: ==31445== Lock acquired, processing the job...
[2025-01-12 10:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:16:04] Production.INFO: ==31443== Lock acquired, processing the job...
[2025-01-12 10:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:16:04] Production.INFO: ==31447== Lock acquired, processing the job...
[2025-01-12 10:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:16:04] Production.INFO: ==31439== Releasing lock...
[2025-01-12 10:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:16:04] Production.INFO: Account Balance Start.
[2025-01-12 10:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:16:04] Production.INFO: 117
[2025-01-12 10:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:16:04] Production.ERROR: done
[2025-01-12 10:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 10:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:16:04] Production.INFO: count ==21
[2025-01-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:16:04] Production.ERROR: done
[2025-01-12 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-01-12 10:16:04] Production.INFO: count ==21
[2025-01-12 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230925') start
[2025-01-12 10:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:16:04] Production.INFO: Total Charge 0
[2025-01-12 10:16:04] Production.INFO: CreateAllLog End
[2025-01-12 10:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230925') end
[2025-01-12 10:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:16:04] Production.INFO: 1
[2025-01-12 10:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:16:05] Production.INFO: ==31447== Releasing lock...
[2025-01-12 10:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:16:05] Production.INFO: Account Balance End.
[2025-01-12 10:16:05] Production.ERROR: CronJobId end 12
[2025-01-12 10:16:05] Production.INFO: ==31443== Releasing lock...
[2025-01-12 10:16:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:16:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:16:05
[end_date_ymd] => 2025-01-12 10:16:05
[RateCDR] => 1
)
[2025-01-12 10:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:16:05' and `end` < '2025-01-12 10:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:16:12] Production.ERROR: CronJobId end10
[2025-01-12 10:16:12] Production.INFO: ==31441== Releasing lock...
[2025-01-12 10:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:16:14] Production.INFO: call_cost start
[2025-01-12 10:16:14] Production.INFO: call_cost end
[2025-01-12 10:16:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:16:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:16:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:16:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:16:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:16:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:16:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:16:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:16:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:16:15] Production.INFO: ==31436== Releasing lock...
[2025-01-12 10:16:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:16:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:16:18] Production.INFO: count ==189
[2025-01-12 10:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:16:05 - End Time 2025-01-12 10:16:05
[2025-01-12 10:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230926', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230926', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230926', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230926', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:16:18] Production.INFO: ProcessCDR(1,14230926,1,1,2)
[2025-01-12 10:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:16:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:16:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230926', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230926', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:16:22] Production.INFO: ==31445== Releasing lock...
[2025-01-12 10:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:16:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:17:01] Production.INFO: ==31501== Lock acquired, processing the job...
[2025-01-12 15:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:17:01] Production.INFO: neon service started
[2025-01-12 15:17:01] Production.INFO: neon service started
[2025-01-12 15:17:01] Production.INFO: ==31501== Releasing lock...
[2025-01-12 15:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:17:02] Production.INFO: ==31505== Lock acquired, processing the job...
[2025-01-12 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:17:02] Production.INFO: ==31505== Releasing lock...
[2025-01-12 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:17:02] Production.INFO: ==31503== Lock acquired, processing the job...
[2025-01-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:17:02] Production.INFO: ==31503== Releasing lock...
[2025-01-12 10:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:17:03] Production.INFO: ==31508== Lock acquired, processing the job...
[2025-01-12 10:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:17:03] Production.INFO: ==31510== Lock acquired, processing the job...
[2025-01-12 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:17:03] Production.INFO: ==31512== Lock acquired, processing the job...
[2025-01-12 10:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:17:03] Production.INFO: ==31514== Lock acquired, processing the job...
[2025-01-12 10:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:17:03] Production.INFO: ==31516== Lock acquired, processing the job...
[2025-01-12 10:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:17:03] Production.INFO: ==31510== Releasing lock...
[2025-01-12 10:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:17:03] Production.INFO: ==31518== Lock acquired, processing the job...
[2025-01-12 10:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:17:03] Production.INFO: Account Balance Start.
[2025-01-12 10:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:17:03] Production.INFO: 117
[2025-01-12 10:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:17:04] Production.ERROR: done
[2025-01-12 10:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:17:04] Production.INFO: count ==21
[2025-01-12 10:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:17:04] Production.INFO: Total Charge 0
[2025-01-12 10:17:04] Production.INFO: CreateAllLog End
[2025-01-12 10:17:04] Production.INFO: count ==21
[2025-01-12 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230930') start
[2025-01-12 10:17:04] Production.ERROR: done
[2025-01-12 10:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230930') end
[2025-01-12 10:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:17:04] Production.INFO: 1
[2025-01-12 10:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:17:04] Production.INFO: Account Balance End.
[2025-01-12 10:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:17:04] Production.INFO: ==31514== Releasing lock...
[2025-01-12 10:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:17:04] Production.INFO: ==31518== Releasing lock...
[2025-01-12 10:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:17:05
[end_date_ymd] => 2025-01-12 10:17:05
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:17:05' and `end` < '2025-01-12 10: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-01-12 10:17:10] Production.ERROR: CronJobId end10
[2025-01-12 10:17:10] Production.INFO: ==31512== Releasing lock...
[2025-01-12 10:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:17:12] Production.INFO: call_cost start
[2025-01-12 10:17:12] Production.INFO: call_cost end
[2025-01-12 10:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:17:13] Production.INFO: ==31508== Releasing lock...
[2025-01-12 10:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:17:20] Production.INFO: count ==189
[2025-01-12 10:17:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:17:05 - End Time 2025-01-12 10:17:05
[2025-01-12 10:17:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230931', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230931', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230931', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:17:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230931', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:17:20] Production.INFO: ProcessCDR(1,14230931,1,1,2)
[2025-01-12 10:17:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230931', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230931', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:17:23] Production.INFO: ==31516== Releasing lock...
[2025-01-12 10:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:17:23] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:18:02] Production.INFO: ==31576== Lock acquired, processing the job...
[2025-01-12 15:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:18:02] Production.INFO: neon service started
[2025-01-12 15:18:02] Production.INFO: neon service started
[2025-01-12 15:18:02] Production.INFO: ==31576== Releasing lock...
[2025-01-12 15:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:18:02] Production.INFO: ==31578== Lock acquired, processing the job...
[2025-01-12 10:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:18:02] Production.INFO: ==31580== Lock acquired, processing the job...
[2025-01-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:18:02] Production.INFO: ==31580== Releasing lock...
[2025-01-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:18:03] Production.INFO: ==31578== Releasing lock...
[2025-01-12 10:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:18:04] Production.INFO: ==31583== Lock acquired, processing the job...
[2025-01-12 10:18:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:18:04] Production.INFO: ==31589== Lock acquired, processing the job...
[2025-01-12 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:18:04] Production.INFO: ==31585== Lock acquired, processing the job...
[2025-01-12 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:18:04] Production.INFO: ==31587== Lock acquired, processing the job...
[2025-01-12 10:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:18:04] Production.INFO: ==31591== Lock acquired, processing the job...
[2025-01-12 10:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:18:04] Production.INFO: Account Balance Start.
[2025-01-12 10:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:18:04] Production.INFO: 117
[2025-01-12 10:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:18:04] Production.INFO: ==31593== Lock acquired, processing the job...
[2025-01-12 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:18:04] Production.INFO: Total Charge 0
[2025-01-12 10:18:04] Production.INFO: ==31585== Releasing lock...
[2025-01-12 10:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:18:04] Production.ERROR: done
[2025-01-12 10:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:18:04] Production.INFO: CreateAllLog End
[2025-01-12 10: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-01-12 10:18:04] Production.INFO: count ==21
[2025-01-12 10:18:04] Production.ERROR: done
[2025-01-12 10:18:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:18:04] Production.INFO: count ==21
[2025-01-12 10:18:04] Production.INFO: Account Balance End.
[2025-01-12 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230935') start
[2025-01-12 10:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:18:04] Production.INFO: ==31589== Releasing lock...
[2025-01-12 10:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230935') end
[2025-01-12 10:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:18:04] Production.INFO: 1
[2025-01-12 10:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:18:04] Production.INFO: ==31593== Releasing lock...
[2025-01-12 10:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:18:05
[end_date_ymd] => 2025-01-12 10:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:18:05' and `end` < '2025-01-12 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-01-12 10:18:11] Production.ERROR: CronJobId end10
[2025-01-12 10:18:11] Production.INFO: ==31587== Releasing lock...
[2025-01-12 10:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:18:12] Production.INFO: call_cost start
[2025-01-12 10:18:12] Production.INFO: call_cost end
[2025-01-12 10:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:18:13] Production.INFO: ==31583== Releasing lock...
[2025-01-12 10:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:18:18] Production.INFO: count ==189
[2025-01-12 10:18:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:18:05 - End Time 2025-01-12 10:18:05
[2025-01-12 10:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230936', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230936', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230936', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230936', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:18:18] Production.INFO: ProcessCDR(1,14230936,1,1,2)
[2025-01-12 10:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230936', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230936', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:18:21] Production.INFO: ==31591== Releasing lock...
[2025-01-12 10:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:18:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:19:01] Production.INFO: ==31652== Lock acquired, processing the job...
[2025-01-12 15:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:19:01] Production.INFO: neon service started
[2025-01-12 15:19:01] Production.INFO: neon service started
[2025-01-12 15:19:01] Production.INFO: ==31652== Releasing lock...
[2025-01-12 15:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:19:02] Production.INFO: ==31654== Lock acquired, processing the job...
[2025-01-12 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:19:02] Production.INFO: ==31656== Lock acquired, processing the job...
[2025-01-12 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:19:02] Production.INFO: ==31656== Releasing lock...
[2025-01-12 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:19:02] Production.INFO: ==31654== Releasing lock...
[2025-01-12 10:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:19:03] Production.INFO: ==31663== Lock acquired, processing the job...
[2025-01-12 10:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:19:03] Production.INFO: ==31665== Lock acquired, processing the job...
[2025-01-12 10:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:19:03] Production.INFO: ==31659== Lock acquired, processing the job...
[2025-01-12 10:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:19:03] Production.INFO: ==31661== Lock acquired, processing the job...
[2025-01-12 10:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:19:03] Production.INFO: Account Balance Start.
[2025-01-12 10:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:19:03] Production.INFO: 117
[2025-01-12 10:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:19:03] Production.INFO: ==31667== Lock acquired, processing the job...
[2025-01-12 10:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:19:03] Production.INFO: ==31669== Lock acquired, processing the job...
[2025-01-12 10:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:19:03] Production.INFO: Total Charge 0
[2025-01-12 10:19:03] Production.INFO: CreateAllLog End
[2025-01-12 10:19:04] Production.INFO: ==31661== Releasing lock...
[2025-01-12 10:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:19:04] Production.ERROR: done
[2025-01-12 10:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 10:19:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:19:04] Production.ERROR: done
[2025-01-12 10:19:04] Production.INFO: count ==21
[2025-01-12 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230940') start
[2025-01-12 10:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230940') end
[2025-01-12 10:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:19:04] Production.INFO: 1
[2025-01-12 10:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:19:04] Production.INFO: Account Balance End.
[2025-01-12 10:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:19:04] Production.INFO: ==31665== Releasing lock...
[2025-01-12 10:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:19:04] Production.INFO: ==31669== Releasing lock...
[2025-01-12 10:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:19:05
[end_date_ymd] => 2025-01-12 10:19:05
[RateCDR] => 1
)
[2025-01-12 10:19:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:19:05' and `end` < '2025-01-12 10:19:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:19:11] Production.ERROR: CronJobId end10
[2025-01-12 10:19:11] Production.INFO: ==31663== Releasing lock...
[2025-01-12 10:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:19:13] Production.INFO: call_cost start
[2025-01-12 10:19:13] Production.INFO: call_cost end
[2025-01-12 10:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:19:13] Production.INFO: ==31659== Releasing lock...
[2025-01-12 10:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:19:18] Production.INFO: count ==188
[2025-01-12 10:19:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:19:05 - End Time 2025-01-12 10:19:05
[2025-01-12 10:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230941', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230941', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230941', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230941', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:19:18] Production.INFO: ProcessCDR(1,14230941,1,1,2)
[2025-01-12 10:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:19:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:19:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:19:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230941', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:19:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230941', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:19:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:19:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:19:21] Production.INFO: ==31667== Releasing lock...
[2025-01-12 10:19:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:19:21] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:20:02] Production.INFO: ==31724== Lock acquired, processing the job...
[2025-01-12 15:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:20:02] Production.INFO: neon service started
[2025-01-12 15:20:02] Production.INFO: neon service started
[2025-01-12 15:20:02] Production.INFO: ==31724== Releasing lock...
[2025-01-12 15:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:20:02] Production.INFO: ==31726== Lock acquired, processing the job...
[2025-01-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:20:02] Production.INFO: ==31728== Lock acquired, processing the job...
[2025-01-12 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:20:02] Production.INFO: ==31726== Releasing lock...
[2025-01-12 10:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:20:03] Production.INFO: ==31728== Releasing lock...
[2025-01-12 15:20:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:20:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:20:04] Production.INFO: ==31731== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 10:20:04] Production.INFO: ==31733== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 10:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 10:20:04] Production.ERROR: CronJob PID - 31733
[2025-01-12 10:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 10:20:04] Production.ERROR: CronJob ID - 5
[2025-01-12 10:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 10:20:00
[2025-01-12 10:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 10:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 10:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:20:04] Production.INFO: ==31737== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 10:20:04] Production.INFO: ==31731== Releasing lock...
[2025-01-12 10:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 10:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 10:20:04] Production.INFO: ==31741== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:20:04] Production.INFO: ==31735== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:20:04] Production.INFO: ==31739== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:20:04] Production.INFO: ==31743== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 10:20:04] Production.INFO: Account Balance Start.
[2025-01-12 10:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:20:04] Production.INFO: 117
[2025-01-12 10:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:20:04] Production.INFO: ==31745== Lock acquired, processing the job...
[2025-01-12 10:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:20:04] Production.ERROR: done
[2025-01-12 10:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:20:04] Production.INFO: ==31735== Releasing lock...
[2025-01-12 10:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:20:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:20:04] Production.INFO: Total Charge 0
[2025-01-12 10:20:04] Production.INFO: CreateAllLog End
[2025-01-12 10:20:04] Production.INFO: count ==21
[2025-01-12 10:20:04] Production.ERROR: done
[2025-01-12 10:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:20:04] Production.ERROR: done
[2025-01-12 10:20:04] Production.INFO: count ==21
[2025-01-12 10:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 10:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230946', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 10:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230945') start
[2025-01-12 10:20:05] Production.INFO: Account Balance End.
[2025-01-12 10:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14230945') end
[2025-01-12 10:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:20:05] Production.INFO: 1
[2025-01-12 10:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 10:20:05] Production.INFO: ==31739== Releasing lock...
[2025-01-12 10:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:20:05] Production.INFO: ==31745== Releasing lock...
[2025-01-12 10:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:20:06
[end_date_ymd] => 2025-01-12 10:20:06
[RateCDR] => 1
)
[2025-01-12 10:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:20:06' and `end` < '2025-01-12 10:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230946', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 10:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 10:20:08] Production.INFO: ProcessCDR(1,14230946,1,1,2)
[2025-01-12 10:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230946,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230946,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:20:08] Production.INFO: ==31743== Releasing lock...
[2025-01-12 10:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 10:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 10:20:12] Production.ERROR: CronJobId end10
[2025-01-12 10:20:12] Production.INFO: ==31737== Releasing lock...
[2025-01-12 10:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:20:15] Production.INFO: call_cost start
[2025-01-12 10:20:15] Production.INFO: call_cost end
[2025-01-12 10:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:20:15] Production.INFO: ==31733== Releasing lock...
[2025-01-12 10:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:20:19] Production.INFO: count ==210
[2025-01-12 10:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:20:06 - End Time 2025-01-12 10:20:06
[2025-01-12 10:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230947', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230947', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230947', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230947', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:20:19] Production.INFO: ProcessCDR(1,14230947,1,1,2)
[2025-01-12 10:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230947,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230947,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230947', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230947', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:20:22] Production.INFO: ==31741== Releasing lock...
[2025-01-12 10:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:20:22] Production.INFO: 30 MB #Memory Used#
[2025-01-12 15:21:01] Production.INFO: ==31802== Lock acquired, processing the job...
[2025-01-12 15:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:21:01] Production.INFO: neon service started
[2025-01-12 15:21:01] Production.INFO: neon service started
[2025-01-12 15:21:01] Production.INFO: ==31802== Releasing lock...
[2025-01-12 15:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:21:01] Production.INFO: ==31805== Lock acquired, processing the job...
[2025-01-12 10:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:21:02] Production.INFO: ==31805== Releasing lock...
[2025-01-12 10:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:21:02] Production.INFO: ==31807== Lock acquired, processing the job...
[2025-01-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:21:02] Production.INFO: ==31807== Releasing lock...
[2025-01-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:21:02] Production.INFO: ==31809== Lock acquired, processing the job...
[2025-01-12 10:21:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:21:02] Production.INFO: ==31811== Lock acquired, processing the job...
[2025-01-12 10:21:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:21:02] Production.INFO: ==31813== Lock acquired, processing the job...
[2025-01-12 10:21:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:21:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:21:03] Production.INFO: ==31815== Lock acquired, processing the job...
[2025-01-12 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:21:03] Production.INFO: ==31811== Releasing lock...
[2025-01-12 10:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:21:03] Production.INFO: ==31817== Lock acquired, processing the job...
[2025-01-12 10:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:21:03] Production.INFO: ==31819== Lock acquired, processing the job...
[2025-01-12 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:21:03] Production.INFO: Account Balance Start.
[2025-01-12 10:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:21:03] Production.INFO: 117
[2025-01-12 10:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:21:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:21:03] Production.INFO: count ==21
[2025-01-12 10:21:03] Production.INFO: Total Charge 0
[2025-01-12 10:21:03] Production.INFO: CreateAllLog End
[2025-01-12 10:21:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:21:03] Production.INFO: count ==21
[2025-01-12 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230951') start
[2025-01-12 10:21:03] Production.INFO: Account Balance End.
[2025-01-12 10:21:03] Production.ERROR: done
[2025-01-12 10:21:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:21:03] Production.INFO: ==31815== Releasing lock...
[2025-01-12 10:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230951') end
[2025-01-12 10:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:21:03] Production.INFO: 1
[2025-01-12 10:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:21:03] Production.INFO: ==31819== Releasing lock...
[2025-01-12 10:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:21:03] Production.ERROR: done
[2025-01-12 10:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:21:04
[end_date_ymd] => 2025-01-12 10:21:04
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:21:04' and `end` < '2025-01-12 10: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-01-12 10:21:09] Production.ERROR: CronJobId end10
[2025-01-12 10:21:09] Production.INFO: ==31813== Releasing lock...
[2025-01-12 10:21:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:21:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:21:12] Production.INFO: call_cost start
[2025-01-12 10:21:12] Production.INFO: call_cost end
[2025-01-12 10:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:21:13] Production.INFO: ==31809== Releasing lock...
[2025-01-12 10:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:21:19] Production.INFO: count ==228
[2025-01-12 10:21:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:21:04 - End Time 2025-01-12 10:21:04
[2025-01-12 10:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230952', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230952', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230952', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230952', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:21:19] Production.INFO: ProcessCDR(1,14230952,1,1,2)
[2025-01-12 10:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230952,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230952,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230952', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230952', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:21:22] Production.INFO: ==31817== Releasing lock...
[2025-01-12 10:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:21:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:22:01] Production.INFO: ==31914== Lock acquired, processing the job...
[2025-01-12 15:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:22:01] Production.INFO: neon service started
[2025-01-12 15:22:02] Production.INFO: neon service started
[2025-01-12 15:22:02] Production.INFO: ==31914== Releasing lock...
[2025-01-12 15:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:22:02] Production.INFO: ==31916== Lock acquired, processing the job...
[2025-01-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:22:02] Production.INFO: ==31916== Releasing lock...
[2025-01-12 10:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:22:02] Production.INFO: ==31918== Lock acquired, processing the job...
[2025-01-12 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:22:02] Production.INFO: ==31918== Releasing lock...
[2025-01-12 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:22:03] Production.INFO: ==31925== Lock acquired, processing the job...
[2025-01-12 10:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:22:03] Production.INFO: ==31921== Lock acquired, processing the job...
[2025-01-12 10:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:22:03] Production.INFO: ==31931== Lock acquired, processing the job...
[2025-01-12 10:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:22:03] Production.INFO: ==31923== Lock acquired, processing the job...
[2025-01-12 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 10:22:03] Production.INFO: ==31927== Lock acquired, processing the job...
[2025-01-12 10:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:22:03] Production.INFO: ==31929== Lock acquired, processing the job...
[2025-01-12 10:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:22:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:22:03] Production.INFO: count ==21
[2025-01-12 10:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230954') start
[2025-01-12 10:22:03] Production.INFO: Account Balance Start.
[2025-01-12 10:22:03] Production.INFO: ==31923== Releasing lock...
[2025-01-12 10:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:22:03] Production.INFO: 117
[2025-01-12 10:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230954') end
[2025-01-12 10:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:22:04] Production.INFO: 1
[2025-01-12 10:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:22:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:22:04] Production.INFO: ==31931== Releasing lock...
[2025-01-12 10:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:22:04] Production.ERROR: done
[2025-01-12 10:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:22:04] Production.ERROR: done
[2025-01-12 10:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:22:04] Production.INFO: Total Charge 0
[2025-01-12 10:22:04] Production.INFO: CreateAllLog End
[2025-01-12 10:22:04] Production.INFO: Account Balance End.
[2025-01-12 10:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:22:04] Production.INFO: ==31927== Releasing lock...
[2025-01-12 10:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:22:05
[end_date_ymd] => 2025-01-12 10:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:22:05' and `end` < '2025-01-12 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-01-12 10:22:10] Production.ERROR: CronJobId end10
[2025-01-12 10:22:10] Production.INFO: ==31925== Releasing lock...
[2025-01-12 10:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:22:13] Production.INFO: call_cost start
[2025-01-12 10:22:13] Production.INFO: call_cost end
[2025-01-12 10:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:22:13] Production.INFO: ==31921== Releasing lock...
[2025-01-12 10:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:22:20] Production.INFO: count ==228
[2025-01-12 10:22:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:22:05 - End Time 2025-01-12 10:22:05
[2025-01-12 10:22:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230957', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230957', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230957', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:22:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230957', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:22:20] Production.INFO: ProcessCDR(1,14230957,1,1,2)
[2025-01-12 10:22:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230957,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230957,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230957', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230957', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:22:23] Production.INFO: ==31929== Releasing lock...
[2025-01-12 10:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:22:23] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:23:01] Production.INFO: ==31989== Lock acquired, processing the job...
[2025-01-12 15:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:23:01] Production.INFO: neon service started
[2025-01-12 15:23:01] Production.INFO: neon service started
[2025-01-12 15:23:01] Production.INFO: ==31989== Releasing lock...
[2025-01-12 15:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:23:01] Production.INFO: ==31993== Lock acquired, processing the job...
[2025-01-12 15:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:23:01] Production.INFO: ==31993== Releasing lock...
[2025-01-12 15:23:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:23:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:23:02] Production.INFO: ==31991== Lock acquired, processing the job...
[2025-01-12 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:23:02] Production.INFO: ==31991== Releasing lock...
[2025-01-12 10:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:23:03] Production.INFO: ==31998== Lock acquired, processing the job...
[2025-01-12 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:23:03] Production.INFO: ==31996== Lock acquired, processing the job...
[2025-01-12 10:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:23:03] Production.INFO: ==32000== Lock acquired, processing the job...
[2025-01-12 10:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:23:03] Production.INFO: ==32002== Lock acquired, processing the job...
[2025-01-12 10:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:23:03] Production.INFO: ==32004== Lock acquired, processing the job...
[2025-01-12 10:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:23:03] Production.INFO: ==32006== Lock acquired, processing the job...
[2025-01-12 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:23:03] Production.INFO: Account Balance Start.
[2025-01-12 10:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:23:03] Production.INFO: 117
[2025-01-12 10:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:23:03] Production.INFO: ==31998== Releasing lock...
[2025-01-12 10:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:23:03] Production.INFO: count ==21
[2025-01-12 10:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:23:03] Production.INFO: count ==21
[2025-01-12 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:23:03] Production.ERROR: done
[2025-01-12 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230961') start
[2025-01-12 10:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:23:03] Production.ERROR: done
[2025-01-12 10:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230961') end
[2025-01-12 10:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:23:03] Production.INFO: 1
[2025-01-12 10:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:23:03] Production.INFO: Total Charge 0
[2025-01-12 10:23:03] Production.INFO: CreateAllLog End
[2025-01-12 10:23:03] Production.INFO: ==32006== Releasing lock...
[2025-01-12 10:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:23:04] Production.INFO: Account Balance End.
[2025-01-12 10:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:23:04] Production.INFO: ==32002== Releasing lock...
[2025-01-12 10:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:23:04
[end_date_ymd] => 2025-01-12 10:23:04
[RateCDR] => 1
)
[2025-01-12 10:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:23:04' and `end` < '2025-01-12 10:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:23:10] Production.ERROR: CronJobId end10
[2025-01-12 10:23:10] Production.INFO: ==32000== Releasing lock...
[2025-01-12 10:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:23:13] Production.INFO: call_cost start
[2025-01-12 10:23:13] Production.INFO: call_cost end
[2025-01-12 10:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:23:13] Production.INFO: ==31996== Releasing lock...
[2025-01-12 10:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:23:18] Production.INFO: count ==231
[2025-01-12 10:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:23:04 - End Time 2025-01-12 10:23:04
[2025-01-12 10:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230962', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230962', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230962', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230962', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:23:18] Production.INFO: ProcessCDR(1,14230962,1,1,2)
[2025-01-12 10:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:23:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230962,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:23:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:23:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230962,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230962', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:23:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230962', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:23:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:23:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:23:21] Production.INFO: ==32004== Releasing lock...
[2025-01-12 10:23:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:23:21] Production.INFO: 29.5 MB #Memory Used#
[2025-01-12 15:24:01] Production.INFO: ==32062== Lock acquired, processing the job...
[2025-01-12 15:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:24:02] Production.INFO: neon service started
[2025-01-12 15:24:02] Production.INFO: neon service started
[2025-01-12 15:24:02] Production.INFO: ==32062== Releasing lock...
[2025-01-12 15:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:24:02] Production.INFO: ==32064== Lock acquired, processing the job...
[2025-01-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:24:02] Production.INFO: ==32064== Releasing lock...
[2025-01-12 10:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:24:02] Production.INFO: ==32066== Lock acquired, processing the job...
[2025-01-12 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:24:02] Production.INFO: ==32066== Releasing lock...
[2025-01-12 15:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:24:03] Production.INFO: ==32075== Lock acquired, processing the job...
[2025-01-12 10:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:24:03] Production.INFO: ==32069== Lock acquired, processing the job...
[2025-01-12 10:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:24:03] Production.INFO: ==32071== Lock acquired, processing the job...
[2025-01-12 10:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:24:03] Production.INFO: Account Balance Start.
[2025-01-12 10:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:24:03] Production.INFO: 117
[2025-01-12 10:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:24:03] Production.INFO: ==32079== Lock acquired, processing the job...
[2025-01-12 10:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:24:03] Production.INFO: ==32073== Lock acquired, processing the job...
[2025-01-12 10:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10: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-01-12 10:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:24:03] Production.INFO: count ==21
[2025-01-12 10:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:24:03] Production.INFO: ==32077== Lock acquired, processing the job...
[2025-01-12 10:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10: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-01-12 10:24:04] Production.INFO: count ==21
[2025-01-12 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230965') start
[2025-01-12 10:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230965') end
[2025-01-12 10:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:24:04] Production.INFO: 1
[2025-01-12 10:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:24:04] Production.INFO: ==32079== Releasing lock...
[2025-01-12 10:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:24:04] Production.INFO: ==32071== Releasing lock...
[2025-01-12 10:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:24:04] Production.INFO: Total Charge 0
[2025-01-12 10:24:04] Production.INFO: CreateAllLog End
[2025-01-12 10:24:04] Production.ERROR: done
[2025-01-12 10:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:24:04] Production.ERROR: done
[2025-01-12 10:24:04] Production.INFO: Account Balance End.
[2025-01-12 10:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:24:04] Production.INFO: ==32075== Releasing lock...
[2025-01-12 10:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:24:05
[end_date_ymd] => 2025-01-12 10:24:05
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:24:05' and `end` < '2025-01-12 10: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-01-12 10:24:12] Production.ERROR: CronJobId end10
[2025-01-12 10:24:12] Production.INFO: ==32073== Releasing lock...
[2025-01-12 10:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:24:13] Production.INFO: call_cost start
[2025-01-12 10:24:13] Production.INFO: call_cost end
[2025-01-12 10:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:24:14] Production.INFO: ==32069== Releasing lock...
[2025-01-12 10:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:24:19] Production.INFO: count ==234
[2025-01-12 10:24:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:24:05 - End Time 2025-01-12 10:24:05
[2025-01-12 10:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230967', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230967', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230967', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230967', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:24:19] Production.INFO: ProcessCDR(1,14230967,1,1,2)
[2025-01-12 10:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230967,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230967,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230967', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230967', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:24:22] Production.INFO: ==32077== Releasing lock...
[2025-01-12 10:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:24:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:25:01] Production.INFO: ==32132== Lock acquired, processing the job...
[2025-01-12 15:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:25:01] Production.INFO: neon service started
[2025-01-12 15:25:01] Production.INFO: neon service started
[2025-01-12 15:25:01] Production.INFO: ==32132== Releasing lock...
[2025-01-12 15:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:25:01] Production.INFO: ==32134== Lock acquired, processing the job...
[2025-01-12 10:25:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:25:02] Production.INFO: ==32134== Releasing lock...
[2025-01-12 10:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:25:02] Production.INFO: ==32136== Lock acquired, processing the job...
[2025-01-12 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:25:02] Production.INFO: ==32136== Releasing lock...
[2025-01-12 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:25:02] Production.INFO: ==32139== Lock acquired, processing the job...
[2025-01-12 10:25:02] Production.INFO: ==32141== Lock acquired, processing the job...
[2025-01-12 10:25:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:25:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:25:02] Production.INFO: ==32149== Lock acquired, processing the job...
[2025-01-12 10:25:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 10:25:03] Production.INFO: ==32143== Lock acquired, processing the job...
[2025-01-12 10:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:25:03] Production.INFO: count ==21
[2025-01-12 10:25:03] Production.INFO: ==32145== Lock acquired, processing the job...
[2025-01-12 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:25:03] Production.INFO: ==32147== Lock acquired, processing the job...
[2025-01-12 10:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 10:25:03] Production.INFO: count ==21
[2025-01-12 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230968') start
[2025-01-12 10:25:03] Production.INFO: Account Balance Start.
[2025-01-12 10:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:25:03] Production.INFO: 117
[2025-01-12 10:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:25:03] Production.INFO: ==32141== Releasing lock...
[2025-01-12 10:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230968') end
[2025-01-12 10:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:25:03] Production.INFO: 1
[2025-01-12 10:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:25:03] Production.INFO: ==32149== Releasing lock...
[2025-01-12 10:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:25:03] Production.INFO: Total Charge 0
[2025-01-12 10:25:03] Production.ERROR: done
[2025-01-12 10:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:25:03] Production.INFO: CreateAllLog End
[2025-01-12 10:25:03] Production.INFO: Account Balance End.
[2025-01-12 10:25:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:25:03] Production.INFO: ==32145== Releasing lock...
[2025-01-12 10:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:25:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:25:03] Production.ERROR: done
[2025-01-12 10:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:25:04
[end_date_ymd] => 2025-01-12 10:25:04
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:25:04' and `end` < '2025-01-12 10: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-01-12 10:25:10] Production.ERROR: CronJobId end10
[2025-01-12 10:25:10] Production.INFO: ==32143== Releasing lock...
[2025-01-12 10:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:25:12] Production.INFO: call_cost start
[2025-01-12 10:25:12] Production.INFO: call_cost end
[2025-01-12 10:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:25:13] Production.INFO: ==32139== Releasing lock...
[2025-01-12 10:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:25:18] Production.INFO: count ==234
[2025-01-12 10:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:25:04 - End Time 2025-01-12 10:25:04
[2025-01-12 10:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230972', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230972', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230972', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230972', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:25:18] Production.INFO: ProcessCDR(1,14230972,1,1,2)
[2025-01-12 10:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230972', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230972', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:25:21] Production.INFO: ==32147== Releasing lock...
[2025-01-12 10:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:25:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:26:01] Production.INFO: ==32208== Lock acquired, processing the job...
[2025-01-12 15:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:26:01] Production.INFO: neon service started
[2025-01-12 15:26:01] Production.INFO: neon service started
[2025-01-12 15:26:01] Production.INFO: ==32208== Releasing lock...
[2025-01-12 15:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:26:02] Production.INFO: ==32211== Lock acquired, processing the job...
[2025-01-12 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:26:02] Production.INFO: ==32211== Releasing lock...
[2025-01-12 10:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:26:02] Production.INFO: ==32213== Lock acquired, processing the job...
[2025-01-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:26:02] Production.INFO: ==32213== Releasing lock...
[2025-01-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:26:03] Production.INFO: ==32215== Lock acquired, processing the job...
[2025-01-12 10:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:26:03] Production.INFO: ==32219== Lock acquired, processing the job...
[2025-01-12 10:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:26:03] Production.INFO: ==32217== Lock acquired, processing the job...
[2025-01-12 10:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:26:03] Production.INFO: ==32223== Lock acquired, processing the job...
[2025-01-12 10:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:26:03] Production.INFO: ==32221== Lock acquired, processing the job...
[2025-01-12 10:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:26:03] Production.INFO: ==32225== Lock acquired, processing the job...
[2025-01-12 10:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:26:03] Production.INFO: Account Balance Start.
[2025-01-12 10:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:26:03] Production.INFO: 117
[2025-01-12 10:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:26:04] Production.ERROR: done
[2025-01-12 10:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:26:04] Production.INFO: count ==21
[2025-01-12 10:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:26:04] Production.INFO: count ==21
[2025-01-12 10:26:04] Production.INFO: Total Charge 0
[2025-01-12 10:26:04] Production.INFO: CreateAllLog End
[2025-01-12 10:26:04] Production.ERROR: done
[2025-01-12 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230976') start
[2025-01-12 10:26:04] Production.INFO: ==32217== Releasing lock...
[2025-01-12 10:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230976') end
[2025-01-12 10:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:26:04] Production.INFO: 1
[2025-01-12 10:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:26:04] Production.INFO: Account Balance End.
[2025-01-12 10:26:04] Production.INFO: ==32225== Releasing lock...
[2025-01-12 10:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:26:04] Production.INFO: ==32221== Releasing lock...
[2025-01-12 10:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:26:05
[end_date_ymd] => 2025-01-12 10:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:26:05' and `end` < '2025-01-12 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-01-12 10:26:11] Production.ERROR: CronJobId end10
[2025-01-12 10:26:11] Production.INFO: ==32219== Releasing lock...
[2025-01-12 10:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:26:12] Production.INFO: call_cost start
[2025-01-12 10:26:12] Production.INFO: call_cost end
[2025-01-12 10:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:26:13] Production.INFO: ==32215== Releasing lock...
[2025-01-12 10:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:26:19] Production.INFO: count ==234
[2025-01-12 10:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:26:05 - End Time 2025-01-12 10:26:05
[2025-01-12 10:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230977', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230977', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230977', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230977', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:26:19] Production.INFO: ProcessCDR(1,14230977,1,1,2)
[2025-01-12 10:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230977', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230977', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:26:22] Production.INFO: ==32223== Releasing lock...
[2025-01-12 10:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:26:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:27:02] Production.INFO: ==32281== Lock acquired, processing the job...
[2025-01-12 15:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:27:02] Production.INFO: neon service started
[2025-01-12 15:27:02] Production.INFO: neon service started
[2025-01-12 15:27:02] Production.INFO: ==32281== Releasing lock...
[2025-01-12 15:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:27:02] Production.INFO: ==32284== Lock acquired, processing the job...
[2025-01-12 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:27:02] Production.INFO: ==32284== Releasing lock...
[2025-01-12 10:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:27:02] Production.INFO: ==32286== Lock acquired, processing the job...
[2025-01-12 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:27:03] Production.INFO: ==32286== Releasing lock...
[2025-01-12 15:27:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:27:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:27:03] Production.INFO: ==32296== Lock acquired, processing the job...
[2025-01-12 10:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:27:03] Production.INFO: ==32288== Lock acquired, processing the job...
[2025-01-12 10:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:27:03] Production.INFO: ==32290== Lock acquired, processing the job...
[2025-01-12 10:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:27:03] Production.INFO: ==32294== Lock acquired, processing the job...
[2025-01-12 10:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:27:03] Production.INFO: ==32292== Lock acquired, processing the job...
[2025-01-12 10:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:27:03] Production.INFO: ==32298== Lock acquired, processing the job...
[2025-01-12 10:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:27:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:27:04] Production.INFO: Account Balance Start.
[2025-01-12 10:27:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:27:04] Production.INFO: 117
[2025-01-12 10:27:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:27:04] Production.ERROR: done
[2025-01-12 10:27:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:27:04] Production.INFO: count ==21
[2025-01-12 10:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:27:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:27:04] Production.INFO: count ==21
[2025-01-12 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230981') start
[2025-01-12 10:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:27:04] Production.ERROR: done
[2025-01-12 10:27:04] Production.INFO: ==32290== Releasing lock...
[2025-01-12 10:27:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:27:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:27:04] Production.INFO: Total Charge 0
[2025-01-12 10:27:04] Production.INFO: CreateAllLog End
[2025-01-12 10:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230981') end
[2025-01-12 10:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:27:04] Production.INFO: 1
[2025-01-12 10:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:27:04] Production.INFO: ==32298== Releasing lock...
[2025-01-12 10:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:27:04] Production.INFO: Account Balance End.
[2025-01-12 10:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:27:04] Production.INFO: ==32294== Releasing lock...
[2025-01-12 10:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:27:05
[end_date_ymd] => 2025-01-12 10:27:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:27:05' and `end` < '2025-01-12 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-01-12 10:27:11] Production.ERROR: CronJobId end10
[2025-01-12 10:27:11] Production.INFO: ==32292== Releasing lock...
[2025-01-12 10:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:27:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:27:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:27:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:27:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:27:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:27:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:27:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:27:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:27:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:27:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:27:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:27:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:27:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:27:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:27:14] Production.INFO: call_cost start
[2025-01-12 10:27:14] Production.INFO: call_cost end
[2025-01-12 10:27:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:27:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:27:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:27:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:27:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:27:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:27:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:27:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:27:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:27:15] Production.INFO: ==32288== Releasing lock...
[2025-01-12 10:27:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:27:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:27:18] Production.INFO: count ==233
[2025-01-12 10:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:27:05 - End Time 2025-01-12 10:27:05
[2025-01-12 10:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230982', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230982', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230982', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230982', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:27:18] Production.INFO: ProcessCDR(1,14230982,1,1,2)
[2025-01-12 10:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230982', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230982', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:27:21] Production.INFO: ==32296== Releasing lock...
[2025-01-12 10:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:27:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:28:01] Production.INFO: ==32352== Lock acquired, processing the job...
[2025-01-12 15:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:28:01] Production.INFO: neon service started
[2025-01-12 15:28:01] Production.INFO: neon service started
[2025-01-12 15:28:01] Production.INFO: ==32352== Releasing lock...
[2025-01-12 15:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:28:02] Production.INFO: ==32356== Lock acquired, processing the job...
[2025-01-12 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:28:02] Production.INFO: ==32356== Releasing lock...
[2025-01-12 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:28:02] Production.INFO: ==32354== Lock acquired, processing the job...
[2025-01-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:28:02] Production.INFO: ==32354== Releasing lock...
[2025-01-12 10:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:28:03] Production.INFO: ==32358== Lock acquired, processing the job...
[2025-01-12 10:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:28:03] Production.INFO: ==32366== Lock acquired, processing the job...
[2025-01-12 10:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:28:03] Production.INFO: ==32364== Lock acquired, processing the job...
[2025-01-12 10:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:28:03] Production.INFO: ==32360== Lock acquired, processing the job...
[2025-01-12 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:28:03] Production.INFO: Account Balance Start.
[2025-01-12 10:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:28:03] Production.INFO: 117
[2025-01-12 10:28:03] Production.INFO: ==32362== Lock acquired, processing the job...
[2025-01-12 10:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:28:03] Production.INFO: ==32368== Lock acquired, processing the job...
[2025-01-12 10:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:28:03] Production.ERROR: done
[2025-01-12 10:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 10: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-01-12 10:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:28:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:28:03] Production.ERROR: done
[2025-01-12 10:28:03] Production.INFO: ==32360== Releasing lock...
[2025-01-12 10:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:28:04] Production.INFO: count ==21
[2025-01-12 10:28:04] Production.INFO: Total Charge 0
[2025-01-12 10:28:04] Production.INFO: CreateAllLog End
[2025-01-12 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230986') start
[2025-01-12 10:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230986') end
[2025-01-12 10:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:28:04] Production.INFO: 1
[2025-01-12 10:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:28:04] Production.INFO: Account Balance End.
[2025-01-12 10:28:04] Production.INFO: ==32368== Releasing lock...
[2025-01-12 10:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:28:04] Production.INFO: ==32364== Releasing lock...
[2025-01-12 10:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:28:05
[end_date_ymd] => 2025-01-12 10:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:28:05' and `end` < '2025-01-12 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-01-12 10:28:11] Production.ERROR: CronJobId end10
[2025-01-12 10:28:11] Production.INFO: ==32362== Releasing lock...
[2025-01-12 10:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:28:13] Production.INFO: call_cost start
[2025-01-12 10:28:13] Production.INFO: call_cost end
[2025-01-12 10:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:28:14] Production.INFO: ==32358== Releasing lock...
[2025-01-12 10:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:28:19] Production.INFO: count ==241
[2025-01-12 10:28:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:28:05 - End Time 2025-01-12 10:28:05
[2025-01-12 10:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230987', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230987', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230987', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230987', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:28:19] Production.INFO: ProcessCDR(1,14230987,1,1,2)
[2025-01-12 10:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230987', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230987', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:28:22] Production.INFO: ==32366== Releasing lock...
[2025-01-12 10:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:28:22] Production.INFO: 29.75 MB #Memory Used#
[2025-01-12 15:29:02] Production.INFO: ==32425== Lock acquired, processing the job...
[2025-01-12 15:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:29:02] Production.INFO: neon service started
[2025-01-12 15:29:02] Production.INFO: neon service started
[2025-01-12 15:29:02] Production.INFO: ==32425== Releasing lock...
[2025-01-12 15:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:29:02] Production.INFO: ==32429== Lock acquired, processing the job...
[2025-01-12 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:29:02] Production.INFO: ==32429== Releasing lock...
[2025-01-12 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:29:02] Production.INFO: ==32427== Lock acquired, processing the job...
[2025-01-12 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:29:02] Production.INFO: ==32427== Releasing lock...
[2025-01-12 10:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:29:03] Production.INFO: ==32433== Lock acquired, processing the job...
[2025-01-12 10:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:29:03] Production.INFO: ==32441== Lock acquired, processing the job...
[2025-01-12 10:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 10:29:03] Production.INFO: ==32431== Lock acquired, processing the job...
[2025-01-12 10:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:29:03] Production.INFO: count ==21
[2025-01-12 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-01-12 10:29:03] Production.INFO: count ==21
[2025-01-12 10:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14230988') start
[2025-01-12 10:29:03] Production.INFO: ==32435== Lock acquired, processing the job...
[2025-01-12 10:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:29:04] Production.INFO: ==32437== Lock acquired, processing the job...
[2025-01-12 10:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:29:04] Production.INFO: ==32439== Lock acquired, processing the job...
[2025-01-12 10:29:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230988') end
[2025-01-12 10:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:29:04] Production.INFO: 1
[2025-01-12 10:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:29:04] Production.INFO: Account Balance Start.
[2025-01-12 10:29:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:29:04] Production.INFO: 117
[2025-01-12 10:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:29:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:29:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:29:04] Production.INFO: ==32441== Releasing lock...
[2025-01-12 10:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:29:04] Production.INFO: ==32433== Releasing lock...
[2025-01-12 10:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:29:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:29:04] Production.ERROR: done
[2025-01-12 10:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:29:04] Production.INFO: Total Charge 0
[2025-01-12 10:29:04] Production.INFO: CreateAllLog End
[2025-01-12 10:29:04] Production.ERROR: done
[2025-01-12 10:29:04] Production.INFO: Account Balance End.
[2025-01-12 10:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:29:04] Production.INFO: ==32437== Releasing lock...
[2025-01-12 10:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:29:05
[end_date_ymd] => 2025-01-12 10:29:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:29:05' and `end` < '2025-01-12 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-01-12 10:29:12] Production.ERROR: CronJobId end10
[2025-01-12 10:29:12] Production.INFO: ==32435== Releasing lock...
[2025-01-12 10:29:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:29:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:29:14] Production.INFO: call_cost start
[2025-01-12 10:29:14] Production.INFO: call_cost end
[2025-01-12 10:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:29:14] Production.INFO: ==32431== Releasing lock...
[2025-01-12 10:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:29:20] Production.INFO: count ==249
[2025-01-12 10:29:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:29:05 - End Time 2025-01-12 10:29:05
[2025-01-12 10:29:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230992', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230992', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230992', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:29:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230992', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:29:20] Production.INFO: ProcessCDR(1,14230992,1,1,2)
[2025-01-12 10:29:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:29:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:29:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:29:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230992', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:29:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230992', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:29:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:29:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:29:25] Production.INFO: ==32439== Releasing lock...
[2025-01-12 10:29:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:29:25] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:30:01] Production.INFO: ==32504== Lock acquired, processing the job...
[2025-01-12 15:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:30:01] Production.INFO: neon service started
[2025-01-12 15:30:01] Production.INFO: neon service started
[2025-01-12 15:30:01] Production.INFO: ==32504== Releasing lock...
[2025-01-12 15:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:30:01] Production.INFO: ==32506== Lock acquired, processing the job...
[2025-01-12 10:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:30:02] Production.INFO: ==32508== Lock acquired, processing the job...
[2025-01-12 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:30:02] Production.INFO: ==32506== Releasing lock...
[2025-01-12 10:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:30:02] Production.INFO: ==32508== Releasing lock...
[2025-01-12 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:30:03] Production.INFO: ==32511== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 10:30:03] Production.INFO: ==32513== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 10:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 10:30:03] Production.INFO: ==32511== Releasing lock...
[2025-01-12 10:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 10:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 10:30:03] Production.INFO: ==32515== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:30:03] Production.INFO: ==32517== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: ==32519== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:30:03] Production.INFO: ==32521== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:30:03] Production.INFO: ==32523== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 10:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:30:03] Production.INFO: Account Balance Start.
[2025-01-12 10:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:30:03] Production.INFO: 117
[2025-01-12 10:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:30:03] Production.INFO: ==32525== Lock acquired, processing the job...
[2025-01-12 10:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:30:03] Production.INFO: ==32515== Releasing lock...
[2025-01-12 10:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:30:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:30:04] Production.INFO: count ==21
[2025-01-12 10:30:04] Production.ERROR: done
[2025-01-12 10:30:04] Production.ERROR: done
[2025-01-12 10:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 10:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:30:04] Production.INFO: count ==21
[2025-01-12 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230996') start
[2025-01-12 10:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 10:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230997', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 10:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:30:04] Production.ERROR: done
[2025-01-12 10:30:04] Production.INFO: Total Charge 0
[2025-01-12 10:30:04] Production.INFO: CreateAllLog End
[2025-01-12 10:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14230996') end
[2025-01-12 10:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:30:04] Production.INFO: 1
[2025-01-12 10:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:30:04] Production.INFO: ==32525== Releasing lock...
[2025-01-12 10:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:30:04] Production.INFO: Account Balance End.
[2025-01-12 10:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:30:04] Production.INFO: ==32519== Releasing lock...
[2025-01-12 10:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:30:05
[end_date_ymd] => 2025-01-12 10:30:05
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:30:05' and `end` < '2025-01-12 10: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-01-12 10:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14230997', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 10:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 10:30:08] Production.INFO: ProcessCDR(1,14230997,1,1,2)
[2025-01-12 10:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14230997,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14230997,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:30:08] Production.INFO: ==32523== Releasing lock...
[2025-01-12 10:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 10:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 10:30:12] Production.ERROR: CronJobId end10
[2025-01-12 10:30:12] Production.INFO: ==32517== Releasing lock...
[2025-01-12 10:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:30:14] Production.INFO: call_cost start
[2025-01-12 10:30:14] Production.INFO: call_cost end
[2025-01-12 10:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:30:15] Production.INFO: ==32513== Releasing lock...
[2025-01-12 10:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:30:18] Production.INFO: count ==256
[2025-01-12 10:30:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:30:05 - End Time 2025-01-12 10:30:05
[2025-01-12 10:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230998', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14230998', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230998', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14230998', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:30:18] Production.INFO: ProcessCDR(1,14230998,1,1,2)
[2025-01-12 10:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14230998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14230998,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14230998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14230998,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230998', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14230998', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:30:23] Production.INFO: ==32521== Releasing lock...
[2025-01-12 10:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:30:23] Production.INFO: 30 MB #Memory Used#
[2025-01-12 15:31:02] Production.INFO: ==32586== Lock acquired, processing the job...
[2025-01-12 15:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:31:02] Production.INFO: neon service started
[2025-01-12 15:31:02] Production.INFO: neon service started
[2025-01-12 15:31:02] Production.INFO: ==32586== Releasing lock...
[2025-01-12 15:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:31:02] Production.INFO: ==32588== Lock acquired, processing the job...
[2025-01-12 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:31:02] Production.INFO: ==32588== Releasing lock...
[2025-01-12 10:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:31:02] Production.INFO: ==32590== Lock acquired, processing the job...
[2025-01-12 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:31:02] Production.INFO: ==32590== Releasing lock...
[2025-01-12 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:31:03] Production.INFO: ==32601== Lock acquired, processing the job...
[2025-01-12 10:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:31:03] Production.INFO: ==32593== Lock acquired, processing the job...
[2025-01-12 10:31:03] Production.INFO: ==32599== Lock acquired, processing the job...
[2025-01-12 10:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:31:03] Production.INFO: ==32595== Lock acquired, processing the job...
[2025-01-12 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:31:03] Production.INFO: ==32597== Lock acquired, processing the job...
[2025-01-12 10:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:31:03] Production.INFO: Account Balance Start.
[2025-01-12 10:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:31:03] Production.INFO: 117
[2025-01-12 10:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:31:03] Production.INFO: ==32603== Lock acquired, processing the job...
[2025-01-12 10:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:31:03] Production.INFO: ==32595== Releasing lock...
[2025-01-12 10:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:31:03] Production.ERROR: done
[2025-01-12 10:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:31:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:31:04] Production.INFO: count ==21
[2025-01-12 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231002') start
[2025-01-12 10:31:04] Production.INFO: Total Charge 0
[2025-01-12 10:31:04] Production.INFO: CreateAllLog End
[2025-01-12 10:31:04] Production.ERROR: done
[2025-01-12 10:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231002') end
[2025-01-12 10:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:31:04] Production.INFO: 1
[2025-01-12 10:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:31:04] Production.INFO: ==32603== Releasing lock...
[2025-01-12 10:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:31:04] Production.INFO: Account Balance End.
[2025-01-12 10:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:31:04] Production.INFO: ==32599== Releasing lock...
[2025-01-12 10:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:31:04
[end_date_ymd] => 2025-01-12 10:31:04
[RateCDR] => 1
)
[2025-01-12 10:31: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-01-12 07:31:04' and `end` < '2025-01-12 10:31: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-01-12 10:31:11] Production.ERROR: CronJobId end10
[2025-01-12 10:31:11] Production.INFO: ==32597== Releasing lock...
[2025-01-12 10:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:31:13] Production.INFO: call_cost start
[2025-01-12 10:31:13] Production.INFO: call_cost end
[2025-01-12 10:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:31:14] Production.INFO: ==32593== Releasing lock...
[2025-01-12 10:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:31:18] Production.INFO: count ==261
[2025-01-12 10:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:31:04 - End Time 2025-01-12 10:31:04
[2025-01-12 10:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231003', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231003', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231003', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231003', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:31:18] Production.INFO: ProcessCDR(1,14231003,1,1,2)
[2025-01-12 10:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231003,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231003,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231003', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231003', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:31:21] Production.INFO: ==32601== Releasing lock...
[2025-01-12 10:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:31:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:32:01] Production.INFO: ==32656== Lock acquired, processing the job...
[2025-01-12 15:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:32:01] Production.INFO: neon service started
[2025-01-12 15:32:01] Production.INFO: neon service started
[2025-01-12 15:32:01] Production.INFO: ==32656== Releasing lock...
[2025-01-12 15:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:32:01] Production.INFO: ==32660== Lock acquired, processing the job...
[2025-01-12 15:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:32:01] Production.INFO: ==32660== Releasing lock...
[2025-01-12 15:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:32:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:32:01] Production.INFO: ==32658== Lock acquired, processing the job...
[2025-01-12 10:32:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:32:02] Production.INFO: ==32658== Releasing lock...
[2025-01-12 10:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:32:03] Production.INFO: ==32667== Lock acquired, processing the job...
[2025-01-12 10:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:32:03] Production.INFO: ==32665== Lock acquired, processing the job...
[2025-01-12 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:32:03] Production.INFO: ==32663== Lock acquired, processing the job...
[2025-01-12 10:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:32:03] Production.INFO: ==32669== Lock acquired, processing the job...
[2025-01-12 10:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:32:03] Production.INFO: ==32665== Releasing lock...
[2025-01-12 10:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:32:03] Production.INFO: ==32671== Lock acquired, processing the job...
[2025-01-12 10:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:32:03] Production.INFO: ==32673== Lock acquired, processing the job...
[2025-01-12 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:32:03] Production.INFO: Account Balance Start.
[2025-01-12 10:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:32:03] Production.INFO: 117
[2025-01-12 10:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:32:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:32:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 10: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-01-12 10:32:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:32:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:32:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:32:03] Production.INFO: count ==21
[2025-01-12 10:32:03] Production.INFO: Total Charge 0
[2025-01-12 10:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231007') start
[2025-01-12 10:32:03] Production.INFO: CreateAllLog End
[2025-01-12 10:32:03] Production.ERROR: done
[2025-01-12 10:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:32:03] Production.INFO: Account Balance End.
[2025-01-12 10:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231007') end
[2025-01-12 10:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:32:03] Production.INFO: 1
[2025-01-12 10:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:32:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:32:03] Production.INFO: ==32669== Releasing lock...
[2025-01-12 10:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:32:03] Production.ERROR: done
[2025-01-12 10:32:03] Production.INFO: ==32673== Releasing lock...
[2025-01-12 10:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:32:04
[end_date_ymd] => 2025-01-12 10:32:04
[RateCDR] => 1
)
[2025-01-12 10:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:32:04' and `end` < '2025-01-12 10:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:32:10] Production.ERROR: CronJobId end10
[2025-01-12 10:32:10] Production.INFO: ==32667== Releasing lock...
[2025-01-12 10:32:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:32:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:32:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:32:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:32:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:32:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:32:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:32:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:32:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:32:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:32:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:32:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:32:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:32:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:32:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:32:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:32:12] Production.INFO: call_cost start
[2025-01-12 10:32:12] Production.INFO: call_cost end
[2025-01-12 10:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:32:13] Production.INFO: ==32663== Releasing lock...
[2025-01-12 10:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:32:17] Production.INFO: count ==261
[2025-01-12 10:32:17] Production.ERROR: pbx CDR StartTime 2025-01-12 07:32:04 - End Time 2025-01-12 10:32:04
[2025-01-12 10:32:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231008', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231008', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231008', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:32:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231008', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:32:17] Production.INFO: ProcessCDR(1,14231008,1,1,2)
[2025-01-12 10:32:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:32:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231008,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:32:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231008,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231008', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231008', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:32:21] Production.INFO: ==32671== Releasing lock...
[2025-01-12 10:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:32:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:33:01] Production.INFO: ==32728== Lock acquired, processing the job...
[2025-01-12 15:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:33:01] Production.INFO: neon service started
[2025-01-12 15:33:01] Production.INFO: neon service started
[2025-01-12 15:33:01] Production.INFO: ==32728== Releasing lock...
[2025-01-12 15:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:33:02] Production.INFO: ==32730== Lock acquired, processing the job...
[2025-01-12 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:33:02] Production.INFO: ==32730== Releasing lock...
[2025-01-12 10:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:33:02] Production.INFO: ==32732== Lock acquired, processing the job...
[2025-01-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:33:02] Production.INFO: ==32732== Releasing lock...
[2025-01-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:33:03] Production.INFO: ==32740== Lock acquired, processing the job...
[2025-01-12 10:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:33:03] Production.INFO: ==32744== Lock acquired, processing the job...
[2025-01-12 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:33:03] Production.INFO: Account Balance Start.
[2025-01-12 10:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:33:03] Production.INFO: 117
[2025-01-12 10:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:33:03] Production.INFO: ==32734== Lock acquired, processing the job...
[2025-01-12 10:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:33:03] Production.INFO: ==32736== Lock acquired, processing the job...
[2025-01-12 10:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:33:03] Production.INFO: count ==21
[2025-01-12 10:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:33:03] Production.INFO: count ==21
[2025-01-12 10:33:03] Production.INFO: ==32738== Lock acquired, processing the job...
[2025-01-12 10:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231010') start
[2025-01-12 10:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:33:03] Production.INFO: ==32742== Lock acquired, processing the job...
[2025-01-12 10:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:33:03] Production.INFO: Total Charge 0
[2025-01-12 10:33:03] Production.INFO: CreateAllLog End
[2025-01-12 10:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231010') end
[2025-01-12 10:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:33:03] Production.INFO: 1
[2025-01-12 10:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:33:03] Production.INFO: ==32744== Releasing lock...
[2025-01-12 10:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:33:04] Production.INFO: Account Balance End.
[2025-01-12 10:33:04] Production.ERROR: done
[2025-01-12 10:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:33:04] Production.INFO: ==32740== Releasing lock...
[2025-01-12 10:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:33:04] Production.ERROR: done
[2025-01-12 10:33:04] Production.INFO: ==32736== Releasing lock...
[2025-01-12 10:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:33:05
[end_date_ymd] => 2025-01-12 10:33:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:33:05' and `end` < '2025-01-12 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-01-12 10:33:11] Production.ERROR: CronJobId end10
[2025-01-12 10:33:11] Production.INFO: ==32738== Releasing lock...
[2025-01-12 10:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:33:13] Production.INFO: call_cost start
[2025-01-12 10:33:13] Production.INFO: call_cost end
[2025-01-12 10:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:33:14] Production.INFO: ==32734== Releasing lock...
[2025-01-12 10:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:33:19] Production.INFO: count ==261
[2025-01-12 10:33:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:33:05 - End Time 2025-01-12 10:33:05
[2025-01-12 10:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231013', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231013', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231013', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231013', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:33:19] Production.INFO: ProcessCDR(1,14231013,1,1,2)
[2025-01-12 10:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231013,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231013,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231013', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231013', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:33:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:33:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:33:22] Production.INFO: ==32742== Releasing lock...
[2025-01-12 10:33:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:33:22] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:34:02] Production.INFO: ==357== Lock acquired, processing the job...
[2025-01-12 15:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:34:02] Production.INFO: neon service started
[2025-01-12 15:34:02] Production.INFO: neon service started
[2025-01-12 15:34:02] Production.INFO: ==357== Releasing lock...
[2025-01-12 15:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:34:02] Production.INFO: ==359== Lock acquired, processing the job...
[2025-01-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:34:02] Production.INFO: ==361== Lock acquired, processing the job...
[2025-01-12 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:34:02] Production.INFO: ==359== Releasing lock...
[2025-01-12 10:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:34:02] Production.INFO: ==361== Releasing lock...
[2025-01-12 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:34:03] Production.INFO: ==363== Lock acquired, processing the job...
[2025-01-12 10:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:34:03] Production.INFO: ==371== Lock acquired, processing the job...
[2025-01-12 10:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:34:03] Production.INFO: ==373== Lock acquired, processing the job...
[2025-01-12 10:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:34:03] Production.INFO: ==365== Lock acquired, processing the job...
[2025-01-12 10:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:34:03] Production.INFO: ==367== Lock acquired, processing the job...
[2025-01-12 10:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:34:03] Production.INFO: ==369== Lock acquired, processing the job...
[2025-01-12 10:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10: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-01-12 10:34:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:34:03] Production.INFO: count ==21
[2025-01-12 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231015') start
[2025-01-12 10:34:04] Production.ERROR: done
[2025-01-12 10:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:34:04] Production.INFO: Account Balance Start.
[2025-01-12 10:34:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:34:04] Production.INFO: 117
[2025-01-12 10:34:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:34:04] Production.ERROR: done
[2025-01-12 10:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231015') end
[2025-01-12 10:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:34:04] Production.INFO: 1
[2025-01-12 10:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:34:04] Production.INFO: ==373== Releasing lock...
[2025-01-12 10:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:34:04] Production.INFO: ==365== Releasing lock...
[2025-01-12 10:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:34:04] Production.INFO: Total Charge 0
[2025-01-12 10:34:04] Production.INFO: CreateAllLog End
[2025-01-12 10:34:04] Production.INFO: Account Balance End.
[2025-01-12 10:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:34:04] Production.INFO: ==369== Releasing lock...
[2025-01-12 10:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:34:05
[end_date_ymd] => 2025-01-12 10:34:05
[RateCDR] => 1
)
[2025-01-12 10:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:34:05' and `end` < '2025-01-12 10:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:34:12] Production.ERROR: CronJobId end10
[2025-01-12 10:34:12] Production.INFO: ==367== Releasing lock...
[2025-01-12 10:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:34:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:34:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:34:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:34:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:34:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:34:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:34:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:34:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:34:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:34:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:34:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:34:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:34:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:34:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:34:14] Production.INFO: call_cost start
[2025-01-12 10:34:14] Production.INFO: call_cost end
[2025-01-12 10:34:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:34:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:34:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:34:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:34:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:34:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:34:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:34:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:34:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:34:15] Production.INFO: ==363== Releasing lock...
[2025-01-12 10:34:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:34:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:34:22] Production.INFO: count ==261
[2025-01-12 10:34:22] Production.ERROR: pbx CDR StartTime 2025-01-12 07:34:05 - End Time 2025-01-12 10:34:05
[2025-01-12 10:34:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231018', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231018', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231018', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:34:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231018', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:34:22] Production.INFO: ProcessCDR(1,14231018,1,1,2)
[2025-01-12 10:34:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:34:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231018,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:34:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:34:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231018,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231018', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:34:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231018', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:34:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:34:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:34:26] Production.INFO: ==371== Releasing lock...
[2025-01-12 10:34:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:34:26] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:35:01] Production.INFO: ==428== Lock acquired, processing the job...
[2025-01-12 15:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:35:01] Production.INFO: neon service started
[2025-01-12 15:35:01] Production.INFO: neon service started
[2025-01-12 15:35:01] Production.INFO: ==428== Releasing lock...
[2025-01-12 15:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:35:01] Production.INFO: ==432== Lock acquired, processing the job...
[2025-01-12 15:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:35:02] Production.INFO: ==432== Releasing lock...
[2025-01-12 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:35:02] Production.INFO: ==430== Lock acquired, processing the job...
[2025-01-12 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:35:02] Production.INFO: ==430== Releasing lock...
[2025-01-12 10:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:35:03] Production.INFO: ==441== Lock acquired, processing the job...
[2025-01-12 10:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:35:03] Production.INFO: ==434== Lock acquired, processing the job...
[2025-01-12 10:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:35:03] Production.INFO: ==445== Lock acquired, processing the job...
[2025-01-12 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:35:03] Production.INFO: ==439== Lock acquired, processing the job...
[2025-01-12 10:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:35:03] Production.INFO: ==436== Lock acquired, processing the job...
[2025-01-12 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:35:03] Production.INFO: Account Balance Start.
[2025-01-12 10:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:35:03] Production.INFO: 117
[2025-01-12 10:35:03] Production.INFO: ==443== Lock acquired, processing the job...
[2025-01-12 10:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:35:03] Production.INFO: count ==21
[2025-01-12 10:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 10:35:03] Production.INFO: count ==21
[2025-01-12 10:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231020') start
[2025-01-12 10:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231020') end
[2025-01-12 10:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:35:03] Production.INFO: 1
[2025-01-12 10:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:35:03] Production.INFO: ==445== Releasing lock...
[2025-01-12 10:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:35:03] Production.INFO: Total Charge 0
[2025-01-12 10:35:03] Production.INFO: CreateAllLog End
[2025-01-12 10:35:03] Production.INFO: ==436== Releasing lock...
[2025-01-12 10:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:35:03] Production.ERROR: done
[2025-01-12 10:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:35:04] Production.ERROR: done
[2025-01-12 10:35:04] Production.INFO: Account Balance End.
[2025-01-12 10:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:35:04] Production.INFO: ==441== Releasing lock...
[2025-01-12 10:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:35:05
[end_date_ymd] => 2025-01-12 10:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:35:05' and `end` < '2025-01-12 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-01-12 10:35:11] Production.ERROR: CronJobId end10
[2025-01-12 10:35:11] Production.INFO: ==439== Releasing lock...
[2025-01-12 10:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:35:13] Production.INFO: call_cost start
[2025-01-12 10:35:13] Production.INFO: call_cost end
[2025-01-12 10:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:35:14] Production.INFO: ==434== Releasing lock...
[2025-01-12 10:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:35:18] Production.INFO: count ==261
[2025-01-12 10:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:35:05 - End Time 2025-01-12 10:35:05
[2025-01-12 10:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231023', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231023', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231023', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231023', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:35:18] Production.INFO: ProcessCDR(1,14231023,1,1,2)
[2025-01-12 10:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:35:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231023', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:35:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231023', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:35:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:35:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:35:21] Production.INFO: ==443== Releasing lock...
[2025-01-12 10:35:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:35:21] Production.INFO: 30.25 MB #Memory Used#
[2025-01-12 15:36:02] Production.INFO: ==499== Lock acquired, processing the job...
[2025-01-12 15:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:36:02] Production.INFO: neon service started
[2025-01-12 15:36:02] Production.INFO: neon service started
[2025-01-12 15:36:02] Production.INFO: ==499== Releasing lock...
[2025-01-12 15:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:36:02] Production.INFO: ==502== Lock acquired, processing the job...
[2025-01-12 10:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:36:02] Production.INFO: ==504== Lock acquired, processing the job...
[2025-01-12 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:36:02] Production.INFO: ==504== Releasing lock...
[2025-01-12 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:36:03] Production.INFO: ==502== Releasing lock...
[2025-01-12 10:36:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:36:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:36:03] Production.INFO: ==509== Lock acquired, processing the job...
[2025-01-12 10:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:36:03] Production.INFO: ==513== Lock acquired, processing the job...
[2025-01-12 10:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:36:03] Production.INFO: ==507== Lock acquired, processing the job...
[2025-01-12 10:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:36:04] Production.INFO: Account Balance Start.
[2025-01-12 10:36:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:36:04] Production.INFO: 117
[2025-01-12 10:36:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:36:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:36:04] Production.INFO: ==511== Lock acquired, processing the job...
[2025-01-12 10:36:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:36:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:36:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:36:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:36:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:36:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:36:04] Production.INFO: ==515== Lock acquired, processing the job...
[2025-01-12 10:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:36:04] Production.INFO: ==517== Lock acquired, processing the job...
[2025-01-12 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:36:04] Production.INFO: Total Charge 0
[2025-01-12 10:36:04] Production.INFO: CreateAllLog End
[2025-01-12 10:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 10:36:04] Production.INFO: ==509== Releasing lock...
[2025-01-12 10:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:36:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:36:04] Production.INFO: count ==21
[2025-01-12 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231027') start
[2025-01-12 10:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231027') end
[2025-01-12 10:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:36:04] Production.INFO: 1
[2025-01-12 10:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:36:04] Production.INFO: ==517== Releasing lock...
[2025-01-12 10:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:36:04] Production.ERROR: done
[2025-01-12 10:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:36:04] Production.INFO: Account Balance End.
[2025-01-12 10:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:36:04] Production.INFO: ==513== Releasing lock...
[2025-01-12 10:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:36:04] Production.ERROR: done
[2025-01-12 10:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:36:05
[end_date_ymd] => 2025-01-12 10:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:36:05' and `end` < '2025-01-12 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-01-12 10:36:12] Production.ERROR: CronJobId end10
[2025-01-12 10:36:12] Production.INFO: ==511== Releasing lock...
[2025-01-12 10:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:36:14] Production.INFO: call_cost start
[2025-01-12 10:36:14] Production.INFO: call_cost end
[2025-01-12 10:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:36:14] Production.INFO: ==507== Releasing lock...
[2025-01-12 10:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:36:20] Production.INFO: count ==263
[2025-01-12 10:36:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:36:05 - End Time 2025-01-12 10:36:05
[2025-01-12 10:36:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231028', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231028', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231028', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:36:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231028', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:36:20] Production.INFO: ProcessCDR(1,14231028,1,1,2)
[2025-01-12 10:36:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:36:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:36:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:36:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231028', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:36:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231028', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:36:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:36:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:36:25] Production.INFO: ==515== Releasing lock...
[2025-01-12 10:36:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:36:25] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:37:01] Production.INFO: ==577== Lock acquired, processing the job...
[2025-01-12 15:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:37:01] Production.INFO: neon service started
[2025-01-12 15:37:01] Production.INFO: neon service started
[2025-01-12 15:37:01] Production.INFO: ==577== Releasing lock...
[2025-01-12 15:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:37:02] Production.INFO: ==580== Lock acquired, processing the job...
[2025-01-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:37:02] Production.INFO: ==582== Lock acquired, processing the job...
[2025-01-12 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:37:02] Production.INFO: ==582== Releasing lock...
[2025-01-12 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:37:02] Production.INFO: ==580== Releasing lock...
[2025-01-12 10:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:37:03] Production.INFO: ==585== Lock acquired, processing the job...
[2025-01-12 10:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:37:03] Production.INFO: ==587== Lock acquired, processing the job...
[2025-01-12 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:37:03] Production.INFO: ==594== Lock acquired, processing the job...
[2025-01-12 10:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:37:03] Production.INFO: ==587== Releasing lock...
[2025-01-12 10:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:37:03] Production.INFO: ==589== Lock acquired, processing the job...
[2025-01-12 10:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:37:03] Production.INFO: ==591== Lock acquired, processing the job...
[2025-01-12 10:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:37:03] Production.INFO: ==596== Lock acquired, processing the job...
[2025-01-12 10:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:37:03] Production.ERROR: done
[2025-01-12 10:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:37:03] Production.ERROR: done
[2025-01-12 10:37:03] Production.INFO: Account Balance Start.
[2025-01-12 10:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 10: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-01-12 10:37:03] Production.INFO: 117
[2025-01-12 10:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:37:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:37:03] Production.INFO: count ==21
[2025-01-12 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231032') start
[2025-01-12 10:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231032') end
[2025-01-12 10:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:37:04] Production.INFO: 1
[2025-01-12 10:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:37:04] Production.INFO: ==596== Releasing lock...
[2025-01-12 10:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:37:04] Production.INFO: Total Charge 0
[2025-01-12 10:37:04] Production.INFO: CreateAllLog End
[2025-01-12 10:37:04] Production.INFO: Account Balance End.
[2025-01-12 10:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:37:04] Production.INFO: ==591== Releasing lock...
[2025-01-12 10:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:37:05
[end_date_ymd] => 2025-01-12 10:37:05
[RateCDR] => 1
)
[2025-01-12 10:37:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:37:05' and `end` < '2025-01-12 10:37:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:37:11] Production.ERROR: CronJobId end10
[2025-01-12 10:37:11] Production.INFO: ==589== Releasing lock...
[2025-01-12 10:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:37:14] Production.INFO: call_cost start
[2025-01-12 10:37:14] Production.INFO: call_cost end
[2025-01-12 10:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:37:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:37:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:37:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:37:14] Production.INFO: ==585== Releasing lock...
[2025-01-12 10:37:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:37:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:37:18] Production.INFO: count ==263
[2025-01-12 10:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:37:05 - End Time 2025-01-12 10:37:05
[2025-01-12 10:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231033', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231033', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231033', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231033', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:37:19] Production.INFO: ProcessCDR(1,14231033,1,1,2)
[2025-01-12 10:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231033', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231033', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:37:22] Production.INFO: ==594== Releasing lock...
[2025-01-12 10:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:37:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:38:02] Production.INFO: ==721== Lock acquired, processing the job...
[2025-01-12 15:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:38:02] Production.INFO: neon service started
[2025-01-12 15:38:02] Production.INFO: neon service started
[2025-01-12 15:38:02] Production.INFO: ==721== Releasing lock...
[2025-01-12 15:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:38:02] Production.INFO: ==725== Lock acquired, processing the job...
[2025-01-12 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:38:02] Production.INFO: ==725== Releasing lock...
[2025-01-12 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:38:02] Production.INFO: ==723== Lock acquired, processing the job...
[2025-01-12 10:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:38:03] Production.INFO: ==723== Releasing lock...
[2025-01-12 10:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:38:03] Production.INFO: ==728== Lock acquired, processing the job...
[2025-01-12 10:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:38:03] Production.INFO: ==730== Lock acquired, processing the job...
[2025-01-12 10:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:38:03] Production.INFO: ==732== Lock acquired, processing the job...
[2025-01-12 10:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:38:04] Production.INFO: ==734== Lock acquired, processing the job...
[2025-01-12 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:38:04] Production.INFO: ==736== Lock acquired, processing the job...
[2025-01-12 10:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:38:04] Production.INFO: ==738== Lock acquired, processing the job...
[2025-01-12 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:38:04] Production.INFO: Account Balance Start.
[2025-01-12 10:38:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:38:04] Production.INFO: 117
[2025-01-12 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-01-12 10:38:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:38:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:38:04] Production.INFO: count ==21
[2025-01-12 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231037') start
[2025-01-12 10:38:04] Production.INFO: ==730== Releasing lock...
[2025-01-12 10:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231037') end
[2025-01-12 10:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:38:04] Production.INFO: 1
[2025-01-12 10:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:38:04] Production.INFO: ==738== Releasing lock...
[2025-01-12 10:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:38:04] Production.ERROR: done
[2025-01-12 10:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:38:04] Production.INFO: Total Charge 0
[2025-01-12 10:38:04] Production.INFO: CreateAllLog End
[2025-01-12 10:38:04] Production.ERROR: done
[2025-01-12 10:38:04] Production.INFO: Account Balance End.
[2025-01-12 10:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:38:04] Production.INFO: ==734== Releasing lock...
[2025-01-12 10:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:38:05
[end_date_ymd] => 2025-01-12 10:38:05
[RateCDR] => 1
)
[2025-01-12 10:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:38:05' and `end` < '2025-01-12 10:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:38:11] Production.ERROR: CronJobId end10
[2025-01-12 10:38:11] Production.INFO: ==732== Releasing lock...
[2025-01-12 10:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:38:13] Production.INFO: call_cost start
[2025-01-12 10:38:13] Production.INFO: call_cost end
[2025-01-12 10:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:38:14] Production.INFO: ==728== Releasing lock...
[2025-01-12 10:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:38:19] Production.INFO: count ==271
[2025-01-12 10:38:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:38:05 - End Time 2025-01-12 10:38:05
[2025-01-12 10:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231038', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231038', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231038', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231038', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:38:19] Production.INFO: ProcessCDR(1,14231038,1,1,2)
[2025-01-12 10:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231038', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231038', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:38:22] Production.INFO: ==736== Releasing lock...
[2025-01-12 10:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:38:23] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:39:01] Production.INFO: ==803== Lock acquired, processing the job...
[2025-01-12 15:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:39:01] Production.INFO: neon service started
[2025-01-12 15:39:01] Production.INFO: neon service started
[2025-01-12 15:39:01] Production.INFO: ==803== Releasing lock...
[2025-01-12 15:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:39:01] Production.INFO: ==806== Lock acquired, processing the job...
[2025-01-12 10:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:39:02] Production.INFO: ==806== Releasing lock...
[2025-01-12 10:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:39:02] Production.INFO: ==808== Lock acquired, processing the job...
[2025-01-12 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:39:02] Production.INFO: ==808== Releasing lock...
[2025-01-12 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:39:03] Production.INFO: ==814== Lock acquired, processing the job...
[2025-01-12 10:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:39:03] Production.INFO: ==810== Lock acquired, processing the job...
[2025-01-12 10:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:39:03] Production.INFO: ==816== Lock acquired, processing the job...
[2025-01-12 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:39:03] Production.INFO: Account Balance Start.
[2025-01-12 10:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:39:03] Production.INFO: 117
[2025-01-12 10:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:39:03] Production.INFO: ==820== Lock acquired, processing the job...
[2025-01-12 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:39:03] Production.INFO: Total Charge 0
[2025-01-12 10:39:03] Production.INFO: ==812== Lock acquired, processing the job...
[2025-01-12 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:39:03] Production.INFO: CreateAllLog End
[2025-01-12 10:39:03] Production.INFO: count ==21
[2025-01-12 10:39:03] Production.INFO: ==818== Lock acquired, processing the job...
[2025-01-12 10:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:39:03] Production.INFO: count ==21
[2025-01-12 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231041') start
[2025-01-12 10:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:39:03] Production.INFO: Account Balance End.
[2025-01-12 10:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231041') end
[2025-01-12 10:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:39:03] Production.INFO: 1
[2025-01-12 10:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:39:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:39:03] Production.INFO: ==816== Releasing lock...
[2025-01-12 10:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:39:03] Production.INFO: ==820== Releasing lock...
[2025-01-12 10:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:39:03] Production.INFO: ==812== Releasing lock...
[2025-01-12 10:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:39:03] Production.ERROR: done
[2025-01-12 10:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:39:04] Production.ERROR: done
[2025-01-12 10:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:39:05
[end_date_ymd] => 2025-01-12 10:39:05
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:39:05' and `end` < '2025-01-12 10: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-01-12 10:39:11] Production.ERROR: CronJobId end10
[2025-01-12 10:39:11] Production.INFO: ==814== Releasing lock...
[2025-01-12 10:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:39:13] Production.INFO: call_cost start
[2025-01-12 10:39:13] Production.INFO: call_cost end
[2025-01-12 10:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:39:14] Production.INFO: ==810== Releasing lock...
[2025-01-12 10:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:39:18] Production.INFO: count ==271
[2025-01-12 10:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:39:05 - End Time 2025-01-12 10:39:05
[2025-01-12 10:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231043', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231043', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231043', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231043', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:39:18] Production.INFO: ProcessCDR(1,14231043,1,1,2)
[2025-01-12 10:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231043', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231043', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:39:21] Production.INFO: ==818== Releasing lock...
[2025-01-12 10:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:39:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:40:02] Production.INFO: ==876== Lock acquired, processing the job...
[2025-01-12 15:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:40:02] Production.INFO: neon service started
[2025-01-12 15:40:02] Production.INFO: neon service started
[2025-01-12 15:40:02] Production.INFO: ==876== Releasing lock...
[2025-01-12 15:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:40:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 15:40:02] Production.INFO: ==880== Lock acquired, processing the job...
[2025-01-12 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:40:02] Production.INFO: ==880== Releasing lock...
[2025-01-12 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:40:02] Production.INFO: ==878== Lock acquired, processing the job...
[2025-01-12 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:40:02] Production.INFO: ==878== Releasing lock...
[2025-01-12 10:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:40:03] Production.INFO: ==882== Lock acquired, processing the job...
[2025-01-12 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 10:40:03] Production.INFO: ==884== Lock acquired, processing the job...
[2025-01-12 10:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 10:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 10:40:03] Production.INFO: ==882== Releasing lock...
[2025-01-12 10:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 10:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 10:40:03] Production.INFO: ==886== Lock acquired, processing the job...
[2025-01-12 10:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:40:03] Production.INFO: ==895== Lock acquired, processing the job...
[2025-01-12 10:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 10:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:40:04] Production.INFO: ==888== Lock acquired, processing the job...
[2025-01-12 10:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:40:04] Production.INFO: ==890== Lock acquired, processing the job...
[2025-01-12 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:40:04] Production.INFO: ==897== Lock acquired, processing the job...
[2025-01-12 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:40:04] Production.INFO: Account Balance Start.
[2025-01-12 10:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:40:04] Production.INFO: ==893== Lock acquired, processing the job...
[2025-01-12 10:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:40:04] Production.INFO: 117
[2025-01-12 10:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:40:04] Production.INFO: ==886== Releasing lock...
[2025-01-12 10:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:40:04] Production.ERROR: done
[2025-01-12 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 10:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231048', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 10:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:40:04] Production.INFO: count ==21
[2025-01-12 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:40:04] Production.INFO: count ==21
[2025-01-12 10:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231047') start
[2025-01-12 10:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:40:04] Production.INFO: Total Charge 0
[2025-01-12 10:40:04] Production.INFO: CreateAllLog End
[2025-01-12 10:40:04] Production.ERROR: done
[2025-01-12 10:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231047') end
[2025-01-12 10:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:40:04] Production.INFO: 1
[2025-01-12 10:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:40:04] Production.ERROR: done
[2025-01-12 10:40:04] Production.INFO: ==897== Releasing lock...
[2025-01-12 10:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:40:04] Production.INFO: Account Balance End.
[2025-01-12 10:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:40:04] Production.INFO: ==890== Releasing lock...
[2025-01-12 10:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:40:06
[end_date_ymd] => 2025-01-12 10:40:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:40:06' and `end` < '2025-01-12 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-01-12 10:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231048', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 10:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 10:40:08] Production.INFO: ProcessCDR(1,14231048,1,1,2)
[2025-01-12 10:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231048,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231048,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:40:08] Production.INFO: ==895== Releasing lock...
[2025-01-12 10:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 10:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 10:40:13] Production.ERROR: CronJobId end10
[2025-01-12 10:40:13] Production.INFO: ==888== Releasing lock...
[2025-01-12 10:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:40:14] Production.INFO: call_cost start
[2025-01-12 10:40:14] Production.INFO: call_cost end
[2025-01-12 10:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:40:15] Production.INFO: ==884== Releasing lock...
[2025-01-12 10:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:40:19] Production.INFO: count ==277
[2025-01-12 10:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:40:06 - End Time 2025-01-12 10:40:06
[2025-01-12 10:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231049', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231049', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231049', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231049', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:40:19] Production.INFO: ProcessCDR(1,14231049,1,1,2)
[2025-01-12 10:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231049,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231049,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231049', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231049', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:40:22] Production.INFO: ==893== Releasing lock...
[2025-01-12 10:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:40:22] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:41:01] Production.INFO: ==951== Lock acquired, processing the job...
[2025-01-12 15:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:41:01] Production.INFO: neon service started
[2025-01-12 15:41:01] Production.INFO: neon service started
[2025-01-12 15:41:01] Production.INFO: ==951== Releasing lock...
[2025-01-12 15:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:41:01] Production.INFO: ==953== Lock acquired, processing the job...
[2025-01-12 10:41:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:41:02] Production.INFO: ==953== Releasing lock...
[2025-01-12 10:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:41:02] Production.INFO: ==955== Lock acquired, processing the job...
[2025-01-12 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:41:02] Production.INFO: ==955== Releasing lock...
[2025-01-12 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:41:02] Production.INFO: ==957== Lock acquired, processing the job...
[2025-01-12 10:41:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:41:02] Production.INFO: ==959== Lock acquired, processing the job...
[2025-01-12 10:41:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:41:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:41:02] Production.INFO: ==963== Lock acquired, processing the job...
[2025-01-12 10:41:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:41:03] Production.INFO: ==969== Lock acquired, processing the job...
[2025-01-12 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:41:03] Production.INFO: Account Balance Start.
[2025-01-12 10:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:41:03] Production.INFO: 117
[2025-01-12 10:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:41:03] Production.INFO: ==961== Lock acquired, processing the job...
[2025-01-12 10:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:41:03] Production.INFO: count ==21
[2025-01-12 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:41:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:41:03] Production.INFO: count ==21
[2025-01-12 10:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:41:03] Production.INFO: ==966== Lock acquired, processing the job...
[2025-01-12 10:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231052') start
[2025-01-12 10:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:41:03] Production.INFO: Total Charge 0
[2025-01-12 10:41:03] Production.INFO: CreateAllLog End
[2025-01-12 10:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231052') end
[2025-01-12 10:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:41:03] Production.INFO: 1
[2025-01-12 10:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:41:03] Production.INFO: ==959== Releasing lock...
[2025-01-12 10:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:41:03] Production.INFO: ==969== Releasing lock...
[2025-01-12 10:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:41:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:41:03] Production.ERROR: done
[2025-01-12 10:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:41:03] Production.INFO: Account Balance End.
[2025-01-12 10:41:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:41:03] Production.INFO: ==963== Releasing lock...
[2025-01-12 10:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:41:03] Production.ERROR: done
[2025-01-12 10:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:41:04
[end_date_ymd] => 2025-01-12 10:41:04
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:41:04' and `end` < '2025-01-12 10: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-01-12 10:41:11] Production.ERROR: CronJobId end10
[2025-01-12 10:41:11] Production.INFO: ==961== Releasing lock...
[2025-01-12 10:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:41:13] Production.INFO: call_cost start
[2025-01-12 10:41:13] Production.INFO: call_cost end
[2025-01-12 10:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:41:14] Production.INFO: ==957== Releasing lock...
[2025-01-12 10:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:41:18] Production.INFO: count ==294
[2025-01-12 10:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:41:04 - End Time 2025-01-12 10:41:04
[2025-01-12 10:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231054', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231054', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231054', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231054', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:41:18] Production.INFO: ProcessCDR(1,14231054,1,1,2)
[2025-01-12 10:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231054,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231054,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231054', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231054', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:41:21] Production.INFO: ==966== Releasing lock...
[2025-01-12 10:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:41:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:42:01] Production.INFO: ==1026== Lock acquired, processing the job...
[2025-01-12 15:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:42:01] Production.INFO: neon service started
[2025-01-12 15:42:01] Production.INFO: neon service started
[2025-01-12 15:42:01] Production.INFO: ==1026== Releasing lock...
[2025-01-12 15:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:42:02] Production.INFO: ==1028== Lock acquired, processing the job...
[2025-01-12 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:42:02] Production.INFO: ==1030== Lock acquired, processing the job...
[2025-01-12 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:42:02] Production.INFO: ==1028== Releasing lock...
[2025-01-12 10:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:42:02] Production.INFO: ==1030== Releasing lock...
[2025-01-12 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:42:03] Production.INFO: ==1043== Lock acquired, processing the job...
[2025-01-12 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:42:03] Production.INFO: ==1041== Lock acquired, processing the job...
[2025-01-12 10:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10: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-01-12 10:42:03] Production.INFO: ==1033== Lock acquired, processing the job...
[2025-01-12 10:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:42:03] Production.INFO: count ==21
[2025-01-12 10:42:03] Production.INFO: ==1035== Lock acquired, processing the job...
[2025-01-12 10:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:42:03] Production.INFO: ==1037== Lock acquired, processing the job...
[2025-01-12 10:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10: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-01-12 10:42:03] Production.INFO: count ==21
[2025-01-12 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231055') start
[2025-01-12 10:42:03] Production.INFO: ==1039== Lock acquired, processing the job...
[2025-01-12 10:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231055') end
[2025-01-12 10:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:42:03] Production.INFO: 1
[2025-01-12 10:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:42:03] Production.INFO: Account Balance Start.
[2025-01-12 10:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:42:03] Production.INFO: 117
[2025-01-12 10:42:03] Production.ERROR: done
[2025-01-12 10:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:42:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:42:03] Production.INFO: ==1043== Releasing lock...
[2025-01-12 10:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:42:03] Production.ERROR: done
[2025-01-12 10:42:04] Production.INFO: Total Charge 0
[2025-01-12 10:42:04] Production.INFO: CreateAllLog End
[2025-01-12 10:42:04] Production.INFO: ==1035== Releasing lock...
[2025-01-12 10:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:42:04] Production.INFO: Account Balance End.
[2025-01-12 10:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:42:04] Production.INFO: ==1039== Releasing lock...
[2025-01-12 10:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:42:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:42:04
[end_date_ymd] => 2025-01-12 10:42:04
[RateCDR] => 1
)
[2025-01-12 10:42:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:42:04' and `end` < '2025-01-12 10:42:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:42:11] Production.ERROR: CronJobId end10
[2025-01-12 10:42:11] Production.INFO: ==1037== Releasing lock...
[2025-01-12 10:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:42:13] Production.INFO: call_cost start
[2025-01-12 10:42:13] Production.INFO: call_cost end
[2025-01-12 10:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:42:14] Production.INFO: ==1033== Releasing lock...
[2025-01-12 10:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:42:19] Production.INFO: count ==295
[2025-01-12 10:42:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:42:04 - End Time 2025-01-12 10:42:04
[2025-01-12 10:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231059', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231059', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231059', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231059', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:42:19] Production.INFO: ProcessCDR(1,14231059,1,1,2)
[2025-01-12 10:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:42:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231059,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:42:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:42:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231059,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231059', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:42:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231059', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:42:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:42:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:42:24] Production.INFO: ==1041== Releasing lock...
[2025-01-12 10:42:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:42:24] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:43:02] Production.INFO: ==1102== Lock acquired, processing the job...
[2025-01-12 15:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:43:02] Production.INFO: neon service started
[2025-01-12 15:43:02] Production.INFO: neon service started
[2025-01-12 15:43:02] Production.INFO: ==1102== Releasing lock...
[2025-01-12 15:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:43:02] Production.INFO: ==1104== Lock acquired, processing the job...
[2025-01-12 10:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:43:02] Production.INFO: ==1106== Lock acquired, processing the job...
[2025-01-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:43:02] Production.INFO: ==1106== Releasing lock...
[2025-01-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:43:03] Production.INFO: ==1104== Releasing lock...
[2025-01-12 10:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:43:03] Production.INFO: ==1109== Lock acquired, processing the job...
[2025-01-12 10:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:43:03] Production.INFO: ==1111== Lock acquired, processing the job...
[2025-01-12 10:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:43:04] Production.INFO: ==1117== Lock acquired, processing the job...
[2025-01-12 10:43:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:43:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:43:04] Production.INFO: ==1111== Releasing lock...
[2025-01-12 10:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:43:04] Production.INFO: ==1113== Lock acquired, processing the job...
[2025-01-12 10:43:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:43:04] Production.INFO: ==1115== Lock acquired, processing the job...
[2025-01-12 10:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:43:04] Production.INFO: ==1119== Lock acquired, processing the job...
[2025-01-12 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:43:04] Production.ERROR: done
[2025-01-12 10:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:43:04] Production.INFO: Account Balance Start.
[2025-01-12 10:43:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:43:04] Production.INFO: 117
[2025-01-12 10:43:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:43:04] Production.ERROR: done
[2025-01-12 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-01-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:43:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:43:04] Production.INFO: count ==21
[2025-01-12 10:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231063') start
[2025-01-12 10:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231063') end
[2025-01-12 10:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:43:04] Production.INFO: 1
[2025-01-12 10:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:43:04] Production.INFO: Total Charge 0
[2025-01-12 10:43:04] Production.INFO: CreateAllLog End
[2025-01-12 10:43:04] Production.INFO: ==1119== Releasing lock...
[2025-01-12 10:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:43:05] Production.INFO: Account Balance End.
[2025-01-12 10:43:05] Production.ERROR: CronJobId end 12
[2025-01-12 10:43:05] Production.INFO: ==1115== Releasing lock...
[2025-01-12 10:43:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:43:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:43:05
[end_date_ymd] => 2025-01-12 10:43:05
[RateCDR] => 1
)
[2025-01-12 10:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:43:05' and `end` < '2025-01-12 10:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:43:12] Production.ERROR: CronJobId end10
[2025-01-12 10:43:12] Production.INFO: ==1113== Releasing lock...
[2025-01-12 10:43:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:43:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:43:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:43:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:43:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:43:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:43:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:43:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:43:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:43:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:43:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:43:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:43:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:43:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:43:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:43:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:43:14] Production.INFO: call_cost start
[2025-01-12 10:43:14] Production.INFO: call_cost end
[2025-01-12 10:43:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:43:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:43:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:43:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:43:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:43:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:43:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:43:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:43:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:43:15] Production.INFO: ==1109== Releasing lock...
[2025-01-12 10:43:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:43:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:43:18] Production.INFO: count ==295
[2025-01-12 10:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:43:05 - End Time 2025-01-12 10:43:05
[2025-01-12 10:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231064', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231064', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231064', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231064', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:43:18] Production.INFO: ProcessCDR(1,14231064,1,1,2)
[2025-01-12 10:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231064,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231064,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231064', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231064', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:43:21] Production.INFO: ==1117== Releasing lock...
[2025-01-12 10:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:43:21] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:44:01] Production.INFO: ==1182== Lock acquired, processing the job...
[2025-01-12 15:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:44:01] Production.INFO: neon service started
[2025-01-12 15:44:01] Production.INFO: neon service started
[2025-01-12 15:44:01] Production.INFO: ==1182== Releasing lock...
[2025-01-12 15:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:44:02] Production.INFO: ==1184== Lock acquired, processing the job...
[2025-01-12 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:44:02] Production.INFO: ==1184== Releasing lock...
[2025-01-12 10:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:44:02] Production.INFO: ==1186== Lock acquired, processing the job...
[2025-01-12 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:44:02] Production.INFO: ==1186== Releasing lock...
[2025-01-12 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:44:03] Production.INFO: ==1189== Lock acquired, processing the job...
[2025-01-12 10:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:44:03] Production.INFO: ==1191== Lock acquired, processing the job...
[2025-01-12 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:44:03] Production.INFO: ==1193== Lock acquired, processing the job...
[2025-01-12 10:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:44:03] Production.INFO: ==1195== Lock acquired, processing the job...
[2025-01-12 10:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:44:03] Production.INFO: ==1197== Lock acquired, processing the job...
[2025-01-12 10:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:44:03] Production.INFO: ==1199== Lock acquired, processing the job...
[2025-01-12 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:44:03] Production.INFO: Account Balance Start.
[2025-01-12 10:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:44:03] Production.INFO: 117
[2025-01-12 10:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:44:03] Production.INFO: count ==21
[2025-01-12 10:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:44:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:44:03] Production.INFO: count ==21
[2025-01-12 10:44:03] Production.INFO: ==1191== Releasing lock...
[2025-01-12 10:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231068') start
[2025-01-12 10:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231068') end
[2025-01-12 10:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:44:03] Production.INFO: 1
[2025-01-12 10:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:44:03] Production.INFO: Total Charge 0
[2025-01-12 10:44:03] Production.INFO: CreateAllLog End
[2025-01-12 10:44:03] Production.INFO: ==1199== Releasing lock...
[2025-01-12 10:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:44:03] Production.ERROR: done
[2025-01-12 10:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:44:04] Production.ERROR: done
[2025-01-12 10:44:04] Production.INFO: Account Balance End.
[2025-01-12 10:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:44:04] Production.INFO: ==1195== Releasing lock...
[2025-01-12 10:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:44:04
[end_date_ymd] => 2025-01-12 10:44:04
[RateCDR] => 1
)
[2025-01-12 10:44:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:44:04' and `end` < '2025-01-12 10: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-01-12 10:44:11] Production.ERROR: CronJobId end10
[2025-01-12 10:44:11] Production.INFO: ==1193== Releasing lock...
[2025-01-12 10:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:44:13] Production.INFO: call_cost start
[2025-01-12 10:44:13] Production.INFO: call_cost end
[2025-01-12 10:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:44:14] Production.INFO: ==1189== Releasing lock...
[2025-01-12 10:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:44:20] Production.INFO: count ==294
[2025-01-12 10:44:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:44:04 - End Time 2025-01-12 10:44:04
[2025-01-12 10:44:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231069', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231069', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231069', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:44:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231069', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:44:20] Production.INFO: ProcessCDR(1,14231069,1,1,2)
[2025-01-12 10:44:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231069,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231069,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231069', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231069', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:44:23] Production.INFO: ==1197== Releasing lock...
[2025-01-12 10:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:44:23] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:45:02] Production.INFO: ==1268== Lock acquired, processing the job...
[2025-01-12 15:45:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:45:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:45:02] Production.INFO: neon service started
[2025-01-12 15:45:02] Production.INFO: neon service started
[2025-01-12 15:45:02] Production.INFO: ==1268== Releasing lock...
[2025-01-12 15:45:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:45:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:45:02] Production.INFO: ==1272== Lock acquired, processing the job...
[2025-01-12 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:45:02] Production.INFO: ==1272== Releasing lock...
[2025-01-12 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:45:02] Production.INFO: ==1270== Lock acquired, processing the job...
[2025-01-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:45:02] Production.INFO: ==1270== Releasing lock...
[2025-01-12 10:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:45:03] Production.INFO: ==1279== Lock acquired, processing the job...
[2025-01-12 10:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:45:03] Production.INFO: ==1275== Lock acquired, processing the job...
[2025-01-12 10:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:45:03] Production.INFO: ==1283== Lock acquired, processing the job...
[2025-01-12 10:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:45:03] Production.INFO: ==1277== Lock acquired, processing the job...
[2025-01-12 10:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:45:04] Production.INFO: ==1281== Lock acquired, processing the job...
[2025-01-12 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:45:04] Production.INFO: ==1285== Lock acquired, processing the job...
[2025-01-12 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:45:04] Production.INFO: Account Balance Start.
[2025-01-12 10:45:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:45:04] Production.INFO: 117
[2025-01-12 10:45:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:45:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:45:04] Production.INFO: count ==21
[2025-01-12 10:45:04] Production.INFO: ==1277== Releasing lock...
[2025-01-12 10:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231073') start
[2025-01-12 10:45:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:45:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:45:04] Production.ERROR: done
[2025-01-12 10:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231073') end
[2025-01-12 10:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:45:04] Production.INFO: 1
[2025-01-12 10:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:45:04] Production.INFO: ==1285== Releasing lock...
[2025-01-12 10:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:45:04] Production.ERROR: done
[2025-01-12 10:45:04] Production.INFO: Total Charge 0
[2025-01-12 10:45:04] Production.INFO: CreateAllLog End
[2025-01-12 10:45:04] Production.INFO: Account Balance End.
[2025-01-12 10:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:45:04] Production.INFO: ==1281== Releasing lock...
[2025-01-12 10:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:45:05
[end_date_ymd] => 2025-01-12 10:45:05
[RateCDR] => 1
)
[2025-01-12 10:45:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:45:05' and `end` < '2025-01-12 10:45:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:45:11] Production.ERROR: CronJobId end10
[2025-01-12 10:45:11] Production.INFO: ==1279== Releasing lock...
[2025-01-12 10:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:45:13] Production.INFO: call_cost start
[2025-01-12 10:45:13] Production.INFO: call_cost end
[2025-01-12 10:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:45:14] Production.INFO: ==1275== Releasing lock...
[2025-01-12 10:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:45:19] Production.INFO: count ==302
[2025-01-12 10:45:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:45:05 - End Time 2025-01-12 10:45:05
[2025-01-12 10:45:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231074', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231074', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231074', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:45:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231074', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:45:20] Production.INFO: ProcessCDR(1,14231074,1,1,2)
[2025-01-12 10:45:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:45:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:45:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231074', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:45:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231074', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:45:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:45:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:45:23] Production.INFO: ==1283== Releasing lock...
[2025-01-12 10:45:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:45:23] Production.INFO: 30.5 MB #Memory Used#
[2025-01-12 15:46:01] Production.INFO: ==1343== Lock acquired, processing the job...
[2025-01-12 15:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:46:01] Production.INFO: neon service started
[2025-01-12 15:46:01] Production.INFO: neon service started
[2025-01-12 15:46:01] Production.INFO: ==1343== Releasing lock...
[2025-01-12 15:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:46:01] Production.INFO: ==1345== Lock acquired, processing the job...
[2025-01-12 10:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:46:02] Production.INFO: ==1347== Lock acquired, processing the job...
[2025-01-12 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:46:02] Production.INFO: ==1347== Releasing lock...
[2025-01-12 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:46:02] Production.INFO: ==1345== Releasing lock...
[2025-01-12 10:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:46:03] Production.INFO: ==1349== Lock acquired, processing the job...
[2025-01-12 10:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:46:03] Production.INFO: ==1357== Lock acquired, processing the job...
[2025-01-12 10:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:46:03] Production.INFO: ==1360== Lock acquired, processing the job...
[2025-01-12 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:46:03] Production.INFO: ==1351== Lock acquired, processing the job...
[2025-01-12 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:46:03] Production.INFO: ==1353== Lock acquired, processing the job...
[2025-01-12 10:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:46:03] Production.INFO: ==1355== Lock acquired, processing the job...
[2025-01-12 10:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:46:03] Production.INFO: count ==21
[2025-01-12 10:46:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:46:03] Production.INFO: count ==21
[2025-01-12 10:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231077') start
[2025-01-12 10:46:03] Production.ERROR: done
[2025-01-12 10:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:46:03] Production.INFO: Account Balance Start.
[2025-01-12 10:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:46:03] Production.INFO: 117
[2025-01-12 10:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231077') end
[2025-01-12 10:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:46:03] Production.INFO: 1
[2025-01-12 10:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:46:03] Production.INFO: ==1360== Releasing lock...
[2025-01-12 10:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:46:03] Production.INFO: ==1351== Releasing lock...
[2025-01-12 10:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:46:03] Production.ERROR: done
[2025-01-12 10:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:46:04] Production.INFO: Total Charge 0
[2025-01-12 10:46:04] Production.INFO: CreateAllLog End
[2025-01-12 10:46:04] Production.INFO: Account Balance End.
[2025-01-12 10:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:46:04] Production.INFO: ==1355== Releasing lock...
[2025-01-12 10:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:46:04
[end_date_ymd] => 2025-01-12 10:46:04
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:46:04' and `end` < '2025-01-12 10: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-01-12 10:46:11] Production.ERROR: CronJobId end10
[2025-01-12 10:46:11] Production.INFO: ==1353== Releasing lock...
[2025-01-12 10:46:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:46:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:46:13] Production.INFO: call_cost start
[2025-01-12 10:46:13] Production.INFO: call_cost end
[2025-01-12 10:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:46:14] Production.INFO: ==1349== Releasing lock...
[2025-01-12 10:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:46:19] Production.INFO: count ==317
[2025-01-12 10:46:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:46:04 - End Time 2025-01-12 10:46:04
[2025-01-12 10:46:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231079', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231079', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231079', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:46:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231079', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:46:19] Production.INFO: ProcessCDR(1,14231079,1,1,2)
[2025-01-12 10:46:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231079', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231079', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:46:22] Production.INFO: ==1357== Releasing lock...
[2025-01-12 10:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:46:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 15:47:01] Production.INFO: ==1421== Lock acquired, processing the job...
[2025-01-12 15:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:47:01] Production.INFO: neon service started
[2025-01-12 15:47:02] Production.INFO: neon service started
[2025-01-12 15:47:02] Production.INFO: ==1421== Releasing lock...
[2025-01-12 15:47:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:47:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:47:02] Production.INFO: ==1423== Lock acquired, processing the job...
[2025-01-12 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:47:02] Production.INFO: ==1423== Releasing lock...
[2025-01-12 10:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:47:02] Production.INFO: ==1425== Lock acquired, processing the job...
[2025-01-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:47:02] Production.INFO: ==1425== Releasing lock...
[2025-01-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:47:03] Production.INFO: ==1428== Lock acquired, processing the job...
[2025-01-12 10:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:47:03] Production.INFO: ==1430== Lock acquired, processing the job...
[2025-01-12 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:47:03] Production.INFO: ==1434== Lock acquired, processing the job...
[2025-01-12 10:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:47:03] Production.INFO: Account Balance Start.
[2025-01-12 10:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:47:03] Production.INFO: 117
[2025-01-12 10:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:47:03] Production.INFO: ==1432== Lock acquired, processing the job...
[2025-01-12 10:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:47:03] Production.INFO: ==1436== Lock acquired, processing the job...
[2025-01-12 10:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:47:03] Production.INFO: Total Charge 0
[2025-01-12 10:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:47:03] Production.INFO: CreateAllLog End
[2025-01-12 10:47:03] Production.INFO: ==1438== Lock acquired, processing the job...
[2025-01-12 10:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:47:03] Production.INFO: ==1430== Releasing lock...
[2025-01-12 10:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:47:03] Production.INFO: Account Balance End.
[2025-01-12 10: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-01-12 10:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:47:04] Production.INFO: ==1434== Releasing lock...
[2025-01-12 10:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:47:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:47:04] Production.INFO: count ==21
[2025-01-12 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231083') start
[2025-01-12 10:47:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231083') end
[2025-01-12 10:47:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:47:04] Production.INFO: 1
[2025-01-12 10:47:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:47:04] Production.INFO: ==1438== Releasing lock...
[2025-01-12 10:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:47:04] Production.ERROR: done
[2025-01-12 10:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:47:04] Production.ERROR: done
[2025-01-12 10:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:47:05
[end_date_ymd] => 2025-01-12 10:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:47:05' and `end` < '2025-01-12 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-01-12 10:47:12] Production.ERROR: CronJobId end10
[2025-01-12 10:47:12] Production.INFO: ==1432== Releasing lock...
[2025-01-12 10:47:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:47:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:47:14] Production.INFO: call_cost start
[2025-01-12 10:47:14] Production.INFO: call_cost end
[2025-01-12 10:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:47:14] Production.INFO: ==1428== Releasing lock...
[2025-01-12 10:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:47:19] Production.INFO: count ==318
[2025-01-12 10:47:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:47:05 - End Time 2025-01-12 10:47:05
[2025-01-12 10:47:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231084', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231084', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231084', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:47:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231084', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:47:20] Production.INFO: ProcessCDR(1,14231084,1,1,2)
[2025-01-12 10:47:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:47:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:47:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:47:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231084', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:47:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231084', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:47:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:47:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:47:24] Production.INFO: ==1436== Releasing lock...
[2025-01-12 10:47:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:47:24] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 15:48:01] Production.INFO: ==1491== Lock acquired, processing the job...
[2025-01-12 15:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:48:01] Production.INFO: neon service started
[2025-01-12 15:48:01] Production.INFO: neon service started
[2025-01-12 15:48:01] Production.INFO: ==1491== Releasing lock...
[2025-01-12 15:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:48:02] Production.INFO: ==1493== Lock acquired, processing the job...
[2025-01-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:48:02] Production.INFO: ==1495== Lock acquired, processing the job...
[2025-01-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:48:02] Production.INFO: ==1495== Releasing lock...
[2025-01-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:48:02] Production.INFO: ==1493== Releasing lock...
[2025-01-12 10:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:48:03] Production.INFO: ==1505== Lock acquired, processing the job...
[2025-01-12 10:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:48:03] Production.INFO: ==1539== Lock acquired, processing the job...
[2025-01-12 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:48:03] Production.INFO: ==1498== Lock acquired, processing the job...
[2025-01-12 10:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:48:03] Production.INFO: count ==21
[2025-01-12 10:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:48:03] Production.INFO: count ==21
[2025-01-12 10:48:03] Production.INFO: ==1500== Lock acquired, processing the job...
[2025-01-12 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231085') start
[2025-01-12 10:48:03] Production.INFO: ==1535== Lock acquired, processing the job...
[2025-01-12 10:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:48:03] Production.INFO: ==1537== Lock acquired, processing the job...
[2025-01-12 10:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231085') end
[2025-01-12 10:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:48:03] Production.INFO: 1
[2025-01-12 10:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:48:03] Production.INFO: ==1539== Releasing lock...
[2025-01-12 10:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:48:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:48:03] Production.INFO: Account Balance Start.
[2025-01-12 10:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:48:03] Production.INFO: 117
[2025-01-12 10:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:48:03] Production.INFO: ==1500== Releasing lock...
[2025-01-12 10:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:48:04] Production.ERROR: done
[2025-01-12 10:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:48:04] Production.INFO: Total Charge 0
[2025-01-12 10:48:04] Production.INFO: CreateAllLog End
[2025-01-12 10:48:04] Production.ERROR: done
[2025-01-12 10:48:04] Production.INFO: Account Balance End.
[2025-01-12 10:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:48:04] Production.INFO: ==1535== Releasing lock...
[2025-01-12 10:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:48:05
[end_date_ymd] => 2025-01-12 10:48:05
[RateCDR] => 1
)
[2025-01-12 10:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:48:05' and `end` < '2025-01-12 10:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:48:11] Production.ERROR: CronJobId end10
[2025-01-12 10:48:11] Production.INFO: ==1505== Releasing lock...
[2025-01-12 10:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:48:13] Production.INFO: call_cost start
[2025-01-12 10:48:13] Production.INFO: call_cost end
[2025-01-12 10:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:48:14] Production.INFO: ==1498== Releasing lock...
[2025-01-12 10:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:48:21] Production.INFO: count ==321
[2025-01-12 10:48:21] Production.ERROR: pbx CDR StartTime 2025-01-12 07:48:05 - End Time 2025-01-12 10:48:05
[2025-01-12 10:48:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231089', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231089', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231089', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:48:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231089', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:48:21] Production.INFO: ProcessCDR(1,14231089,1,1,2)
[2025-01-12 10:48:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:48:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231089', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:48:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231089', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:48:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:48:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:48:25] Production.INFO: ==1537== Releasing lock...
[2025-01-12 10:48:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:48:25] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:49:01] Production.INFO: ==1598== Lock acquired, processing the job...
[2025-01-12 15:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:49:01] Production.INFO: neon service started
[2025-01-12 15:49:01] Production.INFO: neon service started
[2025-01-12 15:49:01] Production.INFO: ==1598== Releasing lock...
[2025-01-12 15:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:49:02] Production.INFO: ==1600== Lock acquired, processing the job...
[2025-01-12 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:49:02] Production.INFO: ==1602== Lock acquired, processing the job...
[2025-01-12 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:49:02] Production.INFO: ==1602== Releasing lock...
[2025-01-12 15:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:49:02] Production.INFO: ==1600== Releasing lock...
[2025-01-12 10:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:49:03] Production.INFO: ==1605== Lock acquired, processing the job...
[2025-01-12 10:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:49:03] Production.INFO: ==1607== Lock acquired, processing the job...
[2025-01-12 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:49:03] Production.INFO: ==1613== Lock acquired, processing the job...
[2025-01-12 10:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:49:03] Production.INFO: ==1607== Releasing lock...
[2025-01-12 10:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:49:03] Production.INFO: ==1609== Lock acquired, processing the job...
[2025-01-12 10:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:49:04] Production.ERROR: done
[2025-01-12 10:49:04] Production.INFO: ==1611== Lock acquired, processing the job...
[2025-01-12 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:49:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:49:04] Production.INFO: ==1615== Lock acquired, processing the job...
[2025-01-12 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:49:04] Production.INFO: Account Balance Start.
[2025-01-12 10:49:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:49:04] Production.INFO: 117
[2025-01-12 10:49:04] Production.ERROR: done
[2025-01-12 10:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:49:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:49:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:49:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:49:04] Production.INFO: count ==21
[2025-01-12 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231094') start
[2025-01-12 10:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231094') end
[2025-01-12 10:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:49:04] Production.INFO: 1
[2025-01-12 10:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:49:04] Production.INFO: Total Charge 0
[2025-01-12 10:49:04] Production.INFO: ==1615== Releasing lock...
[2025-01-12 10:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:49:04] Production.INFO: CreateAllLog End
[2025-01-12 10:49:04] Production.INFO: Account Balance End.
[2025-01-12 10:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:49:04] Production.INFO: ==1611== Releasing lock...
[2025-01-12 10:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:49:05
[end_date_ymd] => 2025-01-12 10:49:05
[RateCDR] => 1
)
[2025-01-12 10:49:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:49:05' and `end` < '2025-01-12 10:49:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:49:11] Production.ERROR: CronJobId end10
[2025-01-12 10:49:11] Production.INFO: ==1609== Releasing lock...
[2025-01-12 10:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:49:12] Production.INFO: call_cost start
[2025-01-12 10:49:12] Production.INFO: call_cost end
[2025-01-12 10:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:49:13] Production.INFO: ==1605== Releasing lock...
[2025-01-12 10:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:49:20] Production.INFO: count ==321
[2025-01-12 10:49:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:49:05 - End Time 2025-01-12 10:49:05
[2025-01-12 10:49:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231093', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231093', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231093', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:49:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231093', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:49:20] Production.INFO: ProcessCDR(1,14231093,1,1,2)
[2025-01-12 10:49:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231093,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231093,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231093', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231093', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:49:24] Production.INFO: ==1613== Releasing lock...
[2025-01-12 10:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:49:24] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:50:02] Production.INFO: ==1670== Lock acquired, processing the job...
[2025-01-12 15:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:50:02] Production.INFO: neon service started
[2025-01-12 15:50:02] Production.INFO: neon service started
[2025-01-12 15:50:02] Production.INFO: ==1670== Releasing lock...
[2025-01-12 15:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:50:02] Production.INFO: ==1672== Lock acquired, processing the job...
[2025-01-12 10:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:50:02] Production.INFO: ==1674== Lock acquired, processing the job...
[2025-01-12 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:50:03] Production.INFO: ==1674== Releasing lock...
[2025-01-12 15:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:50:03] Production.INFO: ==1672== Releasing lock...
[2025-01-12 10:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:50:04] Production.INFO: ==1677== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 10:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 10:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 10:50:04] Production.INFO: ==1677== Releasing lock...
[2025-01-12 10:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 10:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 10:50:04] Production.INFO: ==1683== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:50:04] Production.INFO: ==1681== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:50:04] Production.INFO: ==1679== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:50:04] Production.INFO: ==1691== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:50:04] Production.INFO: ==1685== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 10:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:50:04] Production.INFO: ==1681== Releasing lock...
[2025-01-12 10:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:50:04] Production.INFO: ==1689== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 10:50:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:50:04] Production.INFO: count ==21
[2025-01-12 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231096') start
[2025-01-12 10:50:04] Production.INFO: ==1687== Lock acquired, processing the job...
[2025-01-12 10:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231096') end
[2025-01-12 10:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:50:04] Production.INFO: 1
[2025-01-12 10:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:50:04] Production.INFO: Account Balance Start.
[2025-01-12 10:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:50:04] Production.INFO: 117
[2025-01-12 10:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:50:04] Production.INFO: ==1691== Releasing lock...
[2025-01-12 10:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:50:04] Production.ERROR: done
[2025-01-12 10:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 10:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231099', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 10:50:05] Production.INFO: Date 2025-01-11
[2025-01-12 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 10:50:05] Production.INFO: Date 2025-01-12
[2025-01-12 10:50:05] Production.INFO: Reseller ==> 0
[2025-01-12 10:50:05] Production.INFO: Total Charge 0
[2025-01-12 10:50:05] Production.INFO: CreateAllLog End
[2025-01-12 10:50:05] Production.ERROR: done
[2025-01-12 10:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:50:05] Production.INFO: Account Balance End.
[2025-01-12 10:50:05] Production.ERROR: done
[2025-01-12 10:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 10:50:05] Production.INFO: ==1685== Releasing lock...
[2025-01-12 10:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:50:06
[end_date_ymd] => 2025-01-12 10:50:06
[RateCDR] => 1
)
[2025-01-12 10:50:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:50:06' and `end` < '2025-01-12 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-01-12 10:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231099', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 10:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 10:50:08] Production.INFO: ProcessCDR(1,14231099,1,1,2)
[2025-01-12 10:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231099,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231099,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:50:09] Production.INFO: ==1689== Releasing lock...
[2025-01-12 10:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 10:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 10:50:12] Production.ERROR: CronJobId end10
[2025-01-12 10:50:12] Production.INFO: ==1683== Releasing lock...
[2025-01-12 10:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:50:15] Production.INFO: call_cost start
[2025-01-12 10:50:15] Production.INFO: call_cost end
[2025-01-12 10:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:50:16] Production.INFO: ==1679== Releasing lock...
[2025-01-12 10:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:50:19] Production.INFO: count ==327
[2025-01-12 10:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:50:06 - End Time 2025-01-12 10:50:06
[2025-01-12 10:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231100', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231100', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231100', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231100', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:50:19] Production.INFO: ProcessCDR(1,14231100,1,1,2)
[2025-01-12 10:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231100,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231100,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231100', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231100', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:50:22] Production.INFO: ==1687== Releasing lock...
[2025-01-12 10:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:50:22] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:51:01] Production.INFO: ==1746== Lock acquired, processing the job...
[2025-01-12 15:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:51:01] Production.INFO: neon service started
[2025-01-12 15:51:01] Production.INFO: neon service started
[2025-01-12 15:51:01] Production.INFO: ==1746== Releasing lock...
[2025-01-12 15:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:51:02] Production.INFO: ==1748== Lock acquired, processing the job...
[2025-01-12 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:51:02] Production.INFO: ==1748== Releasing lock...
[2025-01-12 10:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:51:02] Production.INFO: ==1750== Lock acquired, processing the job...
[2025-01-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:51:02] Production.INFO: ==1750== Releasing lock...
[2025-01-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:51:03] Production.INFO: ==1755== Lock acquired, processing the job...
[2025-01-12 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:51:03] Production.INFO: ==1753== Lock acquired, processing the job...
[2025-01-12 10:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:51:03] Production.INFO: ==1763== Lock acquired, processing the job...
[2025-01-12 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:51:03] Production.INFO: ==1757== Lock acquired, processing the job...
[2025-01-12 10:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10: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-01-12 10:51:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:51:03] Production.INFO: count ==21
[2025-01-12 10:51:03] Production.INFO: ==1759== Lock acquired, processing the job...
[2025-01-12 10:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:51:03] Production.INFO: ==1761== Lock acquired, processing the job...
[2025-01-12 10:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231103') start
[2025-01-12 10:51:03] Production.INFO: ==1755== Releasing lock...
[2025-01-12 10:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231103') end
[2025-01-12 10:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:51:03] Production.INFO: 1
[2025-01-12 10:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:51:03] Production.INFO: Account Balance Start.
[2025-01-12 10:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:51:03] Production.INFO: 117
[2025-01-12 10:51:03] Production.INFO: ==1763== Releasing lock...
[2025-01-12 10:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:51:04] Production.ERROR: done
[2025-01-12 10:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:51:04] Production.INFO: Total Charge 0
[2025-01-12 10:51:04] Production.ERROR: done
[2025-01-12 10:51:04] Production.INFO: CreateAllLog End
[2025-01-12 10:51:04] Production.INFO: Account Balance End.
[2025-01-12 10:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:51:04] Production.INFO: ==1759== Releasing lock...
[2025-01-12 10:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:51:05
[end_date_ymd] => 2025-01-12 10:51:05
[RateCDR] => 1
)
[2025-01-12 10:51:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:51:05' and `end` < '2025-01-12 10:51:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:51:11] Production.ERROR: CronJobId end10
[2025-01-12 10:51:11] Production.INFO: ==1757== Releasing lock...
[2025-01-12 10:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:51:14] Production.INFO: call_cost start
[2025-01-12 10:51:14] Production.INFO: call_cost end
[2025-01-12 10:51:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:51:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:51:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:51:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:51:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:51:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:51:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:51:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:51:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:51:15] Production.INFO: ==1753== Releasing lock...
[2025-01-12 10:51:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:51:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:51:18] Production.INFO: count ==342
[2025-01-12 10:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:51:05 - End Time 2025-01-12 10:51:05
[2025-01-12 10:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231105', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231105', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231105', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231105', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:51:18] Production.INFO: ProcessCDR(1,14231105,1,1,2)
[2025-01-12 10:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231105,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231105,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231105', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231105', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:51:22] Production.INFO: ==1761== Releasing lock...
[2025-01-12 10:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:51:22] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:52:02] Production.INFO: ==1822== Lock acquired, processing the job...
[2025-01-12 15:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:52:02] Production.INFO: neon service started
[2025-01-12 15:52:02] Production.INFO: neon service started
[2025-01-12 15:52:02] Production.INFO: ==1822== Releasing lock...
[2025-01-12 15:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:52:02] Production.INFO: ==1827== Lock acquired, processing the job...
[2025-01-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:52:02] Production.INFO: ==1827== Releasing lock...
[2025-01-12 10:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:52:02] Production.INFO: ==1829== Lock acquired, processing the job...
[2025-01-12 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:52:02] Production.INFO: ==1829== Releasing lock...
[2025-01-12 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:52:03] Production.INFO: ==1836== Lock acquired, processing the job...
[2025-01-12 10:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:52:03] Production.INFO: ==1840== Lock acquired, processing the job...
[2025-01-12 10:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:52:03] Production.INFO: ==1832== Lock acquired, processing the job...
[2025-01-12 10:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:52:03] Production.INFO: ==1834== Lock acquired, processing the job...
[2025-01-12 10:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:52:03] Production.INFO: ==1838== Lock acquired, processing the job...
[2025-01-12 10:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:52:03] Production.INFO: ==1843== Lock acquired, processing the job...
[2025-01-12 10:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:52:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:52:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:52:04] Production.INFO: count ==21
[2025-01-12 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231108') start
[2025-01-12 10:52:04] Production.INFO: Account Balance Start.
[2025-01-12 10:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:52:04] Production.INFO: 117
[2025-01-12 10:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:52:04] Production.ERROR: done
[2025-01-12 10:52:04] Production.INFO: ==1834== Releasing lock...
[2025-01-12 10:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231108') end
[2025-01-12 10:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:52:04] Production.INFO: 1
[2025-01-12 10:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:52:04] Production.INFO: ==1843== Releasing lock...
[2025-01-12 10:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:52:04] Production.ERROR: done
[2025-01-12 10:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:52:04] Production.INFO: Total Charge 0
[2025-01-12 10:52:04] Production.INFO: CreateAllLog End
[2025-01-12 10:52:04] Production.INFO: Account Balance End.
[2025-01-12 10:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:52:04] Production.INFO: ==1838== Releasing lock...
[2025-01-12 10:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:52:05
[end_date_ymd] => 2025-01-12 10:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:52:05' and `end` < '2025-01-12 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-01-12 10:52:12] Production.ERROR: CronJobId end10
[2025-01-12 10:52:12] Production.INFO: ==1836== Releasing lock...
[2025-01-12 10:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:52:14] Production.INFO: call_cost start
[2025-01-12 10:52:14] Production.INFO: call_cost end
[2025-01-12 10:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:52:14] Production.INFO: ==1832== Releasing lock...
[2025-01-12 10:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:52:18] Production.INFO: count ==342
[2025-01-12 10:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:52:05 - End Time 2025-01-12 10:52:05
[2025-01-12 10:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231110', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231110', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231110', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231110', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:52:18] Production.INFO: ProcessCDR(1,14231110,1,1,2)
[2025-01-12 10:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231110,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:52:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231110,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231110', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:52:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231110', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:52:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:52:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:52:21] Production.INFO: ==1840== Releasing lock...
[2025-01-12 10:52:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:52:21] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:53:01] Production.INFO: ==1937== Lock acquired, processing the job...
[2025-01-12 15:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:53:01] Production.INFO: neon service started
[2025-01-12 15:53:01] Production.INFO: neon service started
[2025-01-12 15:53:01] Production.INFO: ==1937== Releasing lock...
[2025-01-12 15:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:53:01] Production.INFO: ==1939== Lock acquired, processing the job...
[2025-01-12 10:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:53:02] Production.INFO: ==1939== Releasing lock...
[2025-01-12 10:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:53:02] Production.INFO: ==1941== Lock acquired, processing the job...
[2025-01-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:53:02] Production.INFO: ==1941== Releasing lock...
[2025-01-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:53:02] Production.INFO: ==1944== Lock acquired, processing the job...
[2025-01-12 10:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:53:03] Production.INFO: ==1948== Lock acquired, processing the job...
[2025-01-12 10:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:53:03] Production.INFO: ==1950== Lock acquired, processing the job...
[2025-01-12 10:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:53:03] Production.INFO: Account Balance Start.
[2025-01-12 10:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:53:03] Production.INFO: 117
[2025-01-12 10:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:53:03] Production.INFO: ==1946== Lock acquired, processing the job...
[2025-01-12 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:53:03] Production.INFO: ==1952== Lock acquired, processing the job...
[2025-01-12 10:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:53:03] Production.INFO: ==1954== Lock acquired, processing the job...
[2025-01-12 10:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:53:03] Production.INFO: Total Charge 0
[2025-01-12 10:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:53:03] Production.INFO: CreateAllLog End
[2025-01-12 10:53:03] Production.INFO: ==1946== Releasing lock...
[2025-01-12 10:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:53:03] Production.INFO: count ==21
[2025-01-12 10:53:03] Production.ERROR: done
[2025-01-12 10:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:53:03] Production.INFO: count ==21
[2025-01-12 10:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231114') start
[2025-01-12 10:53:04] Production.ERROR: done
[2025-01-12 10:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231114') end
[2025-01-12 10:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:53:04] Production.INFO: 1
[2025-01-12 10:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:53:04] Production.INFO: Account Balance End.
[2025-01-12 10:53:04] Production.INFO: ==1954== Releasing lock...
[2025-01-12 10:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:53:04] Production.INFO: ==1950== Releasing lock...
[2025-01-12 10:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:53:04
[end_date_ymd] => 2025-01-12 10:53:04
[RateCDR] => 1
)
[2025-01-12 10:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:53:04' and `end` < '2025-01-12 10:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:53:10] Production.ERROR: CronJobId end10
[2025-01-12 10:53:10] Production.INFO: ==1948== Releasing lock...
[2025-01-12 10:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:53:13] Production.INFO: call_cost start
[2025-01-12 10:53:13] Production.INFO: call_cost end
[2025-01-12 10:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:53:14] Production.INFO: ==1944== Releasing lock...
[2025-01-12 10:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:53:20] Production.INFO: count ==344
[2025-01-12 10:53:20] Production.ERROR: pbx CDR StartTime 2025-01-12 07:53:04 - End Time 2025-01-12 10:53:04
[2025-01-12 10:53:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231115', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231115', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231115', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:53:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231115', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:53:20] Production.INFO: ProcessCDR(1,14231115,1,1,2)
[2025-01-12 10:53:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231115,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231115,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231115', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231115', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:53:24] Production.INFO: ==1952== Releasing lock...
[2025-01-12 10:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:53:24] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:54:02] Production.INFO: ==2009== Lock acquired, processing the job...
[2025-01-12 15:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:54:02] Production.INFO: neon service started
[2025-01-12 15:54:02] Production.INFO: neon service started
[2025-01-12 15:54:02] Production.INFO: ==2009== Releasing lock...
[2025-01-12 15:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:54:02] Production.INFO: ==2011== Lock acquired, processing the job...
[2025-01-12 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:54:02] Production.INFO: ==2011== Releasing lock...
[2025-01-12 10:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:54:02] Production.INFO: ==2013== Lock acquired, processing the job...
[2025-01-12 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:54:02] Production.INFO: ==2013== Releasing lock...
[2025-01-12 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:54:03] Production.INFO: ==2026== Lock acquired, processing the job...
[2025-01-12 10:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:54:03] Production.INFO: ==2018== Lock acquired, processing the job...
[2025-01-12 10:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:54:03] Production.INFO: ==2016== Lock acquired, processing the job...
[2025-01-12 10:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 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-01-12 10:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:54:03] Production.INFO: count ==21
[2025-01-12 10:54:03] Production.INFO: ==2020== Lock acquired, processing the job...
[2025-01-12 10:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10: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-01-12 10:54:03] Production.INFO: ==2022== Lock acquired, processing the job...
[2025-01-12 10:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:54:03] Production.INFO: count ==21
[2025-01-12 10:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231116') start
[2025-01-12 10:54:03] Production.INFO: ==2024== Lock acquired, processing the job...
[2025-01-12 10:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:54:03] Production.INFO: Account Balance Start.
[2025-01-12 10:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:54:03] Production.INFO: 117
[2025-01-12 10:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231116') end
[2025-01-12 10:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:54:04] Production.INFO: 1
[2025-01-12 10:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:54:04] Production.INFO: ==2018== Releasing lock...
[2025-01-12 10:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:54:04] Production.INFO: ==2026== Releasing lock...
[2025-01-12 10:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:54:04] Production.ERROR: done
[2025-01-12 10:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:54:04] Production.INFO: Total Charge 0
[2025-01-12 10:54:04] Production.INFO: CreateAllLog End
[2025-01-12 10:54:04] Production.ERROR: done
[2025-01-12 10:54:04] Production.INFO: Account Balance End.
[2025-01-12 10:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:54:04] Production.INFO: ==2022== Releasing lock...
[2025-01-12 10:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:54:05
[end_date_ymd] => 2025-01-12 10:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:54:05' and `end` < '2025-01-12 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-01-12 10:54:11] Production.ERROR: CronJobId end10
[2025-01-12 10:54:11] Production.INFO: ==2020== Releasing lock...
[2025-01-12 10:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:54:13] Production.INFO: call_cost start
[2025-01-12 10:54:13] Production.INFO: call_cost end
[2025-01-12 10:54:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:54:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:54:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:54:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:54:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:54:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:54:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:54:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:54:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:54:14] Production.INFO: ==2016== Releasing lock...
[2025-01-12 10:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:54:19] Production.INFO: count ==344
[2025-01-12 10:54:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:54:05 - End Time 2025-01-12 10:54:05
[2025-01-12 10:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231120', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231120', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231120', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231120', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:54:19] Production.INFO: ProcessCDR(1,14231120,1,1,2)
[2025-01-12 10:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:54:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:54:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:54:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231120', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:54:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231120', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:54:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:54:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:54:22] Production.INFO: ==2024== Releasing lock...
[2025-01-12 10:54:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:54:22] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:55:01] Production.INFO: ==2084== Lock acquired, processing the job...
[2025-01-12 15:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:55:01] Production.INFO: neon service started
[2025-01-12 15:55:01] Production.INFO: neon service started
[2025-01-12 15:55:01] Production.INFO: ==2084== Releasing lock...
[2025-01-12 15:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:55:02] Production.INFO: ==2086== Lock acquired, processing the job...
[2025-01-12 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:55:02] Production.INFO: ==2088== Lock acquired, processing the job...
[2025-01-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 10:55:02] Production.INFO: ==2086== Releasing lock...
[2025-01-12 10:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:55:02] Production.INFO: ==2088== Releasing lock...
[2025-01-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:55:03] Production.INFO: ==2096== Lock acquired, processing the job...
[2025-01-12 10:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:55:03] Production.INFO: ==2099== Lock acquired, processing the job...
[2025-01-12 10:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:55:03] Production.INFO: ==2090== Lock acquired, processing the job...
[2025-01-12 10:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:55:03] Production.INFO: Account Balance Start.
[2025-01-12 10:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:55:03] Production.INFO: 117
[2025-01-12 10:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:55:03] Production.INFO: ==2092== Lock acquired, processing the job...
[2025-01-12 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:55:03] Production.INFO: ==2094== Lock acquired, processing the job...
[2025-01-12 10:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:55:03] Production.INFO: ==2101== Lock acquired, processing the job...
[2025-01-12 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:55:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:55:03] Production.INFO: count ==21
[2025-01-12 10:55:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:55:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:55:03] Production.INFO: count ==21
[2025-01-12 10:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231124') start
[2025-01-12 10:55:03] Production.ERROR: done
[2025-01-12 10:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:55:03] Production.INFO: Total Charge 0
[2025-01-12 10:55:03] Production.INFO: CreateAllLog End
[2025-01-12 10:55:03] Production.INFO: ==2092== Releasing lock...
[2025-01-12 10:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231124') end
[2025-01-12 10:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:55:03] Production.INFO: 1
[2025-01-12 10:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:55:03] Production.ERROR: done
[2025-01-12 10:55:03] Production.INFO: ==2101== Releasing lock...
[2025-01-12 10:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:55:04] Production.INFO: Account Balance End.
[2025-01-12 10:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:55:04] Production.INFO: ==2096== Releasing lock...
[2025-01-12 10:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:55:04
[end_date_ymd] => 2025-01-12 10:55:04
[RateCDR] => 1
)
[2025-01-12 10:55:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:55:04' and `end` < '2025-01-12 10:55:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:55:11] Production.ERROR: CronJobId end10
[2025-01-12 10:55:11] Production.INFO: ==2094== Releasing lock...
[2025-01-12 10:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:55:13] Production.INFO: call_cost start
[2025-01-12 10:55:13] Production.INFO: call_cost end
[2025-01-12 10:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:55:14] Production.INFO: ==2090== Releasing lock...
[2025-01-12 10:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:55:18] Production.INFO: count ==345
[2025-01-12 10:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:55:04 - End Time 2025-01-12 10:55:04
[2025-01-12 10:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231125', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231125', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231125', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231125', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:55:18] Production.INFO: ProcessCDR(1,14231125,1,1,2)
[2025-01-12 10:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:55:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231125', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:55:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231125', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:55:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:55:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:55:22] Production.INFO: ==2099== Releasing lock...
[2025-01-12 10:55:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:55:22] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 15:56:02] Production.INFO: ==2156== Lock acquired, processing the job...
[2025-01-12 15:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:56:02] Production.INFO: neon service started
[2025-01-12 15:56:02] Production.INFO: neon service started
[2025-01-12 15:56:02] Production.INFO: ==2156== Releasing lock...
[2025-01-12 15:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:56:02] Production.INFO: ==2158== Lock acquired, processing the job...
[2025-01-12 10:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:56:02] Production.INFO: ==2160== Lock acquired, processing the job...
[2025-01-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:56:02] Production.INFO: ==2160== Releasing lock...
[2025-01-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:56:03] Production.INFO: ==2158== Releasing lock...
[2025-01-12 10:56:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:56:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 10:56:03] Production.INFO: ==2163== Lock acquired, processing the job...
[2025-01-12 10:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:56:03] Production.INFO: ==2167== Lock acquired, processing the job...
[2025-01-12 10:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:56:03] Production.INFO: ==2171== Lock acquired, processing the job...
[2025-01-12 10:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:56:04] Production.INFO: ==2165== Lock acquired, processing the job...
[2025-01-12 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:56:04] Production.INFO: ==2169== Lock acquired, processing the job...
[2025-01-12 10:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:56:04] Production.INFO: ==2173== Lock acquired, processing the job...
[2025-01-12 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:56:04] Production.ERROR: done
[2025-01-12 10:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:56:04] Production.INFO: Account Balance Start.
[2025-01-12 10:56:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:56:04] Production.INFO: 117
[2025-01-12 10:56:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:56:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:56:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:56:04] Production.INFO: count ==21
[2025-01-12 10:56:04] Production.INFO: ==2165== Releasing lock...
[2025-01-12 10:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231128') start
[2025-01-12 10:56:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:56:04] Production.ERROR: done
[2025-01-12 10:56:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231128') end
[2025-01-12 10:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:56:04] Production.INFO: 1
[2025-01-12 10:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:56:04] Production.INFO: Total Charge 0
[2025-01-12 10:56:04] Production.INFO: CreateAllLog End
[2025-01-12 10:56:04] Production.INFO: ==2173== Releasing lock...
[2025-01-12 10:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:56:05] Production.INFO: Account Balance End.
[2025-01-12 10:56:05] Production.ERROR: CronJobId end 12
[2025-01-12 10:56:05] Production.INFO: ==2169== Releasing lock...
[2025-01-12 10:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:56:05
[end_date_ymd] => 2025-01-12 10:56:05
[RateCDR] => 1
)
[2025-01-12 10: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-01-12 07:56:05' and `end` < '2025-01-12 10: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-01-12 10:56:11] Production.ERROR: CronJobId end10
[2025-01-12 10:56:11] Production.INFO: ==2167== Releasing lock...
[2025-01-12 10:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:56:14] Production.INFO: call_cost start
[2025-01-12 10:56:14] Production.INFO: call_cost end
[2025-01-12 10:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:56:14] Production.INFO: ==2163== Releasing lock...
[2025-01-12 10:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:56:19] Production.INFO: count ==344
[2025-01-12 10:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 07:56:05 - End Time 2025-01-12 10:56:05
[2025-01-12 10:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231130', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231130', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231130', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231130', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:56:19] Production.INFO: ProcessCDR(1,14231130,1,1,2)
[2025-01-12 10:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231130', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231130', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:56:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:56:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:56:22] Production.INFO: ==2171== Releasing lock...
[2025-01-12 10:56:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:56:22] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:57:01] Production.INFO: ==2232== Lock acquired, processing the job...
[2025-01-12 15:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:57:01] Production.INFO: neon service started
[2025-01-12 15:57:01] Production.INFO: neon service started
[2025-01-12 15:57:01] Production.INFO: ==2232== Releasing lock...
[2025-01-12 15:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:57:02] Production.INFO: ==2235== Lock acquired, processing the job...
[2025-01-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:57:02] Production.INFO: ==2235== Releasing lock...
[2025-01-12 10:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:57:02] Production.INFO: ==2237== Lock acquired, processing the job...
[2025-01-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:57:02] Production.INFO: ==2237== Releasing lock...
[2025-01-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:57:03] Production.INFO: ==2241== Lock acquired, processing the job...
[2025-01-12 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:57:03] Production.INFO: ==2239== Lock acquired, processing the job...
[2025-01-12 10:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:57:03] Production.INFO: ==2247== Lock acquired, processing the job...
[2025-01-12 10:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:57:03] Production.INFO: ==2243== Lock acquired, processing the job...
[2025-01-12 10:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:57:03] Production.INFO: ==2245== Lock acquired, processing the job...
[2025-01-12 10:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:57:03] Production.INFO: ==2249== Lock acquired, processing the job...
[2025-01-12 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:57:03] Production.INFO: Account Balance Start.
[2025-01-12 10:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:57:03] Production.INFO: 117
[2025-01-12 10:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 10: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-01-12 10:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:57:03] Production.INFO: count ==21
[2025-01-12 10: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-01-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:57:03] Production.INFO: count ==21
[2025-01-12 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231134') start
[2025-01-12 10:57:03] Production.INFO: ==2241== Releasing lock...
[2025-01-12 10:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:57:03] Production.ERROR: done
[2025-01-12 10:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:57:03] Production.INFO: Total Charge 0
[2025-01-12 10:57:03] Production.INFO: CreateAllLog End
[2025-01-12 10:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231134') end
[2025-01-12 10:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:57:03] Production.INFO: 1
[2025-01-12 10:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:57:03] Production.ERROR: done
[2025-01-12 10:57:03] Production.INFO: ==2249== Releasing lock...
[2025-01-12 10:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:57:04] Production.INFO: Account Balance End.
[2025-01-12 10:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:57:04] Production.INFO: ==2245== Releasing lock...
[2025-01-12 10:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:57:04
[end_date_ymd] => 2025-01-12 10:57:04
[RateCDR] => 1
)
[2025-01-12 10:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:57:04' and `end` < '2025-01-12 10:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:57:11] Production.ERROR: CronJobId end10
[2025-01-12 10:57:11] Production.INFO: ==2243== Releasing lock...
[2025-01-12 10:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:57:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:57:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:57:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:57:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:57:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:57:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:57:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:57:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:57:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:57:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:57:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:57:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:57:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:57:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:57:14] Production.INFO: call_cost start
[2025-01-12 10:57:14] Production.INFO: call_cost end
[2025-01-12 10:57:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:57:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:57:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:57:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:57:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:57:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:57:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:57:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:57:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:57:15] Production.INFO: ==2239== Releasing lock...
[2025-01-12 10:57:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:57:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:57:17] Production.INFO: count ==344
[2025-01-12 10:57:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:57:04 - End Time 2025-01-12 10:57:04
[2025-01-12 10:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231135', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231135', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231135', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231135', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:57:18] Production.INFO: ProcessCDR(1,14231135,1,1,2)
[2025-01-12 10:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231135', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231135', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:57:21] Production.INFO: ==2247== Releasing lock...
[2025-01-12 10:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:57:21] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:58:02] Production.INFO: ==2309== Lock acquired, processing the job...
[2025-01-12 15:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:58:02] Production.INFO: neon service started
[2025-01-12 15:58:02] Production.INFO: neon service started
[2025-01-12 15:58:02] Production.INFO: ==2309== Releasing lock...
[2025-01-12 15:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:58:02] Production.INFO: ==2311== Lock acquired, processing the job...
[2025-01-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:58:02] Production.INFO: ==2311== Releasing lock...
[2025-01-12 10:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:58:02] Production.INFO: ==2313== Lock acquired, processing the job...
[2025-01-12 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:58:03] Production.INFO: ==2313== Releasing lock...
[2025-01-12 15:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:58:03] Production.INFO: ==2320== Lock acquired, processing the job...
[2025-01-12 10:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:58:03] Production.INFO: ==2324== Lock acquired, processing the job...
[2025-01-12 10:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:58:03] Production.INFO: ==2316== Lock acquired, processing the job...
[2025-01-12 10:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:58:04] Production.INFO: ==2318== Lock acquired, processing the job...
[2025-01-12 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:58:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:58:04] Production.INFO: ==2322== Lock acquired, processing the job...
[2025-01-12 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:58:04] Production.INFO: ==2326== Lock acquired, processing the job...
[2025-01-12 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:58:04] Production.ERROR: done
[2025-01-12 10:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:58:04] Production.INFO: Account Balance Start.
[2025-01-12 10:58:04] Production.INFO: CreateAllLog Start
[2025-01-12 10:58:04] Production.INFO: 117
[2025-01-12 10:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:58:04] Production.ERROR: done
[2025-01-12 10:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 10:58:04] Production.INFO: count ==21
[2025-01-12 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-01-12 10:58:04] Production.INFO: count ==21
[2025-01-12 10:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231139') start
[2025-01-12 10:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 10:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 10:58:04] Production.INFO: ==2318== Releasing lock...
[2025-01-12 10:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231139') end
[2025-01-12 10:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:58:04] Production.INFO: 1
[2025-01-12 10:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:58:04] Production.INFO: Total Charge 0
[2025-01-12 10:58:04] Production.INFO: CreateAllLog End
[2025-01-12 10:58:04] Production.INFO: ==2326== Releasing lock...
[2025-01-12 10:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:58:04] Production.INFO: Account Balance End.
[2025-01-12 10:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 10:58:04] Production.INFO: ==2322== Releasing lock...
[2025-01-12 10:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:58:05
[end_date_ymd] => 2025-01-12 10:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 07:58:05' and `end` < '2025-01-12 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-01-12 10:58:11] Production.ERROR: CronJobId end10
[2025-01-12 10:58:11] Production.INFO: ==2320== Releasing lock...
[2025-01-12 10:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:58:14] Production.INFO: call_cost start
[2025-01-12 10:58:14] Production.INFO: call_cost end
[2025-01-12 10:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:58:14] Production.INFO: ==2316== Releasing lock...
[2025-01-12 10:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:58:18] Production.INFO: count ==345
[2025-01-12 10:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:58:05 - End Time 2025-01-12 10:58:05
[2025-01-12 10:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231140', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231140', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231140', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231140', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:58:18] Production.INFO: ProcessCDR(1,14231140,1,1,2)
[2025-01-12 10:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231140', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231140', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:58:23] Production.INFO: ==2324== Releasing lock...
[2025-01-12 10:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:58:23] Production.INFO: 31 MB #Memory Used#
[2025-01-12 15:59:01] Production.INFO: ==2384== Lock acquired, processing the job...
[2025-01-12 15:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 15:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 15:59:01] Production.INFO: neon service started
[2025-01-12 15:59:01] Production.INFO: neon service started
[2025-01-12 15:59:01] Production.INFO: ==2384== Releasing lock...
[2025-01-12 15:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 15:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 10:59:01] Production.INFO: ==2386== Lock acquired, processing the job...
[2025-01-12 10:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 10:59:02] Production.INFO: ==2386== Releasing lock...
[2025-01-12 10:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 10:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:59:02] Production.INFO: ==2388== Lock acquired, processing the job...
[2025-01-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:59:02] Production.INFO: ==2388== Releasing lock...
[2025-01-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 15:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 10:59:02] Production.INFO: ==2390== Lock acquired, processing the job...
[2025-01-12 10:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 10:59:03] Production.INFO: ==2396== Lock acquired, processing the job...
[2025-01-12 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 10:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 10:59:03] Production.INFO: Account Balance Start.
[2025-01-12 10:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 10:59:03] Production.INFO: 117
[2025-01-12 10:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 10:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 10:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 10:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 10:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 10:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 10:59:03] Production.INFO: Total Charge 0
[2025-01-12 10:59:03] Production.INFO: CreateAllLog End
[2025-01-12 10:59:03] Production.INFO: ==2400== Lock acquired, processing the job...
[2025-01-12 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 10:59:03] Production.INFO: ==2394== Lock acquired, processing the job...
[2025-01-12 10:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 10:59:03] Production.INFO: ==2392== Lock acquired, processing the job...
[2025-01-12 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 10:59:03] Production.INFO: ==2398== Lock acquired, processing the job...
[2025-01-12 10:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 10:59:03] Production.INFO: Account Balance End.
[2025-01-12 10:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 10:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 10:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 10:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 10:59:03] Production.ERROR: CronJobId end 12
[2025-01-12 10:59:03] Production.INFO: ==2396== Releasing lock...
[2025-01-12 10:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 10:59:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 10:59:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 10:59:03] Production.INFO: count ==21
[2025-01-12 10:59:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 10:59:03] Production.INFO: count ==21
[2025-01-12 10:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231143') start
[2025-01-12 10:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231143') end
[2025-01-12 10:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 10:59:03] Production.INFO: 1
[2025-01-12 10:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 10:59:03] Production.INFO: ==2400== Releasing lock...
[2025-01-12 10:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 10:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 10:59:03] Production.INFO: ==2392== Releasing lock...
[2025-01-12 10:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 10:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 10:59:03] Production.ERROR: done
[2025-01-12 10:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 10:59:04] Production.ERROR: done
[2025-01-12 10:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 07:59:04
[end_date_ymd] => 2025-01-12 10:59:04
[RateCDR] => 1
)
[2025-01-12 10:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 07:59:04' and `end` < '2025-01-12 10:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 10:59:11] Production.ERROR: CronJobId end10
[2025-01-12 10:59:11] Production.INFO: ==2394== Releasing lock...
[2025-01-12 10:59:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 10:59:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 10:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 10:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 10:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 10:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 10:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 10:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 10:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 10:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 10:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 10:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 10:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 10:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 10:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 10:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 10:59:13] Production.INFO: call_cost start
[2025-01-12 10:59:13] Production.INFO: call_cost end
[2025-01-12 10:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 10:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 10:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 10:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 10:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 10:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 10:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 10:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 10:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 10:59:14] Production.INFO: ==2390== Releasing lock...
[2025-01-12 10:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 10:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 10:59:18] Production.INFO: count ==347
[2025-01-12 10:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 07:59:04 - End Time 2025-01-12 10:59:04
[2025-01-12 10:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 10:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231145', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231145', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231145', 'tblTempVendorCDR_20' ) start
[2025-01-12 10:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231145', 'tblTempVendorCDR_20' ) end
[2025-01-12 10:59:18] Production.INFO: ProcessCDR(1,14231145,1,1,2)
[2025-01-12 10:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 10:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 10:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231145', 'tblTempUsageDetail_20' ) start
[2025-01-12 10:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231145', 'tblTempUsageDetail_20' ) end
[2025-01-12 10:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 10:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 10:59:22] Production.INFO: ==2398== Releasing lock...
[2025-01-12 10:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 10:59:22] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:00:02] Production.INFO: ==2459== Lock acquired, processing the job...
[2025-01-12 16:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:00:02] Production.INFO: neon service started
[2025-01-12 16:00:02] Production.INFO: neon service started
[2025-01-12 16:00:02] Production.INFO: ==2459== Releasing lock...
[2025-01-12 16:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:00:02] Production.INFO: ==2461== Lock acquired, processing the job...
[2025-01-12 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:00:02] Production.INFO: ==2461== Releasing lock...
[2025-01-12 11:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:00:02] Production.INFO: ==2463== Lock acquired, processing the job...
[2025-01-12 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:00:03] Production.INFO: ==2463== Releasing lock...
[2025-01-12 16:00:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:00:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:00:03] Production.INFO: ==2465== Lock acquired, processing the job...
[2025-01-12 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 11:00:03] Production.INFO: ==2467== Lock acquired, processing the job...
[2025-01-12 11:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 11:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 11:00:03] Production.INFO: ==2465== Releasing lock...
[2025-01-12 11:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 11:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 11:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:00:03] Production.INFO: ==2471== Lock acquired, processing the job...
[2025-01-12 11:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:00:03] Production.INFO: ==2473== Lock acquired, processing the job...
[2025-01-12 11:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:00:04] Production.INFO: Account Balance Start.
[2025-01-12 11:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:00:04] Production.INFO: 117
[2025-01-12 11:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:00:04] Production.INFO: ==2469== Lock acquired, processing the job...
[2025-01-12 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:00:04] Production.INFO: ==2475== Lock acquired, processing the job...
[2025-01-12 11:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:00:04] Production.INFO: ==2478== Lock acquired, processing the job...
[2025-01-12 11:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 11:00:04] Production.INFO: ==2480== Lock acquired, processing the job...
[2025-01-12 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:00:04] Production.INFO: Total Charge 0
[2025-01-12 11:00:04] Production.INFO: CreateAllLog End
[2025-01-12 11:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 11:00:04] Production.INFO: ==2469== Releasing lock...
[2025-01-12 11:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:00:04] Production.INFO: count ==21
[2025-01-12 11:00:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 11:00:04] Production.INFO: count ==21
[2025-01-12 11:00:04] Production.ERROR: done
[2025-01-12 11:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231149') start
[2025-01-12 11:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:00:04] Production.INFO: ==2473== Releasing lock...
[2025-01-12 11:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231149') end
[2025-01-12 11:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:00:04] Production.INFO: 1
[2025-01-12 11:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:00:04] Production.INFO: ==2480== Releasing lock...
[2025-01-12 11:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:00:05] Production.ERROR: done
[2025-01-12 11:00:05] Production.ERROR: done
[2025-01-12 11:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 11:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231150', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 11:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:00:05
[end_date_ymd] => 2025-01-12 11:00:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:00:05' and `end` < '2025-01-12 11: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-01-12 11:00:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231150', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 11:00:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 11:00:09] Production.INFO: ProcessCDR(1,14231150,1,1,2)
[2025-01-12 11:00:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231150,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:00:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231150,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:00:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:00:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:00:09] Production.INFO: ==2478== Releasing lock...
[2025-01-12 11:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 11:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 11:00:13] Production.ERROR: CronJobId end10
[2025-01-12 11:00:13] Production.INFO: ==2471== Releasing lock...
[2025-01-12 11:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:00:14] Production.INFO: call_cost start
[2025-01-12 11:00:14] Production.INFO: call_cost end
[2025-01-12 11:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:00:15] Production.INFO: ==2467== Releasing lock...
[2025-01-12 11:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:00:21] Production.INFO: count ==352
[2025-01-12 11:00:21] Production.ERROR: pbx CDR StartTime 2025-01-12 08:00:05 - End Time 2025-01-12 11:00:05
[2025-01-12 11:00:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231151', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231151', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231151', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:00:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231151', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:00:21] Production.INFO: ProcessCDR(1,14231151,1,1,2)
[2025-01-12 11:00:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:00:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231151,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:00:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:00:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231151,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231151', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:00:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231151', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:00:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:00:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:00:24] Production.INFO: ==2475== Releasing lock...
[2025-01-12 11:00:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:00:24] Production.INFO: 30.75 MB #Memory Used#
[2025-01-12 16:01:01] Production.INFO: ==2536== Lock acquired, processing the job...
[2025-01-12 16:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:01:01] Production.INFO: neon service started
[2025-01-12 16:01:01] Production.INFO: neon service started
[2025-01-12 16:01:01] Production.INFO: ==2536== Releasing lock...
[2025-01-12 16:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:01:01] Production.INFO: ==2549== Lock acquired, processing the job...
[2025-01-12 11:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:01:02] Production.INFO: ==2549== Releasing lock...
[2025-01-12 11:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:01:02] Production.INFO: ==2551== Lock acquired, processing the job...
[2025-01-12 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:01:02] Production.INFO: ==2551== Releasing lock...
[2025-01-12 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:01:02] Production.INFO: ==2555== Lock acquired, processing the job...
[2025-01-12 11:01:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:01:02] Production.INFO: ==2557== Lock acquired, processing the job...
[2025-01-12 11:01:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:01:03] Production.INFO: ==2560== Lock acquired, processing the job...
[2025-01-12 11:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:01:03] Production.INFO: ==2555== Releasing lock...
[2025-01-12 11:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:01:03] Production.INFO: ==2553== Lock acquired, processing the job...
[2025-01-12 11:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:01:03] Production.INFO: Account Balance Start.
[2025-01-12 11:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:01:03] Production.INFO: 117
[2025-01-12 11:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:01:03] Production.INFO: ==2562== Lock acquired, processing the job...
[2025-01-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:01:03] Production.INFO: Total Charge 0
[2025-01-12 11:01:03] Production.INFO: ==2564== Lock acquired, processing the job...
[2025-01-12 11:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:01:03] Production.INFO: CreateAllLog End
[2025-01-12 11:01:03] Production.INFO: Account Balance End.
[2025-01-12 11:01:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:01:03] Production.ERROR: CronJobId end 12
[2025-01-12 11:01:03] Production.INFO: ==2560== Releasing lock...
[2025-01-12 11:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:01:03] Production.ERROR: done
[2025-01-12 11:01:03] Production.INFO: count ==21
[2025-01-12 11:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:01:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:01:03] Production.INFO: count ==21
[2025-01-12 11:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231155') start
[2025-01-12 11:01:04] Production.ERROR: done
[2025-01-12 11:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231155') end
[2025-01-12 11:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:01:04] Production.INFO: 1
[2025-01-12 11:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:01:04] Production.INFO: ==2564== Releasing lock...
[2025-01-12 11:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:01:05
[end_date_ymd] => 2025-01-12 11:01:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:01:05' and `end` < '2025-01-12 11: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-01-12 11:01:11] Production.ERROR: CronJobId end10
[2025-01-12 11:01:11] Production.INFO: ==2557== Releasing lock...
[2025-01-12 11:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:01:13] Production.INFO: call_cost start
[2025-01-12 11:01:13] Production.INFO: call_cost end
[2025-01-12 11:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:01:14] Production.INFO: ==2553== Releasing lock...
[2025-01-12 11:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:01:20] Production.INFO: count ==367
[2025-01-12 11:01:20] Production.ERROR: pbx CDR StartTime 2025-01-12 08:01:05 - End Time 2025-01-12 11:01:05
[2025-01-12 11:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231156', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231156', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231156', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231156', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:01:20] Production.INFO: ProcessCDR(1,14231156,1,1,2)
[2025-01-12 11:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231156,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231156,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231156', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231156', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:01:24] Production.INFO: ==2562== Releasing lock...
[2025-01-12 11:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:01:24] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:02:01] Production.INFO: ==2699== Lock acquired, processing the job...
[2025-01-12 16:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:02:01] Production.INFO: neon service started
[2025-01-12 16:02:01] Production.INFO: neon service started
[2025-01-12 16:02:01] Production.INFO: ==2699== Releasing lock...
[2025-01-12 16:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:02:02] Production.INFO: ==2703== Lock acquired, processing the job...
[2025-01-12 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:02:02] Production.INFO: ==2703== Releasing lock...
[2025-01-12 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:02:02] Production.INFO: ==2701== Lock acquired, processing the job...
[2025-01-12 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:02:02] Production.INFO: ==2701== Releasing lock...
[2025-01-12 11:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:02:03] Production.INFO: ==2707== Lock acquired, processing the job...
[2025-01-12 11:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:02:03] Production.INFO: ==2705== Lock acquired, processing the job...
[2025-01-12 11:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:02:03] Production.INFO: ==2713== Lock acquired, processing the job...
[2025-01-12 11:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:02:03] Production.INFO: ==2709== Lock acquired, processing the job...
[2025-01-12 11:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:02:03] Production.INFO: ==2711== Lock acquired, processing the job...
[2025-01-12 11:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:02:03] Production.INFO: ==2715== Lock acquired, processing the job...
[2025-01-12 11:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:02:03] Production.INFO: Account Balance Start.
[2025-01-12 11:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:02:03] Production.INFO: 117
[2025-01-12 11:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:02:04] Production.INFO: ==2707== Releasing lock...
[2025-01-12 11:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:02:04] Production.ERROR: done
[2025-01-12 11:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:02:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:02:04] Production.INFO: Total Charge 0
[2025-01-12 11:02:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:02:04] Production.INFO: count ==21
[2025-01-12 11:02:04] Production.ERROR: done
[2025-01-12 11:02:04] Production.INFO: CreateAllLog End
[2025-01-12 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231160') start
[2025-01-12 11:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231160') end
[2025-01-12 11:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:02:04] Production.INFO: 1
[2025-01-12 11:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:02:04] Production.INFO: Account Balance End.
[2025-01-12 11:02:04] Production.INFO: ==2715== Releasing lock...
[2025-01-12 11:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:02:04] Production.INFO: ==2711== Releasing lock...
[2025-01-12 11:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:02:05
[end_date_ymd] => 2025-01-12 11:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:02:05' and `end` < '2025-01-12 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-01-12 11:02:12] Production.ERROR: CronJobId end10
[2025-01-12 11:02:12] Production.INFO: ==2709== Releasing lock...
[2025-01-12 11:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:02:14] Production.INFO: call_cost start
[2025-01-12 11:02:14] Production.INFO: call_cost end
[2025-01-12 11:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:02:14] Production.INFO: ==2705== Releasing lock...
[2025-01-12 11:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:02:18] Production.INFO: count ==368
[2025-01-12 11:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:02:05 - End Time 2025-01-12 11:02:05
[2025-01-12 11:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231161', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231161', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231161', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231161', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:02:18] Production.INFO: ProcessCDR(1,14231161,1,1,2)
[2025-01-12 11:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:02:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231161,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:02:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:02:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231161,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231161', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:02:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231161', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:02:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:02:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:02:23] Production.INFO: ==2713== Releasing lock...
[2025-01-12 11:02:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:02:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-12 16:03:02] Production.INFO: ==2772== Lock acquired, processing the job...
[2025-01-12 16:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:03:02] Production.INFO: neon service started
[2025-01-12 16:03:02] Production.INFO: neon service started
[2025-01-12 16:03:02] Production.INFO: ==2772== Releasing lock...
[2025-01-12 16:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:03:02] Production.INFO: ==2776== Lock acquired, processing the job...
[2025-01-12 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:03:02] Production.INFO: ==2776== Releasing lock...
[2025-01-12 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:03:02] Production.INFO: ==2774== Lock acquired, processing the job...
[2025-01-12 11:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:03:03] Production.INFO: ==2774== Releasing lock...
[2025-01-12 11:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:03:03] Production.INFO: ==2787== Lock acquired, processing the job...
[2025-01-12 11:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:03:03] Production.INFO: ==2779== Lock acquired, processing the job...
[2025-01-12 11:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:03:03] Production.INFO: ==2785== Lock acquired, processing the job...
[2025-01-12 11:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:03:04] Production.INFO: ==2789== Lock acquired, processing the job...
[2025-01-12 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:03:04] Production.INFO: Account Balance Start.
[2025-01-12 11:03:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:03:04] Production.INFO: 117
[2025-01-12 11:03:04] Production.INFO: ==2781== Lock acquired, processing the job...
[2025-01-12 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:03:04] Production.INFO: ==2783== Lock acquired, processing the job...
[2025-01-12 11:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:03:04] Production.INFO: count ==21
[2025-01-12 11:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:03:04] Production.INFO: count ==21
[2025-01-12 11:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231164') start
[2025-01-12 11:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:03:04] Production.ERROR: done
[2025-01-12 11:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231164') end
[2025-01-12 11:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:03:04] Production.INFO: 1
[2025-01-12 11:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:03:04] Production.INFO: Total Charge 0
[2025-01-12 11:03:04] Production.INFO: CreateAllLog End
[2025-01-12 11:03:04] Production.INFO: ==2789== Releasing lock...
[2025-01-12 11:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:03:04] Production.ERROR: done
[2025-01-12 11:03:04] Production.INFO: ==2781== Releasing lock...
[2025-01-12 11:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:03:04] Production.INFO: Account Balance End.
[2025-01-12 11:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:03:04] Production.INFO: ==2785== Releasing lock...
[2025-01-12 11:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:03:05
[end_date_ymd] => 2025-01-12 11:03:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:03:05' and `end` < '2025-01-12 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-01-12 11:03:12] Production.ERROR: CronJobId end10
[2025-01-12 11:03:12] Production.INFO: ==2783== Releasing lock...
[2025-01-12 11:03:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:03:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:03:14] Production.INFO: call_cost start
[2025-01-12 11:03:14] Production.INFO: call_cost end
[2025-01-12 11:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:03:15] Production.INFO: ==2779== Releasing lock...
[2025-01-12 11:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:03:18] Production.INFO: count ==370
[2025-01-12 11:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:03:05 - End Time 2025-01-12 11:03:05
[2025-01-12 11:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231166', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231166', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231166', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231166', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:03:18] Production.INFO: ProcessCDR(1,14231166,1,1,2)
[2025-01-12 11:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231166,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231166,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231166', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231166', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:03:21] Production.INFO: ==2787== Releasing lock...
[2025-01-12 11:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:03:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:04:01] Production.INFO: ==2850== Lock acquired, processing the job...
[2025-01-12 16:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:04:01] Production.INFO: neon service started
[2025-01-12 16:04:01] Production.INFO: neon service started
[2025-01-12 16:04:01] Production.INFO: ==2850== Releasing lock...
[2025-01-12 16:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:04:02] Production.INFO: ==2852== Lock acquired, processing the job...
[2025-01-12 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:04:02] Production.INFO: ==2852== Releasing lock...
[2025-01-12 11:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:04:02] Production.INFO: ==2854== Lock acquired, processing the job...
[2025-01-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:04:02] Production.INFO: ==2854== Releasing lock...
[2025-01-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:04:03] Production.INFO: ==2863== Lock acquired, processing the job...
[2025-01-12 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:04:03] Production.INFO: ==2867== Lock acquired, processing the job...
[2025-01-12 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:04:03] Production.INFO: ==2856== Lock acquired, processing the job...
[2025-01-12 11:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:04:03] Production.INFO: Account Balance Start.
[2025-01-12 11:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:04:03] Production.INFO: 117
[2025-01-12 11:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:04:03] Production.INFO: ==2858== Lock acquired, processing the job...
[2025-01-12 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:04:03] Production.INFO: ==2860== Lock acquired, processing the job...
[2025-01-12 11:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:04:03] Production.INFO: count ==21
[2025-01-12 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-01-12 11:04:03] Production.INFO: count ==21
[2025-01-12 11:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231168') start
[2025-01-12 11:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:04:03] Production.INFO: ==2865== Lock acquired, processing the job...
[2025-01-12 11:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:04:03] Production.INFO: Total Charge 0
[2025-01-12 11:04:03] Production.INFO: CreateAllLog End
[2025-01-12 11:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231168') end
[2025-01-12 11:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:04:03] Production.INFO: 1
[2025-01-12 11:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:04:03] Production.INFO: ==2867== Releasing lock...
[2025-01-12 11:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:04:03] Production.INFO: Account Balance End.
[2025-01-12 11:04:03] Production.INFO: ==2858== Releasing lock...
[2025-01-12 11:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:04:03] Production.ERROR: CronJobId end 12
[2025-01-12 11:04:03] Production.INFO: ==2863== Releasing lock...
[2025-01-12 11:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:04:04] Production.ERROR: done
[2025-01-12 11:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:04:04] Production.ERROR: done
[2025-01-12 11:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:04:04
[end_date_ymd] => 2025-01-12 11:04:04
[RateCDR] => 1
)
[2025-01-12 11:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:04:04' and `end` < '2025-01-12 11:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:04:11] Production.ERROR: CronJobId end10
[2025-01-12 11:04:11] Production.INFO: ==2860== Releasing lock...
[2025-01-12 11:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:04:13] Production.INFO: call_cost start
[2025-01-12 11:04:13] Production.INFO: call_cost end
[2025-01-12 11:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:04:14] Production.INFO: ==2856== Releasing lock...
[2025-01-12 11:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:04:19] Production.INFO: count ==371
[2025-01-12 11:04:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:04:04 - End Time 2025-01-12 11:04:04
[2025-01-12 11:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231171', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231171', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231171', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231171', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:04:19] Production.INFO: ProcessCDR(1,14231171,1,1,2)
[2025-01-12 11:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:04:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231171', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:04:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231171', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:04:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:04:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:04:24] Production.INFO: ==2865== Releasing lock...
[2025-01-12 11:04:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:04:24] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:05:02] Production.INFO: ==3027== Lock acquired, processing the job...
[2025-01-12 16:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:05:02] Production.INFO: neon service started
[2025-01-12 16:05:02] Production.INFO: neon service started
[2025-01-12 16:05:02] Production.INFO: ==3027== Releasing lock...
[2025-01-12 16:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:05:02] Production.INFO: ==3029== Lock acquired, processing the job...
[2025-01-12 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:05:02] Production.INFO: ==3031== Lock acquired, processing the job...
[2025-01-12 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:05:02] Production.INFO: ==3029== Releasing lock...
[2025-01-12 11:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:05:02] Production.INFO: ==3031== Releasing lock...
[2025-01-12 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:05:03] Production.INFO: ==3034== Lock acquired, processing the job...
[2025-01-12 11:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:05:03] Production.INFO: ==3036== Lock acquired, processing the job...
[2025-01-12 11:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:05:03] Production.INFO: ==3043== Lock acquired, processing the job...
[2025-01-12 11:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:05:03] Production.INFO: ==3039== Lock acquired, processing the job...
[2025-01-12 11:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:05:04] Production.INFO: ==3036== Releasing lock...
[2025-01-12 11:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:05:04] Production.INFO: ==3041== Lock acquired, processing the job...
[2025-01-12 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:05:04] Production.INFO: ==3045== Lock acquired, processing the job...
[2025-01-12 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:05:04] Production.INFO: Account Balance Start.
[2025-01-12 11:05:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:05:04] Production.INFO: 117
[2025-01-12 11:05:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:05:04] Production.ERROR: done
[2025-01-12 11:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 11:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:05:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:05:04] Production.INFO: count ==21
[2025-01-12 11:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231175') start
[2025-01-12 11:05:04] Production.ERROR: done
[2025-01-12 11:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:05:04] Production.INFO: Total Charge 0
[2025-01-12 11:05:04] Production.INFO: CreateAllLog End
[2025-01-12 11:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231175') end
[2025-01-12 11:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:05:04] Production.INFO: 1
[2025-01-12 11:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:05:04] Production.INFO: ==3045== Releasing lock...
[2025-01-12 11:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:05:04] Production.INFO: Account Balance End.
[2025-01-12 11:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:05:04] Production.INFO: ==3041== Releasing lock...
[2025-01-12 11:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:05:05
[end_date_ymd] => 2025-01-12 11:05:05
[RateCDR] => 1
)
[2025-01-12 11:05:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:05:05' and `end` < '2025-01-12 11:05:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:05:10] Production.ERROR: CronJobId end10
[2025-01-12 11:05:10] Production.INFO: ==3039== Releasing lock...
[2025-01-12 11:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:05:13] Production.INFO: call_cost start
[2025-01-12 11:05:13] Production.INFO: call_cost end
[2025-01-12 11:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:05:14] Production.INFO: ==3034== Releasing lock...
[2025-01-12 11:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:05:18] Production.INFO: count ==366
[2025-01-12 11:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:05:05 - End Time 2025-01-12 11:05:05
[2025-01-12 11:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231176', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231176', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231176', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231176', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:05:18] Production.INFO: ProcessCDR(1,14231176,1,1,2)
[2025-01-12 11:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231176', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231176', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:05:23] Production.INFO: ==3043== Releasing lock...
[2025-01-12 11:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:05:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:06:01] Production.INFO: ==3109== Lock acquired, processing the job...
[2025-01-12 16:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:06:01] Production.INFO: neon service started
[2025-01-12 16:06:01] Production.INFO: neon service started
[2025-01-12 16:06:01] Production.INFO: ==3109== Releasing lock...
[2025-01-12 16:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:06:02] Production.INFO: ==3111== Lock acquired, processing the job...
[2025-01-12 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:06:02] Production.INFO: ==3113== Lock acquired, processing the job...
[2025-01-12 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:06:02] Production.INFO: ==3111== Releasing lock...
[2025-01-12 11:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:06:02] Production.INFO: ==3113== Releasing lock...
[2025-01-12 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:06:03] Production.INFO: ==3115== Lock acquired, processing the job...
[2025-01-12 11:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:06:03] Production.INFO: ==3117== Lock acquired, processing the job...
[2025-01-12 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:06:03] Production.INFO: ==3119== Lock acquired, processing the job...
[2025-01-12 11:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:06:03] Production.INFO: ==3117== Releasing lock...
[2025-01-12 11:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:06:03] Production.INFO: ==3121== Lock acquired, processing the job...
[2025-01-12 11:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:06:03] Production.INFO: ==3123== Lock acquired, processing the job...
[2025-01-12 11:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:06:03] Production.INFO: ==3125== Lock acquired, processing the job...
[2025-01-12 11:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:06:03] Production.INFO: Account Balance Start.
[2025-01-12 11:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:06:03] Production.INFO: 117
[2025-01-12 11:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:06:03] Production.INFO: count ==21
[2025-01-12 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-01-12 11:06:03] Production.INFO: count ==21
[2025-01-12 11:06:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:06:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231180') start
[2025-01-12 11:06:04] Production.ERROR: done
[2025-01-12 11:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231180') end
[2025-01-12 11:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:06:04] Production.INFO: 1
[2025-01-12 11:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:06:04] Production.INFO: Total Charge 0
[2025-01-12 11:06:04] Production.INFO: CreateAllLog End
[2025-01-12 11:06:04] Production.INFO: ==3125== Releasing lock...
[2025-01-12 11:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:06:04] Production.ERROR: done
[2025-01-12 11:06:04] Production.INFO: Account Balance End.
[2025-01-12 11:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:06:04] Production.INFO: ==3121== Releasing lock...
[2025-01-12 11:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:06:05
[end_date_ymd] => 2025-01-12 11:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:06:05' and `end` < '2025-01-12 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-01-12 11:06:10] Production.ERROR: CronJobId end10
[2025-01-12 11:06:10] Production.INFO: ==3119== Releasing lock...
[2025-01-12 11:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:06:13] Production.INFO: call_cost start
[2025-01-12 11:06:13] Production.INFO: call_cost end
[2025-01-12 11:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:06:14] Production.INFO: ==3115== Releasing lock...
[2025-01-12 11:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:06:18] Production.INFO: count ==366
[2025-01-12 11:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:06:05 - End Time 2025-01-12 11:06:05
[2025-01-12 11:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231181', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231181', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231181', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231181', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:06:18] Production.INFO: ProcessCDR(1,14231181,1,1,2)
[2025-01-12 11:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231181', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231181', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:06:21] Production.INFO: ==3123== Releasing lock...
[2025-01-12 11:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:06:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:07:02] Production.INFO: ==3210== Lock acquired, processing the job...
[2025-01-12 16:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:07:02] Production.INFO: neon service started
[2025-01-12 16:07:02] Production.INFO: neon service started
[2025-01-12 16:07:02] Production.INFO: ==3210== Releasing lock...
[2025-01-12 16:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:07:02] Production.INFO: ==3212== Lock acquired, processing the job...
[2025-01-12 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:07:02] Production.INFO: ==3212== Releasing lock...
[2025-01-12 11:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:07:02] Production.INFO: ==3214== Lock acquired, processing the job...
[2025-01-12 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:07:02] Production.INFO: ==3214== Releasing lock...
[2025-01-12 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:07:03] Production.INFO: ==3217== Lock acquired, processing the job...
[2025-01-12 11:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:07:03] Production.INFO: ==3219== Lock acquired, processing the job...
[2025-01-12 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:07:03] Production.INFO: ==3223== Lock acquired, processing the job...
[2025-01-12 11:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:07:03] Production.INFO: Account Balance Start.
[2025-01-12 11:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:07:03] Production.INFO: 117
[2025-01-12 11:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:07:03] Production.INFO: ==3221== Lock acquired, processing the job...
[2025-01-12 11:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:07:03] Production.INFO: ==3225== Lock acquired, processing the job...
[2025-01-12 11:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:07:03] Production.INFO: ==3227== Lock acquired, processing the job...
[2025-01-12 11:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:07:03] Production.INFO: ==3219== Releasing lock...
[2025-01-12 11:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:07:03] Production.INFO: Total Charge 0
[2025-01-12 11:07:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 11:07:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:07:04] Production.INFO: count ==21
[2025-01-12 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231185') start
[2025-01-12 11:07:04] Production.ERROR: done
[2025-01-12 11:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231185') end
[2025-01-12 11:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:07:04] Production.INFO: 1
[2025-01-12 11:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:07:04] Production.ERROR: done
[2025-01-12 11:07:04] Production.INFO: Account Balance End.
[2025-01-12 11:07:04] Production.INFO: ==3227== Releasing lock...
[2025-01-12 11:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:07:04] Production.INFO: ==3223== Releasing lock...
[2025-01-12 11:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:07:05
[end_date_ymd] => 2025-01-12 11:07:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:07:05' and `end` < '2025-01-12 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-01-12 11:07:11] Production.ERROR: CronJobId end10
[2025-01-12 11:07:11] Production.INFO: ==3221== Releasing lock...
[2025-01-12 11:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:07:13] Production.INFO: call_cost start
[2025-01-12 11:07:13] Production.INFO: call_cost end
[2025-01-12 11:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:07:14] Production.INFO: ==3217== Releasing lock...
[2025-01-12 11:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:07:18] Production.INFO: count ==365
[2025-01-12 11:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:07:05 - End Time 2025-01-12 11:07:05
[2025-01-12 11:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231186', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231186', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231186', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231186', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:07:18] Production.INFO: ProcessCDR(1,14231186,1,1,2)
[2025-01-12 11:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231186', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231186', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:07:21] Production.INFO: ==3225== Releasing lock...
[2025-01-12 11:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:07:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:08:01] Production.INFO: ==3284== Lock acquired, processing the job...
[2025-01-12 16:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:08:01] Production.INFO: neon service started
[2025-01-12 16:08:01] Production.INFO: neon service started
[2025-01-12 16:08:01] Production.INFO: ==3284== Releasing lock...
[2025-01-12 16:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:08:01] Production.INFO: ==3286== Lock acquired, processing the job...
[2025-01-12 11:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:08:02] Production.INFO: ==3289== Lock acquired, processing the job...
[2025-01-12 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:08:02] Production.INFO: ==3286== Releasing lock...
[2025-01-12 11:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:08:02] Production.INFO: ==3289== Releasing lock...
[2025-01-12 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:08:03] Production.INFO: ==3299== Lock acquired, processing the job...
[2025-01-12 11:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:08:03] Production.INFO: ==3305== Lock acquired, processing the job...
[2025-01-12 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:08:03] Production.INFO: ==3295== Lock acquired, processing the job...
[2025-01-12 11:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:08:03] Production.INFO: ==3297== Lock acquired, processing the job...
[2025-01-12 11:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:08:03] Production.INFO: ==3303== Lock acquired, processing the job...
[2025-01-12 11:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 11:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:08:03] Production.INFO: count ==21
[2025-01-12 11:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:08:03] Production.INFO: ==3301== Lock acquired, processing the job...
[2025-01-12 11:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:08:03] Production.INFO: count ==21
[2025-01-12 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231187') start
[2025-01-12 11:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231187') end
[2025-01-12 11:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:08:03] Production.INFO: 1
[2025-01-12 11:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:08:03] Production.INFO: Account Balance Start.
[2025-01-12 11:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:08:03] Production.INFO: 117
[2025-01-12 11:08:03] Production.INFO: ==3305== Releasing lock...
[2025-01-12 11:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:08:03] Production.ERROR: done
[2025-01-12 11:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:08:04] Production.ERROR: done
[2025-01-12 11:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:08:04] Production.INFO: Total Charge 0
[2025-01-12 11:08:04] Production.INFO: CreateAllLog End
[2025-01-12 11:08:04] Production.INFO: ==3297== Releasing lock...
[2025-01-12 11:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:08:04] Production.INFO: Account Balance End.
[2025-01-12 11:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:08:04] Production.INFO: ==3301== Releasing lock...
[2025-01-12 11:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:08:05
[end_date_ymd] => 2025-01-12 11:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:08:05' and `end` < '2025-01-12 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-01-12 11:08:12] Production.ERROR: CronJobId end10
[2025-01-12 11:08:12] Production.INFO: ==3299== Releasing lock...
[2025-01-12 11:08:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:08:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:08:14] Production.INFO: call_cost start
[2025-01-12 11:08:14] Production.INFO: call_cost end
[2025-01-12 11:08:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:08:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:08:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:08:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:08:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:08:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:08:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:08:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:08:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:08:15] Production.INFO: ==3295== Releasing lock...
[2025-01-12 11:08:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:08:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:08:18] Production.INFO: count ==364
[2025-01-12 11:08:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:08:05 - End Time 2025-01-12 11:08:05
[2025-01-12 11:08:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231191', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231191', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231191', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:08:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231191', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:08:18] Production.INFO: ProcessCDR(1,14231191,1,1,2)
[2025-01-12 11:08:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:08:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:08:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:08:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231191', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:08:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231191', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:08:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:08:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:08:21] Production.INFO: ==3303== Releasing lock...
[2025-01-12 11:08:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:08:21] Production.INFO: 31 MB #Memory Used#
[2025-01-12 16:09:01] Production.INFO: ==3511== Lock acquired, processing the job...
[2025-01-12 16:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:09:02] Production.INFO: neon service started
[2025-01-12 16:09:02] Production.INFO: neon service started
[2025-01-12 16:09:02] Production.INFO: ==3511== Releasing lock...
[2025-01-12 16:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:09:02] Production.INFO: ==3513== Lock acquired, processing the job...
[2025-01-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:09:02] Production.INFO: ==3515== Lock acquired, processing the job...
[2025-01-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:09:02] Production.INFO: ==3513== Releasing lock...
[2025-01-12 11:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:09:02] Production.INFO: ==3515== Releasing lock...
[2025-01-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:09:03] Production.INFO: ==3517== Lock acquired, processing the job...
[2025-01-12 11:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:09:03] Production.INFO: ==3519== Lock acquired, processing the job...
[2025-01-12 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:09:03] Production.INFO: ==3521== Lock acquired, processing the job...
[2025-01-12 11:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:09:03] Production.INFO: ==3523== Lock acquired, processing the job...
[2025-01-12 11:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:09:03] Production.INFO: ==3519== Releasing lock...
[2025-01-12 11:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:09:03] Production.INFO: ==3527== Lock acquired, processing the job...
[2025-01-12 11:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:09:03] Production.INFO: ==3525== Lock acquired, processing the job...
[2025-01-12 11:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:09:03] Production.INFO: Account Balance Start.
[2025-01-12 11:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:09:03] Production.INFO: 117
[2025-01-12 11:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:09:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:09:04] Production.INFO: count ==21
[2025-01-12 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231195') start
[2025-01-12 11:09:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231195') end
[2025-01-12 11:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:09:04] Production.INFO: 1
[2025-01-12 11:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:09:04] Production.INFO: Total Charge 0
[2025-01-12 11:09:04] Production.INFO: CreateAllLog End
[2025-01-12 11:09:04] Production.INFO: ==3527== Releasing lock...
[2025-01-12 11:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:09:04] Production.ERROR: done
[2025-01-12 11:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:09:04] Production.INFO: Account Balance End.
[2025-01-12 11:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:09:04] Production.INFO: ==3523== Releasing lock...
[2025-01-12 11:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:09:04] Production.ERROR: done
[2025-01-12 11:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:09:05
[end_date_ymd] => 2025-01-12 11:09:05
[RateCDR] => 1
)
[2025-01-12 11:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:09:05' and `end` < '2025-01-12 11:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:09:11] Production.ERROR: CronJobId end10
[2025-01-12 11:09:11] Production.INFO: ==3521== Releasing lock...
[2025-01-12 11:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:09:14] Production.INFO: call_cost start
[2025-01-12 11:09:14] Production.INFO: call_cost end
[2025-01-12 11:09:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:09:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:09:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:09:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:09:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:09:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:09:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:09:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:09:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:09:15] Production.INFO: ==3517== Releasing lock...
[2025-01-12 11:09:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:09:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:09:19] Production.INFO: count ==372
[2025-01-12 11:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:09:05 - End Time 2025-01-12 11:09:05
[2025-01-12 11:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231196', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231196', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231196', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231196', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:09:19] Production.INFO: ProcessCDR(1,14231196,1,1,2)
[2025-01-12 11:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231196', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231196', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:09:23] Production.INFO: ==3525== Releasing lock...
[2025-01-12 11:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:09:23] Production.INFO: 31 MB #Memory Used#
[2025-01-12 16:10:01] Production.INFO: ==3588== Lock acquired, processing the job...
[2025-01-12 16:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:10:01] Production.INFO: neon service started
[2025-01-12 16:10:01] Production.INFO: neon service started
[2025-01-12 16:10:01] Production.INFO: ==3588== Releasing lock...
[2025-01-12 16:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:10:01] Production.INFO: ==3590== Lock acquired, processing the job...
[2025-01-12 11:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:10:02] Production.INFO: ==3590== Releasing lock...
[2025-01-12 11:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:10:02] Production.INFO: ==3592== Lock acquired, processing the job...
[2025-01-12 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:10:02] Production.INFO: ==3592== Releasing lock...
[2025-01-12 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:10:03] Production.INFO: ==3600== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:10:03] Production.INFO: ==3598== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:10:03] Production.INFO: ==3608== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:10:03] Production.INFO: ==3594== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 11: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-01-12 11:10:03] Production.INFO: count ==21
[2025-01-12 11:10:03] Production.INFO: ==3596== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11: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-01-12 11:10:03] Production.INFO: count ==21
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:10:03] Production.ERROR: CronJob PID - 3596
[2025-01-12 11:10:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 11:10:03] Production.ERROR: CronJob ID - 5
[2025-01-12 11:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:10:00
[2025-01-12 11:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:10:03] Production.ERROR: CronJob PID - 3598
[2025-01-12 11:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 11:10:03] Production.ERROR: CronJob ID - 7
[2025-01-12 11:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:10:00
[2025-01-12 11:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:10:03] Production.ERROR: CronJob PID - 3600
[2025-01-12 11:10:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 11:10:03] Production.ERROR: CronJob ID - 10
[2025-01-12 11:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:10:00
[2025-01-12 11:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:10:03] Production.ERROR: CronJob PID - 3608
[2025-01-12 11:10:03] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-12 11:10:03] Production.ERROR: CronJob ID - 19
[2025-01-12 11:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:10:00
[2025-01-12 11:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:10:03] Production.INFO: ==3602== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231198') start
[2025-01-12 11:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 11:10:03] Production.INFO: ==3594== Releasing lock...
[2025-01-12 11:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 11:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 11:10:03] Production.INFO: ==3604== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:10:03] Production.INFO: ==3606== Lock acquired, processing the job...
[2025-01-12 11:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 11:10:03] Production.INFO: ==3598== Releasing lock...
[2025-01-12 11:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:10:03] Production.INFO: Account Balance Start.
[2025-01-12 11:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:10:03] Production.INFO: 117
[2025-01-12 11:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:10:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231198') end
[2025-01-12 11:10:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:10:03] Production.INFO: 1
[2025-01-12 11:10:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:10:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:10:03] Production.INFO: ==3608== Releasing lock...
[2025-01-12 11:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:10:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:10:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:10:04] Production.ERROR: done
[2025-01-12 11:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:10:04] Production.ERROR: done
[2025-01-12 11:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 11:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231201', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 11:10:04] Production.INFO: Total Charge 0
[2025-01-12 11:10:04] Production.INFO: CreateAllLog End
[2025-01-12 11:10:04] Production.ERROR: done
[2025-01-12 11:10:04] Production.INFO: Account Balance End.
[2025-01-12 11:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:10:04] Production.INFO: ==3602== Releasing lock...
[2025-01-12 11:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:10:05
[end_date_ymd] => 2025-01-12 11:10:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:10:05' and `end` < '2025-01-12 11: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-01-12 11:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231201', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 11:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 11:10:08] Production.INFO: ProcessCDR(1,14231201,1,1,2)
[2025-01-12 11:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231201,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231201,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:10:08] Production.INFO: ==3606== Releasing lock...
[2025-01-12 11:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 11:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 11:10:13] Production.ERROR: CronJobId end10
[2025-01-12 11:10:13] Production.INFO: ==3600== Releasing lock...
[2025-01-12 11:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:10:15] Production.INFO: call_cost start
[2025-01-12 11:10:15] Production.INFO: call_cost end
[2025-01-12 11:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:10:16] Production.INFO: ==3596== Releasing lock...
[2025-01-12 11:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:10:18] Production.INFO: count ==378
[2025-01-12 11:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:10:05 - End Time 2025-01-12 11:10:05
[2025-01-12 11:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231202', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231202', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231202', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231202', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:10:18] Production.INFO: ProcessCDR(1,14231202,1,1,2)
[2025-01-12 11:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231202,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:10:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231202,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231202', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:10:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231202', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:10:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:10:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:10:21] Production.INFO: ==3604== Releasing lock...
[2025-01-12 11:10:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:10:21] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:11:01] Production.INFO: ==3697== Lock acquired, processing the job...
[2025-01-12 16:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:11:01] Production.INFO: neon service started
[2025-01-12 16:11:01] Production.INFO: neon service started
[2025-01-12 16:11:01] Production.INFO: ==3697== Releasing lock...
[2025-01-12 16:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:11:02] Production.INFO: ==3700== Lock acquired, processing the job...
[2025-01-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:11:02] Production.INFO: ==3700== Releasing lock...
[2025-01-12 11:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:11:02] Production.INFO: ==3702== Lock acquired, processing the job...
[2025-01-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:11:02] Production.INFO: ==3702== Releasing lock...
[2025-01-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:11:03] Production.INFO: ==3712== Lock acquired, processing the job...
[2025-01-12 11:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:11:03] Production.INFO: ==3710== Lock acquired, processing the job...
[2025-01-12 11:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:11:03] Production.INFO: ==3704== Lock acquired, processing the job...
[2025-01-12 11:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:11:03] Production.INFO: ==3706== Lock acquired, processing the job...
[2025-01-12 11:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:11:03] Production.INFO: ==3714== Lock acquired, processing the job...
[2025-01-12 11:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:11:03] Production.ERROR: done
[2025-01-12 11:11:03] Production.INFO: ==3708== Lock acquired, processing the job...
[2025-01-12 11:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:11:04] Production.INFO: Account Balance Start.
[2025-01-12 11:11:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:11:04] Production.INFO: 117
[2025-01-12 11:11:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:11:04] Production.INFO: count ==21
[2025-01-12 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231204') start
[2025-01-12 11:11:04] Production.ERROR: done
[2025-01-12 11:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231204') end
[2025-01-12 11:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:11:04] Production.INFO: 1
[2025-01-12 11:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:11:04] Production.INFO: ==3714== Releasing lock...
[2025-01-12 11:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:11:04] Production.INFO: Total Charge 0
[2025-01-12 11:11:04] Production.INFO: CreateAllLog End
[2025-01-12 11:11:04] Production.INFO: ==3706== Releasing lock...
[2025-01-12 11:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:11:04] Production.INFO: Account Balance End.
[2025-01-12 11:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:11:04] Production.INFO: ==3710== Releasing lock...
[2025-01-12 11:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:11:05
[end_date_ymd] => 2025-01-12 11:11:05
[RateCDR] => 1
)
[2025-01-12 11:11:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:11:05' and `end` < '2025-01-12 11:11:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:11:12] Production.ERROR: CronJobId end10
[2025-01-12 11:11:12] Production.INFO: ==3708== Releasing lock...
[2025-01-12 11:11:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:11:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:11:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:11:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:11:14] Production.INFO: call_cost start
[2025-01-12 11:11:14] Production.INFO: call_cost end
[2025-01-12 11:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:11:15] Production.INFO: ==3704== Releasing lock...
[2025-01-12 11:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:11:18] Production.INFO: count ==406
[2025-01-12 11:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:11:05 - End Time 2025-01-12 11:11:05
[2025-01-12 11:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231207', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231207', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231207', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231207', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:11:18] Production.INFO: ProcessCDR(1,14231207,1,1,2)
[2025-01-12 11:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231207,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231207,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231207', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231207', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:11:23] Production.INFO: ==3712== Releasing lock...
[2025-01-12 11:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:11:23] Production.INFO: 31.25 MB #Memory Used#
[2025-01-12 16:12:01] Production.INFO: ==3860== Lock acquired, processing the job...
[2025-01-12 16:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:12:01] Production.INFO: neon service started
[2025-01-12 16:12:01] Production.INFO: neon service started
[2025-01-12 16:12:01] Production.INFO: ==3860== Releasing lock...
[2025-01-12 16:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:12:01] Production.INFO: ==3864== Lock acquired, processing the job...
[2025-01-12 16:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:12:01] Production.INFO: ==3864== Releasing lock...
[2025-01-12 16:12:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:12:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:12:01] Production.INFO: ==3862== Lock acquired, processing the job...
[2025-01-12 11:12:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:12:02] Production.INFO: ==3862== Releasing lock...
[2025-01-12 11:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:12:03] Production.INFO: ==3869== Lock acquired, processing the job...
[2025-01-12 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:12:03] Production.INFO: ==3871== Lock acquired, processing the job...
[2025-01-12 11:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:12:03] Production.INFO: ==3873== Lock acquired, processing the job...
[2025-01-12 11:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:12:03] Production.INFO: Account Balance Start.
[2025-01-12 11:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:12:03] Production.INFO: 117
[2025-01-12 11:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:12:03] Production.INFO: ==3867== Lock acquired, processing the job...
[2025-01-12 11:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:12:03] Production.INFO: ==3875== Lock acquired, processing the job...
[2025-01-12 11:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:12:03] Production.INFO: Total Charge 0
[2025-01-12 11:12:03] Production.INFO: ==3877== Lock acquired, processing the job...
[2025-01-12 11:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:12:03] Production.INFO: CreateAllLog End
[2025-01-12 11:12:03] Production.INFO: ==3869== Releasing lock...
[2025-01-12 11:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:12:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:12:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:12:03] Production.INFO: count ==21
[2025-01-12 11:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231211') start
[2025-01-12 11:12:03] Production.INFO: Account Balance End.
[2025-01-12 11:12:03] Production.ERROR: CronJobId end 12
[2025-01-12 11:12:03] Production.INFO: ==3873== Releasing lock...
[2025-01-12 11:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:12:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231211') end
[2025-01-12 11:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:12:03] Production.INFO: 1
[2025-01-12 11:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:12:03] Production.ERROR: done
[2025-01-12 11:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:12:04] Production.INFO: ==3877== Releasing lock...
[2025-01-12 11:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:12:04] Production.ERROR: done
[2025-01-12 11:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:12:05
[end_date_ymd] => 2025-01-12 11:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:12:05' and `end` < '2025-01-12 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-01-12 11:12:10] Production.ERROR: CronJobId end10
[2025-01-12 11:12:10] Production.INFO: ==3871== Releasing lock...
[2025-01-12 11:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:12:13] Production.INFO: call_cost start
[2025-01-12 11:12:13] Production.INFO: call_cost end
[2025-01-12 11:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:12:14] Production.INFO: ==3867== Releasing lock...
[2025-01-12 11:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:12:20] Production.INFO: count ==410
[2025-01-12 11:12:20] Production.ERROR: pbx CDR StartTime 2025-01-12 08:12:05 - End Time 2025-01-12 11:12:05
[2025-01-12 11:12:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231212', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231212', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231212', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:12:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231212', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:12:20] Production.INFO: ProcessCDR(1,14231212,1,1,2)
[2025-01-12 11:12:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:12:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231212,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:12:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:12:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231212,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231212', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:12:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231212', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:12:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:12:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:12:24] Production.INFO: ==3875== Releasing lock...
[2025-01-12 11:12:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:12:24] Production.INFO: 31.5 MB #Memory Used#
[2025-01-12 16:13:01] Production.INFO: ==3962== Lock acquired, processing the job...
[2025-01-12 16:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:13:01] Production.INFO: neon service started
[2025-01-12 16:13:01] Production.INFO: neon service started
[2025-01-12 16:13:01] Production.INFO: ==3962== Releasing lock...
[2025-01-12 16:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:13:02] Production.INFO: ==3967== Lock acquired, processing the job...
[2025-01-12 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:13:02] Production.INFO: ==3967== Releasing lock...
[2025-01-12 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:13:02] Production.INFO: ==3965== Lock acquired, processing the job...
[2025-01-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:13:02] Production.INFO: ==3965== Releasing lock...
[2025-01-12 11:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:13:03] Production.INFO: ==3969== Lock acquired, processing the job...
[2025-01-12 11:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:13:03] Production.INFO: ==3973== Lock acquired, processing the job...
[2025-01-12 11:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:13:03] Production.INFO: ==3975== Lock acquired, processing the job...
[2025-01-12 11:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:13:03] Production.INFO: ==3971== Lock acquired, processing the job...
[2025-01-12 11:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:13:03] Production.INFO: Account Balance Start.
[2025-01-12 11:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:13:03] Production.INFO: 117
[2025-01-12 11:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:13:03] Production.INFO: Total Charge 0
[2025-01-12 11:13:03] Production.INFO: ==3977== Lock acquired, processing the job...
[2025-01-12 11:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:13:03] Production.INFO: CreateAllLog End
[2025-01-12 11:13:03] Production.INFO: ==3979== Lock acquired, processing the job...
[2025-01-12 11:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:13:04] Production.INFO: ==3971== Releasing lock...
[2025-01-12 11:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:13:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 11:13:04] Production.INFO: count ==21
[2025-01-12 11:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:13:04] Production.INFO: ==3975== Releasing lock...
[2025-01-12 11:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 11:13:04] Production.INFO: count ==21
[2025-01-12 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231216') start
[2025-01-12 11:13:04] Production.ERROR: done
[2025-01-12 11:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:13:04] Production.ERROR: done
[2025-01-12 11:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231216') end
[2025-01-12 11:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:13:04] Production.INFO: 1
[2025-01-12 11:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:13:04] Production.INFO: ==3979== Releasing lock...
[2025-01-12 11:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:13:05
[end_date_ymd] => 2025-01-12 11:13:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:13:05' and `end` < '2025-01-12 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-01-12 11:13:11] Production.ERROR: CronJobId end10
[2025-01-12 11:13:11] Production.INFO: ==3973== Releasing lock...
[2025-01-12 11:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:13:13] Production.INFO: call_cost start
[2025-01-12 11:13:13] Production.INFO: call_cost end
[2025-01-12 11:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:13:14] Production.INFO: ==3969== Releasing lock...
[2025-01-12 11:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:13:18] Production.INFO: count ==420
[2025-01-12 11:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:13:05 - End Time 2025-01-12 11:13:05
[2025-01-12 11:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231217', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231217', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231217', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231217', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:13:18] Production.INFO: ProcessCDR(1,14231217,1,1,2)
[2025-01-12 11:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231217,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231217,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231217', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231217', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:13:23] Production.INFO: ==3977== Releasing lock...
[2025-01-12 11:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:13:23] Production.INFO: 31.5 MB #Memory Used#
[2025-01-12 16:14:02] Production.INFO: ==4049== Lock acquired, processing the job...
[2025-01-12 16:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:14:02] Production.INFO: neon service started
[2025-01-12 16:14:02] Production.INFO: neon service started
[2025-01-12 16:14:02] Production.INFO: ==4049== Releasing lock...
[2025-01-12 16:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:14:02] Production.INFO: ==4051== Lock acquired, processing the job...
[2025-01-12 11:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:14:02] Production.INFO: ==4053== Lock acquired, processing the job...
[2025-01-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:14:02] Production.INFO: ==4053== Releasing lock...
[2025-01-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:14:03] Production.INFO: ==4051== Releasing lock...
[2025-01-12 11:14:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:14:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:14:04] Production.INFO: ==4056== Lock acquired, processing the job...
[2025-01-12 11:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:14:04] Production.INFO: ==4062== Lock acquired, processing the job...
[2025-01-12 11:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:14:04] Production.INFO: ==4066== Lock acquired, processing the job...
[2025-01-12 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:14:04] Production.INFO: ==4058== Lock acquired, processing the job...
[2025-01-12 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:14:04] Production.INFO: ==4060== Lock acquired, processing the job...
[2025-01-12 11:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:14:04] Production.INFO: Account Balance Start.
[2025-01-12 11:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:14:04] Production.INFO: 117
[2025-01-12 11:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:14:04] Production.INFO: ==4064== Lock acquired, processing the job...
[2025-01-12 11:14:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:14:04] Production.INFO: count ==21
[2025-01-12 11:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:14:04] Production.INFO: count ==21
[2025-01-12 11:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231220') start
[2025-01-12 11:14:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231220') end
[2025-01-12 11:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:14:04] Production.INFO: 1
[2025-01-12 11:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:14:04] Production.INFO: ==4058== Releasing lock...
[2025-01-12 11:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:14:04] Production.INFO: Total Charge 0
[2025-01-12 11:14:04] Production.INFO: CreateAllLog End
[2025-01-12 11:14:04] Production.INFO: ==4066== Releasing lock...
[2025-01-12 11:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:14:04] Production.ERROR: done
[2025-01-12 11:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:14:04] Production.INFO: Account Balance End.
[2025-01-12 11:14:05] Production.ERROR: CronJobId end 12
[2025-01-12 11:14:05] Production.INFO: ==4062== Releasing lock...
[2025-01-12 11:14:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:14:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:14:05] Production.ERROR: done
[2025-01-12 11:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:14:05
[end_date_ymd] => 2025-01-12 11:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:14:05' and `end` < '2025-01-12 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-01-12 11:14:11] Production.ERROR: CronJobId end10
[2025-01-12 11:14:11] Production.INFO: ==4060== Releasing lock...
[2025-01-12 11:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:14:14] Production.INFO: call_cost start
[2025-01-12 11:14:14] Production.INFO: call_cost end
[2025-01-12 11:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:14:14] Production.INFO: ==4056== Releasing lock...
[2025-01-12 11:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:14:19] Production.INFO: count ==430
[2025-01-12 11:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:14:05 - End Time 2025-01-12 11:14:05
[2025-01-12 11:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231222', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231222', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231222', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231222', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:14:19] Production.INFO: ProcessCDR(1,14231222,1,1,2)
[2025-01-12 11:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231222', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231222', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:14:23] Production.INFO: ==4064== Releasing lock...
[2025-01-12 11:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:14:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:15:01] Production.INFO: ==4181== Lock acquired, processing the job...
[2025-01-12 16:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:15:01] Production.INFO: neon service started
[2025-01-12 16:15:01] Production.INFO: neon service started
[2025-01-12 16:15:01] Production.INFO: ==4181== Releasing lock...
[2025-01-12 16:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:15:02] Production.INFO: ==4183== Lock acquired, processing the job...
[2025-01-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:15:02] Production.INFO: ==4185== Lock acquired, processing the job...
[2025-01-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:15:02] Production.INFO: ==4185== Releasing lock...
[2025-01-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:15:02] Production.INFO: ==4183== Releasing lock...
[2025-01-12 11:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:15:03] Production.INFO: ==4188== Lock acquired, processing the job...
[2025-01-12 11:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:15:03] Production.INFO: ==4190== Lock acquired, processing the job...
[2025-01-12 11:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:15:03] Production.INFO: ==4194== Lock acquired, processing the job...
[2025-01-12 11:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:15:03] Production.INFO: ==4197== Lock acquired, processing the job...
[2025-01-12 11:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:15:03] Production.INFO: ==4204== Lock acquired, processing the job...
[2025-01-12 11:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:15:03] Production.INFO: ==4201== Lock acquired, processing the job...
[2025-01-12 11:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:15:04] Production.INFO: Account Balance Start.
[2025-01-12 11:15:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:15:04] Production.INFO: 117
[2025-01-12 11:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 11:15:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:15:04] Production.INFO: count ==21
[2025-01-12 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231226') start
[2025-01-12 11:15:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:15:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:15:04] Production.INFO: ==4190== Releasing lock...
[2025-01-12 11:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231226') end
[2025-01-12 11:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:15:04] Production.INFO: 1
[2025-01-12 11:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:15:04] Production.INFO: Total Charge 0
[2025-01-12 11:15:04] Production.INFO: CreateAllLog End
[2025-01-12 11:15:04] Production.INFO: ==4204== Releasing lock...
[2025-01-12 11:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:15:04] Production.ERROR: done
[2025-01-12 11:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:15:04] Production.ERROR: done
[2025-01-12 11:15:04] Production.INFO: Account Balance End.
[2025-01-12 11:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:15:04] Production.INFO: ==4197== Releasing lock...
[2025-01-12 11:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:15:05
[end_date_ymd] => 2025-01-12 11:15:05
[RateCDR] => 1
)
[2025-01-12 11:15:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:15:05' and `end` < '2025-01-12 11:15:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:15:11] Production.ERROR: CronJobId end10
[2025-01-12 11:15:11] Production.INFO: ==4194== Releasing lock...
[2025-01-12 11:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:15:13] Production.INFO: call_cost start
[2025-01-12 11:15:13] Production.INFO: call_cost end
[2025-01-12 11:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:15:14] Production.INFO: ==4188== Releasing lock...
[2025-01-12 11:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:15:18] Production.INFO: count ==435
[2025-01-12 11:15:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:15:05 - End Time 2025-01-12 11:15:05
[2025-01-12 11:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231227', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231227', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231227', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231227', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:15:19] Production.INFO: ProcessCDR(1,14231227,1,1,2)
[2025-01-12 11:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231227', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231227', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:15:24] Production.INFO: ==4201== Releasing lock...
[2025-01-12 11:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:15:24] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 16:16:02] Production.INFO: ==4307== Lock acquired, processing the job...
[2025-01-12 16:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:16:02] Production.INFO: neon service started
[2025-01-12 16:16:02] Production.INFO: neon service started
[2025-01-12 16:16:02] Production.INFO: ==4307== Releasing lock...
[2025-01-12 16:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:16:03] Production.INFO: ==4309== Lock acquired, processing the job...
[2025-01-12 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:16:03] Production.INFO: ==4311== Lock acquired, processing the job...
[2025-01-12 16:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:16:03] Production.INFO: ==4311== Releasing lock...
[2025-01-12 16:16:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:16:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:16:03] Production.INFO: ==4309== Releasing lock...
[2025-01-12 11:16:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:16:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:16:04] Production.INFO: ==4320== Lock acquired, processing the job...
[2025-01-12 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:16:04] Production.INFO: ==4318== Lock acquired, processing the job...
[2025-01-12 11:16:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:16:04] Production.INFO: Account Balance Start.
[2025-01-12 11:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:16:04] Production.INFO: 117
[2025-01-12 11:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:16:04] Production.INFO: ==4314== Lock acquired, processing the job...
[2025-01-12 11:16:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:16:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:16:04] Production.INFO: ==4316== Lock acquired, processing the job...
[2025-01-12 11:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:16:04] Production.INFO: Total Charge 0
[2025-01-12 11:16:04] Production.INFO: CreateAllLog End
[2025-01-12 11:16:04] Production.INFO: ==4322== Lock acquired, processing the job...
[2025-01-12 11:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:16:04] Production.INFO: ==4324== Lock acquired, processing the job...
[2025-01-12 11:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:16:04] Production.INFO: Account Balance End.
[2025-01-12 11:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:16:04] Production.INFO: ==4320== Releasing lock...
[2025-01-12 11:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:16: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-01-12 11:16:05] Production.INFO: count ==21
[2025-01-12 11:16: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-01-12 11:16:05] Production.INFO: count ==21
[2025-01-12 11:16:05] Production.INFO: ==4316== Releasing lock...
[2025-01-12 11:16:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:16:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14231231') start
[2025-01-12 11:16:05] Production.ERROR: done
[2025-01-12 11:16:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:16:05] Production.ERROR: PBX CALL prc_importPBXExtension('14231231') end
[2025-01-12 11:16:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:16:05] Production.INFO: 1
[2025-01-12 11:16:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:16:05] Production.INFO: ==4324== Releasing lock...
[2025-01-12 11:16:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:16:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:16:05] Production.ERROR: done
[2025-01-12 11:16:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:16:06
[end_date_ymd] => 2025-01-12 11:16:06
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:16:06' and `end` < '2025-01-12 11: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-01-12 11:16:12] Production.ERROR: CronJobId end10
[2025-01-12 11:16:12] Production.INFO: ==4318== Releasing lock...
[2025-01-12 11:16:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:16:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:16:13] Production.INFO: call_cost start
[2025-01-12 11:16:13] Production.INFO: call_cost end
[2025-01-12 11:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:16:14] Production.INFO: ==4314== Releasing lock...
[2025-01-12 11:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:16:19] Production.INFO: count ==442
[2025-01-12 11:16:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:16:06 - End Time 2025-01-12 11:16:06
[2025-01-12 11:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231232', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231232', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231232', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231232', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:16:19] Production.INFO: ProcessCDR(1,14231232,1,1,2)
[2025-01-12 11:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231232', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231232', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:16:23] Production.INFO: ==4322== Releasing lock...
[2025-01-12 11:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:16:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:17:01] Production.INFO: ==4403== Lock acquired, processing the job...
[2025-01-12 16:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:17:01] Production.INFO: neon service started
[2025-01-12 16:17:01] Production.INFO: neon service started
[2025-01-12 16:17:01] Production.INFO: ==4403== Releasing lock...
[2025-01-12 16:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:17:02] Production.INFO: ==4405== Lock acquired, processing the job...
[2025-01-12 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:17:02] Production.INFO: ==4407== Lock acquired, processing the job...
[2025-01-12 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:17:02] Production.INFO: ==4407== Releasing lock...
[2025-01-12 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:17:02] Production.INFO: ==4405== Releasing lock...
[2025-01-12 11:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:17:03] Production.INFO: ==4410== Lock acquired, processing the job...
[2025-01-12 11:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:17:03] Production.INFO: ==4414== Lock acquired, processing the job...
[2025-01-12 11:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:17:03] Production.INFO: ==4418== Lock acquired, processing the job...
[2025-01-12 11:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:17:03] Production.INFO: ==4412== Lock acquired, processing the job...
[2025-01-12 11:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:17:04] Production.INFO: ==4416== Lock acquired, processing the job...
[2025-01-12 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:17:04] Production.INFO: ==4420== Lock acquired, processing the job...
[2025-01-12 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:17:04] Production.INFO: Account Balance Start.
[2025-01-12 11:17:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:17:04] Production.INFO: 117
[2025-01-12 11:17:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:17:04] Production.ERROR: done
[2025-01-12 11:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:17:04] Production.INFO: ==4412== Releasing lock...
[2025-01-12 11:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 11:17:04] Production.INFO: count ==21
[2025-01-12 11:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 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-01-12 11:17:04] Production.INFO: count ==21
[2025-01-12 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:17:04] Production.ERROR: done
[2025-01-12 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231236') start
[2025-01-12 11:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231236') end
[2025-01-12 11:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:17:04] Production.INFO: 1
[2025-01-12 11:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:17:04] Production.INFO: Total Charge 0
[2025-01-12 11:17:04] Production.INFO: ==4420== Releasing lock...
[2025-01-12 11:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:17:04] Production.INFO: CreateAllLog End
[2025-01-12 11:17:04] Production.INFO: Account Balance End.
[2025-01-12 11:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:17:04] Production.INFO: ==4416== Releasing lock...
[2025-01-12 11:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:17:05
[end_date_ymd] => 2025-01-12 11:17:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:17:05' and `end` < '2025-01-12 11: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-01-12 11:17:12] Production.ERROR: CronJobId end10
[2025-01-12 11:17:12] Production.INFO: ==4414== Releasing lock...
[2025-01-12 11:17:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:17:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:17:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:17:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:17:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:17:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:17:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:17:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:17:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:17:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:17:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:17:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:17:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:17:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:17:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:17:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:17:14] Production.INFO: call_cost start
[2025-01-12 11:17:14] Production.INFO: call_cost end
[2025-01-12 11:17:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:17:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:17:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:17:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:17:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:17:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:17:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:17:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:17:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:17:15] Production.INFO: ==4410== Releasing lock...
[2025-01-12 11:17:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:17:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:17:21] Production.INFO: count ==447
[2025-01-12 11:17:21] Production.ERROR: pbx CDR StartTime 2025-01-12 08:17:05 - End Time 2025-01-12 11:17:05
[2025-01-12 11:17:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231237', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231237', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231237', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:17:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231237', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:17:21] Production.INFO: ProcessCDR(1,14231237,1,1,2)
[2025-01-12 11:17:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:17:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:17:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:17:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231237', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:17:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231237', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:17:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:17:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:17:25] Production.INFO: ==4418== Releasing lock...
[2025-01-12 11:17:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:17:25] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 16:18:02] Production.INFO: ==4486== Lock acquired, processing the job...
[2025-01-12 16:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:18:02] Production.INFO: neon service started
[2025-01-12 16:18:02] Production.INFO: neon service started
[2025-01-12 16:18:02] Production.INFO: ==4486== Releasing lock...
[2025-01-12 16:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:18:02] Production.INFO: ==4490== Lock acquired, processing the job...
[2025-01-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:18:02] Production.INFO: ==4490== Releasing lock...
[2025-01-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:18:02] Production.INFO: ==4488== Lock acquired, processing the job...
[2025-01-12 11:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:18:03] Production.INFO: ==4488== Releasing lock...
[2025-01-12 11:18:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:18:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:18:03] Production.INFO: ==4493== Lock acquired, processing the job...
[2025-01-12 11:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:18:03] Production.INFO: ==4495== Lock acquired, processing the job...
[2025-01-12 11:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:18:03] Production.INFO: ==4501== Lock acquired, processing the job...
[2025-01-12 11:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:18:04] Production.INFO: ==4497== Lock acquired, processing the job...
[2025-01-12 11:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:18:04] Production.INFO: ==4499== Lock acquired, processing the job...
[2025-01-12 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:18:04] Production.INFO: ==4503== Lock acquired, processing the job...
[2025-01-12 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:18:04] Production.ERROR: done
[2025-01-12 11:18:04] Production.INFO: ==4495== Releasing lock...
[2025-01-12 11:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:18:04] Production.INFO: Account Balance Start.
[2025-01-12 11:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:18:04] Production.INFO: 117
[2025-01-12 11:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:18:04] Production.ERROR: done
[2025-01-12 11:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:18:04] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:18:04] Production.INFO: count ==21
[2025-01-12 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231241') start
[2025-01-12 11:18:04] Production.INFO: Total Charge 0
[2025-01-12 11:18:04] Production.INFO: CreateAllLog End
[2025-01-12 11:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231241') end
[2025-01-12 11:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:18:04] Production.INFO: 1
[2025-01-12 11:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:18:04] Production.INFO: Account Balance End.
[2025-01-12 11:18:04] Production.INFO: ==4503== Releasing lock...
[2025-01-12 11:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:18:04] Production.INFO: ==4499== Releasing lock...
[2025-01-12 11:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:18:05
[end_date_ymd] => 2025-01-12 11:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:18:05' and `end` < '2025-01-12 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-01-12 11:18:11] Production.ERROR: CronJobId end10
[2025-01-12 11:18:11] Production.INFO: ==4497== Releasing lock...
[2025-01-12 11:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:18:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:18:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:18:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:18:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:18:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:18:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:18:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:18:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:18:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:18:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:18:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:18:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:18:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:18:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:18:14] Production.INFO: call_cost start
[2025-01-12 11:18:14] Production.INFO: call_cost end
[2025-01-12 11:18:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:18:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:18:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:18:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:18:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:18:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:18:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:18:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:18:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:18:15] Production.INFO: ==4493== Releasing lock...
[2025-01-12 11:18:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:18:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:18:19] Production.INFO: count ==454
[2025-01-12 11:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:18:05 - End Time 2025-01-12 11:18:05
[2025-01-12 11:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231242', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231242', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231242', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231242', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:18:19] Production.INFO: ProcessCDR(1,14231242,1,1,2)
[2025-01-12 11:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:18:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:18:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:18:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231242', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:18:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231242', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:18:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:18:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:18:24] Production.INFO: ==4501== Releasing lock...
[2025-01-12 11:18:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:18:24] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:19:01] Production.INFO: ==4588== Lock acquired, processing the job...
[2025-01-12 16:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:19:01] Production.INFO: neon service started
[2025-01-12 16:19:01] Production.INFO: neon service started
[2025-01-12 16:19:01] Production.INFO: ==4588== Releasing lock...
[2025-01-12 16:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:19:02] Production.INFO: ==4590== Lock acquired, processing the job...
[2025-01-12 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:19:02] Production.INFO: ==4592== Lock acquired, processing the job...
[2025-01-12 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:19:02] Production.INFO: ==4592== Releasing lock...
[2025-01-12 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:19:02] Production.INFO: ==4590== Releasing lock...
[2025-01-12 11:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:19:03] Production.INFO: ==4599== Lock acquired, processing the job...
[2025-01-12 11:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:19:03] Production.INFO: ==4605== Lock acquired, processing the job...
[2025-01-12 11:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:19:03] Production.INFO: ==4595== Lock acquired, processing the job...
[2025-01-12 11:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:19:03] Production.INFO: ==4597== Lock acquired, processing the job...
[2025-01-12 11:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11: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-01-12 11:19:03] Production.INFO: ==4601== Lock acquired, processing the job...
[2025-01-12 11:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:19:03] Production.INFO: ==4603== Lock acquired, processing the job...
[2025-01-12 11:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:19:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:19:03] Production.INFO: count ==21
[2025-01-12 11:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231243') start
[2025-01-12 11:19:04] Production.INFO: Account Balance Start.
[2025-01-12 11:19:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:19:04] Production.INFO: 117
[2025-01-12 11:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:19:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231243') end
[2025-01-12 11:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:19:04] Production.INFO: 1
[2025-01-12 11:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:19:04] Production.INFO: ==4597== Releasing lock...
[2025-01-12 11:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:19:04] Production.INFO: ==4605== Releasing lock...
[2025-01-12 11:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:19:04] Production.INFO: Total Charge 0
[2025-01-12 11:19:04] Production.INFO: CreateAllLog End
[2025-01-12 11:19:04] Production.ERROR: done
[2025-01-12 11:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:19:04] Production.ERROR: done
[2025-01-12 11:19:04] Production.INFO: Account Balance End.
[2025-01-12 11:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:19:04] Production.INFO: ==4601== Releasing lock...
[2025-01-12 11:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:19:05
[end_date_ymd] => 2025-01-12 11:19:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:19:05' and `end` < '2025-01-12 11: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-01-12 11:19:11] Production.ERROR: CronJobId end10
[2025-01-12 11:19:11] Production.INFO: ==4599== Releasing lock...
[2025-01-12 11:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:19:14] Production.INFO: call_cost start
[2025-01-12 11:19:14] Production.INFO: call_cost end
[2025-01-12 11:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:19:15] Production.INFO: ==4595== Releasing lock...
[2025-01-12 11:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:19:18] Production.INFO: count ==456
[2025-01-12 11:19:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:19:05 - End Time 2025-01-12 11:19:05
[2025-01-12 11:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231247', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231247', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231247', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231247', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:19:18] Production.INFO: ProcessCDR(1,14231247,1,1,2)
[2025-01-12 11:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231247', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231247', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:19:23] Production.INFO: ==4603== Releasing lock...
[2025-01-12 11:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:19:23] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 16:20:02] Production.INFO: ==4674== Lock acquired, processing the job...
[2025-01-12 16:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:20:02] Production.INFO: neon service started
[2025-01-12 16:20:02] Production.INFO: neon service started
[2025-01-12 16:20:02] Production.INFO: ==4674== Releasing lock...
[2025-01-12 16:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:20:02] Production.INFO: ==4676== Lock acquired, processing the job...
[2025-01-12 11:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:20:02] Production.INFO: ==4678== Lock acquired, processing the job...
[2025-01-12 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:20:02] Production.INFO: ==4678== Releasing lock...
[2025-01-12 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:20:03] Production.INFO: ==4676== Releasing lock...
[2025-01-12 11:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:20:04] Production.INFO: ==4683== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:20:04] Production.INFO: ==4685== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:20:04] Production.INFO: ==4687== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:20:04] Production.INFO: ==4689== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:20:04] Production.INFO: ==4681== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 11:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:20:04] Production.ERROR: CronJob PID - 4683
[2025-01-12 11:20:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 11:20:04] Production.ERROR: CronJob ID - 5
[2025-01-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 11:20:00
[2025-01-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:20:04] Production.ERROR: CronJob PID - 4685
[2025-01-12 11:20:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 11:20:04] Production.ERROR: CronJob ID - 7
[2025-01-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 11:20:00
[2025-01-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:20:04] Production.ERROR: CronJob PID - 4687
[2025-01-12 11:20:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 11:20:04] Production.ERROR: CronJob ID - 10
[2025-01-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 11:20:00
[2025-01-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:20:04] Production.ERROR: CronJob PID - 4689
[2025-01-12 11:20:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 11:20:04] Production.ERROR: CronJob ID - 12
[2025-01-12 11:20:04] Production.ERROR: CronJob Last Run Time 2025-01-12 11:20:00
[2025-01-12 11:20:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 11:20:04] Production.INFO: ==4681== Releasing lock...
[2025-01-12 11:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 11:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 11:20:04] Production.INFO: Account Balance Start.
[2025-01-12 11:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:20:04] Production.INFO: 117
[2025-01-12 11:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:20:04] Production.INFO: ==4685== Releasing lock...
[2025-01-12 11:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:20:04] Production.INFO: ==4691== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:20:04] Production.INFO: ==4693== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 11:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:20:04] Production.INFO: ==4695== Lock acquired, processing the job...
[2025-01-12 11:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:20:04] Production.INFO: Total Charge 0
[2025-01-12 11:20:04] Production.INFO: CreateAllLog End
[2025-01-12 11:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 11:20:04] Production.ERROR: done
[2025-01-12 11:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:20:04] Production.INFO: count ==21
[2025-01-12 11:20:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:20:04] Production.INFO: count ==21
[2025-01-12 11:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231251') start
[2025-01-12 11:20:05] Production.INFO: Account Balance End.
[2025-01-12 11:20:05] Production.ERROR: done
[2025-01-12 11:20:05] Production.ERROR: PBX CALL prc_importPBXExtension('14231251') end
[2025-01-12 11:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 11:20:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:20:05] Production.INFO: 1
[2025-01-12 11:20:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:20:05] Production.INFO: ==4689== Releasing lock...
[2025-01-12 11:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:20:05] Production.INFO: ==4695== Releasing lock...
[2025-01-12 11:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:20:05] Production.ERROR: done
[2025-01-12 11:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 11:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231253', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 11:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:20:05
[end_date_ymd] => 2025-01-12 11:20:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:20:05' and `end` < '2025-01-12 11: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-01-12 11:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231253', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 11:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 11:20:09] Production.INFO: ProcessCDR(1,14231253,1,1,2)
[2025-01-12 11:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231253,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231253,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:20:09] Production.INFO: ==4693== Releasing lock...
[2025-01-12 11:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 11:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 11:20:13] Production.ERROR: CronJobId end10
[2025-01-12 11:20:13] Production.INFO: ==4687== Releasing lock...
[2025-01-12 11:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:20:15] Production.INFO: call_cost start
[2025-01-12 11:20:15] Production.INFO: call_cost end
[2025-01-12 11:20:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:20:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:20:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:20:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:20:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:20:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:20:16] Production.INFO: ==4683== Releasing lock...
[2025-01-12 11:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:20:19] Production.INFO: count ==460
[2025-01-12 11:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:20:05 - End Time 2025-01-12 11:20:05
[2025-01-12 11:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231252', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231252', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231252', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231252', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:20:19] Production.INFO: ProcessCDR(1,14231252,1,1,2)
[2025-01-12 11:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231252', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231252', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:20:22] Production.INFO: ==4691== Releasing lock...
[2025-01-12 11:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:20:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 16:21:01] Production.INFO: ==4771== Lock acquired, processing the job...
[2025-01-12 16:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:21:01] Production.INFO: neon service started
[2025-01-12 16:21:01] Production.INFO: neon service started
[2025-01-12 16:21:01] Production.INFO: ==4771== Releasing lock...
[2025-01-12 16:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:21:02] Production.INFO: ==4773== Lock acquired, processing the job...
[2025-01-12 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:21:02] Production.INFO: ==4775== Lock acquired, processing the job...
[2025-01-12 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:21:02] Production.INFO: ==4775== Releasing lock...
[2025-01-12 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:21:02] Production.INFO: ==4773== Releasing lock...
[2025-01-12 11:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:21:03] Production.INFO: ==4778== Lock acquired, processing the job...
[2025-01-12 11:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:21:03] Production.INFO: ==4780== Lock acquired, processing the job...
[2025-01-12 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:21:03] Production.INFO: ==4782== Lock acquired, processing the job...
[2025-01-12 11:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:21:03] Production.INFO: ==4784== Lock acquired, processing the job...
[2025-01-12 11:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:21:03] Production.INFO: Account Balance Start.
[2025-01-12 11:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:21:03] Production.INFO: 117
[2025-01-12 11:21:03] Production.INFO: ==4780== Releasing lock...
[2025-01-12 11:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:21:03] Production.INFO: ==4788== Lock acquired, processing the job...
[2025-01-12 11:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:21:03] Production.INFO: ==4786== Lock acquired, processing the job...
[2025-01-12 11:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11: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-01-12 11:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:21:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:21:03] Production.INFO: count ==21
[2025-01-12 11:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231257') start
[2025-01-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:21:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:21:03] Production.INFO: Total Charge 0
[2025-01-12 11:21:04] Production.INFO: CreateAllLog End
[2025-01-12 11:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231257') end
[2025-01-12 11:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:21:04] Production.INFO: 1
[2025-01-12 11:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:21:04] Production.INFO: ==4788== Releasing lock...
[2025-01-12 11:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:21:04] Production.ERROR: done
[2025-01-12 11:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:21:04] Production.INFO: Account Balance End.
[2025-01-12 11:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:21:04] Production.INFO: ==4784== Releasing lock...
[2025-01-12 11:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:21:04] Production.ERROR: done
[2025-01-12 11:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:21:05
[end_date_ymd] => 2025-01-12 11:21:05
[RateCDR] => 1
)
[2025-01-12 11:21:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:21:05' and `end` < '2025-01-12 11:21:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:21:11] Production.ERROR: CronJobId end10
[2025-01-12 11:21:11] Production.INFO: ==4782== Releasing lock...
[2025-01-12 11:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:21:13] Production.INFO: call_cost start
[2025-01-12 11:21:13] Production.INFO: call_cost end
[2025-01-12 11:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:21:14] Production.INFO: ==4778== Releasing lock...
[2025-01-12 11:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:21:18] Production.INFO: count ==476
[2025-01-12 11:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:21:05 - End Time 2025-01-12 11:21:05
[2025-01-12 11:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231258', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231258', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231258', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231258', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:21:18] Production.INFO: ProcessCDR(1,14231258,1,1,2)
[2025-01-12 11:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:21:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231258,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:21:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231258,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231258', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231258', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:21:22] Production.INFO: ==4786== Releasing lock...
[2025-01-12 11:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:21:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 16:22:02] Production.INFO: ==4859== Lock acquired, processing the job...
[2025-01-12 16:22:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:22:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:22:02] Production.INFO: neon service started
[2025-01-12 16:22:02] Production.INFO: neon service started
[2025-01-12 16:22:02] Production.INFO: ==4859== Releasing lock...
[2025-01-12 16:22:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:22:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:22:02] Production.INFO: ==4861== Lock acquired, processing the job...
[2025-01-12 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:22:02] Production.INFO: ==4861== Releasing lock...
[2025-01-12 11:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:22:02] Production.INFO: ==4863== Lock acquired, processing the job...
[2025-01-12 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:22:02] Production.INFO: ==4863== Releasing lock...
[2025-01-12 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:22:03] Production.INFO: ==4865== Lock acquired, processing the job...
[2025-01-12 11:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:22:03] Production.INFO: ==4867== Lock acquired, processing the job...
[2025-01-12 11:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:22:03] Production.INFO: ==4869== Lock acquired, processing the job...
[2025-01-12 11:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:22:03] Production.INFO: ==4871== Lock acquired, processing the job...
[2025-01-12 11:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:22:03] Production.INFO: ==4873== Lock acquired, processing the job...
[2025-01-12 11:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:22:03] Production.INFO: Account Balance Start.
[2025-01-12 11:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:22:03] Production.INFO: 117
[2025-01-12 11:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:22:03] Production.INFO: ==4875== Lock acquired, processing the job...
[2025-01-12 11:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:22:03] Production.INFO: count ==21
[2025-01-12 11:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:22:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:22:03] Production.INFO: count ==21
[2025-01-12 11:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231262') start
[2025-01-12 11:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:22:04] Production.INFO: ==4867== Releasing lock...
[2025-01-12 11:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:22:04] Production.INFO: Total Charge 0
[2025-01-12 11:22:04] Production.INFO: CreateAllLog End
[2025-01-12 11:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231262') end
[2025-01-12 11:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:22:04] Production.INFO: 1
[2025-01-12 11:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:22:04] Production.INFO: ==4875== Releasing lock...
[2025-01-12 11:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:22:04] Production.ERROR: done
[2025-01-12 11:22:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:22:04] Production.INFO: Account Balance End.
[2025-01-12 11:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:22:04] Production.INFO: ==4871== Releasing lock...
[2025-01-12 11:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:22:04] Production.ERROR: done
[2025-01-12 11:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:22:05
[end_date_ymd] => 2025-01-12 11:22:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:22:05' and `end` < '2025-01-12 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-01-12 11:22:11] Production.ERROR: CronJobId end10
[2025-01-12 11:22:11] Production.INFO: ==4869== Releasing lock...
[2025-01-12 11:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:22:13] Production.INFO: call_cost start
[2025-01-12 11:22:13] Production.INFO: call_cost end
[2025-01-12 11:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:22:14] Production.INFO: ==4865== Releasing lock...
[2025-01-12 11:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:22:19] Production.INFO: count ==477
[2025-01-12 11:22:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:22:05 - End Time 2025-01-12 11:22:05
[2025-01-12 11:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231263', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231263', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231263', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231263', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:22:19] Production.INFO: ProcessCDR(1,14231263,1,1,2)
[2025-01-12 11:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231263,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231263,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231263', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231263', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:22:23] Production.INFO: ==4873== Releasing lock...
[2025-01-12 11:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:22:23] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 16:23:01] Production.INFO: ==4951== Lock acquired, processing the job...
[2025-01-12 16:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:23:01] Production.INFO: neon service started
[2025-01-12 16:23:01] Production.INFO: neon service started
[2025-01-12 16:23:01] Production.INFO: ==4951== Releasing lock...
[2025-01-12 16:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:23:01] Production.INFO: ==4954== Lock acquired, processing the job...
[2025-01-12 11:23:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:23:02] Production.INFO: ==4954== Releasing lock...
[2025-01-12 11:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:23:02] Production.INFO: ==4956== Lock acquired, processing the job...
[2025-01-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:23:02] Production.INFO: ==4956== Releasing lock...
[2025-01-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:23:02] Production.INFO: ==4962== Lock acquired, processing the job...
[2025-01-12 11:23:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:23:03] Production.INFO: ==4967== Lock acquired, processing the job...
[2025-01-12 11:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:23:03] Production.INFO: ==4958== Lock acquired, processing the job...
[2025-01-12 11:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:23:03] Production.INFO: ==4960== Lock acquired, processing the job...
[2025-01-12 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:23:03] Production.INFO: ==4964== Lock acquired, processing the job...
[2025-01-12 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:23:03] Production.INFO: ==4969== Lock acquired, processing the job...
[2025-01-12 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:23:03] Production.ERROR: done
[2025-01-12 11:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:23:03] Production.INFO: Account Balance Start.
[2025-01-12 11:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:23:03] Production.INFO: 117
[2025-01-12 11:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 11: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-01-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:23:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:23:03] Production.INFO: count ==21
[2025-01-12 11:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231265') start
[2025-01-12 11:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:23:03] Production.ERROR: done
[2025-01-12 11:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231265') end
[2025-01-12 11:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:23:03] Production.INFO: 1
[2025-01-12 11:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:23:03] Production.INFO: ==4969== Releasing lock...
[2025-01-12 11:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:23:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:23:03] Production.INFO: ==4960== Releasing lock...
[2025-01-12 11:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:23:03] Production.INFO: Total Charge 0
[2025-01-12 11:23:03] Production.INFO: CreateAllLog End
[2025-01-12 11:23:03] Production.INFO: Account Balance End.
[2025-01-12 11:23:03] Production.ERROR: CronJobId end 12
[2025-01-12 11:23:03] Production.INFO: ==4964== Releasing lock...
[2025-01-12 11:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:23:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:23:04
[end_date_ymd] => 2025-01-12 11:23:04
[RateCDR] => 1
)
[2025-01-12 11:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:23:04' and `end` < '2025-01-12 11:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:23:11] Production.ERROR: CronJobId end10
[2025-01-12 11:23:11] Production.INFO: ==4962== Releasing lock...
[2025-01-12 11:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:23:13] Production.INFO: call_cost start
[2025-01-12 11:23:13] Production.INFO: call_cost end
[2025-01-12 11:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:23:14] Production.INFO: ==4958== Releasing lock...
[2025-01-12 11:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:23:17] Production.INFO: count ==477
[2025-01-12 11:23:17] Production.ERROR: pbx CDR StartTime 2025-01-12 08:23:04 - End Time 2025-01-12 11:23:04
[2025-01-12 11:23:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231268', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231268', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231268', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:23:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231268', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:23:17] Production.INFO: ProcessCDR(1,14231268,1,1,2)
[2025-01-12 11:23:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:23:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231268,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:23:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:23:20] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231268,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231268', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:23:20] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231268', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:23:20] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:23:20] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:23:20] Production.INFO: ==4967== Releasing lock...
[2025-01-12 11:23:20] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:23:20] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 16:24:02] Production.INFO: ==5044== Lock acquired, processing the job...
[2025-01-12 16:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:24:02] Production.INFO: neon service started
[2025-01-12 16:24:02] Production.INFO: neon service started
[2025-01-12 16:24:02] Production.INFO: ==5044== Releasing lock...
[2025-01-12 16:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:24:02] Production.INFO: ==5046== Lock acquired, processing the job...
[2025-01-12 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:24:02] Production.INFO: ==5049== Lock acquired, processing the job...
[2025-01-12 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:24:02] Production.INFO: ==5046== Releasing lock...
[2025-01-12 11:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:24:02] Production.INFO: ==5049== Releasing lock...
[2025-01-12 16:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:24:03] Production.INFO: ==5051== Lock acquired, processing the job...
[2025-01-12 11:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:24:03] Production.INFO: ==5053== Lock acquired, processing the job...
[2025-01-12 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:24:03] Production.INFO: ==5055== Lock acquired, processing the job...
[2025-01-12 11:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:24:03] Production.INFO: ==5057== Lock acquired, processing the job...
[2025-01-12 11:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:24:03] Production.INFO: ==5059== Lock acquired, processing the job...
[2025-01-12 11:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:24:03] Production.INFO: ==5053== Releasing lock...
[2025-01-12 11:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:24:03] Production.INFO: ==5061== Lock acquired, processing the job...
[2025-01-12 11:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:24:03] Production.INFO: Account Balance Start.
[2025-01-12 11:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:24:03] Production.INFO: 117
[2025-01-12 11:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:24:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:24:04] Production.INFO: count ==21
[2025-01-12 11:24:04] Production.ERROR: done
[2025-01-12 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231272') start
[2025-01-12 11:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:24:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231272') end
[2025-01-12 11:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:24:04] Production.INFO: 1
[2025-01-12 11:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:24:04] Production.INFO: ==5061== Releasing lock...
[2025-01-12 11:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:24:04] Production.INFO: Total Charge 0
[2025-01-12 11:24:04] Production.INFO: CreateAllLog End
[2025-01-12 11:24:04] Production.ERROR: done
[2025-01-12 11:24:04] Production.INFO: Account Balance End.
[2025-01-12 11:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:24:04] Production.INFO: ==5057== Releasing lock...
[2025-01-12 11:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:24:05
[end_date_ymd] => 2025-01-12 11:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:24:05' and `end` < '2025-01-12 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-01-12 11:24:11] Production.ERROR: CronJobId end10
[2025-01-12 11:24:11] Production.INFO: ==5055== Releasing lock...
[2025-01-12 11:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:24:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:24:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:24:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:24:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:24:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:24:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:24:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:24:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:24:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:24:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:24:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:24:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:24:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:24:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:24:14] Production.INFO: call_cost start
[2025-01-12 11:24:14] Production.INFO: call_cost end
[2025-01-12 11:24:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:24:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:24:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:24:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:24:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:24:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:24:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:24:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:24:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:24:15] Production.INFO: ==5051== Releasing lock...
[2025-01-12 11:24:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:24:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:24:19] Production.INFO: count ==477
[2025-01-12 11:24:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:24:05 - End Time 2025-01-12 11:24:05
[2025-01-12 11:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231273', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231273', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231273', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231273', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:24:19] Production.INFO: ProcessCDR(1,14231273,1,1,2)
[2025-01-12 11:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231273', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231273', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:24:22] Production.INFO: ==5059== Releasing lock...
[2025-01-12 11:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:24:22] Production.INFO: 31.75 MB #Memory Used#
[2025-01-12 16:25:01] Production.INFO: ==5155== Lock acquired, processing the job...
[2025-01-12 16:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:25:01] Production.INFO: neon service started
[2025-01-12 16:25:01] Production.INFO: neon service started
[2025-01-12 16:25:01] Production.INFO: ==5155== Releasing lock...
[2025-01-12 16:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:25:02] Production.INFO: ==5158== Lock acquired, processing the job...
[2025-01-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:25:02] Production.INFO: ==5160== Lock acquired, processing the job...
[2025-01-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:25:02] Production.INFO: ==5160== Releasing lock...
[2025-01-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:25:02] Production.INFO: ==5158== Releasing lock...
[2025-01-12 11:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:25:03] Production.INFO: ==5164== Lock acquired, processing the job...
[2025-01-12 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:25:03] Production.INFO: ==5170== Lock acquired, processing the job...
[2025-01-12 11:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:25:03] Production.INFO: ==5168== Lock acquired, processing the job...
[2025-01-12 11:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:25:03] Production.INFO: ==5162== Lock acquired, processing the job...
[2025-01-12 11:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:25:03] Production.INFO: ==5166== Lock acquired, processing the job...
[2025-01-12 11:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:25:03] Production.INFO: ==5164== Releasing lock...
[2025-01-12 11:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:25:03] Production.INFO: ==5172== Lock acquired, processing the job...
[2025-01-12 11:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:25:03] Production.INFO: Account Balance Start.
[2025-01-12 11:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:25:03] Production.INFO: 117
[2025-01-12 11:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:25:03] Production.ERROR: done
[2025-01-12 11:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:25:03] Production.INFO: Total Charge 0
[2025-01-12 11: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-01-12 11:25:03] Production.INFO: CreateAllLog End
[2025-01-12 11:25:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:25:03] Production.INFO: count ==21
[2025-01-12 11:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231277') start
[2025-01-12 11:25:04] Production.ERROR: done
[2025-01-12 11:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231277') end
[2025-01-12 11:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:25:04] Production.INFO: 1
[2025-01-12 11:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:25:04] Production.INFO: Account Balance End.
[2025-01-12 11:25:04] Production.INFO: ==5172== Releasing lock...
[2025-01-12 11:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:25:04] Production.INFO: ==5168== Releasing lock...
[2025-01-12 11:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:25:05
[end_date_ymd] => 2025-01-12 11:25:05
[RateCDR] => 1
)
[2025-01-12 11:25:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:25:05' and `end` < '2025-01-12 11:25:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:25:10] Production.ERROR: CronJobId end10
[2025-01-12 11:25:10] Production.INFO: ==5166== Releasing lock...
[2025-01-12 11:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:25:13] Production.INFO: call_cost start
[2025-01-12 11:25:13] Production.INFO: call_cost end
[2025-01-12 11:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:25:14] Production.INFO: ==5162== Releasing lock...
[2025-01-12 11:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:25:19] Production.INFO: count ==478
[2025-01-12 11:25:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:25:05 - End Time 2025-01-12 11:25:05
[2025-01-12 11:25:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231278', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231278', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231278', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:25:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231278', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:25:19] Production.INFO: ProcessCDR(1,14231278,1,1,2)
[2025-01-12 11:25:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231278', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231278', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:25:23] Production.INFO: ==5170== Releasing lock...
[2025-01-12 11:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:25:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:26:02] Production.INFO: ==5229== Lock acquired, processing the job...
[2025-01-12 16:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:26:02] Production.INFO: neon service started
[2025-01-12 16:26:02] Production.INFO: neon service started
[2025-01-12 16:26:02] Production.INFO: ==5229== Releasing lock...
[2025-01-12 16:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:26:02] Production.INFO: ==5231== Lock acquired, processing the job...
[2025-01-12 11:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:26:02] Production.INFO: ==5233== Lock acquired, processing the job...
[2025-01-12 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:26:02] Production.INFO: ==5233== Releasing lock...
[2025-01-12 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:26:03] Production.INFO: ==5231== Releasing lock...
[2025-01-12 11:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:26:03] Production.INFO: ==5236== Lock acquired, processing the job...
[2025-01-12 11:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:26:03] Production.INFO: ==5240== Lock acquired, processing the job...
[2025-01-12 11:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:26:03] Production.INFO: ==5242== Lock acquired, processing the job...
[2025-01-12 11:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:26:03] Production.INFO: Account Balance Start.
[2025-01-12 11:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:26:03] Production.INFO: 117
[2025-01-12 11:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:26:04] Production.INFO: ==5238== Lock acquired, processing the job...
[2025-01-12 11:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:26:04] Production.INFO: ==5244== Lock acquired, processing the job...
[2025-01-12 11:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:26:04] Production.INFO: ==5246== Lock acquired, processing the job...
[2025-01-12 11:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:26:04] Production.INFO: Total Charge 0
[2025-01-12 11:26:04] Production.INFO: CreateAllLog End
[2025-01-12 11:26:04] Production.INFO: ==5238== Releasing lock...
[2025-01-12 11:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 11:26:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:26:04] Production.INFO: count ==21
[2025-01-12 11:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231282') start
[2025-01-12 11:26:04] Production.ERROR: done
[2025-01-12 11:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:26:04] Production.INFO: Account Balance End.
[2025-01-12 11:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231282') end
[2025-01-12 11:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:26:04] Production.INFO: 1
[2025-01-12 11:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:26:04] Production.INFO: ==5242== Releasing lock...
[2025-01-12 11:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:26:04] Production.INFO: ==5246== Releasing lock...
[2025-01-12 11:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:26:04] Production.ERROR: done
[2025-01-12 11:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:26:05
[end_date_ymd] => 2025-01-12 11:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:26:05' and `end` < '2025-01-12 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-01-12 11:26:11] Production.ERROR: CronJobId end10
[2025-01-12 11:26:11] Production.INFO: ==5240== Releasing lock...
[2025-01-12 11:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:26:13] Production.INFO: call_cost start
[2025-01-12 11:26:13] Production.INFO: call_cost end
[2025-01-12 11:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:26:14] Production.INFO: ==5236== Releasing lock...
[2025-01-12 11:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:26:22] Production.INFO: count ==479
[2025-01-12 11:26:22] Production.ERROR: pbx CDR StartTime 2025-01-12 08:26:05 - End Time 2025-01-12 11:26:05
[2025-01-12 11:26:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231283', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231283', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231283', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:26:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231283', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:26:22] Production.INFO: ProcessCDR(1,14231283,1,1,2)
[2025-01-12 11:26:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:26:24] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:26:24] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:26:26] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231283', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:26:26] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231283', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:26:26] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:26:26] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:26:26] Production.INFO: ==5244== Releasing lock...
[2025-01-12 11:26:26] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:26:26] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:27:01] Production.INFO: ==5299== Lock acquired, processing the job...
[2025-01-12 16:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:27:01] Production.INFO: neon service started
[2025-01-12 16:27:01] Production.INFO: neon service started
[2025-01-12 16:27:01] Production.INFO: ==5299== Releasing lock...
[2025-01-12 16:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:27:01] Production.INFO: ==5301== Lock acquired, processing the job...
[2025-01-12 11:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:27:02] Production.INFO: ==5301== Releasing lock...
[2025-01-12 11:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:27:02] Production.INFO: ==5303== Lock acquired, processing the job...
[2025-01-12 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:27:02] Production.INFO: ==5303== Releasing lock...
[2025-01-12 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:27:03] Production.INFO: ==5308== Lock acquired, processing the job...
[2025-01-12 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:27:03] Production.INFO: ==5306== Lock acquired, processing the job...
[2025-01-12 11:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:27:03] Production.INFO: ==5310== Lock acquired, processing the job...
[2025-01-12 11:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:27:03] Production.INFO: ==5312== Lock acquired, processing the job...
[2025-01-12 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:27:03] Production.INFO: ==5314== Lock acquired, processing the job...
[2025-01-12 11:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:27:03] Production.INFO: ==5316== Lock acquired, processing the job...
[2025-01-12 11:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:27:03] Production.INFO: Account Balance Start.
[2025-01-12 11:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:27:03] Production.INFO: 117
[2025-01-12 11:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:27:03] Production.INFO: ==5308== Releasing lock...
[2025-01-12 11:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:27:03] Production.ERROR: done
[2025-01-12 11:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11: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-01-12 11:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:27:03] Production.INFO: count ==21
[2025-01-12 11:27:03] Production.INFO: Total Charge 0
[2025-01-12 11: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-01-12 11:27:03] Production.INFO: count ==21
[2025-01-12 11:27:03] Production.INFO: CreateAllLog End
[2025-01-12 11:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231287') start
[2025-01-12 11:27:03] Production.INFO: Account Balance End.
[2025-01-12 11:27:03] Production.ERROR: done
[2025-01-12 11:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231287') end
[2025-01-12 11:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:27:03] Production.INFO: 1
[2025-01-12 11:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:27:03] Production.ERROR: CronJobId end 12
[2025-01-12 11:27:03] Production.INFO: ==5312== Releasing lock...
[2025-01-12 11:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:27:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:27:04] Production.INFO: ==5316== Releasing lock...
[2025-01-12 11:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:27:04
[end_date_ymd] => 2025-01-12 11:27:04
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:27:04' and `end` < '2025-01-12 11: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-01-12 11:27:11] Production.ERROR: CronJobId end10
[2025-01-12 11:27:11] Production.INFO: ==5310== Releasing lock...
[2025-01-12 11:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:27:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:27:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:27:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:27:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:27:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:27:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:27:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:27:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:27:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:27:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:27:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:27:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:27:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:27:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:27:13] Production.INFO: call_cost start
[2025-01-12 11:27:13] Production.INFO: call_cost end
[2025-01-12 11:27:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:27:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:27:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:27:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:27:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:27:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:27:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:27:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:27:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:27:13] Production.INFO: ==5306== Releasing lock...
[2025-01-12 11:27:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:27:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:27:17] Production.INFO: count ==487
[2025-01-12 11:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:27:04 - End Time 2025-01-12 11:27:04
[2025-01-12 11:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231288', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231288', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231288', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231288', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:27:18] Production.INFO: ProcessCDR(1,14231288,1,1,2)
[2025-01-12 11:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231288', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231288', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:27:22] Production.INFO: ==5314== Releasing lock...
[2025-01-12 11:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:27:22] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:28:01] Production.INFO: ==5370== Lock acquired, processing the job...
[2025-01-12 16:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:28:01] Production.INFO: neon service started
[2025-01-12 16:28:01] Production.INFO: neon service started
[2025-01-12 16:28:01] Production.INFO: ==5370== Releasing lock...
[2025-01-12 16:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:28:02] Production.INFO: ==5372== Lock acquired, processing the job...
[2025-01-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:28:02] Production.INFO: ==5372== Releasing lock...
[2025-01-12 11:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:28:02] Production.INFO: ==5374== Lock acquired, processing the job...
[2025-01-12 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:28:02] Production.INFO: ==5374== Releasing lock...
[2025-01-12 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:28:03] Production.INFO: ==5383== Lock acquired, processing the job...
[2025-01-12 11:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:28:03] Production.INFO: ==5385== Lock acquired, processing the job...
[2025-01-12 11:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:28:03] Production.INFO: Account Balance Start.
[2025-01-12 11:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:28:03] Production.INFO: ==5377== Lock acquired, processing the job...
[2025-01-12 11:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:28:03] Production.INFO: 117
[2025-01-12 11:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:28:03] Production.INFO: ==5379== Lock acquired, processing the job...
[2025-01-12 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:28:03] Production.INFO: ==5381== Lock acquired, processing the job...
[2025-01-12 11:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:28:03] Production.INFO: ==5387== Lock acquired, processing the job...
[2025-01-12 11:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:28:03] Production.INFO: Total Charge 0
[2025-01-12 11:28:03] Production.INFO: count ==21
[2025-01-12 11:28:03] Production.INFO: CreateAllLog End
[2025-01-12 11:28:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:28:03] Production.INFO: count ==21
[2025-01-12 11:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231292') start
[2025-01-12 11:28:03] Production.ERROR: done
[2025-01-12 11:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:28:03] Production.INFO: ==5379== Releasing lock...
[2025-01-12 11:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231292') end
[2025-01-12 11:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:28:04] Production.INFO: 1
[2025-01-12 11:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:28:04] Production.INFO: ==5387== Releasing lock...
[2025-01-12 11:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:28:04] Production.ERROR: done
[2025-01-12 11:28:04] Production.INFO: Account Balance End.
[2025-01-12 11:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:28:04] Production.INFO: ==5383== Releasing lock...
[2025-01-12 11:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:28:05
[end_date_ymd] => 2025-01-12 11:28:05
[RateCDR] => 1
)
[2025-01-12 11:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:28:05' and `end` < '2025-01-12 11:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:28:11] Production.ERROR: CronJobId end10
[2025-01-12 11:28:11] Production.INFO: ==5381== Releasing lock...
[2025-01-12 11:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:28:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:28:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:28:13] Production.INFO: call_cost start
[2025-01-12 11:28:13] Production.INFO: call_cost end
[2025-01-12 11:28:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:28:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:28:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:28:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:28:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:28:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:28:14] Production.INFO: ==5377== Releasing lock...
[2025-01-12 11:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:28:19] Production.INFO: count ==489
[2025-01-12 11:28:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:28:05 - End Time 2025-01-12 11:28:05
[2025-01-12 11:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231293', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231293', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231293', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231293', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:28:19] Production.INFO: ProcessCDR(1,14231293,1,1,2)
[2025-01-12 11:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231293', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231293', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:28:23] Production.INFO: ==5385== Releasing lock...
[2025-01-12 11:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:28:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:29:02] Production.INFO: ==5440== Lock acquired, processing the job...
[2025-01-12 16:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:29:02] Production.INFO: neon service started
[2025-01-12 16:29:02] Production.INFO: neon service started
[2025-01-12 16:29:02] Production.INFO: ==5440== Releasing lock...
[2025-01-12 16:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:29:02] Production.INFO: ==5445== Lock acquired, processing the job...
[2025-01-12 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:29:02] Production.INFO: ==5445== Releasing lock...
[2025-01-12 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:29:02] Production.INFO: ==5443== Lock acquired, processing the job...
[2025-01-12 11:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:29:03] Production.INFO: ==5443== Releasing lock...
[2025-01-12 11:29:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:29:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:29:03] Production.INFO: ==5451== Lock acquired, processing the job...
[2025-01-12 11:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:29:03] Production.INFO: ==5455== Lock acquired, processing the job...
[2025-01-12 11:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:29:03] Production.INFO: ==5447== Lock acquired, processing the job...
[2025-01-12 11:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:29:04] Production.INFO: ==5449== Lock acquired, processing the job...
[2025-01-12 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:29:04] Production.INFO: ==5453== Lock acquired, processing the job...
[2025-01-12 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:29:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:29:04] Production.INFO: ==5457== Lock acquired, processing the job...
[2025-01-12 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:29:04] Production.ERROR: done
[2025-01-12 11:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:29:04] Production.INFO: Account Balance Start.
[2025-01-12 11:29:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:29:04] Production.INFO: 117
[2025-01-12 11:29:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:29:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:29:04] Production.INFO: count ==21
[2025-01-12 11:29:04] Production.ERROR: done
[2025-01-12 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231297') start
[2025-01-12 11:29:04] Production.INFO: ==5449== Releasing lock...
[2025-01-12 11:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:29:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:29:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231297') end
[2025-01-12 11:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:29:04] Production.INFO: 1
[2025-01-12 11:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:29:04] Production.INFO: ==5457== Releasing lock...
[2025-01-12 11:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:29:04] Production.INFO: Total Charge 0
[2025-01-12 11:29:04] Production.INFO: CreateAllLog End
[2025-01-12 11:29:04] Production.INFO: Account Balance End.
[2025-01-12 11:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:29:04] Production.INFO: ==5453== Releasing lock...
[2025-01-12 11:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:29:05
[end_date_ymd] => 2025-01-12 11:29:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:29:05' and `end` < '2025-01-12 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-01-12 11:29:11] Production.ERROR: CronJobId end10
[2025-01-12 11:29:11] Production.INFO: ==5451== Releasing lock...
[2025-01-12 11:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:29:12] Production.INFO: call_cost start
[2025-01-12 11:29:12] Production.INFO: call_cost end
[2025-01-12 11:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:29:13] Production.INFO: ==5447== Releasing lock...
[2025-01-12 11:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:29:18] Production.INFO: count ==490
[2025-01-12 11:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:29:05 - End Time 2025-01-12 11:29:05
[2025-01-12 11:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231298', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231298', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231298', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231298', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:29:18] Production.INFO: ProcessCDR(1,14231298,1,1,2)
[2025-01-12 11:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231298', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231298', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:29:23] Production.INFO: ==5455== Releasing lock...
[2025-01-12 11:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:29:23] Production.INFO: 32 MB #Memory Used#
[2025-01-12 16:30:01] Production.INFO: ==5512== Lock acquired, processing the job...
[2025-01-12 16:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:30:01] Production.INFO: neon service started
[2025-01-12 16:30:01] Production.INFO: neon service started
[2025-01-12 16:30:01] Production.INFO: ==5512== Releasing lock...
[2025-01-12 16:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:30:02] Production.INFO: ==5514== Lock acquired, processing the job...
[2025-01-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:30:02] Production.INFO: ==5516== Lock acquired, processing the job...
[2025-01-12 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:30:02] Production.INFO: ==5516== Releasing lock...
[2025-01-12 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:30:02] Production.INFO: ==5514== Releasing lock...
[2025-01-12 11:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:30:03] Production.INFO: ==5520== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:30:03] Production.INFO: ==5522== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:30:03] Production.INFO: ==5526== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:30:03] Production.INFO: ==5528== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:30:03] Production.INFO: ==5518== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 11:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:30:03] Production.INFO: ==5524== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:30:03] Production.INFO: Account Balance Start.
[2025-01-12 11:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:30:03] Production.INFO: 117
[2025-01-12 11:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:30:03] Production.ERROR: CronJob PID - 5520
[2025-01-12 11:30:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 11:30:03] Production.ERROR: CronJob ID - 5
[2025-01-12 11:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:30:00
[2025-01-12 11:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:30:03] Production.ERROR: CronJob PID - 5522
[2025-01-12 11:30:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 11:30:03] Production.ERROR: CronJob ID - 7
[2025-01-12 11:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:30:00
[2025-01-12 11:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:30:03] Production.ERROR: CronJob PID - 5526
[2025-01-12 11:30:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 11:30:03] Production.ERROR: CronJob ID - 12
[2025-01-12 11:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:30:00
[2025-01-12 11:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:30:03] Production.ERROR: CronJob PID - 5528
[2025-01-12 11:30:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 11:30:03] Production.ERROR: CronJob ID - 16
[2025-01-12 11:30:03] Production.ERROR: CronJob Last Run Time 2025-01-12 11:30:00
[2025-01-12 11:30:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 11:30:03] Production.INFO: ==5518== Releasing lock...
[2025-01-12 11:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 11:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 11:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:30:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:30:03] Production.INFO: ==5522== Releasing lock...
[2025-01-12 11:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:30:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:30:03] Production.INFO: ==5531== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 11:30:03] Production.INFO: ==5533== Lock acquired, processing the job...
[2025-01-12 11:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:30:04] Production.ERROR: done
[2025-01-12 11:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 11:30:04] Production.INFO: Total Charge 0
[2025-01-12 11:30:04] Production.INFO: count ==21
[2025-01-12 11:30:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 11:30:04] Production.INFO: count ==21
[2025-01-12 11:30:04] Production.ERROR: done
[2025-01-12 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231302') start
[2025-01-12 11:30:04] Production.ERROR: done
[2025-01-12 11:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231302') end
[2025-01-12 11:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:30:04] Production.INFO: 1
[2025-01-12 11:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 11:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231304', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 11:30:04] Production.INFO: ==5533== Releasing lock...
[2025-01-12 11:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:30:04] Production.INFO: Account Balance End.
[2025-01-12 11:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:30:04] Production.INFO: ==5526== Releasing lock...
[2025-01-12 11:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:30:05
[end_date_ymd] => 2025-01-12 11:30:05
[RateCDR] => 1
)
[2025-01-12 11:30:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:30:05' and `end` < '2025-01-12 11:30:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231304', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 11:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 11:30:08] Production.INFO: ProcessCDR(1,14231304,1,1,2)
[2025-01-12 11:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231304,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:30:08] Production.INFO: ==5531== Releasing lock...
[2025-01-12 11:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 11:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 11:30:12] Production.ERROR: CronJobId end10
[2025-01-12 11:30:12] Production.INFO: ==5524== Releasing lock...
[2025-01-12 11:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:30:14] Production.INFO: call_cost start
[2025-01-12 11:30:14] Production.INFO: call_cost end
[2025-01-12 11:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:30:15] Production.INFO: ==5520== Releasing lock...
[2025-01-12 11:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:30:18] Production.INFO: count ==494
[2025-01-12 11:30:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:30:05 - End Time 2025-01-12 11:30:05
[2025-01-12 11:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231303', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231303', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231303', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231303', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:30:18] Production.INFO: ProcessCDR(1,14231303,1,1,2)
[2025-01-12 11:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231303', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231303', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:30:23] Production.INFO: ==5528== Releasing lock...
[2025-01-12 11:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:30:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:31:02] Production.INFO: ==5587== Lock acquired, processing the job...
[2025-01-12 16:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:31:02] Production.INFO: neon service started
[2025-01-12 16:31:02] Production.INFO: neon service started
[2025-01-12 16:31:02] Production.INFO: ==5587== Releasing lock...
[2025-01-12 16:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:31:02] Production.INFO: ==5589== Lock acquired, processing the job...
[2025-01-12 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:31:02] Production.INFO: ==5591== Lock acquired, processing the job...
[2025-01-12 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:31:02] Production.INFO: ==5591== Releasing lock...
[2025-01-12 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:31:02] Production.INFO: ==5589== Releasing lock...
[2025-01-12 11:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:31:03] Production.INFO: ==5594== Lock acquired, processing the job...
[2025-01-12 11:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:31:03] Production.INFO: ==5598== Lock acquired, processing the job...
[2025-01-12 11:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:31:03] Production.INFO: ==5602== Lock acquired, processing the job...
[2025-01-12 11:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:31:03] Production.INFO: ==5596== Lock acquired, processing the job...
[2025-01-12 11:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:31:04] Production.INFO: ==5604== Lock acquired, processing the job...
[2025-01-12 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:31:04] Production.INFO: ==5600== Lock acquired, processing the job...
[2025-01-12 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 11:31:04] Production.INFO: count ==21
[2025-01-12 11:31:04] Production.ERROR: done
[2025-01-12 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-01-12 11:31:04] Production.INFO: count ==21
[2025-01-12 11:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231306') start
[2025-01-12 11:31:04] Production.INFO: Account Balance Start.
[2025-01-12 11:31:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:31:04] Production.INFO: 117
[2025-01-12 11:31:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:31:04] Production.ERROR: done
[2025-01-12 11:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231306') end
[2025-01-12 11:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:31:04] Production.INFO: 1
[2025-01-12 11:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:31:04] Production.INFO: ==5604== Releasing lock...
[2025-01-12 11:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:31:04] Production.INFO: ==5596== Releasing lock...
[2025-01-12 11:31:04] Production.INFO: Total Charge 0
[2025-01-12 11:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:31:04] Production.INFO: CreateAllLog End
[2025-01-12 11:31:04] Production.INFO: Account Balance End.
[2025-01-12 11:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:31:04] Production.INFO: ==5600== Releasing lock...
[2025-01-12 11:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:31:05
[end_date_ymd] => 2025-01-12 11:31:05
[RateCDR] => 1
)
[2025-01-12 11:31:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:31:05' and `end` < '2025-01-12 11:31:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:31:10] Production.ERROR: CronJobId end10
[2025-01-12 11:31:10] Production.INFO: ==5598== Releasing lock...
[2025-01-12 11:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:31:13] Production.INFO: call_cost start
[2025-01-12 11:31:13] Production.INFO: call_cost end
[2025-01-12 11:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:31:14] Production.INFO: ==5594== Releasing lock...
[2025-01-12 11:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:31:20] Production.INFO: count ==516
[2025-01-12 11:31:20] Production.ERROR: pbx CDR StartTime 2025-01-12 08:31:05 - End Time 2025-01-12 11:31:05
[2025-01-12 11:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231309', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231309', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231309', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231309', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:31:20] Production.INFO: ProcessCDR(1,14231309,1,1,2)
[2025-01-12 11:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:31:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231309,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:31:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231309,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231309', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231309', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:31:24] Production.INFO: ==5602== Releasing lock...
[2025-01-12 11:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:31:24] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:32:01] Production.INFO: ==5657== Lock acquired, processing the job...
[2025-01-12 16:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:32:01] Production.INFO: neon service started
[2025-01-12 16:32:01] Production.INFO: neon service started
[2025-01-12 16:32:01] Production.INFO: ==5657== Releasing lock...
[2025-01-12 16:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:32:01] Production.INFO: ==5661== Lock acquired, processing the job...
[2025-01-12 16:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:32:01] Production.INFO: ==5661== Releasing lock...
[2025-01-12 16:32:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:32:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:32:02] Production.INFO: ==5659== Lock acquired, processing the job...
[2025-01-12 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:32:02] Production.INFO: ==5659== Releasing lock...
[2025-01-12 11:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:32:02] Production.INFO: ==5663== Lock acquired, processing the job...
[2025-01-12 11:32:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:32:03] Production.INFO: ==5672== Lock acquired, processing the job...
[2025-01-12 11:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:32:03] Production.INFO: ==5669== Lock acquired, processing the job...
[2025-01-12 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:32:03] Production.INFO: ==5665== Lock acquired, processing the job...
[2025-01-12 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:32:03] Production.INFO: Account Balance Start.
[2025-01-12 11:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:32:03] Production.INFO: 117
[2025-01-12 11:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:32:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:32:03] Production.INFO: ==5667== Lock acquired, processing the job...
[2025-01-12 11:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:32:03] Production.INFO: ==5674== Lock acquired, processing the job...
[2025-01-12 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:32:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:32:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:32:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:32:03] Production.ERROR: done
[2025-01-12 11:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:32:03] Production.INFO: Total Charge 0
[2025-01-12 11:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 11:32:03] Production.INFO: count ==21
[2025-01-12 11:32:03] Production.INFO: ==5665== Releasing lock...
[2025-01-12 11:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:32:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:32:03] Production.INFO: CreateAllLog End
[2025-01-12 11:32:03] Production.INFO: count ==21
[2025-01-12 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231313') start
[2025-01-12 11:32:03] Production.ERROR: done
[2025-01-12 11:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231313') end
[2025-01-12 11:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:32:03] Production.INFO: 1
[2025-01-12 11:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:32:03] Production.INFO: Account Balance End.
[2025-01-12 11:32:03] Production.INFO: ==5674== Releasing lock...
[2025-01-12 11:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:32:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:32:03] Production.ERROR: CronJobId end 12
[2025-01-12 11:32:03] Production.INFO: ==5669== Releasing lock...
[2025-01-12 11:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:32:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:32:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:32:04
[end_date_ymd] => 2025-01-12 11:32:04
[RateCDR] => 1
)
[2025-01-12 11:32:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:32:04' and `end` < '2025-01-12 11:32:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:32:11] Production.ERROR: CronJobId end10
[2025-01-12 11:32:11] Production.INFO: ==5667== Releasing lock...
[2025-01-12 11:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:32:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:32:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:32:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:32:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:32:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:32:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:32:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:32:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:32:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:32:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:32:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:32:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:32:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:32:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:32:12] Production.INFO: call_cost start
[2025-01-12 11:32:12] Production.INFO: call_cost end
[2025-01-12 11:32:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:32:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:32:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:32:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:32:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:32:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:32:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:32:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:32:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:32:13] Production.INFO: ==5663== Releasing lock...
[2025-01-12 11:32:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:32:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:32:19] Production.INFO: count ==517
[2025-01-12 11:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:32:04 - End Time 2025-01-12 11:32:04
[2025-01-12 11:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231314', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231314', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231314', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231314', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:32:19] Production.INFO: ProcessCDR(1,14231314,1,1,2)
[2025-01-12 11:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:32:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231314,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:32:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231314,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231314', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231314', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:32:23] Production.INFO: ==5672== Releasing lock...
[2025-01-12 11:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:32:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:33:01] Production.INFO: ==5727== Lock acquired, processing the job...
[2025-01-12 16:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:33:01] Production.INFO: neon service started
[2025-01-12 16:33:01] Production.INFO: neon service started
[2025-01-12 16:33:01] Production.INFO: ==5727== Releasing lock...
[2025-01-12 16:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:33:02] Production.INFO: ==5729== Lock acquired, processing the job...
[2025-01-12 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:33:02] Production.INFO: ==5731== Lock acquired, processing the job...
[2025-01-12 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:33:02] Production.INFO: ==5731== Releasing lock...
[2025-01-12 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:33:02] Production.INFO: ==5729== Releasing lock...
[2025-01-12 11:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:33:03] Production.INFO: ==5738== Lock acquired, processing the job...
[2025-01-12 11:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:33:03] Production.INFO: ==5744== Lock acquired, processing the job...
[2025-01-12 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:33:03] Production.INFO: ==5734== Lock acquired, processing the job...
[2025-01-12 11:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:33:03] Production.INFO: ==5736== Lock acquired, processing the job...
[2025-01-12 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11: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-01-12 11:33:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:33:03] Production.INFO: count ==21
[2025-01-12 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231315') start
[2025-01-12 11:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:33:03] Production.INFO: ==5742== Lock acquired, processing the job...
[2025-01-12 11:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:33:03] Production.INFO: ==5740== Lock acquired, processing the job...
[2025-01-12 11:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231315') end
[2025-01-12 11:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:33:03] Production.INFO: 1
[2025-01-12 11:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:33:03] Production.INFO: ==5744== Releasing lock...
[2025-01-12 11:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:33:03] Production.INFO: Account Balance Start.
[2025-01-12 11:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:33:03] Production.INFO: 117
[2025-01-12 11:33:03] Production.INFO: ==5736== Releasing lock...
[2025-01-12 11:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:33:04] Production.ERROR: done
[2025-01-12 11:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:33:04] Production.INFO: Total Charge 0
[2025-01-12 11:33:04] Production.INFO: CreateAllLog End
[2025-01-12 11:33:04] Production.ERROR: done
[2025-01-12 11:33:04] Production.INFO: Account Balance End.
[2025-01-12 11:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:33:04] Production.INFO: ==5740== Releasing lock...
[2025-01-12 11:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:33:05
[end_date_ymd] => 2025-01-12 11:33:05
[RateCDR] => 1
)
[2025-01-12 11:33:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:33:05' and `end` < '2025-01-12 11:33:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:33:10] Production.ERROR: CronJobId end10
[2025-01-12 11:33:10] Production.INFO: ==5738== Releasing lock...
[2025-01-12 11:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:33:13] Production.INFO: call_cost start
[2025-01-12 11:33:13] Production.INFO: call_cost end
[2025-01-12 11:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:33:14] Production.INFO: ==5734== Releasing lock...
[2025-01-12 11:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:33:18] Production.INFO: count ==517
[2025-01-12 11:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:33:05 - End Time 2025-01-12 11:33:05
[2025-01-12 11:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231319', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231319', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231319', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231319', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:33:18] Production.INFO: ProcessCDR(1,14231319,1,1,2)
[2025-01-12 11:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231319,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231319,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231319', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231319', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:33:21] Production.INFO: ==5742== Releasing lock...
[2025-01-12 11:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:33:21] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:34:02] Production.INFO: ==5798== Lock acquired, processing the job...
[2025-01-12 16:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:34:02] Production.INFO: neon service started
[2025-01-12 16:34:02] Production.INFO: neon service started
[2025-01-12 16:34:02] Production.INFO: ==5798== Releasing lock...
[2025-01-12 16:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:34:02] Production.INFO: ==5800== Lock acquired, processing the job...
[2025-01-12 11:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:34:02] Production.INFO: ==5802== Lock acquired, processing the job...
[2025-01-12 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:34:02] Production.INFO: ==5802== Releasing lock...
[2025-01-12 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:34:03] Production.INFO: ==5800== Releasing lock...
[2025-01-12 11:34:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:34:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:34:03] Production.INFO: ==5811== Lock acquired, processing the job...
[2025-01-12 11:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:34:04] Production.INFO: ==5815== Lock acquired, processing the job...
[2025-01-12 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:34:04] Production.INFO: Account Balance Start.
[2025-01-12 11:34:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:34:04] Production.INFO: 117
[2025-01-12 11:34:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:34:04] Production.INFO: ==5805== Lock acquired, processing the job...
[2025-01-12 11:34:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:34:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:34:04] Production.INFO: ==5807== Lock acquired, processing the job...
[2025-01-12 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:34:04] Production.INFO: count ==21
[2025-01-12 11:34:04] Production.INFO: ==5809== Lock acquired, processing the job...
[2025-01-12 11:34:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 11:34:04] Production.INFO: count ==21
[2025-01-12 11:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231321') start
[2025-01-12 11:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:34:04] Production.INFO: ==5813== Lock acquired, processing the job...
[2025-01-12 11:34:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231321') end
[2025-01-12 11:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:34:04] Production.INFO: 1
[2025-01-12 11:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:34:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:34:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:34:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:34:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:34:04] Production.INFO: ==5815== Releasing lock...
[2025-01-12 11:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:34:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:34:04] Production.INFO: Total Charge 0
[2025-01-12 11:34:04] Production.INFO: CreateAllLog End
[2025-01-12 11:34:04] Production.INFO: ==5807== Releasing lock...
[2025-01-12 11:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:34:04] Production.INFO: Account Balance End.
[2025-01-12 11:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:34:04] Production.INFO: ==5811== Releasing lock...
[2025-01-12 11:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:34:04] Production.ERROR: done
[2025-01-12 11:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:34:05] Production.ERROR: done
[2025-01-12 11:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:34:05
[end_date_ymd] => 2025-01-12 11:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:34:05' and `end` < '2025-01-12 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-01-12 11:34:11] Production.ERROR: CronJobId end10
[2025-01-12 11:34:11] Production.INFO: ==5809== Releasing lock...
[2025-01-12 11:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:34:13] Production.INFO: call_cost start
[2025-01-12 11:34:13] Production.INFO: call_cost end
[2025-01-12 11:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:34:14] Production.INFO: ==5805== Releasing lock...
[2025-01-12 11:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:34:19] Production.INFO: count ==518
[2025-01-12 11:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:34:05 - End Time 2025-01-12 11:34:05
[2025-01-12 11:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231324', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231324', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231324', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231324', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:34:19] Production.INFO: ProcessCDR(1,14231324,1,1,2)
[2025-01-12 11:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231324', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231324', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:34:22] Production.INFO: ==5813== Releasing lock...
[2025-01-12 11:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:34:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:35:01] Production.INFO: ==5867== Lock acquired, processing the job...
[2025-01-12 16:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:35:01] Production.INFO: neon service started
[2025-01-12 16:35:01] Production.INFO: neon service started
[2025-01-12 16:35:01] Production.INFO: ==5867== Releasing lock...
[2025-01-12 16:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:35:02] Production.INFO: ==5869== Lock acquired, processing the job...
[2025-01-12 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:35:02] Production.INFO: ==5871== Lock acquired, processing the job...
[2025-01-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:35:02] Production.INFO: ==5871== Releasing lock...
[2025-01-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:35:02] Production.INFO: ==5869== Releasing lock...
[2025-01-12 11:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:35:03] Production.INFO: ==5874== Lock acquired, processing the job...
[2025-01-12 11:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:35:03] Production.INFO: ==5876== Lock acquired, processing the job...
[2025-01-12 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:35:03] Production.INFO: ==5878== Lock acquired, processing the job...
[2025-01-12 11:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:35:03] Production.INFO: ==5880== Lock acquired, processing the job...
[2025-01-12 11:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:35:03] Production.INFO: ==5882== Lock acquired, processing the job...
[2025-01-12 11:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:35:03] Production.INFO: Account Balance Start.
[2025-01-12 11:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:35:03] Production.INFO: 117
[2025-01-12 11:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:35:03] Production.INFO: ==5885== Lock acquired, processing the job...
[2025-01-12 11:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:35:03] Production.INFO: Total Charge 0
[2025-01-12 11:35:03] Production.INFO: CreateAllLog End
[2025-01-12 11:35:03] Production.INFO: ==5876== Releasing lock...
[2025-01-12 11:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:35:03] Production.INFO: count ==21
[2025-01-12 11:35:04] Production.ERROR: done
[2025-01-12 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-01-12 11:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:35:04] Production.INFO: count ==21
[2025-01-12 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231328') start
[2025-01-12 11:35:04] Production.INFO: Account Balance End.
[2025-01-12 11:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:35:04] Production.INFO: ==5880== Releasing lock...
[2025-01-12 11:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:35:04] Production.ERROR: done
[2025-01-12 11:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231328') end
[2025-01-12 11:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:35:04] Production.INFO: 1
[2025-01-12 11:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:35:04] Production.INFO: ==5885== Releasing lock...
[2025-01-12 11:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:35:05
[end_date_ymd] => 2025-01-12 11:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:35:05' and `end` < '2025-01-12 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-01-12 11:35:11] Production.ERROR: CronJobId end10
[2025-01-12 11:35:11] Production.INFO: ==5878== Releasing lock...
[2025-01-12 11:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:35:12] Production.INFO: call_cost start
[2025-01-12 11:35:12] Production.INFO: call_cost end
[2025-01-12 11:35:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:35:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:35:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:35:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:35:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:35:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:35:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:35:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:35:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:35:13] Production.INFO: ==5874== Releasing lock...
[2025-01-12 11:35:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:35:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:35:19] Production.INFO: count ==518
[2025-01-12 11:35:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:35:05 - End Time 2025-01-12 11:35:05
[2025-01-12 11:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231329', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231329', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231329', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231329', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:35:19] Production.INFO: ProcessCDR(1,14231329,1,1,2)
[2025-01-12 11:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231329', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231329', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:35:22] Production.INFO: ==5882== Releasing lock...
[2025-01-12 11:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:35:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:36:02] Production.INFO: ==5942== Lock acquired, processing the job...
[2025-01-12 16:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:36:02] Production.INFO: neon service started
[2025-01-12 16:36:02] Production.INFO: neon service started
[2025-01-12 16:36:02] Production.INFO: ==5942== Releasing lock...
[2025-01-12 16:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:36:02] Production.INFO: ==5946== Lock acquired, processing the job...
[2025-01-12 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:36:02] Production.INFO: ==5946== Releasing lock...
[2025-01-12 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:36:02] Production.INFO: ==5944== Lock acquired, processing the job...
[2025-01-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:36:02] Production.INFO: ==5944== Releasing lock...
[2025-01-12 11:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:36:03] Production.INFO: ==5950== Lock acquired, processing the job...
[2025-01-12 11:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:36:03] Production.INFO: ==5948== Lock acquired, processing the job...
[2025-01-12 11:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:36:03] Production.INFO: ==5952== Lock acquired, processing the job...
[2025-01-12 11:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:36:04] Production.INFO: ==5954== Lock acquired, processing the job...
[2025-01-12 11:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:36:04] Production.INFO: ==5950== Releasing lock...
[2025-01-12 11:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:36:04] Production.INFO: ==5956== Lock acquired, processing the job...
[2025-01-12 11:36:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:36:04] Production.INFO: ==5958== Lock acquired, processing the job...
[2025-01-12 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:36:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:36:04] Production.INFO: Account Balance Start.
[2025-01-12 11:36:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:36:04] Production.INFO: 117
[2025-01-12 11: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-01-12 11:36:04] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:36:04] Production.INFO: count ==21
[2025-01-12 11:36:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231333') start
[2025-01-12 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:36:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:36:04] Production.ERROR: done
[2025-01-12 11:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231333') end
[2025-01-12 11:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:36:04] Production.INFO: 1
[2025-01-12 11:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:36:04] Production.INFO: ==5958== Releasing lock...
[2025-01-12 11:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:36:04] Production.ERROR: done
[2025-01-12 11:36:04] Production.INFO: Total Charge 0
[2025-01-12 11:36:04] Production.INFO: CreateAllLog End
[2025-01-12 11:36:05] Production.INFO: Account Balance End.
[2025-01-12 11:36:05] Production.ERROR: CronJobId end 12
[2025-01-12 11:36:05] Production.INFO: ==5954== Releasing lock...
[2025-01-12 11:36:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:36:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:36:05
[end_date_ymd] => 2025-01-12 11:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:36:05' and `end` < '2025-01-12 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-01-12 11:36:12] Production.ERROR: CronJobId end10
[2025-01-12 11:36:12] Production.INFO: ==5952== Releasing lock...
[2025-01-12 11:36:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:36:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:36:13] Production.INFO: call_cost start
[2025-01-12 11:36:13] Production.INFO: call_cost end
[2025-01-12 11:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:36:14] Production.INFO: ==5948== Releasing lock...
[2025-01-12 11:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:36:19] Production.INFO: count ==518
[2025-01-12 11:36:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:36:05 - End Time 2025-01-12 11:36:05
[2025-01-12 11:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231334', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231334', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231334', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231334', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:36:19] Production.INFO: ProcessCDR(1,14231334,1,1,2)
[2025-01-12 11:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231334', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231334', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:36:22] Production.INFO: ==5956== Releasing lock...
[2025-01-12 11:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:36:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:37:01] Production.INFO: ==6016== Lock acquired, processing the job...
[2025-01-12 16:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:37:01] Production.INFO: neon service started
[2025-01-12 16:37:01] Production.INFO: neon service started
[2025-01-12 16:37:01] Production.INFO: ==6016== Releasing lock...
[2025-01-12 16:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:37:02] Production.INFO: ==6018== Lock acquired, processing the job...
[2025-01-12 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:37:02] Production.INFO: ==6020== Lock acquired, processing the job...
[2025-01-12 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:37:02] Production.INFO: ==6020== Releasing lock...
[2025-01-12 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:37:02] Production.INFO: ==6018== Releasing lock...
[2025-01-12 11:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:37:03] Production.INFO: ==6027== Lock acquired, processing the job...
[2025-01-12 11:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:37:03] Production.INFO: ==6023== Lock acquired, processing the job...
[2025-01-12 11:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:37:03] Production.INFO: ==6031== Lock acquired, processing the job...
[2025-01-12 11:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:37:03] Production.INFO: ==6025== Lock acquired, processing the job...
[2025-01-12 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:37:03] Production.INFO: ==6029== Lock acquired, processing the job...
[2025-01-12 11:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:37:03] Production.INFO: ==6033== Lock acquired, processing the job...
[2025-01-12 11:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:37:03] Production.INFO: Account Balance Start.
[2025-01-12 11:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:37:03] Production.INFO: 117
[2025-01-12 11:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:37:03] Production.INFO: count ==21
[2025-01-12 11:37:03] Production.ERROR: done
[2025-01-12 11: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-01-12 11:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:37:03] Production.INFO: count ==21
[2025-01-12 11:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:37:03] Production.INFO: ==6025== Releasing lock...
[2025-01-12 11:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231337') start
[2025-01-12 11:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231337') end
[2025-01-12 11:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:37:04] Production.INFO: 1
[2025-01-12 11:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:37:04] Production.ERROR: done
[2025-01-12 11:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:37:04] Production.INFO: ==6033== Releasing lock...
[2025-01-12 11:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:37:04] Production.INFO: Total Charge 0
[2025-01-12 11:37:04] Production.INFO: CreateAllLog End
[2025-01-12 11:37:04] Production.INFO: Account Balance End.
[2025-01-12 11:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:37:04] Production.INFO: ==6029== Releasing lock...
[2025-01-12 11:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:37:04
[end_date_ymd] => 2025-01-12 11:37:04
[RateCDR] => 1
)
[2025-01-12 11:37: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-01-12 08:37:04' and `end` < '2025-01-12 11:37: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-01-12 11:37:10] Production.ERROR: CronJobId end10
[2025-01-12 11:37:10] Production.INFO: ==6027== Releasing lock...
[2025-01-12 11:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:37:13] Production.INFO: call_cost start
[2025-01-12 11:37:13] Production.INFO: call_cost end
[2025-01-12 11:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:37:13] Production.INFO: ==6023== Releasing lock...
[2025-01-12 11:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:37:18] Production.INFO: count ==519
[2025-01-12 11:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:37:04 - End Time 2025-01-12 11:37:04
[2025-01-12 11:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231339', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231339', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231339', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231339', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:37:18] Production.INFO: ProcessCDR(1,14231339,1,1,2)
[2025-01-12 11:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231339', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231339', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:37:22] Production.INFO: ==6031== Releasing lock...
[2025-01-12 11:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:37:22] Production.INFO: 32.25 MB #Memory Used#
[2025-01-12 16:38:01] Production.INFO: ==6087== Lock acquired, processing the job...
[2025-01-12 16:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:38:01] Production.INFO: neon service started
[2025-01-12 16:38:02] Production.INFO: neon service started
[2025-01-12 16:38:02] Production.INFO: ==6087== Releasing lock...
[2025-01-12 16:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:38:02] Production.INFO: ==6089== Lock acquired, processing the job...
[2025-01-12 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:38:02] Production.INFO: ==6089== Releasing lock...
[2025-01-12 11:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:38:02] Production.INFO: ==6091== Lock acquired, processing the job...
[2025-01-12 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:38:02] Production.INFO: ==6091== Releasing lock...
[2025-01-12 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:38:03] Production.INFO: ==6099== Lock acquired, processing the job...
[2025-01-12 11:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:38:03] Production.INFO: Account Balance Start.
[2025-01-12 11:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:38:03] Production.INFO: 117
[2025-01-12 11:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:38:03] Production.INFO: ==6103== Lock acquired, processing the job...
[2025-01-12 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:38:03] Production.INFO: ==6095== Lock acquired, processing the job...
[2025-01-12 11:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:38:03] Production.INFO: ==6093== Lock acquired, processing the job...
[2025-01-12 11:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:38:03] Production.INFO: ==6101== Lock acquired, processing the job...
[2025-01-12 11:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:38:03] Production.INFO: ==6097== Lock acquired, processing the job...
[2025-01-12 11:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 11:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:38:03] Production.INFO: count ==21
[2025-01-12 11:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:38:03] Production.INFO: count ==21
[2025-01-12 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231341') start
[2025-01-12 11:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231341') end
[2025-01-12 11:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:38:03] Production.INFO: 1
[2025-01-12 11:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:38:03] Production.INFO: Total Charge 0
[2025-01-12 11:38:03] Production.INFO: CreateAllLog End
[2025-01-12 11:38:03] Production.INFO: ==6103== Releasing lock...
[2025-01-12 11:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:38:04] Production.ERROR: done
[2025-01-12 11:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:38:04] Production.INFO: Account Balance End.
[2025-01-12 11:38:04] Production.INFO: ==6095== Releasing lock...
[2025-01-12 11:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:38:04] Production.ERROR: done
[2025-01-12 11:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:38:04] Production.INFO: ==6099== Releasing lock...
[2025-01-12 11:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:38:05
[end_date_ymd] => 2025-01-12 11:38:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:38:05' and `end` < '2025-01-12 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-01-12 11:38:11] Production.ERROR: CronJobId end10
[2025-01-12 11:38:11] Production.INFO: ==6097== Releasing lock...
[2025-01-12 11:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:38:13] Production.INFO: call_cost start
[2025-01-12 11:38:13] Production.INFO: call_cost end
[2025-01-12 11:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:38:14] Production.INFO: ==6093== Releasing lock...
[2025-01-12 11:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:38:18] Production.INFO: count ==521
[2025-01-12 11:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:38:05 - End Time 2025-01-12 11:38:05
[2025-01-12 11:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231344', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231344', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231344', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231344', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:38:18] Production.INFO: ProcessCDR(1,14231344,1,1,2)
[2025-01-12 11:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231344', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231344', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:38:22] Production.INFO: ==6101== Releasing lock...
[2025-01-12 11:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:38:22] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:39:01] Production.INFO: ==6159== Lock acquired, processing the job...
[2025-01-12 16:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:39:01] Production.INFO: neon service started
[2025-01-12 16:39:01] Production.INFO: neon service started
[2025-01-12 16:39:01] Production.INFO: ==6159== Releasing lock...
[2025-01-12 16:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:39:01] Production.INFO: ==6163== Lock acquired, processing the job...
[2025-01-12 16:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:39:01] Production.INFO: ==6163== Releasing lock...
[2025-01-12 16:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:39:01] Production.INFO: ==6161== Lock acquired, processing the job...
[2025-01-12 11:39:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:39:02] Production.INFO: ==6161== Releasing lock...
[2025-01-12 11:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:39:02] Production.INFO: ==6165== Lock acquired, processing the job...
[2025-01-12 11:39:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:39:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:39:02] Production.INFO: ==6171== Lock acquired, processing the job...
[2025-01-12 11:39:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:39:03] Production.INFO: ==6173== Lock acquired, processing the job...
[2025-01-12 11:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:39:03] Production.INFO: ==6167== Lock acquired, processing the job...
[2025-01-12 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:39:03] Production.INFO: Account Balance Start.
[2025-01-12 11:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:39:03] Production.INFO: 117
[2025-01-12 11:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:39:03] Production.INFO: ==6169== Lock acquired, processing the job...
[2025-01-12 11:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:39:03] Production.INFO: ==6175== Lock acquired, processing the job...
[2025-01-12 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:39:03] Production.ERROR: done
[2025-01-12 11:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:39:03] Production.INFO: ==6167== Releasing lock...
[2025-01-12 11:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:39:03] Production.INFO: count ==21
[2025-01-12 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-01-12 11:39:03] Production.INFO: count ==21
[2025-01-12 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231348') start
[2025-01-12 11:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:39:03] Production.ERROR: done
[2025-01-12 11:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231348') end
[2025-01-12 11:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:39:03] Production.INFO: 1
[2025-01-12 11:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:39:03] Production.INFO: ==6175== Releasing lock...
[2025-01-12 11:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:39:03] Production.INFO: Total Charge 0
[2025-01-12 11:39:03] Production.INFO: CreateAllLog End
[2025-01-12 11:39:03] Production.INFO: Account Balance End.
[2025-01-12 11:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:39:04] Production.INFO: ==6171== Releasing lock...
[2025-01-12 11:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:39:04
[end_date_ymd] => 2025-01-12 11:39:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:39:04' and `end` < '2025-01-12 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-01-12 11:39:10] Production.ERROR: CronJobId end10
[2025-01-12 11:39:10] Production.INFO: ==6169== Releasing lock...
[2025-01-12 11:39:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:39:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:39:13] Production.INFO: call_cost start
[2025-01-12 11:39:13] Production.INFO: call_cost end
[2025-01-12 11:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:39:13] Production.INFO: ==6165== Releasing lock...
[2025-01-12 11:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:39:17] Production.INFO: count ==523
[2025-01-12 11:39:17] Production.ERROR: pbx CDR StartTime 2025-01-12 08:39:04 - End Time 2025-01-12 11:39:04
[2025-01-12 11:39:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231349', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231349', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231349', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:39:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231349', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:39:17] Production.INFO: ProcessCDR(1,14231349,1,1,2)
[2025-01-12 11:39:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:39:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:39:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231349', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231349', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:39:22] Production.INFO: ==6173== Releasing lock...
[2025-01-12 11:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:39:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 16:40:01] Production.INFO: ==6270== Lock acquired, processing the job...
[2025-01-12 16:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:40:01] Production.INFO: neon service started
[2025-01-12 16:40:01] Production.INFO: neon service started
[2025-01-12 16:40:01] Production.INFO: ==6270== Releasing lock...
[2025-01-12 16:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:40:01] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 16:40:02] Production.INFO: ==6274== Lock acquired, processing the job...
[2025-01-12 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:40:02] Production.INFO: ==6274== Releasing lock...
[2025-01-12 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:40:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 11:40:02] Production.INFO: ==6272== Lock acquired, processing the job...
[2025-01-12 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:40:02] Production.INFO: ==6272== Releasing lock...
[2025-01-12 11:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:40:03] Production.INFO: ==6277== Lock acquired, processing the job...
[2025-01-12 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 11:40:03] Production.INFO: ==6281== Lock acquired, processing the job...
[2025-01-12 11:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 11:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 11:40:03] Production.INFO: ==6277== Releasing lock...
[2025-01-12 11:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 11:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 11:40:03] Production.INFO: ==6285== Lock acquired, processing the job...
[2025-01-12 11:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:40:03] Production.INFO: ==6291== Lock acquired, processing the job...
[2025-01-12 11:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:40:03] Production.INFO: Account Balance Start.
[2025-01-12 11:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:40:03] Production.INFO: 117
[2025-01-12 11:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:40:03] Production.INFO: ==6279== Lock acquired, processing the job...
[2025-01-12 11:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:40:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:40:03] Production.INFO: count ==21
[2025-01-12 11:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:40:03] Production.INFO: count ==21
[2025-01-12 11:40:03] Production.INFO: ==6283== Lock acquired, processing the job...
[2025-01-12 11:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:40:03] Production.INFO: ==6287== Lock acquired, processing the job...
[2025-01-12 11:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:40:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231351') start
[2025-01-12 11:40:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:40:03] Production.INFO: ==6289== Lock acquired, processing the job...
[2025-01-12 11:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 11:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:40:04] Production.INFO: Total Charge 0
[2025-01-12 11:40:04] Production.INFO: CreateAllLog End
[2025-01-12 11:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231351') end
[2025-01-12 11:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:40:04] Production.INFO: 1
[2025-01-12 11:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:40:04] Production.INFO: ==6281== Releasing lock...
[2025-01-12 11:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:40:04] Production.ERROR: done
[2025-01-12 11:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:40:04] Production.INFO: ==6291== Releasing lock...
[2025-01-12 11:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:40:04] Production.ERROR: done
[2025-01-12 11:40:04] Production.INFO: Account Balance End.
[2025-01-12 11:40:04] Production.ERROR: done
[2025-01-12 11:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:40:04] Production.INFO: ==6285== Releasing lock...
[2025-01-12 11:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 11:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231355', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 11:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:40:05
[end_date_ymd] => 2025-01-12 11:40:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:40:05' and `end` < '2025-01-12 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-01-12 11:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231355', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 11:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 11:40:08] Production.INFO: ProcessCDR(1,14231355,1,1,2)
[2025-01-12 11:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231355,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231355,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:40:08] Production.INFO: ==6289== Releasing lock...
[2025-01-12 11:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 11:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 11:40:13] Production.ERROR: CronJobId end10
[2025-01-12 11:40:13] Production.INFO: ==6283== Releasing lock...
[2025-01-12 11:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:40:15] Production.INFO: call_cost start
[2025-01-12 11:40:15] Production.INFO: call_cost end
[2025-01-12 11:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:40:16] Production.INFO: ==6279== Releasing lock...
[2025-01-12 11:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:40:18] Production.INFO: count ==525
[2025-01-12 11:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:40:05 - End Time 2025-01-12 11:40:05
[2025-01-12 11:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231354', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231354', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231354', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231354', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:40:18] Production.INFO: ProcessCDR(1,14231354,1,1,2)
[2025-01-12 11:40:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:40:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:40:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:40:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231354', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:40:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231354', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:40:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:40:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:40:21] Production.INFO: ==6287== Releasing lock...
[2025-01-12 11:40:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:40:21] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 16:41:02] Production.INFO: ==6344== Lock acquired, processing the job...
[2025-01-12 16:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:41:02] Production.INFO: neon service started
[2025-01-12 16:41:02] Production.INFO: neon service started
[2025-01-12 16:41:02] Production.INFO: ==6344== Releasing lock...
[2025-01-12 16:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:41:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:41:02] Production.INFO: ==6348== Lock acquired, processing the job...
[2025-01-12 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:41:02] Production.INFO: ==6348== Releasing lock...
[2025-01-12 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:41:02] Production.INFO: ==6346== Lock acquired, processing the job...
[2025-01-12 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:41:02] Production.INFO: ==6346== Releasing lock...
[2025-01-12 11:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:41:03] Production.INFO: ==6351== Lock acquired, processing the job...
[2025-01-12 11:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:41:03] Production.INFO: ==6355== Lock acquired, processing the job...
[2025-01-12 11:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:41:03] Production.INFO: ==6359== Lock acquired, processing the job...
[2025-01-12 11:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:41:03] Production.INFO: ==6353== Lock acquired, processing the job...
[2025-01-12 11:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:41:03] Production.INFO: ==6357== Lock acquired, processing the job...
[2025-01-12 11:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:41:04] Production.INFO: ==6361== Lock acquired, processing the job...
[2025-01-12 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:41:04] Production.INFO: Account Balance Start.
[2025-01-12 11:41:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:41:04] Production.INFO: 117
[2025-01-12 11:41:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:41:04] Production.ERROR: done
[2025-01-12 11:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11: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-01-12 11:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:41:04] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:41:04] Production.INFO: count ==21
[2025-01-12 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231359') start
[2025-01-12 11:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:41:04] Production.INFO: ==6353== Releasing lock...
[2025-01-12 11:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:41:04] Production.INFO: Total Charge 0
[2025-01-12 11:41:04] Production.INFO: CreateAllLog End
[2025-01-12 11:41:04] Production.ERROR: done
[2025-01-12 11:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231359') end
[2025-01-12 11:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:41:04] Production.INFO: 1
[2025-01-12 11:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:41:04] Production.INFO: ==6361== Releasing lock...
[2025-01-12 11:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:41:04] Production.INFO: Account Balance End.
[2025-01-12 11:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:41:04] Production.INFO: ==6357== Releasing lock...
[2025-01-12 11:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:41:05
[end_date_ymd] => 2025-01-12 11:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:41:05' and `end` < '2025-01-12 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-01-12 11:41:10] Production.ERROR: CronJobId end10
[2025-01-12 11:41:10] Production.INFO: ==6355== Releasing lock...
[2025-01-12 11:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:41:12] Production.INFO: call_cost start
[2025-01-12 11:41:12] Production.INFO: call_cost end
[2025-01-12 11:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:41:13] Production.INFO: ==6351== Releasing lock...
[2025-01-12 11:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:41:18] Production.INFO: count ==541
[2025-01-12 11:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:41:05 - End Time 2025-01-12 11:41:05
[2025-01-12 11:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231360', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231360', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231360', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231360', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:41:18] Production.INFO: ProcessCDR(1,14231360,1,1,2)
[2025-01-12 11:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:41:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231360,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:41:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231360,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231360', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231360', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:41:23] Production.INFO: ==6359== Releasing lock...
[2025-01-12 11:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:41:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 16:42:01] Production.INFO: ==6413== Lock acquired, processing the job...
[2025-01-12 16:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:42:01] Production.INFO: neon service started
[2025-01-12 16:42:01] Production.INFO: neon service started
[2025-01-12 16:42:01] Production.INFO: ==6413== Releasing lock...
[2025-01-12 16:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:42:02] Production.INFO: ==6415== Lock acquired, processing the job...
[2025-01-12 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:42:02] Production.INFO: ==6417== Lock acquired, processing the job...
[2025-01-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:42:02] Production.INFO: ==6417== Releasing lock...
[2025-01-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:42:02] Production.INFO: ==6415== Releasing lock...
[2025-01-12 11:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:42:03] Production.INFO: ==6420== Lock acquired, processing the job...
[2025-01-12 11:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:42:03] Production.INFO: ==6422== Lock acquired, processing the job...
[2025-01-12 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:42:03] Production.INFO: ==6424== Lock acquired, processing the job...
[2025-01-12 11:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:42:03] Production.INFO: ==6426== Lock acquired, processing the job...
[2025-01-12 11:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:42:03] Production.INFO: ==6430== Lock acquired, processing the job...
[2025-01-12 11:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:42:03] Production.INFO: ==6428== Lock acquired, processing the job...
[2025-01-12 11:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:42:03] Production.INFO: ==6422== Releasing lock...
[2025-01-12 11:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:42:03] Production.INFO: count ==21
[2025-01-12 11:42:03] Production.INFO: Account Balance Start.
[2025-01-12 11:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:42:03] Production.INFO: 117
[2025-01-12 11: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-01-12 11:42:03] Production.INFO: count ==21
[2025-01-12 11:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231363') start
[2025-01-12 11:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231363') end
[2025-01-12 11:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:42:04] Production.INFO: 1
[2025-01-12 11:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:42:04] Production.ERROR: done
[2025-01-12 11:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:42:04] Production.INFO: Total Charge 0
[2025-01-12 11:42:04] Production.INFO: CreateAllLog End
[2025-01-12 11:42:04] Production.INFO: ==6430== Releasing lock...
[2025-01-12 11:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:42:04] Production.ERROR: done
[2025-01-12 11:42:04] Production.INFO: Account Balance End.
[2025-01-12 11:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:42:04] Production.INFO: ==6426== Releasing lock...
[2025-01-12 11:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:42:05
[end_date_ymd] => 2025-01-12 11:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:42:05' and `end` < '2025-01-12 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-01-12 11:42:10] Production.ERROR: CronJobId end10
[2025-01-12 11:42:10] Production.INFO: ==6424== Releasing lock...
[2025-01-12 11:42:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:42:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:42:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:42:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:42:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:42:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:42:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:42:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:42:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:42:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:42:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:42:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:42:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:42:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:42:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:42:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:42:12] Production.INFO: call_cost start
[2025-01-12 11:42:12] Production.INFO: call_cost end
[2025-01-12 11:42:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:42:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:42:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:42:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:42:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:42:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:42:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:42:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:42:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:42:13] Production.INFO: ==6420== Releasing lock...
[2025-01-12 11:42:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:42:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:42:20] Production.INFO: count ==544
[2025-01-12 11:42:20] Production.ERROR: pbx CDR StartTime 2025-01-12 08:42:05 - End Time 2025-01-12 11:42:05
[2025-01-12 11:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231365', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231365', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231365', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231365', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:42:20] Production.INFO: ProcessCDR(1,14231365,1,1,2)
[2025-01-12 11:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:42:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231365,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:42:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:42:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231365,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231365', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:42:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231365', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:42:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:42:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:42:25] Production.INFO: ==6428== Releasing lock...
[2025-01-12 11:42:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:42:25] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:43:02] Production.INFO: ==6483== Lock acquired, processing the job...
[2025-01-12 16:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:43:02] Production.INFO: neon service started
[2025-01-12 16:43:02] Production.INFO: neon service started
[2025-01-12 16:43:02] Production.INFO: ==6483== Releasing lock...
[2025-01-12 16:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:43:02] Production.INFO: ==6487== Lock acquired, processing the job...
[2025-01-12 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:43:02] Production.INFO: ==6487== Releasing lock...
[2025-01-12 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:43:02] Production.INFO: ==6485== Lock acquired, processing the job...
[2025-01-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:43:02] Production.INFO: ==6485== Releasing lock...
[2025-01-12 11:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:43:03] Production.INFO: ==6489== Lock acquired, processing the job...
[2025-01-12 11:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:43:03] Production.INFO: ==6498== Lock acquired, processing the job...
[2025-01-12 11:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:43:03] Production.INFO: ==6500== Lock acquired, processing the job...
[2025-01-12 11:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 11:43:03] Production.INFO: count ==21
[2025-01-12 11:43:03] Production.INFO: ==6491== Lock acquired, processing the job...
[2025-01-12 11:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:43:03] Production.INFO: ==6496== Lock acquired, processing the job...
[2025-01-12 11:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 11:43:03] Production.INFO: count ==21
[2025-01-12 11:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231367') start
[2025-01-12 11:43:03] Production.INFO: ==6493== Lock acquired, processing the job...
[2025-01-12 11:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231367') end
[2025-01-12 11:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:43:04] Production.INFO: 1
[2025-01-12 11:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:43:04] Production.INFO: ==6500== Releasing lock...
[2025-01-12 11:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:43:04] Production.INFO: Account Balance Start.
[2025-01-12 11:43:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:43:04] Production.INFO: 117
[2025-01-12 11:43:04] Production.ERROR: done
[2025-01-12 11:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:43:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:43:04] Production.ERROR: done
[2025-01-12 11:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:43:04] Production.INFO: ==6491== Releasing lock...
[2025-01-12 11:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:43:04] Production.INFO: Total Charge 0
[2025-01-12 11:43:04] Production.INFO: CreateAllLog End
[2025-01-12 11:43:04] Production.INFO: Account Balance End.
[2025-01-12 11:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:43:04] Production.INFO: ==6496== Releasing lock...
[2025-01-12 11:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:43:05
[end_date_ymd] => 2025-01-12 11:43:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:43:05' and `end` < '2025-01-12 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-01-12 11:43:11] Production.ERROR: CronJobId end10
[2025-01-12 11:43:11] Production.INFO: ==6493== Releasing lock...
[2025-01-12 11:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:43:13] Production.INFO: call_cost start
[2025-01-12 11:43:13] Production.INFO: call_cost end
[2025-01-12 11:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:43:14] Production.INFO: ==6489== Releasing lock...
[2025-01-12 11:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:43:19] Production.INFO: count ==545
[2025-01-12 11:43:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:43:05 - End Time 2025-01-12 11:43:05
[2025-01-12 11:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231370', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231370', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231370', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231370', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:43:19] Production.INFO: ProcessCDR(1,14231370,1,1,2)
[2025-01-12 11:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231370,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231370,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231370', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231370', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:43:23] Production.INFO: ==6498== Releasing lock...
[2025-01-12 11:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:43:23] Production.INFO: 32.5 MB #Memory Used#
[2025-01-12 16:44:01] Production.INFO: ==6553== Lock acquired, processing the job...
[2025-01-12 16:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:44:01] Production.INFO: neon service started
[2025-01-12 16:44:01] Production.INFO: neon service started
[2025-01-12 16:44:01] Production.INFO: ==6553== Releasing lock...
[2025-01-12 16:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:44:01] Production.INFO: ==6555== Lock acquired, processing the job...
[2025-01-12 11:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:44:02] Production.INFO: ==6555== Releasing lock...
[2025-01-12 11:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:44:02] Production.INFO: ==6557== Lock acquired, processing the job...
[2025-01-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:44:02] Production.INFO: ==6557== Releasing lock...
[2025-01-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:44:03] Production.INFO: ==6562== Lock acquired, processing the job...
[2025-01-12 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:44:03] Production.INFO: ==6560== Lock acquired, processing the job...
[2025-01-12 11:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:44:03] Production.INFO: ==6570== Lock acquired, processing the job...
[2025-01-12 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:44:03] Production.INFO: ==6564== Lock acquired, processing the job...
[2025-01-12 11:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:44:03] Production.INFO: ==6566== Lock acquired, processing the job...
[2025-01-12 11:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:44:03] Production.INFO: ==6568== Lock acquired, processing the job...
[2025-01-12 11:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:44:03] Production.INFO: ==6562== Releasing lock...
[2025-01-12 11:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:44:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:44:03] Production.INFO: count ==21
[2025-01-12 11:44:03] Production.INFO: Account Balance Start.
[2025-01-12 11:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:44:03] Production.INFO: 117
[2025-01-12 11: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-01-12 11:44:03] Production.INFO: count ==21
[2025-01-12 11:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231373') start
[2025-01-12 11:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231373') end
[2025-01-12 11:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:44:03] Production.INFO: 1
[2025-01-12 11:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:44:03] Production.INFO: ==6570== Releasing lock...
[2025-01-12 11:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:44:03] Production.ERROR: done
[2025-01-12 11:44:03] Production.INFO: Total Charge 0
[2025-01-12 11:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:44:03] Production.INFO: CreateAllLog End
[2025-01-12 11:44:03] Production.ERROR: done
[2025-01-12 11:44:04] Production.INFO: Account Balance End.
[2025-01-12 11:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:44:04] Production.INFO: ==6566== Releasing lock...
[2025-01-12 11:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:44:04
[end_date_ymd] => 2025-01-12 11:44:04
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:44:04' and `end` < '2025-01-12 11: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-01-12 11:44:10] Production.ERROR: CronJobId end10
[2025-01-12 11:44:10] Production.INFO: ==6564== Releasing lock...
[2025-01-12 11:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:44:12] Production.INFO: call_cost start
[2025-01-12 11:44:12] Production.INFO: call_cost end
[2025-01-12 11:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:44:13] Production.INFO: ==6560== Releasing lock...
[2025-01-12 11:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:44:18] Production.INFO: count ==550
[2025-01-12 11:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:44:04 - End Time 2025-01-12 11:44:04
[2025-01-12 11:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231375', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231375', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231375', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231375', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:44:18] Production.INFO: ProcessCDR(1,14231375,1,1,2)
[2025-01-12 11:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231375,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231375,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231375', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231375', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:44:22] Production.INFO: ==6568== Releasing lock...
[2025-01-12 11:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:44:22] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 16:45:01] Production.INFO: ==6625== Lock acquired, processing the job...
[2025-01-12 16:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:45:01] Production.INFO: neon service started
[2025-01-12 16:45:01] Production.INFO: neon service started
[2025-01-12 16:45:01] Production.INFO: ==6625== Releasing lock...
[2025-01-12 16:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:45:02] Production.INFO: ==6627== Lock acquired, processing the job...
[2025-01-12 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:45:02] Production.INFO: ==6627== Releasing lock...
[2025-01-12 11:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:45:02] Production.INFO: ==6629== Lock acquired, processing the job...
[2025-01-12 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:45:02] Production.INFO: ==6629== Releasing lock...
[2025-01-12 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:45:03] Production.INFO: ==6631== Lock acquired, processing the job...
[2025-01-12 11:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:45:03] Production.INFO: ==6635== Lock acquired, processing the job...
[2025-01-12 11:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:45:03] Production.INFO: ==6642== Lock acquired, processing the job...
[2025-01-12 11:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:45:03] Production.INFO: ==6633== Lock acquired, processing the job...
[2025-01-12 11:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:45:03] Production.INFO: count ==21
[2025-01-12 11:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:45:03] Production.INFO: count ==21
[2025-01-12 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231377') start
[2025-01-12 11:45:03] Production.INFO: ==6639== Lock acquired, processing the job...
[2025-01-12 11:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:45:03] Production.INFO: ==6637== Lock acquired, processing the job...
[2025-01-12 11:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231377') end
[2025-01-12 11:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:45:03] Production.INFO: 1
[2025-01-12 11:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:45:03] Production.INFO: Account Balance Start.
[2025-01-12 11:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:45:03] Production.INFO: 117
[2025-01-12 11:45:04] Production.INFO: ==6642== Releasing lock...
[2025-01-12 11:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:45:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:45:04] Production.INFO: ==6633== Releasing lock...
[2025-01-12 11:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:45:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:45:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:45:04] Production.ERROR: done
[2025-01-12 11:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:45:04] Production.INFO: Total Charge 0
[2025-01-12 11:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:45:04] Production.INFO: CreateAllLog End
[2025-01-12 11:45:04] Production.ERROR: done
[2025-01-12 11:45:04] Production.INFO: Account Balance End.
[2025-01-12 11:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:45:04] Production.INFO: ==6637== Releasing lock...
[2025-01-12 11:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:45:05
[end_date_ymd] => 2025-01-12 11:45:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:45:05' and `end` < '2025-01-12 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-01-12 11:45:10] Production.ERROR: CronJobId end10
[2025-01-12 11:45:10] Production.INFO: ==6635== Releasing lock...
[2025-01-12 11:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:45:12] Production.INFO: call_cost start
[2025-01-12 11:45:12] Production.INFO: call_cost end
[2025-01-12 11:45:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:45:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:45:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:45:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:45:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:45:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:45:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:45:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:45:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:45:13] Production.INFO: ==6631== Releasing lock...
[2025-01-12 11:45:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:45:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:45:19] Production.INFO: count ==552
[2025-01-12 11:45:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:45:05 - End Time 2025-01-12 11:45:05
[2025-01-12 11:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231380', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231380', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231380', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231380', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:45:19] Production.INFO: ProcessCDR(1,14231380,1,1,2)
[2025-01-12 11:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231380', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231380', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:45:24] Production.INFO: ==6639== Releasing lock...
[2025-01-12 11:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:45:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 16:46:01] Production.INFO: ==6695== Lock acquired, processing the job...
[2025-01-12 16:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:46:01] Production.INFO: neon service started
[2025-01-12 16:46:01] Production.INFO: neon service started
[2025-01-12 16:46:01] Production.INFO: ==6695== Releasing lock...
[2025-01-12 16:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:46:01] Production.INFO: ==6699== Lock acquired, processing the job...
[2025-01-12 16:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:46:01] Production.INFO: ==6699== Releasing lock...
[2025-01-12 16:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:46:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:46:01] Production.INFO: ==6697== Lock acquired, processing the job...
[2025-01-12 11:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:46:02] Production.INFO: ==6697== Releasing lock...
[2025-01-12 11:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:46:02] Production.INFO: ==6703== Lock acquired, processing the job...
[2025-01-12 11:46:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:46:02] Production.INFO: ==6707== Lock acquired, processing the job...
[2025-01-12 11:46:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:46:03] Production.INFO: Account Balance Start.
[2025-01-12 11:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:46:03] Production.INFO: 117
[2025-01-12 11:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:46:03] Production.INFO: ==6711== Lock acquired, processing the job...
[2025-01-12 11:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:46:03] Production.INFO: ==6703== Releasing lock...
[2025-01-12 11:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:46:03] Production.INFO: ==6701== Lock acquired, processing the job...
[2025-01-12 11:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:46:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:46:03] Production.INFO: count ==21
[2025-01-12 11:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231383') start
[2025-01-12 11:46:03] Production.INFO: ==6705== Lock acquired, processing the job...
[2025-01-12 11:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:46:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:46:03] Production.INFO: Total Charge 0
[2025-01-12 11:46:03] Production.INFO: CreateAllLog End
[2025-01-12 11:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231383') end
[2025-01-12 11:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:46:03] Production.INFO: 1
[2025-01-12 11:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:46:03] Production.INFO: ==6709== Lock acquired, processing the job...
[2025-01-12 11:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:46:03] Production.INFO: Account Balance End.
[2025-01-12 11:46:03] Production.INFO: ==6711== Releasing lock...
[2025-01-12 11:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:46:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:46:03] Production.ERROR: CronJobId end 12
[2025-01-12 11:46:03] Production.INFO: ==6707== Releasing lock...
[2025-01-12 11:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:46:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:46:03] Production.ERROR: done
[2025-01-12 11:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:46:03] Production.ERROR: done
[2025-01-12 11:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:46:04
[end_date_ymd] => 2025-01-12 11:46:04
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:46:04' and `end` < '2025-01-12 11: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-01-12 11:46:09] Production.ERROR: CronJobId end10
[2025-01-12 11:46:09] Production.INFO: ==6705== Releasing lock...
[2025-01-12 11:46:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:46:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:46:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:46:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:46:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:46:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:46:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:46:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:46:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:46:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:46:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:46:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:46:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:46:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:46:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:46:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:46:12] Production.INFO: call_cost start
[2025-01-12 11:46:12] Production.INFO: call_cost end
[2025-01-12 11:46:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:46:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:46:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:46:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:46:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:46:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:46:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:46:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:46:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:46:12] Production.INFO: ==6701== Releasing lock...
[2025-01-12 11:46:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:46:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:46:17] Production.INFO: count ==553
[2025-01-12 11:46:17] Production.ERROR: pbx CDR StartTime 2025-01-12 08:46:04 - End Time 2025-01-12 11:46:04
[2025-01-12 11:46:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231385', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231385', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231385', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:46:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231385', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:46:17] Production.INFO: ProcessCDR(1,14231385,1,1,2)
[2025-01-12 11:46:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:46:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:46:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:46:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231385', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:46:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231385', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:46:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:46:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:46:22] Production.INFO: ==6709== Releasing lock...
[2025-01-12 11:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:46:22] Production.INFO: 33 MB #Memory Used#
[2025-01-12 16:47:01] Production.INFO: ==6765== Lock acquired, processing the job...
[2025-01-12 16:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:47:01] Production.INFO: neon service started
[2025-01-12 16:47:01] Production.INFO: neon service started
[2025-01-12 16:47:01] Production.INFO: ==6765== Releasing lock...
[2025-01-12 16:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:47:02] Production.INFO: ==6769== Lock acquired, processing the job...
[2025-01-12 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:47:02] Production.INFO: ==6769== Releasing lock...
[2025-01-12 16:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:47:02] Production.INFO: ==6767== Lock acquired, processing the job...
[2025-01-12 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:47:02] Production.INFO: ==6767== Releasing lock...
[2025-01-12 11:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:47:03] Production.INFO: ==6778== Lock acquired, processing the job...
[2025-01-12 11:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:47:03] Production.INFO: ==6782== Lock acquired, processing the job...
[2025-01-12 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:47:03] Production.INFO: Account Balance Start.
[2025-01-12 11:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:47:03] Production.INFO: 117
[2025-01-12 11:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:47:03] Production.INFO: ==6772== Lock acquired, processing the job...
[2025-01-12 11:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:47:03] Production.INFO: count ==21
[2025-01-12 11:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 11:47:03] Production.INFO: count ==21
[2025-01-12 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:47:03] Production.INFO: ==6774== Lock acquired, processing the job...
[2025-01-12 11:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231387') start
[2025-01-12 11:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:47:03] Production.INFO: ==6776== Lock acquired, processing the job...
[2025-01-12 11:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231387') end
[2025-01-12 11:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:47:03] Production.INFO: 1
[2025-01-12 11:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:47:03] Production.INFO: Total Charge 0
[2025-01-12 11:47:03] Production.INFO: ==6782== Releasing lock...
[2025-01-12 11:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:47:03] Production.INFO: CreateAllLog End
[2025-01-12 11:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:47:03] Production.INFO: ==6780== Lock acquired, processing the job...
[2025-01-12 11:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:47:03] Production.INFO: Account Balance End.
[2025-01-12 11:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:47:04] Production.INFO: ==6778== Releasing lock...
[2025-01-12 11:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:47:04] Production.INFO: ==6774== Releasing lock...
[2025-01-12 11:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:47:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:47:04] Production.ERROR: done
[2025-01-12 11:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:47:04] Production.ERROR: done
[2025-01-12 11:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:47:05
[end_date_ymd] => 2025-01-12 11:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:47:05' and `end` < '2025-01-12 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-01-12 11:47:10] Production.ERROR: CronJobId end10
[2025-01-12 11:47:10] Production.INFO: ==6776== Releasing lock...
[2025-01-12 11:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:47:12] Production.INFO: call_cost start
[2025-01-12 11:47:12] Production.INFO: call_cost end
[2025-01-12 11:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:47:13] Production.INFO: ==6772== Releasing lock...
[2025-01-12 11:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:47:19] Production.INFO: count ==562
[2025-01-12 11:47:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:47:05 - End Time 2025-01-12 11:47:05
[2025-01-12 11:47:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231390', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231390', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231390', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:47:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231390', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:47:19] Production.INFO: ProcessCDR(1,14231390,1,1,2)
[2025-01-12 11:47:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:47:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:47:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:47:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231390', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:47:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231390', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:47:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:47:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:47:23] Production.INFO: ==6780== Releasing lock...
[2025-01-12 11:47:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:47:23] Production.INFO: 32.75 MB #Memory Used#
[2025-01-12 16:48:02] Production.INFO: ==6835== Lock acquired, processing the job...
[2025-01-12 16:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:48:02] Production.INFO: neon service started
[2025-01-12 16:48:02] Production.INFO: neon service started
[2025-01-12 16:48:02] Production.INFO: ==6835== Releasing lock...
[2025-01-12 16:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:48:02] Production.INFO: ==6837== Lock acquired, processing the job...
[2025-01-12 11:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:48:03] Production.INFO: ==6839== Lock acquired, processing the job...
[2025-01-12 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:48:03] Production.INFO: ==6837== Releasing lock...
[2025-01-12 11:48:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:48:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:48:03] Production.INFO: ==6839== Releasing lock...
[2025-01-12 16:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:48:04] Production.INFO: ==6844== Lock acquired, processing the job...
[2025-01-12 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:48:04] Production.INFO: ==6852== Lock acquired, processing the job...
[2025-01-12 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:48:04] Production.INFO: ==6842== Lock acquired, processing the job...
[2025-01-12 11:48:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11: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-01-12 11:48:04] Production.INFO: ==6846== Lock acquired, processing the job...
[2025-01-12 11:48:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:48:04] Production.INFO: count ==21
[2025-01-12 11:48:04] Production.INFO: ==6848== Lock acquired, processing the job...
[2025-01-12 11:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11: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-01-12 11:48:04] Production.INFO: count ==21
[2025-01-12 11:48:04] Production.INFO: ==6850== Lock acquired, processing the job...
[2025-01-12 11:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:48:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231392') start
[2025-01-12 11:48:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:48:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:48:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:48:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:48:04] Production.INFO: ==6844== Releasing lock...
[2025-01-12 11:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:48:04] Production.INFO: Account Balance Start.
[2025-01-12 11:48:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231392') end
[2025-01-12 11:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:48:04] Production.INFO: 1
[2025-01-12 11:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:48:04] Production.INFO: 117
[2025-01-12 11:48:04] Production.INFO: ==6852== Releasing lock...
[2025-01-12 11:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:48:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:48:05] Production.INFO: Date 2025-01-12
[2025-01-12 11:48:05] Production.INFO: Reseller ==> 0
[2025-01-12 11:48:05] Production.ERROR: done
[2025-01-12 11:48:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:48:05] Production.INFO: Total Charge 0
[2025-01-12 11:48:05] Production.INFO: CreateAllLog End
[2025-01-12 11:48:05] Production.ERROR: done
[2025-01-12 11:48:05] Production.INFO: Account Balance End.
[2025-01-12 11:48:05] Production.ERROR: CronJobId end 12
[2025-01-12 11:48:05] Production.INFO: ==6848== Releasing lock...
[2025-01-12 11:48:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:48:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:48:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:48:06
[end_date_ymd] => 2025-01-12 11:48:06
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:48:06' and `end` < '2025-01-12 11: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-01-12 11:48:13] Production.ERROR: CronJobId end10
[2025-01-12 11:48:13] Production.INFO: ==6846== Releasing lock...
[2025-01-12 11:48:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:48:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:48:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:48:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:48:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:48:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:48:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:48:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:48:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:48:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:48:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:48:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:48:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:48:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:48:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:48:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:48:15] Production.INFO: call_cost start
[2025-01-12 11:48:15] Production.INFO: call_cost end
[2025-01-12 11:48:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:48:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:48:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:48:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:48:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:48:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:48:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:48:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:48:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:48:16] Production.INFO: ==6842== Releasing lock...
[2025-01-12 11:48:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:48:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:48:19] Production.INFO: count ==559
[2025-01-12 11:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:48:06 - End Time 2025-01-12 11:48:06
[2025-01-12 11:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231395', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231395', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231395', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231395', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:48:19] Production.INFO: ProcessCDR(1,14231395,1,1,2)
[2025-01-12 11:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231395', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231395', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:48:22] Production.INFO: ==6850== Releasing lock...
[2025-01-12 11:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:48:22] Production.INFO: 33 MB #Memory Used#
[2025-01-12 16:49:01] Production.INFO: ==6908== Lock acquired, processing the job...
[2025-01-12 16:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:49:01] Production.INFO: neon service started
[2025-01-12 16:49:01] Production.INFO: neon service started
[2025-01-12 16:49:01] Production.INFO: ==6908== Releasing lock...
[2025-01-12 16:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:49:02] Production.INFO: ==6912== Lock acquired, processing the job...
[2025-01-12 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:49:02] Production.INFO: ==6912== Releasing lock...
[2025-01-12 16:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:49:02] Production.INFO: ==6910== Lock acquired, processing the job...
[2025-01-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:49:02] Production.INFO: ==6910== Releasing lock...
[2025-01-12 11:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:49:03] Production.INFO: ==6915== Lock acquired, processing the job...
[2025-01-12 11:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:49:03] Production.INFO: ==6917== Lock acquired, processing the job...
[2025-01-12 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:49:03] Production.INFO: ==6923== Lock acquired, processing the job...
[2025-01-12 11:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:49:03] Production.INFO: ==6925== Lock acquired, processing the job...
[2025-01-12 11:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:49:03] Production.INFO: ==6919== Lock acquired, processing the job...
[2025-01-12 11:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:49:03] Production.INFO: ==6917== Releasing lock...
[2025-01-12 11:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:49:03] Production.INFO: ==6921== Lock acquired, processing the job...
[2025-01-12 11:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:49:03] Production.ERROR: done
[2025-01-12 11:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:49:03] Production.INFO: Account Balance Start.
[2025-01-12 11:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:49:03] Production.INFO: 117
[2025-01-12 11:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:49:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:49:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:49:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:49:04] Production.INFO: count ==21
[2025-01-12 11:49:04] Production.ERROR: done
[2025-01-12 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231398') start
[2025-01-12 11:49:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231398') end
[2025-01-12 11:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:49:04] Production.INFO: 1
[2025-01-12 11:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:49:04] Production.INFO: Total Charge 0
[2025-01-12 11:49:04] Production.INFO: CreateAllLog End
[2025-01-12 11:49:04] Production.INFO: ==6925== Releasing lock...
[2025-01-12 11:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:49:04] Production.INFO: Account Balance End.
[2025-01-12 11:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:49:04] Production.INFO: ==6921== Releasing lock...
[2025-01-12 11:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:49:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:49:05
[end_date_ymd] => 2025-01-12 11:49:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:49:05' and `end` < '2025-01-12 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-01-12 11:49:11] Production.ERROR: CronJobId end10
[2025-01-12 11:49:11] Production.INFO: ==6919== Releasing lock...
[2025-01-12 11:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:49:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:49:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:49:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:49:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:49:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:49:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:49:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:49:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:49:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:49:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:49:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:49:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:49:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:49:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:49:14] Production.INFO: call_cost start
[2025-01-12 11:49:14] Production.INFO: call_cost end
[2025-01-12 11:49:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:49:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:49:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:49:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:49:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:49:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:49:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:49:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:49:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:49:15] Production.INFO: ==6915== Releasing lock...
[2025-01-12 11:49:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:49:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:49:18] Production.INFO: count ==563
[2025-01-12 11:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:49:05 - End Time 2025-01-12 11:49:05
[2025-01-12 11:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231400', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231400', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231400', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231400', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:49:18] Production.INFO: ProcessCDR(1,14231400,1,1,2)
[2025-01-12 11:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:49:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:49:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231400', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231400', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:49:23] Production.INFO: ==6923== Releasing lock...
[2025-01-12 11:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:49:23] Production.INFO: 33 MB #Memory Used#
[2025-01-12 16:50:02] Production.INFO: ==6980== Lock acquired, processing the job...
[2025-01-12 16:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:50:02] Production.INFO: neon service started
[2025-01-12 16:50:02] Production.INFO: neon service started
[2025-01-12 16:50:02] Production.INFO: ==6980== Releasing lock...
[2025-01-12 16:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:50:02] Production.INFO: ==6982== Lock acquired, processing the job...
[2025-01-12 11:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:50:03] Production.INFO: ==6984== Lock acquired, processing the job...
[2025-01-12 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 11:50:03] Production.INFO: ==6982== Releasing lock...
[2025-01-12 11:50:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:50:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:50:03] Production.INFO: ==6984== Releasing lock...
[2025-01-12 16:50:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:50:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:50:04] Production.INFO: ==6987== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 11:50:04] Production.INFO: ==6989== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 11:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 11:50:04] Production.ERROR: CronJob PID - 6989
[2025-01-12 11:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 11:50:04] Production.ERROR: CronJob ID - 5
[2025-01-12 11:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 11:50:00
[2025-01-12 11:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 11:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 11:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 11:50:04] Production.INFO: ==6987== Releasing lock...
[2025-01-12 11:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 11:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 11:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:50:04] Production.INFO: ==6993== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:50:04] Production.INFO: ==6997== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:50:04] Production.INFO: ==6991== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:50:04] Production.INFO: ==6995== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:50:04] Production.INFO: ==6999== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 11:50:04] Production.INFO: Account Balance Start.
[2025-01-12 11:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:50:04] Production.INFO: 117
[2025-01-12 11:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:50:04] Production.INFO: ==7001== Lock acquired, processing the job...
[2025-01-12 11:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:50:04] Production.ERROR: done
[2025-01-12 11:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:50:04] Production.INFO: count ==21
[2025-01-12 11:50:04] Production.ERROR: done
[2025-01-12 11:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 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-01-12 11:50:04] Production.INFO: count ==21
[2025-01-12 11:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231404') start
[2025-01-12 11:50:05] Production.INFO: ==6991== Releasing lock...
[2025-01-12 11:50:05] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:50:05] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:50:05] Production.ERROR: done
[2025-01-12 11:50:05] Production.INFO: Total Charge 0
[2025-01-12 11:50:05] Production.INFO: CreateAllLog End
[2025-01-12 11:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14231404') end
[2025-01-12 11:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 11:50:05] Production.INFO: 1
[2025-01-12 11:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231406', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 11:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:50:05] Production.INFO: ==7001== Releasing lock...
[2025-01-12 11:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:50:05] Production.INFO: Account Balance End.
[2025-01-12 11:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 11:50:05] Production.INFO: ==6995== Releasing lock...
[2025-01-12 11:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:50:06
[end_date_ymd] => 2025-01-12 11:50:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:50:06' and `end` < '2025-01-12 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-01-12 11:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231406', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 11:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 11:50:08] Production.INFO: ProcessCDR(1,14231406,1,1,2)
[2025-01-12 11:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231406,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:50:08] Production.INFO: ==6999== Releasing lock...
[2025-01-12 11:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 11:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 11:50:12] Production.ERROR: CronJobId end10
[2025-01-12 11:50:12] Production.INFO: ==6993== Releasing lock...
[2025-01-12 11:50:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:50:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:50:15] Production.INFO: call_cost start
[2025-01-12 11:50:15] Production.INFO: call_cost end
[2025-01-12 11:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:50:16] Production.INFO: ==6989== Releasing lock...
[2025-01-12 11:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:50:19] Production.INFO: count ==563
[2025-01-12 11:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:50:06 - End Time 2025-01-12 11:50:06
[2025-01-12 11:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231405', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231405', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231405', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231405', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:50:19] Production.INFO: ProcessCDR(1,14231405,1,1,2)
[2025-01-12 11:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231405', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231405', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:50:23] Production.INFO: ==6997== Releasing lock...
[2025-01-12 11:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:50:23] Production.INFO: 33 MB #Memory Used#
[2025-01-12 16:51:01] Production.INFO: ==7054== Lock acquired, processing the job...
[2025-01-12 16:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:51:01] Production.INFO: neon service started
[2025-01-12 16:51:01] Production.INFO: neon service started
[2025-01-12 16:51:01] Production.INFO: ==7054== Releasing lock...
[2025-01-12 16:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:51:02] Production.INFO: ==7056== Lock acquired, processing the job...
[2025-01-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:51:02] Production.INFO: ==7056== Releasing lock...
[2025-01-12 11:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:51:02] Production.INFO: ==7058== Lock acquired, processing the job...
[2025-01-12 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:51:02] Production.INFO: ==7058== Releasing lock...
[2025-01-12 16:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:51:03] Production.INFO: ==7065== Lock acquired, processing the job...
[2025-01-12 11:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:51:03] Production.INFO: ==7069== Lock acquired, processing the job...
[2025-01-12 11:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:51:03] Production.INFO: ==7061== Lock acquired, processing the job...
[2025-01-12 11:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:51:03] Production.INFO: ==7063== Lock acquired, processing the job...
[2025-01-12 11:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:51:03] Production.INFO: ==7067== Lock acquired, processing the job...
[2025-01-12 11:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:51:03] Production.INFO: ==7071== Lock acquired, processing the job...
[2025-01-12 11:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:51:03] Production.ERROR: done
[2025-01-12 11:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:51:04] Production.INFO: Account Balance Start.
[2025-01-12 11:51:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:51:04] Production.INFO: 117
[2025-01-12 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-01-12 11:51:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:51:04] Production.INFO: count ==21
[2025-01-12 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-01-12 11:51:04] Production.INFO: count ==21
[2025-01-12 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231409') start
[2025-01-12 11:51:04] Production.ERROR: done
[2025-01-12 11:51:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231409') end
[2025-01-12 11:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:51:04] Production.INFO: 1
[2025-01-12 11:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:51:04] Production.INFO: ==7063== Releasing lock...
[2025-01-12 11:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:51:04] Production.INFO: ==7071== Releasing lock...
[2025-01-12 11:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:51:04] Production.INFO: Total Charge 0
[2025-01-12 11:51:04] Production.INFO: CreateAllLog End
[2025-01-12 11:51:04] Production.INFO: Account Balance End.
[2025-01-12 11:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:51:04] Production.INFO: ==7067== Releasing lock...
[2025-01-12 11:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:51:05
[end_date_ymd] => 2025-01-12 11:51:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:51:05' and `end` < '2025-01-12 11: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-01-12 11:51:11] Production.ERROR: CronJobId end10
[2025-01-12 11:51:11] Production.INFO: ==7065== Releasing lock...
[2025-01-12 11:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:51:13] Production.INFO: call_cost start
[2025-01-12 11:51:13] Production.INFO: call_cost end
[2025-01-12 11:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:51:14] Production.INFO: ==7061== Releasing lock...
[2025-01-12 11:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:51:18] Production.INFO: count ==596
[2025-01-12 11:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:51:05 - End Time 2025-01-12 11:51:05
[2025-01-12 11:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231411', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231411', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231411', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231411', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:51:18] Production.INFO: ProcessCDR(1,14231411,1,1,2)
[2025-01-12 11:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:51:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231411,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:51:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231411,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231411', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231411', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:51:23] Production.INFO: ==7069== Releasing lock...
[2025-01-12 11:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:51:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 16:52:02] Production.INFO: ==7126== Lock acquired, processing the job...
[2025-01-12 16:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:52:02] Production.INFO: neon service started
[2025-01-12 16:52:02] Production.INFO: neon service started
[2025-01-12 16:52:02] Production.INFO: ==7126== Releasing lock...
[2025-01-12 16:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:52:02] Production.INFO: ==7128== Lock acquired, processing the job...
[2025-01-12 11:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:52:03] Production.INFO: ==7128== Releasing lock...
[2025-01-12 11:52:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:52:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:52:03] Production.INFO: ==7130== Lock acquired, processing the job...
[2025-01-12 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:52:03] Production.INFO: ==7130== Releasing lock...
[2025-01-12 16:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:52:03] Production.INFO: ==7132== Lock acquired, processing the job...
[2025-01-12 11:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:52:03] Production.INFO: ==7134== Lock acquired, processing the job...
[2025-01-12 11:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:52:03] Production.INFO: ==7136== Lock acquired, processing the job...
[2025-01-12 11:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:52:03] Production.INFO: ==7138== Lock acquired, processing the job...
[2025-01-12 11:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:52:04] Production.INFO: ==7142== Lock acquired, processing the job...
[2025-01-12 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:52:04] Production.INFO: ==7140== Lock acquired, processing the job...
[2025-01-12 11:52:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:52:04] Production.INFO: Account Balance Start.
[2025-01-12 11:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:52:04] Production.INFO: 117
[2025-01-12 11:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 11:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:52:04] Production.INFO: count ==21
[2025-01-12 11:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 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-01-12 11:52:04] Production.INFO: count ==21
[2025-01-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231415') start
[2025-01-12 11:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:52:04] Production.INFO: ==7134== Releasing lock...
[2025-01-12 11:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231415') end
[2025-01-12 11:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:52:04] Production.INFO: 1
[2025-01-12 11:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:52:04] Production.INFO: ==7142== Releasing lock...
[2025-01-12 11:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:52:04] Production.INFO: Total Charge 0
[2025-01-12 11:52:04] Production.INFO: CreateAllLog End
[2025-01-12 11:52:04] Production.ERROR: done
[2025-01-12 11:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:52:04] Production.ERROR: done
[2025-01-12 11:52:04] Production.INFO: Account Balance End.
[2025-01-12 11:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:52:04] Production.INFO: ==7138== Releasing lock...
[2025-01-12 11:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:52:05
[end_date_ymd] => 2025-01-12 11:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:52:05' and `end` < '2025-01-12 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-01-12 11:52:11] Production.ERROR: CronJobId end10
[2025-01-12 11:52:11] Production.INFO: ==7136== Releasing lock...
[2025-01-12 11:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:52:13] Production.INFO: call_cost start
[2025-01-12 11:52:13] Production.INFO: call_cost end
[2025-01-12 11:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:52:14] Production.INFO: ==7132== Releasing lock...
[2025-01-12 11:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:52:18] Production.INFO: count ==605
[2025-01-12 11:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:52:05 - End Time 2025-01-12 11:52:05
[2025-01-12 11:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231416', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231416', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231416', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231416', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:52:18] Production.INFO: ProcessCDR(1,14231416,1,1,2)
[2025-01-12 11:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:52:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231416,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:52:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231416,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231416', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231416', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:52:22] Production.INFO: ==7140== Releasing lock...
[2025-01-12 11:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:52:22] Production.INFO: 33 MB #Memory Used#
[2025-01-12 16:53:01] Production.INFO: ==7194== Lock acquired, processing the job...
[2025-01-12 16:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:53:01] Production.INFO: neon service started
[2025-01-12 16:53:01] Production.INFO: neon service started
[2025-01-12 16:53:01] Production.INFO: ==7194== Releasing lock...
[2025-01-12 16:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:53:02] Production.INFO: ==7196== Lock acquired, processing the job...
[2025-01-12 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:53:02] Production.INFO: ==7196== Releasing lock...
[2025-01-12 11:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:53:02] Production.INFO: ==7198== Lock acquired, processing the job...
[2025-01-12 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:53:02] Production.INFO: ==7198== Releasing lock...
[2025-01-12 16:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:53:03] Production.INFO: ==7201== Lock acquired, processing the job...
[2025-01-12 11:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:53:03] Production.INFO: ==7203== Lock acquired, processing the job...
[2025-01-12 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:53:03] Production.INFO: ==7207== Lock acquired, processing the job...
[2025-01-12 11:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:53:03] Production.INFO: Account Balance Start.
[2025-01-12 11:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:53:03] Production.INFO: 117
[2025-01-12 11:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:53:03] Production.INFO: ==7203== Releasing lock...
[2025-01-12 11:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:53:03] Production.INFO: ==7205== Lock acquired, processing the job...
[2025-01-12 11:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:53:03] Production.INFO: ==7209== Lock acquired, processing the job...
[2025-01-12 11:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:53:03] Production.INFO: ==7211== Lock acquired, processing the job...
[2025-01-12 11:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:53:03] Production.INFO: Total Charge 0
[2025-01-12 11:53:03] Production.INFO: CreateAllLog End
[2025-01-12 11:53:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:53:03] Production.INFO: count ==21
[2025-01-12 11:53:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:53:03] Production.INFO: count ==21
[2025-01-12 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231420') start
[2025-01-12 11:53:04] Production.ERROR: done
[2025-01-12 11:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231420') end
[2025-01-12 11:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:53:04] Production.INFO: 1
[2025-01-12 11:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:53:04] Production.INFO: Account Balance End.
[2025-01-12 11:53:04] Production.INFO: ==7211== Releasing lock...
[2025-01-12 11:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:53:04] Production.INFO: ==7207== Releasing lock...
[2025-01-12 11:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:53:04] Production.ERROR: done
[2025-01-12 11:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:53:05
[end_date_ymd] => 2025-01-12 11:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:53:05' and `end` < '2025-01-12 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-01-12 11:53:11] Production.ERROR: CronJobId end10
[2025-01-12 11:53:11] Production.INFO: ==7205== Releasing lock...
[2025-01-12 11:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:53:12] Production.INFO: call_cost start
[2025-01-12 11:53:12] Production.INFO: call_cost end
[2025-01-12 11:53:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:53:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:53:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:53:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:53:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:53:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:53:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:53:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:53:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:53:13] Production.INFO: ==7201== Releasing lock...
[2025-01-12 11:53:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:53:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:53:19] Production.INFO: count ==608
[2025-01-12 11:53:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:53:05 - End Time 2025-01-12 11:53:05
[2025-01-12 11:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231421', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231421', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231421', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231421', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:53:19] Production.INFO: ProcessCDR(1,14231421,1,1,2)
[2025-01-12 11:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:53:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231421,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:53:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:53:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231421,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231421', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:53:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231421', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:53:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:53:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:53:24] Production.INFO: ==7209== Releasing lock...
[2025-01-12 11:53:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:53:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 16:54:02] Production.INFO: ==7272== Lock acquired, processing the job...
[2025-01-12 16:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:54:02] Production.INFO: neon service started
[2025-01-12 16:54:02] Production.INFO: neon service started
[2025-01-12 16:54:02] Production.INFO: ==7272== Releasing lock...
[2025-01-12 16:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:54:02] Production.INFO: ==7274== Lock acquired, processing the job...
[2025-01-12 11:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:54:02] Production.INFO: ==7276== Lock acquired, processing the job...
[2025-01-12 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:54:02] Production.INFO: ==7276== Releasing lock...
[2025-01-12 16:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:54:03] Production.INFO: ==7274== Releasing lock...
[2025-01-12 11:54:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:54:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:54:04] Production.INFO: ==7283== Lock acquired, processing the job...
[2025-01-12 11:54:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:54:04] Production.INFO: ==7279== Lock acquired, processing the job...
[2025-01-12 11:54:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:54:04] Production.INFO: ==7289== Lock acquired, processing the job...
[2025-01-12 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:54:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:54:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:54:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:54:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:54:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:54:04] Production.INFO: ==7281== Lock acquired, processing the job...
[2025-01-12 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11: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-01-12 11:54:04] Production.INFO: ==7285== Lock acquired, processing the job...
[2025-01-12 11:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:54:04] Production.INFO: count ==21
[2025-01-12 11:54:04] Production.INFO: ==7287== Lock acquired, processing the job...
[2025-01-12 11:54:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11: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-01-12 11:54:04] Production.INFO: count ==21
[2025-01-12 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231423') start
[2025-01-12 11:54:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231423') end
[2025-01-12 11:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:54:04] Production.INFO: 1
[2025-01-12 11:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:54:04] Production.INFO: Account Balance Start.
[2025-01-12 11:54:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:54:04] Production.INFO: 117
[2025-01-12 11:54:04] Production.INFO: ==7289== Releasing lock...
[2025-01-12 11:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:54:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:54:04] Production.INFO: ==7281== Releasing lock...
[2025-01-12 11:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:54:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:54:04] Production.INFO: Total Charge 0
[2025-01-12 11:54:04] Production.ERROR: done
[2025-01-12 11:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:54:04] Production.INFO: CreateAllLog End
[2025-01-12 11:54:05] Production.ERROR: done
[2025-01-12 11:54:05] Production.INFO: Account Balance End.
[2025-01-12 11:54:05] Production.ERROR: CronJobId end 12
[2025-01-12 11:54:05] Production.INFO: ==7285== Releasing lock...
[2025-01-12 11:54:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:54:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:54:05
[end_date_ymd] => 2025-01-12 11:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:54:05' and `end` < '2025-01-12 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-01-12 11:54:11] Production.ERROR: CronJobId end10
[2025-01-12 11:54:11] Production.INFO: ==7283== Releasing lock...
[2025-01-12 11:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:54:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:54:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:54:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:54:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:54:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:54:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:54:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:54:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:54:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:54:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:54:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:54:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:54:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:54:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:54:14] Production.INFO: call_cost start
[2025-01-12 11:54:14] Production.INFO: call_cost end
[2025-01-12 11:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:54:15] Production.INFO: ==7279== Releasing lock...
[2025-01-12 11:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:54:19] Production.INFO: count ==621
[2025-01-12 11:54:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:54:05 - End Time 2025-01-12 11:54:05
[2025-01-12 11:54:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231426', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231426', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231426', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:54:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231426', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:54:19] Production.INFO: ProcessCDR(1,14231426,1,1,2)
[2025-01-12 11:54:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:54:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231426', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:54:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231426', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:54:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:54:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:54:24] Production.INFO: ==7287== Releasing lock...
[2025-01-12 11:54:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:54:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 16:55:01] Production.INFO: ==7348== Lock acquired, processing the job...
[2025-01-12 16:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:55:01] Production.INFO: neon service started
[2025-01-12 16:55:01] Production.INFO: neon service started
[2025-01-12 16:55:01] Production.INFO: ==7348== Releasing lock...
[2025-01-12 16:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:55:02] Production.INFO: ==7350== Lock acquired, processing the job...
[2025-01-12 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:55:02] Production.INFO: ==7350== Releasing lock...
[2025-01-12 11:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:55:02] Production.INFO: ==7352== Lock acquired, processing the job...
[2025-01-12 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:55:02] Production.INFO: ==7352== Releasing lock...
[2025-01-12 16:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:55:03] Production.INFO: ==7355== Lock acquired, processing the job...
[2025-01-12 11:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:55:03] Production.INFO: ==7359== Lock acquired, processing the job...
[2025-01-12 11:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:55:03] Production.INFO: ==7361== Lock acquired, processing the job...
[2025-01-12 11:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:55:03] Production.INFO: ==7357== Lock acquired, processing the job...
[2025-01-12 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:55:03] Production.INFO: Account Balance Start.
[2025-01-12 11:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:55:03] Production.INFO: 117
[2025-01-12 11:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:55:03] Production.INFO: ==7363== Lock acquired, processing the job...
[2025-01-12 11:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:55:03] Production.INFO: ==7365== Lock acquired, processing the job...
[2025-01-12 11:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:55:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:55:03] Production.INFO: Total Charge 0
[2025-01-12 11: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-01-12 11:55:03] Production.INFO: CreateAllLog End
[2025-01-12 11:55:03] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:55:03] Production.INFO: count ==21
[2025-01-12 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231430') start
[2025-01-12 11:55:03] Production.ERROR: done
[2025-01-12 11:55:03] Production.INFO: ==7357== Releasing lock...
[2025-01-12 11:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:55:03] Production.INFO: Account Balance End.
[2025-01-12 11:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231430') end
[2025-01-12 11:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:55:03] Production.INFO: 1
[2025-01-12 11:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:55:04] Production.INFO: ==7361== Releasing lock...
[2025-01-12 11:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:55:04] Production.ERROR: done
[2025-01-12 11:55:04] Production.INFO: ==7365== Releasing lock...
[2025-01-12 11:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:55:05
[end_date_ymd] => 2025-01-12 11:55:05
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:55:05' and `end` < '2025-01-12 11: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-01-12 11:55:11] Production.ERROR: CronJobId end10
[2025-01-12 11:55:11] Production.INFO: ==7359== Releasing lock...
[2025-01-12 11:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:55:13] Production.INFO: call_cost start
[2025-01-12 11:55:13] Production.INFO: call_cost end
[2025-01-12 11:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:55:14] Production.INFO: ==7355== Releasing lock...
[2025-01-12 11:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:55:18] Production.INFO: count ==626
[2025-01-12 11:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:55:05 - End Time 2025-01-12 11:55:05
[2025-01-12 11:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231431', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231431', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231431', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231431', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:55:18] Production.INFO: ProcessCDR(1,14231431,1,1,2)
[2025-01-12 11:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231431', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231431', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:55:23] Production.INFO: ==7363== Releasing lock...
[2025-01-12 11:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:55:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 16:56:02] Production.INFO: ==7460== Lock acquired, processing the job...
[2025-01-12 16:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:56:02] Production.INFO: neon service started
[2025-01-12 16:56:02] Production.INFO: neon service started
[2025-01-12 16:56:02] Production.INFO: ==7460== Releasing lock...
[2025-01-12 16:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:56:02] Production.INFO: ==7462== Lock acquired, processing the job...
[2025-01-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:56:02] Production.INFO: ==7462== Releasing lock...
[2025-01-12 11:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:56:02] Production.INFO: ==7464== Lock acquired, processing the job...
[2025-01-12 16:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:56:03] Production.INFO: ==7464== Releasing lock...
[2025-01-12 16:56:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:56:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:56:03] Production.INFO: ==7471== Lock acquired, processing the job...
[2025-01-12 11:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:56:03] Production.INFO: ==7467== Lock acquired, processing the job...
[2025-01-12 11:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:56:03] Production.INFO: ==7477== Lock acquired, processing the job...
[2025-01-12 11:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:56:04] Production.INFO: ==7469== Lock acquired, processing the job...
[2025-01-12 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:56:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:56:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:56:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:56:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:56:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:56:04] Production.INFO: ==7473== Lock acquired, processing the job...
[2025-01-12 11:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:56:04] Production.INFO: ==7475== Lock acquired, processing the job...
[2025-01-12 11:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 11:56:04] Production.INFO: count ==21
[2025-01-12 11:56:04] Production.INFO: Account Balance Start.
[2025-01-12 11:56:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:56:04] Production.INFO: 117
[2025-01-12 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-01-12 11:56:04] Production.INFO: count ==21
[2025-01-12 11:56:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231433') start
[2025-01-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:56:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:56:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231433') end
[2025-01-12 11:56:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:56:04] Production.INFO: 1
[2025-01-12 11:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:56:04] Production.INFO: ==7469== Releasing lock...
[2025-01-12 11:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:56:04] Production.INFO: Total Charge 0
[2025-01-12 11:56:04] Production.INFO: CreateAllLog End
[2025-01-12 11:56:04] Production.INFO: ==7477== Releasing lock...
[2025-01-12 11:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:56:04] Production.ERROR: done
[2025-01-12 11:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:56:04] Production.INFO: Account Balance End.
[2025-01-12 11:56:05] Production.ERROR: CronJobId end 12
[2025-01-12 11:56:05] Production.INFO: ==7473== Releasing lock...
[2025-01-12 11:56:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:56:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:56:05] Production.ERROR: done
[2025-01-12 11:56:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:56:06
[end_date_ymd] => 2025-01-12 11:56:06
[RateCDR] => 1
)
[2025-01-12 11: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-01-12 08:56:06' and `end` < '2025-01-12 11: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-01-12 11:56:12] Production.ERROR: CronJobId end10
[2025-01-12 11:56:12] Production.INFO: ==7471== Releasing lock...
[2025-01-12 11:56:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:56:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:56:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:56:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:56:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:56:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:56:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:56:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:56:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:56:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:56:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:56:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:56:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:56:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:56:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:56:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:56:14] Production.INFO: call_cost start
[2025-01-12 11:56:14] Production.INFO: call_cost end
[2025-01-12 11:56:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:56:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:56:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:56:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:56:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:56:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:56:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:56:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:56:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:56:15] Production.INFO: ==7467== Releasing lock...
[2025-01-12 11:56:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:56:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:56:19] Production.INFO: count ==627
[2025-01-12 11:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:56:06 - End Time 2025-01-12 11:56:06
[2025-01-12 11:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231436', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231436', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231436', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231436', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:56:19] Production.INFO: ProcessCDR(1,14231436,1,1,2)
[2025-01-12 11:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231436', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231436', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:56:24] Production.INFO: ==7475== Releasing lock...
[2025-01-12 11:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:56:24] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 16:57:01] Production.INFO: ==7530== Lock acquired, processing the job...
[2025-01-12 16:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:57:01] Production.INFO: neon service started
[2025-01-12 16:57:01] Production.INFO: neon service started
[2025-01-12 16:57:01] Production.INFO: ==7530== Releasing lock...
[2025-01-12 16:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:57:01] Production.INFO: ==7532== Lock acquired, processing the job...
[2025-01-12 11:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:57:02] Production.INFO: ==7532== Releasing lock...
[2025-01-12 11:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:57:02] Production.INFO: ==7534== Lock acquired, processing the job...
[2025-01-12 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:57:02] Production.INFO: ==7534== Releasing lock...
[2025-01-12 16:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:57:03] Production.INFO: ==7537== Lock acquired, processing the job...
[2025-01-12 11:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:57:03] Production.INFO: ==7547== Lock acquired, processing the job...
[2025-01-12 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:57:03] Production.INFO: ==7541== Lock acquired, processing the job...
[2025-01-12 11:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:57:03] Production.INFO: ==7539== Lock acquired, processing the job...
[2025-01-12 11:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:57:03] Production.INFO: count ==21
[2025-01-12 11:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 11:57:03] Production.INFO: count ==21
[2025-01-12 11:57:03] Production.INFO: ==7543== Lock acquired, processing the job...
[2025-01-12 11:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231437') start
[2025-01-12 11:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:57:03] Production.INFO: ==7545== Lock acquired, processing the job...
[2025-01-12 11:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231437') end
[2025-01-12 11:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:57:03] Production.INFO: 1
[2025-01-12 11:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:57:03] Production.INFO: Account Balance Start.
[2025-01-12 11:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:57:03] Production.INFO: 117
[2025-01-12 11:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:57:03] Production.INFO: ==7547== Releasing lock...
[2025-01-12 11:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:57:04] Production.ERROR: done
[2025-01-12 11:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:57:04] Production.INFO: ==7539== Releasing lock...
[2025-01-12 11:57:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:57:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:57:04] Production.INFO: Total Charge 0
[2025-01-12 11:57:04] Production.INFO: CreateAllLog End
[2025-01-12 11:57:04] Production.ERROR: done
[2025-01-12 11:57:04] Production.INFO: Account Balance End.
[2025-01-12 11:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:57:04] Production.INFO: ==7543== Releasing lock...
[2025-01-12 11:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:57:05
[end_date_ymd] => 2025-01-12 11:57:05
[RateCDR] => 1
)
[2025-01-12 11:57:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:57:05' and `end` < '2025-01-12 11:57:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:57:12] Production.ERROR: CronJobId end10
[2025-01-12 11:57:12] Production.INFO: ==7541== Releasing lock...
[2025-01-12 11:57:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:57:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:57:13] Production.INFO: call_cost start
[2025-01-12 11:57:13] Production.INFO: call_cost end
[2025-01-12 11:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:57:14] Production.INFO: ==7537== Releasing lock...
[2025-01-12 11:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:57:19] Production.INFO: count ==630
[2025-01-12 11:57:19] Production.ERROR: pbx CDR StartTime 2025-01-12 08:57:05 - End Time 2025-01-12 11:57:05
[2025-01-12 11:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231441', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231441', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231441', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231441', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:57:19] Production.INFO: ProcessCDR(1,14231441,1,1,2)
[2025-01-12 11:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:57:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:57:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231441', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231441', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:57:24] Production.INFO: ==7545== Releasing lock...
[2025-01-12 11:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:57:24] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 16:58:02] Production.INFO: ==7602== Lock acquired, processing the job...
[2025-01-12 16:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:58:02] Production.INFO: neon service started
[2025-01-12 16:58:02] Production.INFO: neon service started
[2025-01-12 16:58:02] Production.INFO: ==7602== Releasing lock...
[2025-01-12 16:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:58:02] Production.INFO: ==7606== Lock acquired, processing the job...
[2025-01-12 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:58:02] Production.INFO: ==7606== Releasing lock...
[2025-01-12 16:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:58:02] Production.INFO: ==7604== Lock acquired, processing the job...
[2025-01-12 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:58:02] Production.INFO: ==7604== Releasing lock...
[2025-01-12 11:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 11:58:03] Production.INFO: ==7608== Lock acquired, processing the job...
[2025-01-12 11:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:58:03] Production.INFO: ==7612== Lock acquired, processing the job...
[2025-01-12 11:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:58:03] Production.INFO: ==7617== Lock acquired, processing the job...
[2025-01-12 11:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:58:03] Production.INFO: ==7610== Lock acquired, processing the job...
[2025-01-12 11:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:58:03] Production.INFO: ==7614== Lock acquired, processing the job...
[2025-01-12 11:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:58:04] Production.INFO: Account Balance Start.
[2025-01-12 11:58:04] Production.INFO: CreateAllLog Start
[2025-01-12 11:58:04] Production.INFO: 117
[2025-01-12 11:58:04] Production.INFO: ==7619== Lock acquired, processing the job...
[2025-01-12 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:58:04] Production.INFO: ==7610== Releasing lock...
[2025-01-12 11:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:58:04] Production.ERROR: done
[2025-01-12 11:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 11:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 11:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:58:04] Production.INFO: count ==21
[2025-01-12 11: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-01-12 11:58:04] Production.INFO: Total Charge 0
[2025-01-12 11:58:04] Production.INFO: count ==21
[2025-01-12 11:58:04] Production.ERROR: done
[2025-01-12 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231445') start
[2025-01-12 11:58:04] Production.INFO: CreateAllLog End
[2025-01-12 11:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231445') end
[2025-01-12 11:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:58:04] Production.INFO: 1
[2025-01-12 11:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:58:04] Production.INFO: Account Balance End.
[2025-01-12 11:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:58:04] Production.INFO: ==7614== Releasing lock...
[2025-01-12 11:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:58:04] Production.INFO: ==7619== Releasing lock...
[2025-01-12 11:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:58:05
[end_date_ymd] => 2025-01-12 11:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 08:58:05' and `end` < '2025-01-12 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-01-12 11:58:10] Production.ERROR: CronJobId end10
[2025-01-12 11:58:10] Production.INFO: ==7612== Releasing lock...
[2025-01-12 11:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:58:12] Production.INFO: call_cost start
[2025-01-12 11:58:12] Production.INFO: call_cost end
[2025-01-12 11:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:58:13] Production.INFO: ==7608== Releasing lock...
[2025-01-12 11:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:58:18] Production.INFO: count ==635
[2025-01-12 11:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:58:05 - End Time 2025-01-12 11:58:05
[2025-01-12 11:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231446', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231446', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231446', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231446', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:58:18] Production.INFO: ProcessCDR(1,14231446,1,1,2)
[2025-01-12 11:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:58:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231446', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:58:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231446', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:58:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:58:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:58:22] Production.INFO: ==7617== Releasing lock...
[2025-01-12 11:58:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:58:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 16:59:01] Production.INFO: ==7672== Lock acquired, processing the job...
[2025-01-12 16:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 16:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 16:59:01] Production.INFO: neon service started
[2025-01-12 16:59:01] Production.INFO: neon service started
[2025-01-12 16:59:01] Production.INFO: ==7672== Releasing lock...
[2025-01-12 16:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 16:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 11:59:01] Production.INFO: ==7674== Lock acquired, processing the job...
[2025-01-12 11:59:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 11:59:02] Production.INFO: ==7674== Releasing lock...
[2025-01-12 11:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 11:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:59:02] Production.INFO: ==7676== Lock acquired, processing the job...
[2025-01-12 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:59:02] Production.INFO: ==7676== Releasing lock...
[2025-01-12 16:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 16:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 11:59:02] Production.INFO: ==7678== Lock acquired, processing the job...
[2025-01-12 11:59:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 11:59:02] Production.INFO: ==7682== Lock acquired, processing the job...
[2025-01-12 11:59:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 11:59:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 11:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 11:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 11:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 11:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 11:59:03] Production.INFO: ==7686== Lock acquired, processing the job...
[2025-01-12 11:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 11:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 11:59:03] Production.INFO: ==7680== Lock acquired, processing the job...
[2025-01-12 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 11:59:03] Production.INFO: ==7684== Lock acquired, processing the job...
[2025-01-12 11:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 11:59:03] Production.INFO: ==7688== Lock acquired, processing the job...
[2025-01-12 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 11:59:03] Production.ERROR: done
[2025-01-12 11:59:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 11:59:03] Production.INFO: Account Balance Start.
[2025-01-12 11:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 11:59:03] Production.INFO: 117
[2025-01-12 11:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 11:59:03] Production.ERROR: done
[2025-01-12 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 11:59:03] Production.INFO: ==7680== Releasing lock...
[2025-01-12 11:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 11:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 11:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:59:03] Production.INFO: count ==21
[2025-01-12 11:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 11:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 11: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-01-12 11:59:03] Production.INFO: count ==21
[2025-01-12 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231450') start
[2025-01-12 11:59:03] Production.INFO: Total Charge 0
[2025-01-12 11:59:03] Production.INFO: CreateAllLog End
[2025-01-12 11:59:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231450') end
[2025-01-12 11:59:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 11:59:03] Production.INFO: 1
[2025-01-12 11:59:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 11:59:03] Production.INFO: Account Balance End.
[2025-01-12 11:59:03] Production.INFO: ==7688== Releasing lock...
[2025-01-12 11:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 11:59:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 11:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 11:59:04] Production.INFO: ==7684== Releasing lock...
[2025-01-12 11:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 11:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 11:59:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 08:59:04
[end_date_ymd] => 2025-01-12 11:59:04
[RateCDR] => 1
)
[2025-01-12 11:59:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 08:59:04' and `end` < '2025-01-12 11:59:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 11:59:10] Production.ERROR: CronJobId end10
[2025-01-12 11:59:10] Production.INFO: ==7682== Releasing lock...
[2025-01-12 11:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 11:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 11:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 11:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 11:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 11:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 11:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 11:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 11:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 11:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 11:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 11:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 11:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 11:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 11:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 11:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 11:59:12] Production.INFO: call_cost start
[2025-01-12 11:59:12] Production.INFO: call_cost end
[2025-01-12 11:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 11:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 11:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 11:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 11:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 11:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 11:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 11:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 11:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 11:59:13] Production.INFO: ==7678== Releasing lock...
[2025-01-12 11:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 11:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 11:59:18] Production.INFO: count ==636
[2025-01-12 11:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 08:59:04 - End Time 2025-01-12 11:59:04
[2025-01-12 11:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 11:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231451', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231451', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231451', 'tblTempVendorCDR_20' ) start
[2025-01-12 11:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231451', 'tblTempVendorCDR_20' ) end
[2025-01-12 11:59:18] Production.INFO: ProcessCDR(1,14231451,1,1,2)
[2025-01-12 11:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:59:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 11:59:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:59:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 11:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231451', 'tblTempUsageDetail_20' ) start
[2025-01-12 11:59:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231451', 'tblTempUsageDetail_20' ) end
[2025-01-12 11:59:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 11:59:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 11:59:22] Production.INFO: ==7686== Releasing lock...
[2025-01-12 11:59:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 11:59:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 17:00:01] Production.INFO: ==7742== Lock acquired, processing the job...
[2025-01-12 17:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:00:02] Production.INFO: neon service started
[2025-01-12 17:00:02] Production.INFO: neon service started
[2025-01-12 17:00:02] Production.INFO: ==7742== Releasing lock...
[2025-01-12 17:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:00:02] Production.INFO: ==7744== Lock acquired, processing the job...
[2025-01-12 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:00:02] Production.INFO: ==7744== Releasing lock...
[2025-01-12 12:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:00:02] Production.INFO: ==7747== Lock acquired, processing the job...
[2025-01-12 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:00:02] Production.INFO: ==7747== Releasing lock...
[2025-01-12 17:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:00:03] Production.INFO: ==7749== Lock acquired, processing the job...
[2025-01-12 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 12:00:03] Production.INFO: ==7753== Lock acquired, processing the job...
[2025-01-12 12:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 12:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 12:00:03] Production.INFO: ==7749== Releasing lock...
[2025-01-12 12:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 12:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 12:00:03] Production.INFO: ==7755== Lock acquired, processing the job...
[2025-01-12 12:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:00:03] Production.INFO: ==7757== Lock acquired, processing the job...
[2025-01-12 12:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:00:03] Production.INFO: ==7751== Lock acquired, processing the job...
[2025-01-12 12:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:00:03] Production.INFO: Account Balance Start.
[2025-01-12 12:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:00:03] Production.INFO: 117
[2025-01-12 12:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:00:04] Production.INFO: ==7753== Releasing lock...
[2025-01-12 12:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:00:04] Production.INFO: ==7759== Lock acquired, processing the job...
[2025-01-12 12:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:00:04] Production.INFO: ==7761== Lock acquired, processing the job...
[2025-01-12 12:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 12:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:00:04] Production.INFO: Total Charge 0
[2025-01-12 12:00:04] Production.INFO: CreateAllLog End
[2025-01-12 12:00:04] Production.INFO: ==7763== Lock acquired, processing the job...
[2025-01-12 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:00:04] Production.INFO: count ==21
[2025-01-12 12:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:00:04] Production.INFO: count ==21
[2025-01-12 12:00:04] Production.ERROR: done
[2025-01-12 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231455') start
[2025-01-12 12:00:04] Production.ERROR: done
[2025-01-12 12:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 12:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231456', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 12:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231455') end
[2025-01-12 12:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:00:04] Production.INFO: 1
[2025-01-12 12:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:00:04] Production.INFO: Account Balance End.
[2025-01-12 12:00:04] Production.ERROR: done
[2025-01-12 12:00:04] Production.INFO: ==7763== Releasing lock...
[2025-01-12 12:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:00:04] Production.INFO: ==7757== Releasing lock...
[2025-01-12 12:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:00:05
[end_date_ymd] => 2025-01-12 12:00:05
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:00:05' and `end` < '2025-01-12 12: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-01-12 12:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231456', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 12:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 12:00:08] Production.INFO: ProcessCDR(1,14231456,1,1,2)
[2025-01-12 12:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231456,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231456,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:00:08] Production.INFO: ==7761== Releasing lock...
[2025-01-12 12:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 12:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 12:00:12] Production.ERROR: CronJobId end10
[2025-01-12 12:00:12] Production.INFO: ==7755== Releasing lock...
[2025-01-12 12:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:00:14] Production.INFO: call_cost start
[2025-01-12 12:00:14] Production.INFO: call_cost end
[2025-01-12 12:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:00:15] Production.INFO: ==7751== Releasing lock...
[2025-01-12 12:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:00:18] Production.INFO: count ==645
[2025-01-12 12:00:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:00:05 - End Time 2025-01-12 12:00:05
[2025-01-12 12:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231457', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231457', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231457', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231457', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:00:19] Production.INFO: ProcessCDR(1,14231457,1,1,2)
[2025-01-12 12:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231457,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231457,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231457', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231457', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:00:23] Production.INFO: ==7759== Releasing lock...
[2025-01-12 12:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:00:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 17:01:01] Production.INFO: ==7819== Lock acquired, processing the job...
[2025-01-12 17:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:01:01] Production.INFO: neon service started
[2025-01-12 17:01:01] Production.INFO: neon service started
[2025-01-12 17:01:01] Production.INFO: ==7819== Releasing lock...
[2025-01-12 17:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:01:01] Production.INFO: ==7833== Lock acquired, processing the job...
[2025-01-12 17:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:01:01] Production.INFO: ==7833== Releasing lock...
[2025-01-12 17:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:01:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:01:01] Production.INFO: ==7831== Lock acquired, processing the job...
[2025-01-12 12:01:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:01:02] Production.INFO: ==7831== Releasing lock...
[2025-01-12 12:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:01:02] Production.INFO: ==7840== Lock acquired, processing the job...
[2025-01-12 12:01:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:01:02] Production.INFO: ==7846== Lock acquired, processing the job...
[2025-01-12 12:01:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12: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-01-12 12:01:03] Production.INFO: ==7836== Lock acquired, processing the job...
[2025-01-12 12:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:01:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:01:03] Production.INFO: count ==21
[2025-01-12 12:01:03] Production.INFO: ==7838== Lock acquired, processing the job...
[2025-01-12 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231458') start
[2025-01-12 12:01:03] Production.INFO: ==7844== Lock acquired, processing the job...
[2025-01-12 12:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:01:03] Production.INFO: ==7842== Lock acquired, processing the job...
[2025-01-12 12:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231458') end
[2025-01-12 12:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:01:03] Production.INFO: 1
[2025-01-12 12:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:01:03] Production.INFO: ==7846== Releasing lock...
[2025-01-12 12:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:01:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:01:03] Production.INFO: Account Balance Start.
[2025-01-12 12:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:01:03] Production.INFO: 117
[2025-01-12 12:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:01:03] Production.INFO: ==7838== Releasing lock...
[2025-01-12 12:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:01:03] Production.INFO: Total Charge 0
[2025-01-12 12:01:03] Production.INFO: CreateAllLog End
[2025-01-12 12:01:03] Production.ERROR: done
[2025-01-12 12:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:01:03] Production.ERROR: done
[2025-01-12 12:01:04] Production.INFO: Account Balance End.
[2025-01-12 12:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:01:04] Production.INFO: ==7842== Releasing lock...
[2025-01-12 12:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:01:04
[end_date_ymd] => 2025-01-12 12:01:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:01:04' and `end` < '2025-01-12 12: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-01-12 12:01:11] Production.ERROR: CronJobId end10
[2025-01-12 12:01:11] Production.INFO: ==7840== Releasing lock...
[2025-01-12 12:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:01:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:01:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:01:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:01:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:01:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:01:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:01:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:01:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:01:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:01:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:01:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:01:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:01:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:01:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:01:13] Production.INFO: call_cost start
[2025-01-12 12:01:13] Production.INFO: call_cost end
[2025-01-12 12:01:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:01:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:01:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:01:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:01:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:01:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:01:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:01:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:01:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:01:13] Production.INFO: ==7836== Releasing lock...
[2025-01-12 12:01:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:01:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:01:18] Production.INFO: count ==671
[2025-01-12 12:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:01:04 - End Time 2025-01-12 12:01:04
[2025-01-12 12:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231462', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231462', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231462', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231462', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:01:18] Production.INFO: ProcessCDR(1,14231462,1,1,2)
[2025-01-12 12:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231462,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231462,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231462', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231462', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:01:22] Production.INFO: ==7844== Releasing lock...
[2025-01-12 12:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:01:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 17:02:01] Production.INFO: ==7902== Lock acquired, processing the job...
[2025-01-12 17:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:02:01] Production.INFO: neon service started
[2025-01-12 17:02:01] Production.INFO: neon service started
[2025-01-12 17:02:01] Production.INFO: ==7902== Releasing lock...
[2025-01-12 17:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:02:02] Production.INFO: ==7904== Lock acquired, processing the job...
[2025-01-12 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:02:02] Production.INFO: ==7906== Lock acquired, processing the job...
[2025-01-12 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:02:02] Production.INFO: ==7906== Releasing lock...
[2025-01-12 17:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:02:02] Production.INFO: ==7904== Releasing lock...
[2025-01-12 12:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:02:03] Production.INFO: ==7911== Lock acquired, processing the job...
[2025-01-12 12:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:02:03] Production.INFO: ==7909== Lock acquired, processing the job...
[2025-01-12 12:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:02:04] Production.INFO: ==7913== Lock acquired, processing the job...
[2025-01-12 12:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:02:04] Production.INFO: ==7919== Lock acquired, processing the job...
[2025-01-12 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:02:04] Production.INFO: ==7911== Releasing lock...
[2025-01-12 12:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:02:04] Production.INFO: ==7915== Lock acquired, processing the job...
[2025-01-12 12:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:02:04] Production.INFO: Account Balance Start.
[2025-01-12 12:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:02:04] Production.INFO: 117
[2025-01-12 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-01-12 12:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:02:04] Production.INFO: count ==21
[2025-01-12 12:02:04] Production.INFO: ==7917== Lock acquired, processing the job...
[2025-01-12 12:02:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 12:02:04] Production.INFO: count ==21
[2025-01-12 12:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231465') start
[2025-01-12 12:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:02:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231465') end
[2025-01-12 12:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:02:04] Production.INFO: 1
[2025-01-12 12:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:02:04] Production.INFO: Total Charge 0
[2025-01-12 12:02:04] Production.INFO: ==7919== Releasing lock...
[2025-01-12 12:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:02:04] Production.INFO: CreateAllLog End
[2025-01-12 12:02:05] Production.ERROR: done
[2025-01-12 12:02:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:02:05] Production.INFO: Account Balance End.
[2025-01-12 12:02:05] Production.ERROR: CronJobId end 12
[2025-01-12 12:02:05] Production.INFO: ==7915== Releasing lock...
[2025-01-12 12:02:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:02:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:02:05] Production.ERROR: done
[2025-01-12 12:02:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:02:06
[end_date_ymd] => 2025-01-12 12:02:06
[RateCDR] => 1
)
[2025-01-12 12:02:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:02:06' and `end` < '2025-01-12 12:02:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:02:11] Production.ERROR: CronJobId end10
[2025-01-12 12:02:11] Production.INFO: ==7913== Releasing lock...
[2025-01-12 12:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:02:13] Production.INFO: call_cost start
[2025-01-12 12:02:13] Production.INFO: call_cost end
[2025-01-12 12:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:02:14] Production.INFO: ==7909== Releasing lock...
[2025-01-12 12:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:02:20] Production.INFO: count ==684
[2025-01-12 12:02:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:02:06 - End Time 2025-01-12 12:02:06
[2025-01-12 12:02:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231467', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231467', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231467', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:02:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231467', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:02:20] Production.INFO: ProcessCDR(1,14231467,1,1,2)
[2025-01-12 12:02:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:02:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231467,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:02:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:02:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231467,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231467', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:02:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231467', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:02:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:02:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:02:25] Production.INFO: ==7917== Releasing lock...
[2025-01-12 12:02:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:02:25] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 17:03:02] Production.INFO: ==7975== Lock acquired, processing the job...
[2025-01-12 17:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:03:02] Production.INFO: neon service started
[2025-01-12 17:03:02] Production.INFO: neon service started
[2025-01-12 17:03:02] Production.INFO: ==7975== Releasing lock...
[2025-01-12 17:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:03:02] Production.INFO: ==7979== Lock acquired, processing the job...
[2025-01-12 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:03:02] Production.INFO: ==7979== Releasing lock...
[2025-01-12 17:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:03:02] Production.INFO: ==7977== Lock acquired, processing the job...
[2025-01-12 12:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:03:03] Production.INFO: ==7977== Releasing lock...
[2025-01-12 12:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:03:03] Production.INFO: ==7982== Lock acquired, processing the job...
[2025-01-12 12:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:03:04] Production.INFO: ==7990== Lock acquired, processing the job...
[2025-01-12 12:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:03:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:03:04] Production.INFO: ==7988== Lock acquired, processing the job...
[2025-01-12 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:03:04] Production.INFO: ==7984== Lock acquired, processing the job...
[2025-01-12 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:03:04] Production.INFO: ==7986== Lock acquired, processing the job...
[2025-01-12 12:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:03:04] Production.INFO: Account Balance Start.
[2025-01-12 12:03:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:03:04] Production.INFO: 117
[2025-01-12 12:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:03:04] Production.INFO: ==7992== Lock acquired, processing the job...
[2025-01-12 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:03:04] Production.INFO: Total Charge 0
[2025-01-12 12:03:04] Production.INFO: CreateAllLog End
[2025-01-12 12:03:04] Production.ERROR: done
[2025-01-12 12:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 12:03:04] Production.INFO: ==7984== Releasing lock...
[2025-01-12 12:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:03:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:03:04] Production.INFO: count ==21
[2025-01-12 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231471') start
[2025-01-12 12:03:04] Production.ERROR: done
[2025-01-12 12:03:04] Production.INFO: Account Balance End.
[2025-01-12 12:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231471') end
[2025-01-12 12:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:03:04] Production.INFO: 1
[2025-01-12 12:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:03:04] Production.INFO: ==7988== Releasing lock...
[2025-01-12 12:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:03:04] Production.INFO: ==7992== Releasing lock...
[2025-01-12 12:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:03:05
[end_date_ymd] => 2025-01-12 12:03:05
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:03:05' and `end` < '2025-01-12 12: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-01-12 12:03:11] Production.ERROR: CronJobId end10
[2025-01-12 12:03:11] Production.INFO: ==7986== Releasing lock...
[2025-01-12 12:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:03:14] Production.INFO: call_cost start
[2025-01-12 12:03:14] Production.INFO: call_cost end
[2025-01-12 12:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:03:14] Production.INFO: ==7982== Releasing lock...
[2025-01-12 12:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:03:20] Production.INFO: count ==687
[2025-01-12 12:03:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:03:05 - End Time 2025-01-12 12:03:05
[2025-01-12 12:03:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231472', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231472', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231472', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:03:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231472', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:03:20] Production.INFO: ProcessCDR(1,14231472,1,1,2)
[2025-01-12 12:03:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:03:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231472,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:03:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:03:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231472,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231472', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:03:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231472', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:03:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:03:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:03:25] Production.INFO: ==7990== Releasing lock...
[2025-01-12 12:03:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:03:25] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 17:04:01] Production.INFO: ==8045== Lock acquired, processing the job...
[2025-01-12 17:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:04:01] Production.INFO: neon service started
[2025-01-12 17:04:01] Production.INFO: neon service started
[2025-01-12 17:04:01] Production.INFO: ==8045== Releasing lock...
[2025-01-12 17:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:04:02] Production.INFO: ==8049== Lock acquired, processing the job...
[2025-01-12 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:04:02] Production.INFO: ==8049== Releasing lock...
[2025-01-12 17:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:04:02] Production.INFO: ==8047== Lock acquired, processing the job...
[2025-01-12 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:04:02] Production.INFO: ==8047== Releasing lock...
[2025-01-12 12:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:04:03] Production.INFO: ==8056== Lock acquired, processing the job...
[2025-01-12 12:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:04:03] Production.INFO: ==8058== Lock acquired, processing the job...
[2025-01-12 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:04:03] Production.INFO: ==8062== Lock acquired, processing the job...
[2025-01-12 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:04:03] Production.INFO: Account Balance Start.
[2025-01-12 12:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:04:03] Production.INFO: 117
[2025-01-12 12:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:04:03] Production.INFO: count ==21
[2025-01-12 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-01-12 12:04:03] Production.INFO: count ==21
[2025-01-12 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231474') start
[2025-01-12 12:04:03] Production.INFO: ==8052== Lock acquired, processing the job...
[2025-01-12 12:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:04:03] Production.INFO: ==8054== Lock acquired, processing the job...
[2025-01-12 12:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231474') end
[2025-01-12 12:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:04:03] Production.INFO: 1
[2025-01-12 12:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:04:03] Production.INFO: Total Charge 0
[2025-01-12 12:04:03] Production.INFO: CreateAllLog End
[2025-01-12 12:04:03] Production.INFO: ==8062== Releasing lock...
[2025-01-12 12:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:04:03] Production.INFO: ==8060== Lock acquired, processing the job...
[2025-01-12 12:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:04:03] Production.INFO: Account Balance End.
[2025-01-12 12:04:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:04:03] Production.INFO: ==8058== Releasing lock...
[2025-01-12 12:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:04:04] Production.ERROR: done
[2025-01-12 12:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:04:04] Production.INFO: ==8054== Releasing lock...
[2025-01-12 12:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:04:04] Production.ERROR: done
[2025-01-12 12:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:04:05
[end_date_ymd] => 2025-01-12 12:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:04:05' and `end` < '2025-01-12 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-01-12 12:04: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: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-01-12 12:04:10] Production.ERROR: CronJobId end10
[2025-01-12 12:04:10] Production.INFO: ==8056== Releasing lock...
[2025-01-12 12:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:04:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:04:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:04:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:04:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:04:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:04:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:04:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:04:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:04:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:04:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:04:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:04:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:04:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:04:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:04:12] Production.INFO: call_cost start
[2025-01-12 12:04:12] Production.INFO: call_cost end
[2025-01-12 12:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:04:13] Production.INFO: ==8052== Releasing lock...
[2025-01-12 12:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:04:18] Production.INFO: count ==696
[2025-01-12 12:04:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:04:05 - End Time 2025-01-12 12:04:05
[2025-01-12 12:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231477', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231477', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231477', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231477', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:04:18] Production.INFO: ProcessCDR(1,14231477,1,1,2)
[2025-01-12 12:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231477,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231477,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231477', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231477', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:04:22] Production.INFO: ==8060== Releasing lock...
[2025-01-12 12:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:04:22] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 17:05:02] Production.INFO: ==8115== Lock acquired, processing the job...
[2025-01-12 17:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:05:02] Production.INFO: neon service started
[2025-01-12 17:05:02] Production.INFO: neon service started
[2025-01-12 17:05:02] Production.INFO: ==8115== Releasing lock...
[2025-01-12 17:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:05:02] Production.INFO: ==8117== Lock acquired, processing the job...
[2025-01-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:05:02] Production.INFO: ==8119== Lock acquired, processing the job...
[2025-01-12 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:05:02] Production.INFO: ==8119== Releasing lock...
[2025-01-12 17:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:05:02] Production.INFO: ==8117== Releasing lock...
[2025-01-12 12:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:05:03] Production.INFO: ==8121== Lock acquired, processing the job...
[2025-01-12 12:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:05:03] Production.INFO: ==8125== Lock acquired, processing the job...
[2025-01-12 12:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:05:03] Production.INFO: ==8123== Lock acquired, processing the job...
[2025-01-12 12:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:05:03] Production.INFO: ==8127== Lock acquired, processing the job...
[2025-01-12 12:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:05:04] Production.INFO: Account Balance Start.
[2025-01-12 12:05:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:05:04] Production.INFO: 117
[2025-01-12 12:05:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:05:04] Production.INFO: ==8130== Lock acquired, processing the job...
[2025-01-12 12:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:05:04] Production.INFO: ==8123== Releasing lock...
[2025-01-12 12:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:05:04] Production.INFO: ==8132== Lock acquired, processing the job...
[2025-01-12 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:05:04] Production.INFO: Total Charge 0
[2025-01-12 12:05:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 12:05:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:05:04] Production.INFO: count ==21
[2025-01-12 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231481') start
[2025-01-12 12:05:04] Production.INFO: Account Balance End.
[2025-01-12 12:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231481') end
[2025-01-12 12:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:05:04] Production.INFO: 1
[2025-01-12 12:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:05:04] Production.ERROR: done
[2025-01-12 12:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:05:04] Production.INFO: ==8127== Releasing lock...
[2025-01-12 12:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:05:04] Production.INFO: ==8132== Releasing lock...
[2025-01-12 12:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:05:04] Production.ERROR: done
[2025-01-12 12:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:05:05
[end_date_ymd] => 2025-01-12 12:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:05:05' and `end` < '2025-01-12 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-01-12 12:05:11] Production.ERROR: CronJobId end10
[2025-01-12 12:05:11] Production.INFO: ==8125== Releasing lock...
[2025-01-12 12:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:05:13] Production.INFO: call_cost start
[2025-01-12 12:05:13] Production.INFO: call_cost end
[2025-01-12 12:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:05:14] Production.INFO: ==8121== Releasing lock...
[2025-01-12 12:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:05:19] Production.INFO: count ==713
[2025-01-12 12:05:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:05:05 - End Time 2025-01-12 12:05:05
[2025-01-12 12:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231482', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231482', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231482', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231482', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:05:19] Production.INFO: ProcessCDR(1,14231482,1,1,2)
[2025-01-12 12:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:05:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231482', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:05:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231482', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:05:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:05:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:05:24] Production.INFO: ==8130== Releasing lock...
[2025-01-12 12:05:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:05:24] Production.INFO: 34 MB #Memory Used#
[2025-01-12 17:06:01] Production.INFO: ==8186== Lock acquired, processing the job...
[2025-01-12 17:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:06:01] Production.INFO: neon service started
[2025-01-12 17:06:01] Production.INFO: neon service started
[2025-01-12 17:06:01] Production.INFO: ==8186== Releasing lock...
[2025-01-12 17:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:06:01] Production.INFO: ==8188== Lock acquired, processing the job...
[2025-01-12 12:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:06:02] Production.INFO: ==8188== Releasing lock...
[2025-01-12 12:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:06:02] Production.INFO: ==8190== Lock acquired, processing the job...
[2025-01-12 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:06:02] Production.INFO: ==8190== Releasing lock...
[2025-01-12 17:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:06:02] Production.INFO: ==8192== Lock acquired, processing the job...
[2025-01-12 12:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:06:03] Production.INFO: ==8196== Lock acquired, processing the job...
[2025-01-12 12:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:06:03] Production.INFO: ==8198== Lock acquired, processing the job...
[2025-01-12 12:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:06:03] Production.INFO: Account Balance Start.
[2025-01-12 12:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:06:03] Production.INFO: 117
[2025-01-12 12:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:06:03] Production.INFO: ==8194== Lock acquired, processing the job...
[2025-01-12 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:06:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:06:03] Production.INFO: ==8200== Lock acquired, processing the job...
[2025-01-12 12:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:06:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:06:03] Production.INFO: ==8202== Lock acquired, processing the job...
[2025-01-12 12:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:06:03] Production.INFO: Total Charge 0
[2025-01-12 12:06:03] Production.INFO: CreateAllLog End
[2025-01-12 12:06:03] Production.INFO: ==8194== Releasing lock...
[2025-01-12 12:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:06:03] Production.ERROR: done
[2025-01-12 12:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:06:03] Production.INFO: Account Balance End.
[2025-01-12 12: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-01-12 12:06:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:06:03] Production.INFO: ==8198== Releasing lock...
[2025-01-12 12:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:06:03] Production.ERROR: done
[2025-01-12 12:06:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:06:03] Production.INFO: count ==21
[2025-01-12 12:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231486') start
[2025-01-12 12:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231486') end
[2025-01-12 12:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:06:04] Production.INFO: 1
[2025-01-12 12:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:06:04] Production.INFO: ==8202== Releasing lock...
[2025-01-12 12:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:06:04
[end_date_ymd] => 2025-01-12 12:06:04
[RateCDR] => 1
)
[2025-01-12 12:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:06:04' and `end` < '2025-01-12 12:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:06:11] Production.ERROR: CronJobId end10
[2025-01-12 12:06:11] Production.INFO: ==8196== Releasing lock...
[2025-01-12 12:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:06:12] Production.INFO: call_cost start
[2025-01-12 12:06:12] Production.INFO: call_cost end
[2025-01-12 12:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:06:13] Production.INFO: ==8192== Releasing lock...
[2025-01-12 12:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:06:17] Production.INFO: count ==716
[2025-01-12 12:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:06:04 - End Time 2025-01-12 12:06:04
[2025-01-12 12:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231487', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231487', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231487', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231487', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:06:18] Production.INFO: ProcessCDR(1,14231487,1,1,2)
[2025-01-12 12:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231487', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231487', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:06:22] Production.INFO: ==8200== Releasing lock...
[2025-01-12 12:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:06:22] Production.INFO: 33.25 MB #Memory Used#
[2025-01-12 17:07:01] Production.INFO: ==8257== Lock acquired, processing the job...
[2025-01-12 17:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:07:01] Production.INFO: neon service started
[2025-01-12 17:07:01] Production.INFO: neon service started
[2025-01-12 17:07:01] Production.INFO: ==8257== Releasing lock...
[2025-01-12 17:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:07:02] Production.INFO: ==8261== Lock acquired, processing the job...
[2025-01-12 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:07:02] Production.INFO: ==8261== Releasing lock...
[2025-01-12 17:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:07:02] Production.INFO: ==8259== Lock acquired, processing the job...
[2025-01-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:07:02] Production.INFO: ==8259== Releasing lock...
[2025-01-12 12:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:07:03] Production.INFO: ==8264== Lock acquired, processing the job...
[2025-01-12 12:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:07:03] Production.INFO: ==8268== Lock acquired, processing the job...
[2025-01-12 12:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:07:03] Production.INFO: ==8266== Lock acquired, processing the job...
[2025-01-12 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:07:03] Production.INFO: ==8270== Lock acquired, processing the job...
[2025-01-12 12:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:07:03] Production.INFO: ==8274== Lock acquired, processing the job...
[2025-01-12 12:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:07:03] Production.INFO: ==8272== Lock acquired, processing the job...
[2025-01-12 12:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:07:03] Production.INFO: Account Balance Start.
[2025-01-12 12:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:07:03] Production.INFO: 117
[2025-01-12 12:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:07:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:07:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:07:03] Production.INFO: count ==21
[2025-01-12 12:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231491') start
[2025-01-12 12:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:07:03] Production.INFO: ==8266== Releasing lock...
[2025-01-12 12:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231491') end
[2025-01-12 12:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:07:04] Production.INFO: 1
[2025-01-12 12:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:07:04] Production.ERROR: done
[2025-01-12 12:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:07:04] Production.INFO: ==8274== Releasing lock...
[2025-01-12 12:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:07:04] Production.INFO: Total Charge 0
[2025-01-12 12:07:04] Production.INFO: CreateAllLog End
[2025-01-12 12:07:04] Production.ERROR: done
[2025-01-12 12:07:04] Production.INFO: Account Balance End.
[2025-01-12 12:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:07:04] Production.INFO: ==8270== Releasing lock...
[2025-01-12 12:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:07:05
[end_date_ymd] => 2025-01-12 12:07:05
[RateCDR] => 1
)
[2025-01-12 12:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:07:05' and `end` < '2025-01-12 12:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:07:09] 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-01-12 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-01-12 12:07:09] Production.ERROR: CronJobId end10
[2025-01-12 12:07:09] Production.INFO: ==8268== Releasing lock...
[2025-01-12 12:07:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:07:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:07:13] Production.INFO: call_cost start
[2025-01-12 12:07:13] Production.INFO: call_cost end
[2025-01-12 12:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:07:14] Production.INFO: ==8264== Releasing lock...
[2025-01-12 12:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:07:18] Production.INFO: count ==721
[2025-01-12 12:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:07:05 - End Time 2025-01-12 12:07:05
[2025-01-12 12:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231492', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231492', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231492', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231492', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:07:18] Production.INFO: ProcessCDR(1,14231492,1,1,2)
[2025-01-12 12:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:07:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231492', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:07:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231492', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:07:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:07:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:07:21] Production.INFO: ==8272== Releasing lock...
[2025-01-12 12:07:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:07:21] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 17:08:01] Production.INFO: ==8331== Lock acquired, processing the job...
[2025-01-12 17:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:08:01] Production.INFO: neon service started
[2025-01-12 17:08:01] Production.INFO: neon service started
[2025-01-12 17:08:01] Production.INFO: ==8331== Releasing lock...
[2025-01-12 17:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:08:01] Production.INFO: ==8335== Lock acquired, processing the job...
[2025-01-12 17:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:08:01] Production.INFO: ==8335== Releasing lock...
[2025-01-12 17:08:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:08:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:08:01] Production.INFO: ==8333== Lock acquired, processing the job...
[2025-01-12 12:08:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:08:02] Production.INFO: ==8333== Releasing lock...
[2025-01-12 12:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:08:02] Production.INFO: ==8338== Lock acquired, processing the job...
[2025-01-12 12:08:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:08:02] Production.INFO: ==8340== Lock acquired, processing the job...
[2025-01-12 12:08:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:08:03] Production.INFO: ==8346== Lock acquired, processing the job...
[2025-01-12 12:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:08:03] Production.INFO: ==8342== Lock acquired, processing the job...
[2025-01-12 12:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:08:03] Production.INFO: ==8344== Lock acquired, processing the job...
[2025-01-12 12:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:08:03] Production.INFO: ==8340== Releasing lock...
[2025-01-12 12:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:08:03] Production.INFO: ==8348== Lock acquired, processing the job...
[2025-01-12 12:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:08:03] Production.INFO: Account Balance Start.
[2025-01-12 12:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:08:03] Production.INFO: 117
[2025-01-12 12:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:08:03] Production.ERROR: done
[2025-01-12 12:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:08:03] Production.ERROR: done
[2025-01-12 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-01-12 12:08:03] Production.INFO: count ==21
[2025-01-12 12:08:03] Production.INFO: Total Charge 0
[2025-01-12 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-01-12 12:08:03] Production.INFO: CreateAllLog End
[2025-01-12 12:08:03] Production.INFO: count ==21
[2025-01-12 12:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231496') start
[2025-01-12 12:08:03] Production.INFO: Account Balance End.
[2025-01-12 12:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231496') end
[2025-01-12 12:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:08:03] Production.INFO: 1
[2025-01-12 12:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:08:04] Production.INFO: ==8344== Releasing lock...
[2025-01-12 12:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:08:04] Production.INFO: ==8348== Releasing lock...
[2025-01-12 12:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:08:04
[end_date_ymd] => 2025-01-12 12:08:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:08:04' and `end` < '2025-01-12 12: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-01-12 12:08:10] Production.ERROR: CronJobId end10
[2025-01-12 12:08:10] Production.INFO: ==8342== Releasing lock...
[2025-01-12 12:08:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:08:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:08:12] Production.INFO: call_cost start
[2025-01-12 12:08:12] Production.INFO: call_cost end
[2025-01-12 12:08:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:08:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:08:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:08:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:08:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:08:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:08:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:08:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:08:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:08:13] Production.INFO: ==8338== Releasing lock...
[2025-01-12 12:08:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:08:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:08:19] Production.INFO: count ==722
[2025-01-12 12:08:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:08:04 - End Time 2025-01-12 12:08:04
[2025-01-12 12:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231497', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231497', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231497', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231497', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:08:19] Production.INFO: ProcessCDR(1,14231497,1,1,2)
[2025-01-12 12:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231497', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231497', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:08:23] Production.INFO: ==8346== Releasing lock...
[2025-01-12 12:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:08:23] Production.INFO: 33.5 MB #Memory Used#
[2025-01-12 17:09:01] Production.INFO: ==8402== Lock acquired, processing the job...
[2025-01-12 17:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:09:01] Production.INFO: neon service started
[2025-01-12 17:09:01] Production.INFO: neon service started
[2025-01-12 17:09:01] Production.INFO: ==8402== Releasing lock...
[2025-01-12 17:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:09:02] Production.INFO: ==8406== Lock acquired, processing the job...
[2025-01-12 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:09:02] Production.INFO: ==8406== Releasing lock...
[2025-01-12 17:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:09:02] Production.INFO: ==8404== Lock acquired, processing the job...
[2025-01-12 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:09:02] Production.INFO: ==8404== Releasing lock...
[2025-01-12 12:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:09:03] Production.INFO: ==8411== Lock acquired, processing the job...
[2025-01-12 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:09:03] Production.INFO: ==8417== Lock acquired, processing the job...
[2025-01-12 12:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:09:03] Production.INFO: ==8409== Lock acquired, processing the job...
[2025-01-12 12:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:09:03] Production.INFO: ==8411== Releasing lock...
[2025-01-12 12:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:09:03] Production.INFO: ==8413== Lock acquired, processing the job...
[2025-01-12 12:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:09:03] Production.INFO: ==8415== Lock acquired, processing the job...
[2025-01-12 12:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:09:03] Production.INFO: ==8419== Lock acquired, processing the job...
[2025-01-12 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:09:03] Production.ERROR: done
[2025-01-12 12:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:09:03] Production.INFO: Account Balance Start.
[2025-01-12 12:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:09:03] Production.ERROR: done
[2025-01-12 12:09:03] Production.INFO: 117
[2025-01-12 12:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:09:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:09:03] Production.INFO: count ==21
[2025-01-12 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231501') start
[2025-01-12 12:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231501') end
[2025-01-12 12:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:09:03] Production.INFO: 1
[2025-01-12 12:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:09:03] Production.INFO: Total Charge 0
[2025-01-12 12:09:03] Production.INFO: CreateAllLog End
[2025-01-12 12:09:03] Production.INFO: ==8419== Releasing lock...
[2025-01-12 12:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:09:04] Production.INFO: Account Balance End.
[2025-01-12 12:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:09:04] Production.INFO: ==8415== Releasing lock...
[2025-01-12 12:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:09:04
[end_date_ymd] => 2025-01-12 12:09:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:09:04' and `end` < '2025-01-12 12: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-01-12 12:09:09] Production.ERROR: CronJobId end10
[2025-01-12 12:09:09] Production.INFO: ==8413== Releasing lock...
[2025-01-12 12:09:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:09:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:09:12] Production.INFO: call_cost start
[2025-01-12 12:09:12] Production.INFO: call_cost end
[2025-01-12 12:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:09:13] Production.INFO: ==8409== Releasing lock...
[2025-01-12 12:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:09:18] Production.INFO: count ==726
[2025-01-12 12:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:09:04 - End Time 2025-01-12 12:09:04
[2025-01-12 12:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231502', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231502', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231502', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231502', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:09:18] Production.INFO: ProcessCDR(1,14231502,1,1,2)
[2025-01-12 12:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:09:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:09:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:09:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231502', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:09:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231502', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:09:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:09:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:09:22] Production.INFO: ==8417== Releasing lock...
[2025-01-12 12:09:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:09:22] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 17:10:02] Production.INFO: ==8473== Lock acquired, processing the job...
[2025-01-12 17:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:10:02] Production.INFO: neon service started
[2025-01-12 17:10:02] Production.INFO: neon service started
[2025-01-12 17:10:02] Production.INFO: ==8473== Releasing lock...
[2025-01-12 17:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:10:02] Production.INFO: ==8477== Lock acquired, processing the job...
[2025-01-12 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:10:02] Production.INFO: ==8477== Releasing lock...
[2025-01-12 17:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:10:02] Production.INFO: ==8475== Lock acquired, processing the job...
[2025-01-12 12:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:10:03] Production.INFO: ==8475== Releasing lock...
[2025-01-12 12:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:10:03] Production.INFO: ==8482== Lock acquired, processing the job...
[2025-01-12 12:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:10:03] Production.INFO: ==8484== Lock acquired, processing the job...
[2025-01-12 12:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:10:03] Production.INFO: ==8486== Lock acquired, processing the job...
[2025-01-12 12:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:10:03] Production.INFO: ==8480== Lock acquired, processing the job...
[2025-01-12 12:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 12:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:10:04] Production.ERROR: CronJob PID - 8482
[2025-01-12 12:10:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 12:10:04] Production.ERROR: CronJob ID - 5
[2025-01-12 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 12:10:00
[2025-01-12 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:10:04] Production.ERROR: CronJob PID - 8484
[2025-01-12 12:10:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 12:10:04] Production.ERROR: CronJob ID - 7
[2025-01-12 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 12:10:00
[2025-01-12 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:10:04] Production.ERROR: CronJob PID - 8486
[2025-01-12 12:10:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 12:10:04] Production.ERROR: CronJob ID - 10
[2025-01-12 12:10:04] Production.ERROR: CronJob Last Run Time 2025-01-12 12:10:00
[2025-01-12 12:10:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 12:10:04] Production.INFO: ==8480== Releasing lock...
[2025-01-12 12:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 12:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 12:10:04] Production.INFO: ==8494== Lock acquired, processing the job...
[2025-01-12 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:10:04] Production.INFO: ==8484== Releasing lock...
[2025-01-12 12:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 12:10:04] Production.INFO: ==8488== Lock acquired, processing the job...
[2025-01-12 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:10:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:10:04] Production.INFO: count ==21
[2025-01-12 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231505') start
[2025-01-12 12:10:04] Production.INFO: ==8490== Lock acquired, processing the job...
[2025-01-12 12:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:10:04] Production.INFO: Account Balance Start.
[2025-01-12 12:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:10:04] Production.INFO: 117
[2025-01-12 12:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:10:04] Production.INFO: ==8492== Lock acquired, processing the job...
[2025-01-12 12:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 12:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231505') end
[2025-01-12 12:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:10:04] Production.INFO: 1
[2025-01-12 12:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:10:04] Production.INFO: ==8494== Releasing lock...
[2025-01-12 12:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:10:04] Production.INFO: Total Charge 0
[2025-01-12 12:10:04] Production.INFO: CreateAllLog End
[2025-01-12 12:10:04] Production.ERROR: done
[2025-01-12 12:10:04] Production.INFO: Account Balance End.
[2025-01-12 12:10:04] Production.ERROR: done
[2025-01-12 12:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 12:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231507', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 12:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:10:04] Production.INFO: ==8488== Releasing lock...
[2025-01-12 12:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:10:05] Production.ERROR: done
[2025-01-12 12:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:10:06
[end_date_ymd] => 2025-01-12 12:10:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:10:06' and `end` < '2025-01-12 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-01-12 12:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231507', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 12:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 12:10:08] Production.INFO: ProcessCDR(1,14231507,1,1,2)
[2025-01-12 12:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231507,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:10:08] Production.INFO: ==8492== Releasing lock...
[2025-01-12 12:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 12:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 12:10:12] Production.ERROR: CronJobId end10
[2025-01-12 12:10:12] Production.INFO: ==8486== Releasing lock...
[2025-01-12 12:10:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:10:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:10:14] Production.INFO: call_cost start
[2025-01-12 12:10:14] Production.INFO: call_cost end
[2025-01-12 12:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:10:15] Production.INFO: ==8482== Releasing lock...
[2025-01-12 12:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:10:19] Production.INFO: count ==737
[2025-01-12 12:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:10:06 - End Time 2025-01-12 12:10:06
[2025-01-12 12:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231508', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231508', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231508', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231508', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:10:19] Production.INFO: ProcessCDR(1,14231508,1,1,2)
[2025-01-12 12:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:10:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231508,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:10:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:10:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231508,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231508', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:10:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231508', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:10:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:10:24] Production.INFO: ==8490== Releasing lock...
[2025-01-12 12:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:10:24] Production.INFO: 33.75 MB #Memory Used#
[2025-01-12 17:11:01] Production.INFO: ==8587== Lock acquired, processing the job...
[2025-01-12 17:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:11:01] Production.INFO: neon service started
[2025-01-12 17:11:01] Production.INFO: neon service started
[2025-01-12 17:11:01] Production.INFO: ==8587== Releasing lock...
[2025-01-12 17:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:11:01] Production.INFO: ==8591== Lock acquired, processing the job...
[2025-01-12 17:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:11:01] Production.INFO: ==8591== Releasing lock...
[2025-01-12 17:11:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:11:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:11:02] Production.INFO: ==8589== Lock acquired, processing the job...
[2025-01-12 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:11:02] Production.INFO: ==8589== Releasing lock...
[2025-01-12 12:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:11:03] Production.INFO: ==8593== Lock acquired, processing the job...
[2025-01-12 12:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:11:03] Production.INFO: ==8595== Lock acquired, processing the job...
[2025-01-12 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:11:03] Production.INFO: ==8597== Lock acquired, processing the job...
[2025-01-12 12:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:11:03] Production.INFO: ==8599== Lock acquired, processing the job...
[2025-01-12 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:11:03] Production.INFO: ==8601== Lock acquired, processing the job...
[2025-01-12 12:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:11:03] Production.INFO: Account Balance Start.
[2025-01-12 12:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:11:03] Production.INFO: 117
[2025-01-12 12:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:11:03] Production.INFO: ==8604== Lock acquired, processing the job...
[2025-01-12 12:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:11:03] Production.INFO: ==8595== Releasing lock...
[2025-01-12 12:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:11:03] Production.INFO: Total Charge 0
[2025-01-12 12:11:03] Production.INFO: CreateAllLog End
[2025-01-12 12:11:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:11:03] Production.INFO: count ==21
[2025-01-12 12:11:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:11:03] Production.INFO: count ==21
[2025-01-12 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231512') start
[2025-01-12 12:11:03] Production.ERROR: done
[2025-01-12 12:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:11:03] Production.INFO: Account Balance End.
[2025-01-12 12:11:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:11:03] Production.INFO: ==8599== Releasing lock...
[2025-01-12 12:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231512') end
[2025-01-12 12:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:11:03] Production.INFO: 1
[2025-01-12 12:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:11:04] Production.INFO: ==8604== Releasing lock...
[2025-01-12 12:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:11:04] Production.ERROR: done
[2025-01-12 12:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:11:04
[end_date_ymd] => 2025-01-12 12:11:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:11:04' and `end` < '2025-01-12 12: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-01-12 12:11:10] Production.ERROR: CronJobId end10
[2025-01-12 12:11:10] Production.INFO: ==8597== Releasing lock...
[2025-01-12 12:11:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:11:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:11:13] Production.INFO: call_cost start
[2025-01-12 12:11:13] Production.INFO: call_cost end
[2025-01-12 12:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:11:14] Production.INFO: ==8593== Releasing lock...
[2025-01-12 12:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:11:18] Production.INFO: count ==768
[2025-01-12 12:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:11:04 - End Time 2025-01-12 12:11:04
[2025-01-12 12:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231513', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231513', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231513', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231513', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:11:18] Production.INFO: ProcessCDR(1,14231513,1,1,2)
[2025-01-12 12:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231513,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231513,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231513', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231513', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:11:23] Production.INFO: ==8601== Releasing lock...
[2025-01-12 12:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:11:23] Production.INFO: 34 MB #Memory Used#
[2025-01-12 17:12:01] Production.INFO: ==8658== Lock acquired, processing the job...
[2025-01-12 17:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:12:01] Production.INFO: neon service started
[2025-01-12 17:12:01] Production.INFO: neon service started
[2025-01-12 17:12:01] Production.INFO: ==8658== Releasing lock...
[2025-01-12 17:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:12:02] Production.INFO: ==8660== Lock acquired, processing the job...
[2025-01-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:12:02] Production.INFO: ==8660== Releasing lock...
[2025-01-12 12:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:12:02] Production.INFO: ==8662== Lock acquired, processing the job...
[2025-01-12 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:12:02] Production.INFO: ==8662== Releasing lock...
[2025-01-12 17:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:12:03] Production.INFO: ==8664== Lock acquired, processing the job...
[2025-01-12 12:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:12:03] Production.INFO: ==8666== Lock acquired, processing the job...
[2025-01-12 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:12:03] Production.INFO: ==8670== Lock acquired, processing the job...
[2025-01-12 12:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:12:03] Production.INFO: Account Balance Start.
[2025-01-12 12:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:12:03] Production.INFO: 117
[2025-01-12 12:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:12:03] Production.INFO: ==8668== Lock acquired, processing the job...
[2025-01-12 12:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:12:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:12:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:12:03] Production.INFO: ==8672== Lock acquired, processing the job...
[2025-01-12 12:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:12:03] Production.INFO: Total Charge 0
[2025-01-12 12:12:03] Production.INFO: ==8666== Releasing lock...
[2025-01-12 12:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:12:03] Production.INFO: CreateAllLog End
[2025-01-12 12:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:12:03] Production.INFO: ==8674== Lock acquired, processing the job...
[2025-01-12 12:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:12:03] Production.INFO: Account Balance End.
[2025-01-12 12:12:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:12:04] Production.INFO: count ==21
[2025-01-12 12:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:12:04] Production.INFO: ==8670== Releasing lock...
[2025-01-12 12:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:12:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:12:04] Production.ERROR: done
[2025-01-12 12:12:04] Production.INFO: count ==21
[2025-01-12 12:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231517') start
[2025-01-12 12:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231517') end
[2025-01-12 12:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:12:04] Production.INFO: 1
[2025-01-12 12:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:12:04] Production.INFO: ==8674== Releasing lock...
[2025-01-12 12:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:12:04] Production.ERROR: done
[2025-01-12 12:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:12:05
[end_date_ymd] => 2025-01-12 12:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:12:05' and `end` < '2025-01-12 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-01-12 12:12:10] Production.ERROR: CronJobId end10
[2025-01-12 12:12:10] Production.INFO: ==8668== Releasing lock...
[2025-01-12 12:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:12:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:12:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:12:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:12:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:12:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:12:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:12:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:12:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:12:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:12:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:12:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:12:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:12:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:12:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:12:12] Production.INFO: call_cost start
[2025-01-12 12:12:12] Production.INFO: call_cost end
[2025-01-12 12:12:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:12:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:12:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:12:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:12:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:12:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:12:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:12:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:12:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:12:13] Production.INFO: ==8664== Releasing lock...
[2025-01-12 12:12:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:12:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:12:18] Production.INFO: count ==772
[2025-01-12 12:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:12:05 - End Time 2025-01-12 12:12:05
[2025-01-12 12:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231518', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231518', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231518', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231518', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:12:18] Production.INFO: ProcessCDR(1,14231518,1,1,2)
[2025-01-12 12:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231518,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231518,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231518', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231518', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:12:21] Production.INFO: ==8672== Releasing lock...
[2025-01-12 12:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:12:21] Production.INFO: 34.25 MB #Memory Used#
[2025-01-12 17:13:02] Production.INFO: ==8728== Lock acquired, processing the job...
[2025-01-12 17:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:13:02] Production.INFO: neon service started
[2025-01-12 17:13:02] Production.INFO: neon service started
[2025-01-12 17:13:02] Production.INFO: ==8728== Releasing lock...
[2025-01-12 17:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:13:02] Production.INFO: ==8733== Lock acquired, processing the job...
[2025-01-12 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:13:02] Production.INFO: ==8733== Releasing lock...
[2025-01-12 17:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:13:02] Production.INFO: ==8731== Lock acquired, processing the job...
[2025-01-12 12:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:13:03] Production.INFO: ==8731== Releasing lock...
[2025-01-12 12:13:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:13:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:13:03] Production.INFO: ==8737== Lock acquired, processing the job...
[2025-01-12 12:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:13:03] Production.INFO: ==8743== Lock acquired, processing the job...
[2025-01-12 12:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:13:03] Production.INFO: ==8735== Lock acquired, processing the job...
[2025-01-12 12:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:13:04] Production.INFO: ==8739== Lock acquired, processing the job...
[2025-01-12 12:13:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:13:04] Production.INFO: ==8741== Lock acquired, processing the job...
[2025-01-12 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:13:04] Production.INFO: ==8745== Lock acquired, processing the job...
[2025-01-12 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:13:04] Production.INFO: Account Balance Start.
[2025-01-12 12:13:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:13:04] Production.INFO: 117
[2025-01-12 12:13:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:13:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:13:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:13:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:13:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:13:04] Production.INFO: ==8737== Releasing lock...
[2025-01-12 12:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 12: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-01-12 12:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:13:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:13:04] Production.INFO: count ==21
[2025-01-12 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231522') start
[2025-01-12 12:13:04] Production.ERROR: done
[2025-01-12 12:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:13:04] Production.INFO: Total Charge 0
[2025-01-12 12:13:04] Production.INFO: CreateAllLog End
[2025-01-12 12:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231522') end
[2025-01-12 12:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:13:04] Production.INFO: 1
[2025-01-12 12:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:13:04] Production.INFO: ==8745== Releasing lock...
[2025-01-12 12:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:13:04] Production.ERROR: done
[2025-01-12 12:13:04] Production.INFO: Account Balance End.
[2025-01-12 12:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:13:04] Production.INFO: ==8741== Releasing lock...
[2025-01-12 12:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:13:05
[end_date_ymd] => 2025-01-12 12:13:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:13:05' and `end` < '2025-01-12 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-01-12 12:13:10] Production.ERROR: CronJobId end10
[2025-01-12 12:13:10] Production.INFO: ==8739== Releasing lock...
[2025-01-12 12:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:13:13] Production.INFO: call_cost start
[2025-01-12 12:13:13] Production.INFO: call_cost end
[2025-01-12 12:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:13:14] Production.INFO: ==8735== Releasing lock...
[2025-01-12 12:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:13:18] Production.INFO: count ==783
[2025-01-12 12:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:13:05 - End Time 2025-01-12 12:13:05
[2025-01-12 12:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231523', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231523', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231523', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231523', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:13:18] Production.INFO: ProcessCDR(1,14231523,1,1,2)
[2025-01-12 12:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231523,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231523,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231523', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231523', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:13:23] Production.INFO: ==8743== Releasing lock...
[2025-01-12 12:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:13:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-12 17:14:01] Production.INFO: ==8799== Lock acquired, processing the job...
[2025-01-12 17:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:14:01] Production.INFO: neon service started
[2025-01-12 17:14:01] Production.INFO: neon service started
[2025-01-12 17:14:01] Production.INFO: ==8799== Releasing lock...
[2025-01-12 17:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:14:02] Production.INFO: ==8803== Lock acquired, processing the job...
[2025-01-12 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:14:02] Production.INFO: ==8803== Releasing lock...
[2025-01-12 17:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:14:02] Production.INFO: ==8801== Lock acquired, processing the job...
[2025-01-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:14:02] Production.INFO: ==8801== Releasing lock...
[2025-01-12 12:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:14:03] Production.INFO: ==8805== Lock acquired, processing the job...
[2025-01-12 12:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:14:03] Production.INFO: ==8807== Lock acquired, processing the job...
[2025-01-12 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:14:03] Production.INFO: ==8809== Lock acquired, processing the job...
[2025-01-12 12:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:14:03] Production.INFO: ==8811== Lock acquired, processing the job...
[2025-01-12 12:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:14:03] Production.INFO: ==8813== Lock acquired, processing the job...
[2025-01-12 12:14:03] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Starts#
[2025-01-12 12:14:03] Production.INFO: ==8816== Lock acquired, processing the job...
[2025-01-12 12:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:14:03] Production.INFO: -- Xero Api Check --
[2025-01-12 12:14:03] Production.INFO: Account Balance Start.
[2025-01-12 12:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:14:03] Production.INFO: 117
[2025-01-12 12:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:14:03] Production.INFO: ==8818== Lock acquired, processing the job...
[2025-01-12 12:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:14:03] Production.INFO: ==8807== Releasing lock...
[2025-01-12 12:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:14:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:14:04] Production.INFO: count ==21
[2025-01-12 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231527') start
[2025-01-12 12:14:04] Production.ERROR: done
[2025-01-12 12:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231527') end
[2025-01-12 12:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:14:04] Production.INFO: 1
[2025-01-12 12:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:14:04] Production.INFO: ==8818== Releasing lock...
[2025-01-12 12:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:14:04] Production.ERROR: done
[2025-01-12 12:14:04] Production.INFO: Total Charge 0
[2025-01-12 12:14:04] Production.INFO: CreateAllLog End
[2025-01-12 12:14:04] Production.INFO: Account Balance End.
[2025-01-12 12:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:14:04] Production.INFO: ==8811== Releasing lock...
[2025-01-12 12:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:14:05] Production.INFO: -- curl info --Array
(
[url] => https://identity.xero.com/connect/token
[content_type] => application/json; charset=UTF-8
[http_code] => 200
[header_size] => 857
[request_size] => 352
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 1.238774
[namelookup_time] => 0.533489
[connect_time] => 0.624769
[pretransfer_time] => 0.996797
[size_upload] => 82
[size_download] => 2755
[speed_download] => 2223
[speed_upload] => 66
[download_content_length] => 2755
[upload_content_length] => 82
[starttransfer_time] => 1.238711
[redirect_time] => 0
[redirect_url] =>
[primary_ip] => 92.122.154.81
[certinfo] => Array
(
)
[primary_port] => 443
[local_ip] => 54.39.180.235
[local_port] => 38900
)
[2025-01-12 12:14:05] Production.INFO: -- connection successfully here --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3MDIwNDQsImV4cCI6MTczNjcwMjM0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NzAyMDQ0LCJhdF9oYXNoIjoidi1wS0VjTjlTS2czb2lzUVNQWE1aUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.lZBWnyqxLIV_gr8N2bs2tnbo0N3P7ORo6cviFN7jbVD17yIIYQSiMB5QSl9YSnidB2PFb40W7BOaOKBCh57oSPbKGWRtZt_t4XhffPmBf1-lBH3JIXRRIMxpkJl3lMFH1UFNA9Njlj9gosM9W6ROuVRvEFMEMLp_FAiMHkr4BRAi3PhlnoQXhLln1VPvkYLuTG9B2Qriv3A3v4pRdpkKqptu_QWnGFZDGmbw0moOanEqmrRfL3uBPUCR6JvXYxOPN-KXg7ebM_cqPuj5CXvGXIWzMZNWGH2fGzmKV9bt0k-eftCroDXH3cestvvvxGaSoZPc6BpKBcpSrxHIgjepmw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3MDIwNDQsImV4cCI6MTczNjcwMzg0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D_Gw-KTDJXN11taDLX1ebmAeunWbWZ7ylFnrdbkXDH-IevH6x1LUTbCKN3bVurhQ1XYM5Bc1a6kBMinxRcEkWvZwxpXfnuTLr9aXlR0s92hgNUCrymZPHNit1PInvNZhwr7SPeiYx8WD3Epq8vIk-gPJqenmg2Oc0rtlbouJSePENnBPNKcr22y0ALEtbPMvkFzkBk31V16wCdnqVUSF_46B_mZqFFBHfbgO8i8-neF9TOuhlceyrx2m6yKM3D2E1t4Osy-gxfOn71efihBR_VHWI6pdIJKYrg4TQQ1A44xHYvIv59rvhgaYNv0Q_-_JxjZwWgqZIaM8iPZZ7lTukA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => zPknLReVI79jHt2r0mltkR4KNJtVimc0yDvf8LIt_6w
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-12 12:14:05] Production.INFO: -- connection successfully --stdClass Object
(
[id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3MDIwNDQsImV4cCI6MTczNjcwMjM0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6IjBFNUE4OTZEQ0JCMTQ0Mzk4NENDNjJFNjlCMjBDOTU4IiwiaWF0IjoxNzM2NzAyMDQ0LCJhdF9oYXNoIjoidi1wS0VjTjlTS2czb2lzUVNQWE1aUSIsInN1YiI6Ijk4MzYzNDUwNGIxNzVkNzA4ZmYwZWQ0ZGRkNmY2NjNkIiwiYXV0aF90aW1lIjoxNzMyNTI1NTY0LCJ4ZXJvX3VzZXJpZCI6IjQxOWY5MmM4LTkxZTEtNDllNS05ZmZiLWI4YTdjNmI3ODg0NSIsImdsb2JhbF9zZXNzaW9uX2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJzaWQiOiJiMjAwNzA3MWNkZjI0OTBkYTg2ODkxMjE1YTQ0MDUyYiIsInByZWZlcnJlZF91c2VybmFtZSI6ImNvLmx5bmRhQHlhaG9vLmNvbSIsImVtYWlsIjoiY28ubHluZGFAeWFob28uY29tIiwiZ2l2ZW5fbmFtZSI6Ikx5bmRhIiwiZmFtaWx5X25hbWUiOiJPa29ybyIsIm5hbWUiOiJMeW5kYSBPa29ybyIsImFtciI6WyJwd2QiXX0.lZBWnyqxLIV_gr8N2bs2tnbo0N3P7ORo6cviFN7jbVD17yIIYQSiMB5QSl9YSnidB2PFb40W7BOaOKBCh57oSPbKGWRtZt_t4XhffPmBf1-lBH3JIXRRIMxpkJl3lMFH1UFNA9Njlj9gosM9W6ROuVRvEFMEMLp_FAiMHkr4BRAi3PhlnoQXhLln1VPvkYLuTG9B2Qriv3A3v4pRdpkKqptu_QWnGFZDGmbw0moOanEqmrRfL3uBPUCR6JvXYxOPN-KXg7ebM_cqPuj5CXvGXIWzMZNWGH2fGzmKV9bt0k-eftCroDXH3cestvvvxGaSoZPc6BpKBcpSrxHIgjepmw
[access_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjFDQUY4RTY2NzcyRDZEQzAyOEQ2NzI2RkQwMjYxNTgxNTcwRUZDMTkiLCJ0eXAiOiJKV1QiLCJ4NXQiOiJISy1PWm5jdGJjQW8xbkp2MENZVmdWY09fQmsifQ.eyJuYmYiOjE3MzY3MDIwNDQsImV4cCI6MTczNjcwMzg0NCwiaXNzIjoiaHR0cHM6Ly9pZGVudGl0eS54ZXJvLmNvbSIsImF1ZCI6Imh0dHBzOi8vaWRlbnRpdHkueGVyby5jb20vcmVzb3VyY2VzIiwiY2xpZW50X2lkIjoiMEU1QTg5NkRDQkIxNDQzOTg0Q0M2MkU2OUIyMEM5NTgiLCJzdWIiOiI5ODM2MzQ1MDRiMTc1ZDcwOGZmMGVkNGRkZDZmNjYzZCIsImF1dGhfdGltZSI6MTczMjUyNTU2NCwieGVyb191c2VyaWQiOiI0MTlmOTJjOC05MWUxLTQ5ZTUtOWZmYi1iOGE3YzZiNzg4NDUiLCJnbG9iYWxfc2Vzc2lvbl9pZCI6ImIyMDA3MDcxY2RmMjQ5MGRhODY4OTEyMTVhNDQwNTJiIiwic2lkIjoiYjIwMDcwNzFjZGYyNDkwZGE4Njg5MTIxNWE0NDA1MmIiLCJqdGkiOiJGNTNDRTI4MjFGRjY3QzE5NEU2QTNFQzgwQjFCNUVCQiIsImF1dGhlbnRpY2F0aW9uX2V2ZW50X2lkIjoiNzc3OWNmODUtMTcwNS00MmYyLWI1Y2MtYTdmZWQ3ZTNjNDI4Iiwic2NvcGUiOlsiZW1haWwiLCJwcm9maWxlIiwib3BlbmlkIiwiYWNjb3VudGluZy5zZXR0aW5ncyIsImFjY291bnRpbmcudHJhbnNhY3Rpb25zIiwiYWNjb3VudGluZy5jb250YWN0cyIsIm9mZmxpbmVfYWNjZXNzIl0sImFtciI6WyJwd2QiXX0.D_Gw-KTDJXN11taDLX1ebmAeunWbWZ7ylFnrdbkXDH-IevH6x1LUTbCKN3bVurhQ1XYM5Bc1a6kBMinxRcEkWvZwxpXfnuTLr9aXlR0s92hgNUCrymZPHNit1PInvNZhwr7SPeiYx8WD3Epq8vIk-gPJqenmg2Oc0rtlbouJSePENnBPNKcr22y0ALEtbPMvkFzkBk31V16wCdnqVUSF_46B_mZqFFBHfbgO8i8-neF9TOuhlceyrx2m6yKM3D2E1t4Osy-gxfOn71efihBR_VHWI6pdIJKYrg4TQQ1A44xHYvIv59rvhgaYNv0Q_-_JxjZwWgqZIaM8iPZZ7lTukA
[expires_in] => 1800
[token_type] => Bearer
[refresh_token] => zPknLReVI79jHt2r0mltkR4KNJtVimc0yDvf8LIt_6w
[scope] => email profile openid accounting.settings accounting.transactions accounting.contacts offline_access
)
[2025-01-12 12:14:05] Production.ERROR: Invoice Payment Date 2025-01-11 00:00:00
[2025-01-12 12:14:05] Production.INFO: calling invoices get methodhttps://api.xero.com/api.xro/2.0/Payments?where=Date>=DateTime(2025,01,11)
[2025-01-12 12:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:14:05
[end_date_ymd] => 2025-01-12 12:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:14:05' and `end` < '2025-01-12 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-01-12 12:14:07] Production.INFO: Batch insert start
[2025-01-12 12:14:07] Production.INFO: global counter1
[2025-01-12 12:14:07] Production.INFO: insertion start
[2025-01-12 12:14:07] Production.INFO: last batch insert 1
[2025-01-12 12:14:07] Production.INFO: insertion end
[2025-01-12 12:14:07] Production.INFO: CALL prc_importPaymentAccounting ('a0523560-d108-11ef-8db9-4dc011691e0d') start
[2025-01-12 12:14:07] Production.INFO: CALL prc_importPaymentAccounting ('a0523560-d108-11ef-8db9-4dc011691e0d') end
[2025-01-12 12:14:07] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
1 =>
array (
'Message' => ' Invalid InvoiceNumber : Expenses - 18 May 2018',
),
)
[2025-01-12 12:14:07] Production.INFO: 2
[2025-01-12 12:14:07] Production.ERROR: CronJobId end14
[2025-01-12 12:14:07] Production.INFO: ==8813== Releasing lock...
[2025-01-12 12:14:07] Production.INFO: xeropaymentimport-command-xeropaymentimport-companyid-1-cronjobid-14 #Stops#
[2025-01-12 12:14:07] Production.INFO: 26 MB #Memory Used#
[2025-01-12 12:14:11] Production.ERROR: CronJobId end10
[2025-01-12 12:14:11] Production.INFO: ==8809== Releasing lock...
[2025-01-12 12:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:14:13] Production.INFO: call_cost start
[2025-01-12 12:14:13] Production.INFO: call_cost end
[2025-01-12 12:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:14:14] Production.INFO: ==8805== Releasing lock...
[2025-01-12 12:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:14:18] Production.INFO: count ==784
[2025-01-12 12:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:14:05 - End Time 2025-01-12 12:14:05
[2025-01-12 12:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231528', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231528', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231528', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231528', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:14:18] Production.INFO: ProcessCDR(1,14231528,1,1,2)
[2025-01-12 12:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231528', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231528', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:14:23] Production.INFO: ==8816== Releasing lock...
[2025-01-12 12:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:14:23] Production.INFO: 34.5 MB #Memory Used#
[2025-01-12 17:15:02] Production.INFO: ==8876== Lock acquired, processing the job...
[2025-01-12 17:15:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:15:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:15:02] Production.INFO: neon service started
[2025-01-12 17:15:02] Production.INFO: neon service started
[2025-01-12 17:15:02] Production.INFO: ==8876== Releasing lock...
[2025-01-12 17:15:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:15:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:15:02] Production.INFO: ==8878== Lock acquired, processing the job...
[2025-01-12 12:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:15:03] Production.INFO: ==8878== Releasing lock...
[2025-01-12 12:15:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:15:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:15:03] Production.INFO: ==8880== Lock acquired, processing the job...
[2025-01-12 17:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:15:03] Production.INFO: ==8880== Releasing lock...
[2025-01-12 17:15:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:15:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:15:04] Production.INFO: ==8891== Lock acquired, processing the job...
[2025-01-12 12:15:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:15:04] Production.INFO: ==8882== Lock acquired, processing the job...
[2025-01-12 12:15:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:15:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:15:04] Production.INFO: ==8893== Lock acquired, processing the job...
[2025-01-12 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:15:04] Production.INFO: ==8885== Lock acquired, processing the job...
[2025-01-12 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:15:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:15:04] Production.INFO: ==8887== Lock acquired, processing the job...
[2025-01-12 12:15:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:15:04] Production.INFO: ==8889== Lock acquired, processing the job...
[2025-01-12 12:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 12:15:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:15:04] Production.INFO: Account Balance Start.
[2025-01-12 12:15:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:15:04] Production.INFO: 117
[2025-01-12 12:15:04] Production.INFO: count ==21
[2025-01-12 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231530') start
[2025-01-12 12:15:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:15:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:15:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:15:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:15:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:15:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:15:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:15:04] Production.ERROR: done
[2025-01-12 12:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:15:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:15:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:15:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:15:04] Production.INFO: Total Charge 0
[2025-01-12 12:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231530') end
[2025-01-12 12:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:15:04] Production.INFO: 1
[2025-01-12 12:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:15:04] Production.INFO: CreateAllLog End
[2025-01-12 12:15:04] Production.INFO: ==8885== Releasing lock...
[2025-01-12 12:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:15:04] Production.INFO: ==8893== Releasing lock...
[2025-01-12 12:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:15:04] Production.ERROR: done
[2025-01-12 12:15:05] Production.INFO: Account Balance End.
[2025-01-12 12:15:05] Production.ERROR: CronJobId end 12
[2025-01-12 12:15:05] Production.INFO: ==8889== Releasing lock...
[2025-01-12 12:15:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:15:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:15:05
[end_date_ymd] => 2025-01-12 12:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:15:05' and `end` < '2025-01-12 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-01-12 12:15:12] Production.ERROR: CronJobId end10
[2025-01-12 12:15:12] Production.INFO: ==8887== Releasing lock...
[2025-01-12 12:15:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:15:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:15:14] Production.INFO: call_cost start
[2025-01-12 12:15:14] Production.INFO: call_cost end
[2025-01-12 12:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:15:15] Production.INFO: ==8882== Releasing lock...
[2025-01-12 12:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:15:19] Production.INFO: count ==784
[2025-01-12 12:15:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:15:05 - End Time 2025-01-12 12:15:05
[2025-01-12 12:15:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231533', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231533', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231533', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:15:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231533', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:15:19] Production.INFO: ProcessCDR(1,14231533,1,1,2)
[2025-01-12 12:15:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:15:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231533', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:15:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231533', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:15:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:15:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:15:24] Production.INFO: ==8891== Releasing lock...
[2025-01-12 12:15:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:15:24] Production.INFO: 34.25 MB #Memory Used#
[2025-01-12 17:16:02] Production.INFO: ==8946== Lock acquired, processing the job...
[2025-01-12 17:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:16:02] Production.INFO: neon service started
[2025-01-12 17:16:02] Production.INFO: neon service started
[2025-01-12 17:16:02] Production.INFO: ==8946== Releasing lock...
[2025-01-12 17:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:16:02] Production.INFO: ==8950== Lock acquired, processing the job...
[2025-01-12 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:16:02] Production.INFO: ==8950== Releasing lock...
[2025-01-12 17:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:16:02] Production.INFO: ==8948== Lock acquired, processing the job...
[2025-01-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:16:02] Production.INFO: ==8948== Releasing lock...
[2025-01-12 12:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:16:03] Production.INFO: ==8953== Lock acquired, processing the job...
[2025-01-12 12:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:16:03] Production.INFO: ==8957== Lock acquired, processing the job...
[2025-01-12 12:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:16:03] Production.INFO: ==8955== Lock acquired, processing the job...
[2025-01-12 12:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:16:04] Production.INFO: ==8959== Lock acquired, processing the job...
[2025-01-12 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:16:04] Production.INFO: Account Balance Start.
[2025-01-12 12:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:16:04] Production.INFO: 117
[2025-01-12 12:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:16:04] Production.INFO: ==8963== Lock acquired, processing the job...
[2025-01-12 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:16:04] Production.INFO: ==8961== Lock acquired, processing the job...
[2025-01-12 12:16:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:16:04] Production.INFO: ==8955== Releasing lock...
[2025-01-12 12:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 12: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-01-12 12:16:04] Production.INFO: Total Charge 0
[2025-01-12 12:16:04] Production.INFO: CreateAllLog End
[2025-01-12 12:16:04] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:16:04] Production.INFO: count ==21
[2025-01-12 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231537') start
[2025-01-12 12:16:04] Production.ERROR: done
[2025-01-12 12:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231537') end
[2025-01-12 12:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:16:04] Production.INFO: 1
[2025-01-12 12:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:16:04] Production.INFO: Account Balance End.
[2025-01-12 12:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:16:04] Production.INFO: ==8959== Releasing lock...
[2025-01-12 12:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:16:04] Production.INFO: ==8963== Releasing lock...
[2025-01-12 12:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:16:04] Production.ERROR: done
[2025-01-12 12:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:16:05
[end_date_ymd] => 2025-01-12 12:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:16:05' and `end` < '2025-01-12 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-01-12 12:16:11] Production.ERROR: CronJobId end10
[2025-01-12 12:16:11] Production.INFO: ==8957== Releasing lock...
[2025-01-12 12:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:16:13] Production.INFO: call_cost start
[2025-01-12 12:16:13] Production.INFO: call_cost end
[2025-01-12 12:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:16:14] Production.INFO: ==8953== Releasing lock...
[2025-01-12 12:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:16:22] Production.INFO: count ==784
[2025-01-12 12:16:22] Production.ERROR: pbx CDR StartTime 2025-01-12 09:16:05 - End Time 2025-01-12 12:16:05
[2025-01-12 12:16:22] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231538', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231538', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231538', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:16:22] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231538', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:16:22] Production.INFO: ProcessCDR(1,14231538,1,1,2)
[2025-01-12 12:16:22] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:16:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:16:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:16:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231538', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:16:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231538', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:16:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:16:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:16:25] Production.INFO: ==8961== Releasing lock...
[2025-01-12 12:16:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:16:25] Production.INFO: 34.25 MB #Memory Used#
[2025-01-12 17:17:01] Production.INFO: ==9017== Lock acquired, processing the job...
[2025-01-12 17:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:17:01] Production.INFO: neon service started
[2025-01-12 17:17:01] Production.INFO: neon service started
[2025-01-12 17:17:01] Production.INFO: ==9017== Releasing lock...
[2025-01-12 17:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:17:01] Production.INFO: ==9019== Lock acquired, processing the job...
[2025-01-12 12:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:17:02] Production.INFO: ==9019== Releasing lock...
[2025-01-12 12:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:17:02] Production.INFO: ==9021== Lock acquired, processing the job...
[2025-01-12 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:17:02] Production.INFO: ==9021== Releasing lock...
[2025-01-12 17:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:17:02] Production.INFO: ==9023== Lock acquired, processing the job...
[2025-01-12 12:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:17:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:17:02] Production.INFO: ==9027== Lock acquired, processing the job...
[2025-01-12 12:17:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:17:02] Production.INFO: ==9029== Lock acquired, processing the job...
[2025-01-12 12:17:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:17:03] Production.INFO: Account Balance Start.
[2025-01-12 12:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:17:03] Production.INFO: 117
[2025-01-12 12:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:17:03] Production.INFO: ==9025== Lock acquired, processing the job...
[2025-01-12 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:17:03] Production.INFO: Total Charge 0
[2025-01-12 12:17:03] Production.INFO: CreateAllLog End
[2025-01-12 12:17:03] Production.INFO: Account Balance End.
[2025-01-12 12:17:03] Production.INFO: ==9031== Lock acquired, processing the job...
[2025-01-12 12:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:17:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:17:03] Production.INFO: ==9029== Releasing lock...
[2025-01-12 12:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:17:03] Production.INFO: ==9033== Lock acquired, processing the job...
[2025-01-12 12:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:17:03] Production.INFO: ==9025== Releasing lock...
[2025-01-12 12:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12: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-01-12 12:17:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:17:03] Production.INFO: count ==21
[2025-01-12 12:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231542') start
[2025-01-12 12:17:03] Production.ERROR: done
[2025-01-12 12:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231542') end
[2025-01-12 12:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:17:03] Production.INFO: 1
[2025-01-12 12:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:17:03] Production.ERROR: done
[2025-01-12 12:17:03] Production.INFO: ==9033== Releasing lock...
[2025-01-12 12:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:17:04
[end_date_ymd] => 2025-01-12 12:17:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:17:04' and `end` < '2025-01-12 12: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-01-12 12:17:11] Production.ERROR: CronJobId end10
[2025-01-12 12:17:11] Production.INFO: ==9027== Releasing lock...
[2025-01-12 12:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:17:13] Production.INFO: call_cost start
[2025-01-12 12:17:13] Production.INFO: call_cost end
[2025-01-12 12:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:17:14] Production.INFO: ==9023== Releasing lock...
[2025-01-12 12:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:17:18] Production.INFO: count ==785
[2025-01-12 12:17:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:17:04 - End Time 2025-01-12 12:17:04
[2025-01-12 12:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231543', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231543', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231543', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231543', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:17:18] Production.INFO: ProcessCDR(1,14231543,1,1,2)
[2025-01-12 12:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231543', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231543', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:17:22] Production.INFO: ==9031== Releasing lock...
[2025-01-12 12:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:17:22] Production.INFO: 34.5 MB #Memory Used#
[2025-01-12 17:18:01] Production.INFO: ==9100== Lock acquired, processing the job...
[2025-01-12 17:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:18:01] Production.INFO: neon service started
[2025-01-12 17:18:01] Production.INFO: neon service started
[2025-01-12 17:18:01] Production.INFO: ==9100== Releasing lock...
[2025-01-12 17:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:18:02] Production.INFO: ==9104== Lock acquired, processing the job...
[2025-01-12 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:18:02] Production.INFO: ==9104== Releasing lock...
[2025-01-12 17:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:18:02] Production.INFO: ==9102== Lock acquired, processing the job...
[2025-01-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:18:02] Production.INFO: ==9102== Releasing lock...
[2025-01-12 12:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:18:03] Production.INFO: ==9108== Lock acquired, processing the job...
[2025-01-12 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:18:03] Production.INFO: ==9110== Lock acquired, processing the job...
[2025-01-12 12:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:18:03] Production.INFO: ==9116== Lock acquired, processing the job...
[2025-01-12 12:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:18:03] Production.INFO: ==9108== Releasing lock...
[2025-01-12 12:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:18:03] Production.INFO: ==9106== Lock acquired, processing the job...
[2025-01-12 12:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:18:03] Production.INFO: ==9112== Lock acquired, processing the job...
[2025-01-12 12:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:18:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:18:03] Production.INFO: ==9114== Lock acquired, processing the job...
[2025-01-12 12:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:18:03] Production.INFO: count ==21
[2025-01-12 12:18:03] Production.INFO: Account Balance Start.
[2025-01-12 12:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:18:03] Production.INFO: 117
[2025-01-12 12:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12: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-01-12 12:18:03] Production.INFO: count ==21
[2025-01-12 12:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231545') start
[2025-01-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231545') end
[2025-01-12 12:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:18:04] Production.INFO: 1
[2025-01-12 12:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:18:04] Production.INFO: Total Charge 0
[2025-01-12 12:18:04] Production.INFO: CreateAllLog End
[2025-01-12 12:18:04] Production.INFO: ==9116== Releasing lock...
[2025-01-12 12:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:18:04] Production.ERROR: done
[2025-01-12 12:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:18:04] Production.INFO: Account Balance End.
[2025-01-12 12:18:04] Production.ERROR: done
[2025-01-12 12:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:18:04] Production.INFO: ==9112== Releasing lock...
[2025-01-12 12:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:18:05
[end_date_ymd] => 2025-01-12 12:18:05
[RateCDR] => 1
)
[2025-01-12 12:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:18:05' and `end` < '2025-01-12 12:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:18:11] Production.ERROR: CronJobId end10
[2025-01-12 12:18:11] Production.INFO: ==9110== Releasing lock...
[2025-01-12 12:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:18:13] Production.INFO: call_cost start
[2025-01-12 12:18:13] Production.INFO: call_cost end
[2025-01-12 12:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:18:14] Production.INFO: ==9106== Releasing lock...
[2025-01-12 12:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:18:20] Production.INFO: count ==785
[2025-01-12 12:18:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:18:05 - End Time 2025-01-12 12:18:05
[2025-01-12 12:18:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231548', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231548', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231548', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:18:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231548', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:18:20] Production.INFO: ProcessCDR(1,14231548,1,1,2)
[2025-01-12 12:18:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231548', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231548', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:18:23] Production.INFO: ==9114== Releasing lock...
[2025-01-12 12:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:18:23] Production.INFO: 34.5 MB #Memory Used#
[2025-01-12 17:19:02] Production.INFO: ==9173== Lock acquired, processing the job...
[2025-01-12 17:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:19:02] Production.INFO: neon service started
[2025-01-12 17:19:02] Production.INFO: neon service started
[2025-01-12 17:19:02] Production.INFO: ==9173== Releasing lock...
[2025-01-12 17:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:19:02] Production.INFO: ==9175== Lock acquired, processing the job...
[2025-01-12 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:19:02] Production.INFO: ==9177== Lock acquired, processing the job...
[2025-01-12 17:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:19:02] Production.INFO: ==9175== Releasing lock...
[2025-01-12 12:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:19:03] Production.INFO: ==9177== Releasing lock...
[2025-01-12 17:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:19:03] Production.INFO: ==9180== Lock acquired, processing the job...
[2025-01-12 12:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:19:03] Production.INFO: ==9188== Lock acquired, processing the job...
[2025-01-12 12:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:19:03] Production.INFO: ==9182== Lock acquired, processing the job...
[2025-01-12 12:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:19:03] Production.INFO: ==9190== Lock acquired, processing the job...
[2025-01-12 12:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:19:04] Production.INFO: ==9184== Lock acquired, processing the job...
[2025-01-12 12:19:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 12:19:04] Production.INFO: ==9186== Lock acquired, processing the job...
[2025-01-12 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:19:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:19:04] Production.INFO: count ==21
[2025-01-12 12:19:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:19:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:19:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231550') start
[2025-01-12 12:19:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:19:04] Production.INFO: Account Balance Start.
[2025-01-12 12:19:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:19:04] Production.INFO: 117
[2025-01-12 12:19:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231550') end
[2025-01-12 12:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:19:04] Production.INFO: 1
[2025-01-12 12:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:19:04] Production.ERROR: done
[2025-01-12 12:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:19:04] Production.INFO: ==9190== Releasing lock...
[2025-01-12 12:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:19:04] Production.INFO: ==9182== Releasing lock...
[2025-01-12 12:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:19:04] Production.INFO: Total Charge 0
[2025-01-12 12:19:04] Production.ERROR: done
[2025-01-12 12:19:04] Production.INFO: CreateAllLog End
[2025-01-12 12:19:04] Production.INFO: Account Balance End.
[2025-01-12 12:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:19:04] Production.INFO: ==9186== Releasing lock...
[2025-01-12 12:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:19:05
[end_date_ymd] => 2025-01-12 12:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:19:05' and `end` < '2025-01-12 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-01-12 12:19:11] Production.ERROR: CronJobId end10
[2025-01-12 12:19:11] Production.INFO: ==9184== Releasing lock...
[2025-01-12 12:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:19:14] Production.INFO: call_cost start
[2025-01-12 12:19:14] Production.INFO: call_cost end
[2025-01-12 12:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:19:14] Production.INFO: ==9180== Releasing lock...
[2025-01-12 12:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:19:19] Production.INFO: count ==790
[2025-01-12 12:19:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:19:05 - End Time 2025-01-12 12:19:05
[2025-01-12 12:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231553', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231553', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231553', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231553', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:19:19] Production.INFO: ProcessCDR(1,14231553,1,1,2)
[2025-01-12 12:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231553', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231553', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:19:23] Production.INFO: ==9188== Releasing lock...
[2025-01-12 12:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:19:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-12 17:20:01] Production.INFO: ==9243== Lock acquired, processing the job...
[2025-01-12 17:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:20:01] Production.INFO: neon service started
[2025-01-12 17:20:01] Production.INFO: neon service started
[2025-01-12 17:20:01] Production.INFO: ==9243== Releasing lock...
[2025-01-12 17:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:20:02] Production.INFO: ==9247== Lock acquired, processing the job...
[2025-01-12 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:20:02] Production.INFO: ==9247== Releasing lock...
[2025-01-12 17:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:20:02] Production.INFO: ==9245== Lock acquired, processing the job...
[2025-01-12 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:20:02] Production.INFO: ==9245== Releasing lock...
[2025-01-12 12:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:20:03] Production.INFO: ==9250== Lock acquired, processing the job...
[2025-01-12 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 12:20:03] Production.INFO: ==9252== Lock acquired, processing the job...
[2025-01-12 12:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 12:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:20:03] Production.ERROR: CronJob PID - 9252
[2025-01-12 12:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 12:20:03] Production.ERROR: CronJob ID - 5
[2025-01-12 12:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 12:20:00
[2025-01-12 12:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 12:20:03] Production.INFO: ==9250== Releasing lock...
[2025-01-12 12:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 12:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 12:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:20:03] Production.INFO: ==9256== Lock acquired, processing the job...
[2025-01-12 12:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:20:03] Production.INFO: ==9258== Lock acquired, processing the job...
[2025-01-12 12:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:20:03] Production.INFO: Account Balance Start.
[2025-01-12 12:20:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:20:03] Production.INFO: ==9254== Lock acquired, processing the job...
[2025-01-12 12:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:20:03] Production.INFO: 117
[2025-01-12 12:20:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:20:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:20:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:20:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:20:03] Production.INFO: ==9260== Lock acquired, processing the job...
[2025-01-12 12:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:20:04] Production.INFO: Total Charge 0
[2025-01-12 12:20:04] Production.INFO: ==9262== Lock acquired, processing the job...
[2025-01-12 12:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:20:04] Production.INFO: CreateAllLog End
[2025-01-12 12:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:20:04] Production.INFO: ==9264== Lock acquired, processing the job...
[2025-01-12 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:20:04] Production.INFO: ==9254== Releasing lock...
[2025-01-12 12:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:20:04] Production.ERROR: done
[2025-01-12 12:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 12:20:04] Production.INFO: count ==21
[2025-01-12 12:20:04] Production.ERROR: done
[2025-01-12 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-01-12 12:20:04] Production.INFO: count ==21
[2025-01-12 12:20:04] Production.INFO: Account Balance End.
[2025-01-12 12:20:04] Production.ERROR: done
[2025-01-12 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231557') start
[2025-01-12 12:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:20:04] Production.INFO: ==9258== Releasing lock...
[2025-01-12 12:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 12:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231558', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 12:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231557') end
[2025-01-12 12:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:20:04] Production.INFO: 1
[2025-01-12 12:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:20:04] Production.INFO: ==9264== Releasing lock...
[2025-01-12 12:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:20:05
[end_date_ymd] => 2025-01-12 12:20:05
[RateCDR] => 1
)
[2025-01-12 12:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:20:05' and `end` < '2025-01-12 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-01-12 12:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231558', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 12:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 12:20:08] Production.INFO: ProcessCDR(1,14231558,1,1,2)
[2025-01-12 12:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231558,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231558,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:20:08] Production.INFO: ==9262== Releasing lock...
[2025-01-12 12:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 12:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 12:20:13] Production.ERROR: CronJobId end10
[2025-01-12 12:20:13] Production.INFO: ==9256== Releasing lock...
[2025-01-12 12:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:20:15] Production.INFO: call_cost start
[2025-01-12 12:20:15] Production.INFO: call_cost end
[2025-01-12 12:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:20:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:20:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:20:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:20:16] Production.INFO: ==9252== Releasing lock...
[2025-01-12 12:20:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:20:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:20:19] Production.INFO: count ==796
[2025-01-12 12:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:20:05 - End Time 2025-01-12 12:20:05
[2025-01-12 12:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231559', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231559', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231559', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231559', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:20:19] Production.INFO: ProcessCDR(1,14231559,1,1,2)
[2025-01-12 12:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:20:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231559,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:20:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:20:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231559,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231559', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:20:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231559', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:20:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:20:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:20:22] Production.INFO: ==9260== Releasing lock...
[2025-01-12 12:20:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:20:22] Production.INFO: 34.5 MB #Memory Used#
[2025-01-12 17:21:02] Production.INFO: ==9320== Lock acquired, processing the job...
[2025-01-12 17:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:21:02] Production.INFO: neon service started
[2025-01-12 17:21:02] Production.INFO: neon service started
[2025-01-12 17:21:02] Production.INFO: ==9320== Releasing lock...
[2025-01-12 17:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:21:02] Production.INFO: ==9322== Lock acquired, processing the job...
[2025-01-12 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:21:02] Production.INFO: ==9324== Lock acquired, processing the job...
[2025-01-12 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:21:02] Production.INFO: ==9324== Releasing lock...
[2025-01-12 17:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:21:02] Production.INFO: ==9322== Releasing lock...
[2025-01-12 12:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:21:03] Production.INFO: ==9327== Lock acquired, processing the job...
[2025-01-12 12:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:21:03] Production.INFO: ==9331== Lock acquired, processing the job...
[2025-01-12 12:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:21:03] Production.INFO: ==9335== Lock acquired, processing the job...
[2025-01-12 12:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:21:03] Production.INFO: ==9329== Lock acquired, processing the job...
[2025-01-12 12:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:21:03] Production.INFO: ==9333== Lock acquired, processing the job...
[2025-01-12 12:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:21:04] Production.INFO: ==9337== Lock acquired, processing the job...
[2025-01-12 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:21:04] Production.INFO: Account Balance Start.
[2025-01-12 12:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:21:04] Production.INFO: 117
[2025-01-12 12:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:21:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:21:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:21:04] Production.INFO: count ==21
[2025-01-12 12:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231563') start
[2025-01-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:21:04] Production.ERROR: done
[2025-01-12 12:21:04] Production.INFO: ==9329== Releasing lock...
[2025-01-12 12:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231563') end
[2025-01-12 12:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:21:04] Production.INFO: 1
[2025-01-12 12:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:21:04] Production.INFO: ==9337== Releasing lock...
[2025-01-12 12:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:21:04] Production.ERROR: done
[2025-01-12 12:21:04] Production.INFO: Total Charge 0
[2025-01-12 12:21:04] Production.INFO: CreateAllLog End
[2025-01-12 12:21:04] Production.INFO: Account Balance End.
[2025-01-12 12:21:05] Production.ERROR: CronJobId end 12
[2025-01-12 12:21:05] Production.INFO: ==9333== Releasing lock...
[2025-01-12 12:21:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:21:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:21:05
[end_date_ymd] => 2025-01-12 12:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:21:05' and `end` < '2025-01-12 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-01-12 12:21:12] Production.ERROR: CronJobId end10
[2025-01-12 12:21:12] Production.INFO: ==9331== Releasing lock...
[2025-01-12 12:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:21:14] Production.INFO: call_cost start
[2025-01-12 12:21:14] Production.INFO: call_cost end
[2025-01-12 12:21:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:21:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:21:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:21:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:21:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:21:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:21:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:21:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:21:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:21:15] Production.INFO: ==9327== Releasing lock...
[2025-01-12 12:21:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:21:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:21:19] Production.INFO: count ==818
[2025-01-12 12:21:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:21:05 - End Time 2025-01-12 12:21:05
[2025-01-12 12:21:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231564', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231564', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231564', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:21:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231564', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:21:20] Production.INFO: ProcessCDR(1,14231564,1,1,2)
[2025-01-12 12:21:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231564,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231564,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231564', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231564', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:21:23] Production.INFO: ==9335== Releasing lock...
[2025-01-12 12:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:21:23] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 17:22:01] Production.INFO: ==9392== Lock acquired, processing the job...
[2025-01-12 17:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:22:01] Production.INFO: neon service started
[2025-01-12 17:22:01] Production.INFO: neon service started
[2025-01-12 17:22:01] Production.INFO: ==9392== Releasing lock...
[2025-01-12 17:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:22:01] Production.INFO: ==9394== Lock acquired, processing the job...
[2025-01-12 12:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:22:02] Production.INFO: ==9396== Lock acquired, processing the job...
[2025-01-12 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:22:02] Production.INFO: ==9394== Releasing lock...
[2025-01-12 12:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:22:02] Production.INFO: ==9396== Releasing lock...
[2025-01-12 17:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:22:03] Production.INFO: ==9403== Lock acquired, processing the job...
[2025-01-12 12:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:22:03] Production.INFO: ==9405== Lock acquired, processing the job...
[2025-01-12 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:22:03] Production.INFO: Account Balance Start.
[2025-01-12 12:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:22:03] Production.INFO: 117
[2025-01-12 12:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:22:03] Production.INFO: ==9399== Lock acquired, processing the job...
[2025-01-12 12:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:22:03] Production.INFO: ==9401== Lock acquired, processing the job...
[2025-01-12 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:22:03] Production.INFO: ==9407== Lock acquired, processing the job...
[2025-01-12 12:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:22:03] Production.INFO: Total Charge 0
[2025-01-12 12:22:03] Production.INFO: CreateAllLog End
[2025-01-12 12:22:03] Production.INFO: ==9409== Lock acquired, processing the job...
[2025-01-12 12:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:22:03] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 12:22:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:22:03] Production.INFO: ==9405== Releasing lock...
[2025-01-12 12:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:22:03] Production.INFO: count ==21
[2025-01-12 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-01-12 12:22:03] Production.INFO: count ==21
[2025-01-12 12:22:03] Production.ERROR: done
[2025-01-12 12:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231568') start
[2025-01-12 12:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:22:03] Production.INFO: ==9401== Releasing lock...
[2025-01-12 12:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:22:04] Production.ERROR: done
[2025-01-12 12:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231568') end
[2025-01-12 12:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:22:04] Production.INFO: 1
[2025-01-12 12:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:22:04] Production.INFO: ==9409== Releasing lock...
[2025-01-12 12:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:22:04
[end_date_ymd] => 2025-01-12 12:22:04
[RateCDR] => 1
)
[2025-01-12 12:22:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:22:04' and `end` < '2025-01-12 12:22:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:22:11] Production.ERROR: CronJobId end10
[2025-01-12 12:22:11] Production.INFO: ==9403== Releasing lock...
[2025-01-12 12:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:22:14] Production.INFO: call_cost start
[2025-01-12 12:22:14] Production.INFO: call_cost end
[2025-01-12 12:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:22:14] Production.INFO: ==9399== Releasing lock...
[2025-01-12 12:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:22:18] Production.INFO: count ==823
[2025-01-12 12:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:22:04 - End Time 2025-01-12 12:22:04
[2025-01-12 12:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231569', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231569', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231569', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231569', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:22:18] Production.INFO: ProcessCDR(1,14231569,1,1,2)
[2025-01-12 12:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231569,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231569,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231569', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231569', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:22:21] Production.INFO: ==9407== Releasing lock...
[2025-01-12 12:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:22:21] Production.INFO: 34.5 MB #Memory Used#
[2025-01-12 17:23:02] Production.INFO: ==9463== Lock acquired, processing the job...
[2025-01-12 17:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:23:02] Production.INFO: neon service started
[2025-01-12 17:23:02] Production.INFO: neon service started
[2025-01-12 17:23:02] Production.INFO: ==9463== Releasing lock...
[2025-01-12 17:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:23:02] Production.INFO: ==9465== Lock acquired, processing the job...
[2025-01-12 12:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:23:02] Production.INFO: ==9467== Lock acquired, processing the job...
[2025-01-12 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:23:02] Production.INFO: ==9467== Releasing lock...
[2025-01-12 17:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:23:03] Production.INFO: ==9465== Releasing lock...
[2025-01-12 12:23:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:23:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:23:04] Production.INFO: ==9474== Lock acquired, processing the job...
[2025-01-12 12:23:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:23:04] Production.INFO: ==9480== Lock acquired, processing the job...
[2025-01-12 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:23:04] Production.INFO: ==9472== Lock acquired, processing the job...
[2025-01-12 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:23:04] Production.INFO: ==9470== Lock acquired, processing the job...
[2025-01-12 12:23:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:23:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 12:23:04] Production.INFO: ==9476== Lock acquired, processing the job...
[2025-01-12 12:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:23:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:23:04] Production.INFO: count ==21
[2025-01-12 12:23:04] Production.INFO: ==9478== Lock acquired, processing the job...
[2025-01-12 12:23:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231570') start
[2025-01-12 12:23:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:23:04] Production.INFO: Account Balance Start.
[2025-01-12 12:23:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:23:04] Production.INFO: 117
[2025-01-12 12:23:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231570') end
[2025-01-12 12:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:23:04] Production.INFO: 1
[2025-01-12 12:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:23:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:23:04] Production.INFO: ==9480== Releasing lock...
[2025-01-12 12:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:23:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:23:04] Production.INFO: ==9472== Releasing lock...
[2025-01-12 12:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:23:04] Production.INFO: Total Charge 0
[2025-01-12 12:23:04] Production.ERROR: done
[2025-01-12 12:23:04] Production.INFO: CreateAllLog End
[2025-01-12 12:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:23:05] Production.INFO: Account Balance End.
[2025-01-12 12:23:05] Production.ERROR: done
[2025-01-12 12:23:05] Production.ERROR: CronJobId end 12
[2025-01-12 12:23:05] Production.INFO: ==9476== Releasing lock...
[2025-01-12 12:23:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:23:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:23:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:23:06
[end_date_ymd] => 2025-01-12 12:23:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:23:06' and `end` < '2025-01-12 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-01-12 12:23:12] Production.ERROR: CronJobId end10
[2025-01-12 12:23:12] Production.INFO: ==9474== Releasing lock...
[2025-01-12 12:23:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:23:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:23:14] Production.INFO: call_cost start
[2025-01-12 12:23:14] Production.INFO: call_cost end
[2025-01-12 12:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:23:14] Production.INFO: ==9470== Releasing lock...
[2025-01-12 12:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:23:19] Production.INFO: count ==836
[2025-01-12 12:23:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:23:06 - End Time 2025-01-12 12:23:06
[2025-01-12 12:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231574', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231574', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231574', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231574', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:23:20] Production.INFO: ProcessCDR(1,14231574,1,1,2)
[2025-01-12 12:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:23:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231574,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:23:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:23:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231574,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231574', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:23:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231574', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:23:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:23:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:23:24] Production.INFO: ==9478== Releasing lock...
[2025-01-12 12:23:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:23:24] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 17:24:01] Production.INFO: ==9534== Lock acquired, processing the job...
[2025-01-12 17:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:24:01] Production.INFO: neon service started
[2025-01-12 17:24:01] Production.INFO: neon service started
[2025-01-12 17:24:01] Production.INFO: ==9534== Releasing lock...
[2025-01-12 17:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:24:01] Production.INFO: ==9536== Lock acquired, processing the job...
[2025-01-12 12:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:24:02] Production.INFO: ==9536== Releasing lock...
[2025-01-12 12:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:24:02] Production.INFO: ==9538== Lock acquired, processing the job...
[2025-01-12 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:24:02] Production.INFO: ==9538== Releasing lock...
[2025-01-12 17:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:24:03] Production.INFO: ==9541== Lock acquired, processing the job...
[2025-01-12 12:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:24:03] Production.INFO: ==9543== Lock acquired, processing the job...
[2025-01-12 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:24:03] Production.INFO: ==9549== Lock acquired, processing the job...
[2025-01-12 12:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:24:03] Production.INFO: ==9551== Lock acquired, processing the job...
[2025-01-12 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:24:03] Production.INFO: ==9543== Releasing lock...
[2025-01-12 12:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12: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-01-12 12:24:03] Production.INFO: ==9545== Lock acquired, processing the job...
[2025-01-12 12:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:24:03] Production.INFO: count ==21
[2025-01-12 12:24:03] Production.INFO: ==9547== Lock acquired, processing the job...
[2025-01-12 12:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:24:03] Production.ERROR: done
[2025-01-12 12: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-01-12 12:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:24:03] Production.INFO: count ==21
[2025-01-12 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231577') start
[2025-01-12 12:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231577') end
[2025-01-12 12:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:24:03] Production.INFO: 1
[2025-01-12 12:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:24:03] Production.ERROR: done
[2025-01-12 12:24:03] Production.INFO: ==9551== Releasing lock...
[2025-01-12 12:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:24:03] Production.INFO: Account Balance Start.
[2025-01-12 12:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:24:03] Production.INFO: 117
[2025-01-12 12:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:24:04] Production.INFO: Total Charge 0
[2025-01-12 12:24:04] Production.INFO: CreateAllLog End
[2025-01-12 12:24:04] Production.INFO: Account Balance End.
[2025-01-12 12:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:24:04] Production.INFO: ==9547== Releasing lock...
[2025-01-12 12:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:24:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:24:04
[end_date_ymd] => 2025-01-12 12:24:04
[RateCDR] => 1
)
[2025-01-12 12:24:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:24:04' and `end` < '2025-01-12 12:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:24:11] Production.ERROR: CronJobId end10
[2025-01-12 12:24:11] Production.INFO: ==9545== Releasing lock...
[2025-01-12 12:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:24:12] Production.INFO: call_cost start
[2025-01-12 12:24:12] Production.INFO: call_cost end
[2025-01-12 12:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:24:13] Production.INFO: ==9541== Releasing lock...
[2025-01-12 12:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:24:18] Production.INFO: count ==841
[2025-01-12 12:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:24:04 - End Time 2025-01-12 12:24:04
[2025-01-12 12:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231579', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231579', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231579', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231579', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:24:18] Production.INFO: ProcessCDR(1,14231579,1,1,2)
[2025-01-12 12:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231579', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231579', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:24:23] Production.INFO: ==9549== Releasing lock...
[2025-01-12 12:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:24:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-12 17:25:01] Production.INFO: ==9608== Lock acquired, processing the job...
[2025-01-12 17:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:25:01] Production.INFO: neon service started
[2025-01-12 17:25:01] Production.INFO: neon service started
[2025-01-12 17:25:01] Production.INFO: ==9608== Releasing lock...
[2025-01-12 17:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:25:02] Production.INFO: ==9612== Lock acquired, processing the job...
[2025-01-12 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:25:02] Production.INFO: ==9610== Lock acquired, processing the job...
[2025-01-12 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:25:02] Production.INFO: ==9612== Releasing lock...
[2025-01-12 17:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:25:02] Production.INFO: ==9610== Releasing lock...
[2025-01-12 12:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:25:03] Production.INFO: ==9619== Lock acquired, processing the job...
[2025-01-12 12:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:25:03] Production.INFO: ==9625== Lock acquired, processing the job...
[2025-01-12 12:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:25:03] Production.INFO: ==9615== Lock acquired, processing the job...
[2025-01-12 12:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:25:03] Production.INFO: ==9617== Lock acquired, processing the job...
[2025-01-12 12:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:25:04] Production.INFO: count ==21
[2025-01-12 12:25:04] Production.INFO: ==9621== Lock acquired, processing the job...
[2025-01-12 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 12:25:04] Production.INFO: count ==21
[2025-01-12 12:25:04] Production.INFO: ==9623== Lock acquired, processing the job...
[2025-01-12 12:25:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231580') start
[2025-01-12 12:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231580') end
[2025-01-12 12:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:25:04] Production.INFO: 1
[2025-01-12 12:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:25:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:25:04] Production.INFO: Account Balance Start.
[2025-01-12 12:25:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:25:04] Production.INFO: 117
[2025-01-12 12:25:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:25:04] Production.INFO: ==9625== Releasing lock...
[2025-01-12 12:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:25:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:25:04] Production.INFO: ==9617== Releasing lock...
[2025-01-12 12:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:25:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:25:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:25:04] Production.ERROR: done
[2025-01-12 12:25:04] Production.INFO: Total Charge 0
[2025-01-12 12:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:25:04] Production.INFO: CreateAllLog End
[2025-01-12 12:25:04] Production.ERROR: done
[2025-01-12 12:25:04] Production.INFO: Account Balance End.
[2025-01-12 12:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:25:04] Production.INFO: ==9621== Releasing lock...
[2025-01-12 12:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:25:05
[end_date_ymd] => 2025-01-12 12:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:25:05' and `end` < '2025-01-12 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-01-12 12:25:10] Production.ERROR: CronJobId end10
[2025-01-12 12:25:10] Production.INFO: ==9619== Releasing lock...
[2025-01-12 12:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:25:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:25:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:25:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:25:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:25:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:25:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:25:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:25:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:25:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:25:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:25:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:25:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:25:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:25:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:25:13] Production.INFO: call_cost start
[2025-01-12 12:25:13] Production.INFO: call_cost end
[2025-01-12 12:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:25:14] Production.INFO: ==9615== Releasing lock...
[2025-01-12 12:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:25:18] Production.INFO: count ==855
[2025-01-12 12:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:25:05 - End Time 2025-01-12 12:25:05
[2025-01-12 12:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231584', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231584', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231584', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231584', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:25:18] Production.INFO: ProcessCDR(1,14231584,1,1,2)
[2025-01-12 12:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:25:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231584', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:25:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231584', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:25:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:25:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:25:22] Production.INFO: ==9623== Releasing lock...
[2025-01-12 12:25:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:25:22] Production.INFO: 34.75 MB #Memory Used#
[2025-01-12 17:26:01] Production.INFO: ==9679== Lock acquired, processing the job...
[2025-01-12 17:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:26:01] Production.INFO: neon service started
[2025-01-12 17:26:01] Production.INFO: neon service started
[2025-01-12 17:26:01] Production.INFO: ==9679== Releasing lock...
[2025-01-12 17:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:26:01] Production.INFO: ==9681== Lock acquired, processing the job...
[2025-01-12 12:26:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:26:02] Production.INFO: ==9683== Lock acquired, processing the job...
[2025-01-12 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:26:02] Production.INFO: ==9683== Releasing lock...
[2025-01-12 17:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:26:02] Production.INFO: ==9681== Releasing lock...
[2025-01-12 12:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:26:03] Production.INFO: ==9688== Lock acquired, processing the job...
[2025-01-12 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:26:03] Production.INFO: ==9692== Lock acquired, processing the job...
[2025-01-12 12:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:26:03] Production.INFO: ==9696== Lock acquired, processing the job...
[2025-01-12 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:26:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:26:03] Production.INFO: Account Balance Start.
[2025-01-12 12:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:26:03] Production.INFO: count ==21
[2025-01-12 12:26:03] Production.INFO: 117
[2025-01-12 12:26:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:26:03] Production.INFO: count ==21
[2025-01-12 12:26:03] Production.INFO: ==9688== Releasing lock...
[2025-01-12 12:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231587') start
[2025-01-12 12:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:26:03] Production.INFO: ==9690== Lock acquired, processing the job...
[2025-01-12 12:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:26:03] Production.INFO: ==9685== Lock acquired, processing the job...
[2025-01-12 12:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231587') end
[2025-01-12 12:26:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:26:03] Production.INFO: 1
[2025-01-12 12:26:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:26:03] Production.INFO: ==9694== Lock acquired, processing the job...
[2025-01-12 12:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:26:03] Production.INFO: ==9696== Releasing lock...
[2025-01-12 12:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:26:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:26:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:26:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:26:03] Production.INFO: Total Charge 0
[2025-01-12 12:26:03] Production.INFO: CreateAllLog End
[2025-01-12 12:26:03] Production.ERROR: done
[2025-01-12 12:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:26:03] Production.ERROR: done
[2025-01-12 12:26:04] Production.INFO: Account Balance End.
[2025-01-12 12:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:26:04] Production.INFO: ==9692== Releasing lock...
[2025-01-12 12:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:26:04
[end_date_ymd] => 2025-01-12 12:26:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:26:04' and `end` < '2025-01-12 12: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-01-12 12:26:11] Production.ERROR: CronJobId end10
[2025-01-12 12:26:11] Production.INFO: ==9690== Releasing lock...
[2025-01-12 12:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:26:12] Production.INFO: call_cost start
[2025-01-12 12:26:12] Production.INFO: call_cost end
[2025-01-12 12:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:26:13] Production.INFO: ==9685== Releasing lock...
[2025-01-12 12:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:26:18] Production.INFO: count ==856
[2025-01-12 12:26:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:26:04 - End Time 2025-01-12 12:26:04
[2025-01-12 12:26:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231589', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231589', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231589', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:26:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231589', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:26:18] Production.INFO: ProcessCDR(1,14231589,1,1,2)
[2025-01-12 12:26:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231589', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231589', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:26:23] Production.INFO: ==9694== Releasing lock...
[2025-01-12 12:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:26:23] Production.INFO: 35 MB #Memory Used#
[2025-01-12 17:27:02] Production.INFO: ==9788== Lock acquired, processing the job...
[2025-01-12 17:27:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:27:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:27:02] Production.INFO: neon service started
[2025-01-12 17:27:02] Production.INFO: neon service started
[2025-01-12 17:27:02] Production.INFO: ==9788== Releasing lock...
[2025-01-12 17:27:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:27:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:27:02] Production.INFO: ==9792== Lock acquired, processing the job...
[2025-01-12 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:27:02] Production.INFO: ==9792== Releasing lock...
[2025-01-12 17:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:27:02] Production.INFO: ==9790== Lock acquired, processing the job...
[2025-01-12 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:27:02] Production.INFO: ==9790== Releasing lock...
[2025-01-12 12:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:27:03] Production.INFO: ==9797== Lock acquired, processing the job...
[2025-01-12 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:27:03] Production.INFO: ==9805== Lock acquired, processing the job...
[2025-01-12 12:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:27:03] Production.INFO: ==9795== Lock acquired, processing the job...
[2025-01-12 12:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:27:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:27:03] Production.INFO: count ==21
[2025-01-12 12:27:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:27:03] Production.INFO: count ==21
[2025-01-12 12:27:03] Production.INFO: ==9799== Lock acquired, processing the job...
[2025-01-12 12:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:27:03] Production.INFO: ==9797== Releasing lock...
[2025-01-12 12:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231591') start
[2025-01-12 12:27:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:27:04] Production.INFO: ==9801== Lock acquired, processing the job...
[2025-01-12 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231591') end
[2025-01-12 12:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:27:04] Production.INFO: 1
[2025-01-12 12:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:27:04] Production.INFO: ==9803== Lock acquired, processing the job...
[2025-01-12 12:27:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:27:04] Production.INFO: ==9805== Releasing lock...
[2025-01-12 12:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:27:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:27:04] Production.INFO: Account Balance Start.
[2025-01-12 12:27:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:27:04] Production.INFO: 117
[2025-01-12 12:27:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:27:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:27:04] Production.ERROR: done
[2025-01-12 12:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:27:04] Production.INFO: Total Charge 0
[2025-01-12 12:27:04] Production.INFO: CreateAllLog End
[2025-01-12 12:27:04] Production.ERROR: done
[2025-01-12 12:27:04] Production.INFO: Account Balance End.
[2025-01-12 12:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:27:04] Production.INFO: ==9801== Releasing lock...
[2025-01-12 12:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:27:05
[end_date_ymd] => 2025-01-12 12:27:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:27:05' and `end` < '2025-01-12 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-01-12 12:27:11] Production.ERROR: CronJobId end10
[2025-01-12 12:27:11] Production.INFO: ==9799== Releasing lock...
[2025-01-12 12:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:27:13] Production.INFO: call_cost start
[2025-01-12 12:27:13] Production.INFO: call_cost end
[2025-01-12 12:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:27:14] Production.INFO: ==9795== Releasing lock...
[2025-01-12 12:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:27:19] Production.INFO: count ==855
[2025-01-12 12:27:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:27:05 - End Time 2025-01-12 12:27:05
[2025-01-12 12:27:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231594', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231594', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231594', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:27:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231594', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:27:19] Production.INFO: ProcessCDR(1,14231594,1,1,2)
[2025-01-12 12:27:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:27:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231594', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:27:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231594', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:27:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:27:23] Production.INFO: ==9803== Releasing lock...
[2025-01-12 12:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:27:23] Production.INFO: 34.25 MB #Memory Used#
[2025-01-12 17:28:01] Production.INFO: ==9860== Lock acquired, processing the job...
[2025-01-12 17:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:28:01] Production.INFO: neon service started
[2025-01-12 17:28:01] Production.INFO: neon service started
[2025-01-12 17:28:01] Production.INFO: ==9860== Releasing lock...
[2025-01-12 17:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:28:01] Production.INFO: ==9862== Lock acquired, processing the job...
[2025-01-12 12:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:28:02] Production.INFO: ==9862== Releasing lock...
[2025-01-12 12:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:28:02] Production.INFO: ==9864== Lock acquired, processing the job...
[2025-01-12 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:28:02] Production.INFO: ==9864== Releasing lock...
[2025-01-12 17:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:28:03] Production.INFO: ==9876== Lock acquired, processing the job...
[2025-01-12 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:28:03] Production.INFO: ==9872== Lock acquired, processing the job...
[2025-01-12 12:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12: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-01-12 12:28:03] Production.INFO: ==9866== Lock acquired, processing the job...
[2025-01-12 12:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:28:03] Production.INFO: count ==21
[2025-01-12 12:28:03] Production.INFO: Account Balance Start.
[2025-01-12 12:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:28:03] Production.INFO: ==9868== Lock acquired, processing the job...
[2025-01-12 12:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:28:03] Production.INFO: 117
[2025-01-12 12: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-01-12 12:28:03] Production.INFO: count ==21
[2025-01-12 12:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231595') start
[2025-01-12 12:28:03] Production.INFO: ==9870== Lock acquired, processing the job...
[2025-01-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231595') end
[2025-01-12 12:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:28:03] Production.INFO: 1
[2025-01-12 12:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:28:03] Production.INFO: ==9874== Lock acquired, processing the job...
[2025-01-12 12:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:28:03] Production.INFO: ==9876== Releasing lock...
[2025-01-12 12:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:28:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:28:03] Production.INFO: Total Charge 0
[2025-01-12 12:28:03] Production.INFO: CreateAllLog End
[2025-01-12 12:28:03] Production.ERROR: done
[2025-01-12 12:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:28:03] Production.INFO: Account Balance End.
[2025-01-12 12:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:28:04] Production.INFO: ==9872== Releasing lock...
[2025-01-12 12:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:28:04] Production.INFO: ==9868== Releasing lock...
[2025-01-12 12:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:28:04] Production.ERROR: done
[2025-01-12 12:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:28:05
[end_date_ymd] => 2025-01-12 12:28:05
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:28:05' and `end` < '2025-01-12 12: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-01-12 12:28:10] Production.ERROR: CronJobId end10
[2025-01-12 12:28:10] Production.INFO: ==9870== Releasing lock...
[2025-01-12 12:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:28:13] Production.INFO: call_cost start
[2025-01-12 12:28:13] Production.INFO: call_cost end
[2025-01-12 12:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:28:13] Production.INFO: ==9866== Releasing lock...
[2025-01-12 12:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:28:19] Production.INFO: count ==858
[2025-01-12 12:28:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:28:05 - End Time 2025-01-12 12:28:05
[2025-01-12 12:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231599', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231599', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231599', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231599', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:28:19] Production.INFO: ProcessCDR(1,14231599,1,1,2)
[2025-01-12 12:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231599', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231599', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:28:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:28:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:28:24] Production.INFO: ==9874== Releasing lock...
[2025-01-12 12:28:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:28:24] Production.INFO: 35 MB #Memory Used#
[2025-01-12 17:29:02] Production.INFO: ==9930== Lock acquired, processing the job...
[2025-01-12 17:29:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:29:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:29:02] Production.INFO: neon service started
[2025-01-12 17:29:02] Production.INFO: neon service started
[2025-01-12 17:29:02] Production.INFO: ==9930== Releasing lock...
[2025-01-12 17:29:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:29:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:29:02] Production.INFO: ==9932== Lock acquired, processing the job...
[2025-01-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:29:02] Production.INFO: ==9934== Lock acquired, processing the job...
[2025-01-12 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:29:02] Production.INFO: ==9934== Releasing lock...
[2025-01-12 17:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:29:02] Production.INFO: ==9932== Releasing lock...
[2025-01-12 12:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:29:03] Production.INFO: ==9936== Lock acquired, processing the job...
[2025-01-12 12:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:29:03] Production.INFO: ==9940== Lock acquired, processing the job...
[2025-01-12 12:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:29:03] Production.INFO: ==9947== Lock acquired, processing the job...
[2025-01-12 12:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:29:03] Production.INFO: ==9938== Lock acquired, processing the job...
[2025-01-12 12:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:29:03] Production.INFO: ==9942== Lock acquired, processing the job...
[2025-01-12 12:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:29:03] Production.INFO: Account Balance Start.
[2025-01-12 12:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:29:03] Production.INFO: 117
[2025-01-12 12:29:03] Production.INFO: count ==21
[2025-01-12 12:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:29:03] Production.INFO: count ==21
[2025-01-12 12:29:03] Production.INFO: ==9944== Lock acquired, processing the job...
[2025-01-12 12:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231601') start
[2025-01-12 12:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231601') end
[2025-01-12 12:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:29:04] Production.INFO: ==9938== Releasing lock...
[2025-01-12 12:29:04] Production.INFO: 1
[2025-01-12 12:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:29:04] Production.INFO: Total Charge 0
[2025-01-12 12:29:04] Production.INFO: CreateAllLog End
[2025-01-12 12:29:04] Production.INFO: ==9947== Releasing lock...
[2025-01-12 12:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:29:04] Production.INFO: Account Balance End.
[2025-01-12 12:29:04] Production.ERROR: done
[2025-01-12 12:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:29:04] Production.INFO: ==9942== Releasing lock...
[2025-01-12 12:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:29:04] Production.ERROR: done
[2025-01-12 12:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:29:05
[end_date_ymd] => 2025-01-12 12:29:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:29:05' and `end` < '2025-01-12 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-01-12 12:29:11] Production.ERROR: CronJobId end10
[2025-01-12 12:29:11] Production.INFO: ==9940== Releasing lock...
[2025-01-12 12:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:29:13] Production.INFO: call_cost start
[2025-01-12 12:29:13] Production.INFO: call_cost end
[2025-01-12 12:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:29:14] Production.INFO: ==9936== Releasing lock...
[2025-01-12 12:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:29:18] Production.INFO: count ==869
[2025-01-12 12:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:29:05 - End Time 2025-01-12 12:29:05
[2025-01-12 12:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231604', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231604', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231604', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231604', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:29:18] Production.INFO: ProcessCDR(1,14231604,1,1,2)
[2025-01-12 12:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231604', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231604', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:29:23] Production.INFO: ==9944== Releasing lock...
[2025-01-12 12:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:29:23] Production.INFO: 35 MB #Memory Used#
[2025-01-12 17:30:01] Production.INFO: ==10001== Lock acquired, processing the job...
[2025-01-12 17:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:30:01] Production.INFO: neon service started
[2025-01-12 17:30:01] Production.INFO: neon service started
[2025-01-12 17:30:01] Production.INFO: ==10001== Releasing lock...
[2025-01-12 17:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:30:01] Production.INFO: ==10003== Lock acquired, processing the job...
[2025-01-12 12:30:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:30:02] Production.INFO: ==10005== Lock acquired, processing the job...
[2025-01-12 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:30:02] Production.INFO: ==10005== Releasing lock...
[2025-01-12 17:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:30:02] Production.INFO: ==10003== Releasing lock...
[2025-01-12 12:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:30:02] Production.INFO: ==10007== Lock acquired, processing the job...
[2025-01-12 12:30:02] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 12:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 12:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 12:30:03] Production.INFO: ==10007== Releasing lock...
[2025-01-12 12:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 12:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 12:30:03] Production.INFO: ==10009== Lock acquired, processing the job...
[2025-01-12 12:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:30:03] Production.INFO: ==10013== Lock acquired, processing the job...
[2025-01-12 12:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:30:03] Production.INFO: ==10017== Lock acquired, processing the job...
[2025-01-12 12:30:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:30:03] Production.INFO: ==10011== Lock acquired, processing the job...
[2025-01-12 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:30:03] Production.INFO: ==10015== Lock acquired, processing the job...
[2025-01-12 12:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:30:03] Production.INFO: ==10022== Lock acquired, processing the job...
[2025-01-12 12:30:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:30:03] Production.INFO: ==10019== Lock acquired, processing the job...
[2025-01-12 12:30:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 12:30:03] Production.INFO: Account Balance Start.
[2025-01-12 12:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:30:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:30:03] Production.INFO: 117
[2025-01-12 12:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:30:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:30:03] Production.INFO: count ==21
[2025-01-12 12:30:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:30:03] Production.INFO: count ==21
[2025-01-12 12:30:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:30:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231608') start
[2025-01-12 12:30:03] Production.ERROR: done
[2025-01-12 12:30:03] Production.INFO: ==10011== Releasing lock...
[2025-01-12 12:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:30:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:30:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231608') end
[2025-01-12 12:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:30:04] Production.INFO: 1
[2025-01-12 12:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:30:04] Production.INFO: ==10022== Releasing lock...
[2025-01-12 12:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:30:04] Production.INFO: Total Charge 0
[2025-01-12 12:30:04] Production.ERROR: done
[2025-01-12 12:30:04] Production.INFO: CreateAllLog End
[2025-01-12 12:30:04] Production.ERROR: done
[2025-01-12 12:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 12:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231609', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 12:30:04] Production.INFO: Account Balance End.
[2025-01-12 12:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:30:04] Production.INFO: ==10015== Releasing lock...
[2025-01-12 12:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:30:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:30:05
[end_date_ymd] => 2025-01-12 12:30:05
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:30:05' and `end` < '2025-01-12 12: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-01-12 12:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231609', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 12:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 12:30:08] Production.INFO: ProcessCDR(1,14231609,1,1,2)
[2025-01-12 12:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231609,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231609,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:30:08] Production.INFO: ==10019== Releasing lock...
[2025-01-12 12:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 12:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 12:30:12] Production.ERROR: CronJobId end10
[2025-01-12 12:30:12] Production.INFO: ==10013== Releasing lock...
[2025-01-12 12:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:30:14] Production.INFO: call_cost start
[2025-01-12 12:30:14] Production.INFO: call_cost end
[2025-01-12 12:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:30:15] Production.INFO: ==10009== Releasing lock...
[2025-01-12 12:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:30:18] Production.INFO: count ==878
[2025-01-12 12:30:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:30:05 - End Time 2025-01-12 12:30:05
[2025-01-12 12:30:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231610', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231610', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231610', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:30:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231610', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:30:18] Production.INFO: ProcessCDR(1,14231610,1,1,2)
[2025-01-12 12:30:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:30:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231610,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:30:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231610,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231610', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231610', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:30:23] Production.INFO: ==10017== Releasing lock...
[2025-01-12 12:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:30:23] Production.INFO: 34.5 MB #Memory Used#
[2025-01-12 17:31:01] Production.INFO: ==10077== Lock acquired, processing the job...
[2025-01-12 17:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:31:01] Production.INFO: neon service started
[2025-01-12 17:31:01] Production.INFO: neon service started
[2025-01-12 17:31:01] Production.INFO: ==10077== Releasing lock...
[2025-01-12 17:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:31:02] Production.INFO: ==10079== Lock acquired, processing the job...
[2025-01-12 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:31:02] Production.INFO: ==10081== Lock acquired, processing the job...
[2025-01-12 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:31:02] Production.INFO: ==10081== Releasing lock...
[2025-01-12 17:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:31:02] Production.INFO: ==10079== Releasing lock...
[2025-01-12 12:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:31:03] Production.INFO: ==10090== Lock acquired, processing the job...
[2025-01-12 12:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:31:03] Production.INFO: Account Balance Start.
[2025-01-12 12:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:31:03] Production.INFO: 117
[2025-01-12 12:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:31:03] Production.INFO: ==10094== Lock acquired, processing the job...
[2025-01-12 12:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:31:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:31:03] Production.INFO: count ==21
[2025-01-12 12:31:03] Production.INFO: ==10084== Lock acquired, processing the job...
[2025-01-12 12:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:31:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:31:03] Production.INFO: count ==21
[2025-01-12 12:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231612') start
[2025-01-12 12:31:03] Production.INFO: ==10086== Lock acquired, processing the job...
[2025-01-12 12:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:31:03] Production.INFO: ==10088== Lock acquired, processing the job...
[2025-01-12 12:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:31:03] Production.INFO: Total Charge 0
[2025-01-12 12:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:31:03] Production.INFO: ==10092== Lock acquired, processing the job...
[2025-01-12 12:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:31:03] Production.INFO: CreateAllLog End
[2025-01-12 12:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231612') end
[2025-01-12 12:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:31:04] Production.INFO: 1
[2025-01-12 12:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:31:04] Production.INFO: ==10094== Releasing lock...
[2025-01-12 12:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:31:04] Production.INFO: Account Balance End.
[2025-01-12 12:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:31:04] Production.INFO: ==10090== Releasing lock...
[2025-01-12 12:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:31:04] Production.INFO: ==10086== Releasing lock...
[2025-01-12 12:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:31:04] Production.ERROR: done
[2025-01-12 12:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:31:04] Production.ERROR: done
[2025-01-12 12:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:31:05
[end_date_ymd] => 2025-01-12 12:31:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:31:05' and `end` < '2025-01-12 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-01-12 12:31:11] Production.ERROR: CronJobId end10
[2025-01-12 12:31:11] Production.INFO: ==10088== Releasing lock...
[2025-01-12 12:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:31:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:31:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:31:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:31:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:31:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:31:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:31:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:31:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:31:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:31:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:31:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:31:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:31:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:31:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:31:14] Production.INFO: call_cost start
[2025-01-12 12:31:14] Production.INFO: call_cost end
[2025-01-12 12:31:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:31:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:31:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:31:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:31:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:31:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:31:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:31:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:31:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:31:15] Production.INFO: ==10084== Releasing lock...
[2025-01-12 12:31:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:31:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:31:18] Production.INFO: count ==921
[2025-01-12 12:31:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:31:05 - End Time 2025-01-12 12:31:05
[2025-01-12 12:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231615', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231615', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231615', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231615', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:31:19] Production.INFO: ProcessCDR(1,14231615,1,1,2)
[2025-01-12 12:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231615,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231615,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231615', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231615', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:31:23] Production.INFO: ==10092== Releasing lock...
[2025-01-12 12:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:31:23] Production.INFO: 35 MB #Memory Used#
[2025-01-12 17:32:02] Production.INFO: ==10148== Lock acquired, processing the job...
[2025-01-12 17:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:32:02] Production.INFO: neon service started
[2025-01-12 17:32:02] Production.INFO: neon service started
[2025-01-12 17:32:02] Production.INFO: ==10148== Releasing lock...
[2025-01-12 17:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:32:02] Production.INFO: ==10152== Lock acquired, processing the job...
[2025-01-12 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:32:02] Production.INFO: ==10152== Releasing lock...
[2025-01-12 17:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:32:02] Production.INFO: ==10150== Lock acquired, processing the job...
[2025-01-12 12:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:32:03] Production.INFO: ==10150== Releasing lock...
[2025-01-12 12:32:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:32:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:32:03] Production.INFO: ==10154== Lock acquired, processing the job...
[2025-01-12 12:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:32:03] Production.INFO: ==10156== Lock acquired, processing the job...
[2025-01-12 12:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:32:03] Production.INFO: ==10158== Lock acquired, processing the job...
[2025-01-12 12:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:32:04] Production.INFO: ==10160== Lock acquired, processing the job...
[2025-01-12 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:32:04] Production.INFO: ==10163== Lock acquired, processing the job...
[2025-01-12 12:32:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:32:04] Production.INFO: Account Balance Start.
[2025-01-12 12:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:32:04] Production.INFO: 117
[2025-01-12 12:32:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:32:04] Production.INFO: ==10156== Releasing lock...
[2025-01-12 12:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:32:04] Production.INFO: ==10165== Lock acquired, processing the job...
[2025-01-12 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:32:04] Production.INFO: Total Charge 0
[2025-01-12 12:32:04] Production.INFO: CreateAllLog End
[2025-01-12 12:32:04] Production.ERROR: done
[2025-01-12 12:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 12:32:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:32:04] Production.INFO: count ==21
[2025-01-12 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231619') start
[2025-01-12 12:32:04] Production.ERROR: done
[2025-01-12 12:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231619') end
[2025-01-12 12:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:32:04] Production.INFO: 1
[2025-01-12 12:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:32:04] Production.INFO: Account Balance End.
[2025-01-12 12:32:04] Production.INFO: ==10165== Releasing lock...
[2025-01-12 12:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:32:04] Production.INFO: ==10160== Releasing lock...
[2025-01-12 12:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:32:05
[end_date_ymd] => 2025-01-12 12:32:05
[RateCDR] => 1
)
[2025-01-12 12:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:32:05' and `end` < '2025-01-12 12:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:32:11] Production.ERROR: CronJobId end10
[2025-01-12 12:32:11] Production.INFO: ==10158== Releasing lock...
[2025-01-12 12:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:32:14] Production.INFO: call_cost start
[2025-01-12 12:32:14] Production.INFO: call_cost end
[2025-01-12 12:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:32:14] Production.INFO: ==10154== Releasing lock...
[2025-01-12 12:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:32:19] Production.INFO: count ==930
[2025-01-12 12:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:32:05 - End Time 2025-01-12 12:32:05
[2025-01-12 12:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231620', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231620', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231620', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231620', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:32:19] Production.INFO: ProcessCDR(1,14231620,1,1,2)
[2025-01-12 12:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231620,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231620,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231620', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231620', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:32:24] Production.INFO: ==10163== Releasing lock...
[2025-01-12 12:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:32:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 17:33:01] Production.INFO: ==10217== Lock acquired, processing the job...
[2025-01-12 17:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:33:01] Production.INFO: neon service started
[2025-01-12 17:33:01] Production.INFO: neon service started
[2025-01-12 17:33:01] Production.INFO: ==10217== Releasing lock...
[2025-01-12 17:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:33:02] Production.INFO: ==10219== Lock acquired, processing the job...
[2025-01-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:33:02] Production.INFO: ==10221== Lock acquired, processing the job...
[2025-01-12 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:33:02] Production.INFO: ==10221== Releasing lock...
[2025-01-12 17:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:33:02] Production.INFO: ==10219== Releasing lock...
[2025-01-12 12:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:33:03] Production.INFO: ==10230== Lock acquired, processing the job...
[2025-01-12 12:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:33:03] Production.INFO: ==10234== Lock acquired, processing the job...
[2025-01-12 12:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:33:03] Production.INFO: ==10224== Lock acquired, processing the job...
[2025-01-12 12:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:33:03] Production.INFO: ==10226== Lock acquired, processing the job...
[2025-01-12 12:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:33:03] Production.INFO: Account Balance Start.
[2025-01-12 12:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:33:03] Production.INFO: 117
[2025-01-12 12:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:33:03] Production.INFO: ==10228== Lock acquired, processing the job...
[2025-01-12 12:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:33:03] Production.INFO: count ==21
[2025-01-12 12:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:33:03] Production.INFO: ==10232== Lock acquired, processing the job...
[2025-01-12 12:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 12:33:03] Production.INFO: count ==21
[2025-01-12 12:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231623') start
[2025-01-12 12:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:33:04] Production.INFO: Total Charge 0
[2025-01-12 12:33:04] Production.INFO: CreateAllLog End
[2025-01-12 12:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231623') end
[2025-01-12 12:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:33:04] Production.INFO: 1
[2025-01-12 12:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:33:04] Production.INFO: ==10226== Releasing lock...
[2025-01-12 12:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:33:04] Production.INFO: ==10234== Releasing lock...
[2025-01-12 12:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:33:04] Production.ERROR: done
[2025-01-12 12:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:33:04] Production.INFO: Account Balance End.
[2025-01-12 12:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:33:04] Production.INFO: ==10230== Releasing lock...
[2025-01-12 12:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:33:04] Production.ERROR: done
[2025-01-12 12:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:33:05
[end_date_ymd] => 2025-01-12 12:33:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:33:05' and `end` < '2025-01-12 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-01-12 12:33:11] Production.ERROR: CronJobId end10
[2025-01-12 12:33:11] Production.INFO: ==10228== Releasing lock...
[2025-01-12 12:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:33:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:33:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:33:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:33:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:33:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:33:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:33:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:33:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:33:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:33:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:33:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:33:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:33:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:33:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:33:13] Production.INFO: call_cost start
[2025-01-12 12:33:13] Production.INFO: call_cost end
[2025-01-12 12:33:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:33:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:33:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:33:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:33:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:33:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:33:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:33:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:33:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:33:14] Production.INFO: ==10224== Releasing lock...
[2025-01-12 12:33:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:33:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:33:19] Production.INFO: count ==934
[2025-01-12 12:33:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:33:05 - End Time 2025-01-12 12:33:05
[2025-01-12 12:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231625', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231625', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231625', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231625', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:33:19] Production.INFO: ProcessCDR(1,14231625,1,1,2)
[2025-01-12 12:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231625,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231625,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231625', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231625', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:33:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:33:24] Production.INFO: ==10232== Releasing lock...
[2025-01-12 12:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:33:24] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 17:34:02] Production.INFO: ==10288== Lock acquired, processing the job...
[2025-01-12 17:34:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:34:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:34:02] Production.INFO: neon service started
[2025-01-12 17:34:02] Production.INFO: neon service started
[2025-01-12 17:34:02] Production.INFO: ==10288== Releasing lock...
[2025-01-12 17:34:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:34:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:34:02] Production.INFO: ==10292== Lock acquired, processing the job...
[2025-01-12 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:34:02] Production.INFO: ==10292== Releasing lock...
[2025-01-12 17:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:34:02] Production.INFO: ==10290== Lock acquired, processing the job...
[2025-01-12 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:34:02] Production.INFO: ==10290== Releasing lock...
[2025-01-12 12:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:34:03] Production.INFO: ==10299== Lock acquired, processing the job...
[2025-01-12 12:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:34:03] Production.INFO: ==10301== Lock acquired, processing the job...
[2025-01-12 12:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:34:03] Production.INFO: Account Balance Start.
[2025-01-12 12:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:34:03] Production.INFO: 117
[2025-01-12 12:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:34:03] Production.INFO: ==10303== Lock acquired, processing the job...
[2025-01-12 12:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:34:03] Production.INFO: ==10295== Lock acquired, processing the job...
[2025-01-12 12:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:34:04] Production.INFO: ==10297== Lock acquired, processing the job...
[2025-01-12 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:34:04] Production.INFO: Total Charge 0
[2025-01-12 12:34:04] Production.INFO: CreateAllLog End
[2025-01-12 12:34:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:34:04] Production.INFO: ==10305== Lock acquired, processing the job...
[2025-01-12 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:34:04] Production.ERROR: done
[2025-01-12 12:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 12:34:04] Production.INFO: count ==21
[2025-01-12 12:34:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 12:34:04] Production.INFO: count ==21
[2025-01-12 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231629') start
[2025-01-12 12:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:34:04] Production.INFO: ==10301== Releasing lock...
[2025-01-12 12:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:34:04] Production.INFO: ==10297== Releasing lock...
[2025-01-12 12:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:34:04] Production.ERROR: done
[2025-01-12 12:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231629') end
[2025-01-12 12:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:34:04] Production.INFO: 1
[2025-01-12 12:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:34:04] Production.INFO: ==10305== Releasing lock...
[2025-01-12 12:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:34:05
[end_date_ymd] => 2025-01-12 12:34:05
[RateCDR] => 1
)
[2025-01-12 12:34:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:34:05' and `end` < '2025-01-12 12:34:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:34:12] Production.ERROR: CronJobId end10
[2025-01-12 12:34:12] Production.INFO: ==10299== Releasing lock...
[2025-01-12 12:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:34:13] Production.INFO: call_cost start
[2025-01-12 12:34:13] Production.INFO: call_cost end
[2025-01-12 12:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:34:14] Production.INFO: ==10295== Releasing lock...
[2025-01-12 12:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:34:18] Production.INFO: count ==943
[2025-01-12 12:34:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:34:05 - End Time 2025-01-12 12:34:05
[2025-01-12 12:34:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231630', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231630', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231630', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231630', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:34:19] Production.INFO: ProcessCDR(1,14231630,1,1,2)
[2025-01-12 12:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231630', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231630', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:34:22] Production.INFO: ==10303== Releasing lock...
[2025-01-12 12:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:34:22] Production.INFO: 35.25 MB #Memory Used#
[2025-01-12 17:35:01] Production.INFO: ==10360== Lock acquired, processing the job...
[2025-01-12 17:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:35:01] Production.INFO: neon service started
[2025-01-12 17:35:01] Production.INFO: neon service started
[2025-01-12 17:35:01] Production.INFO: ==10360== Releasing lock...
[2025-01-12 17:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:35:02] Production.INFO: ==10362== Lock acquired, processing the job...
[2025-01-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:35:02] Production.INFO: ==10364== Lock acquired, processing the job...
[2025-01-12 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:35:02] Production.INFO: ==10362== Releasing lock...
[2025-01-12 12:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:35:02] Production.INFO: ==10364== Releasing lock...
[2025-01-12 17:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:35:03] Production.INFO: ==10370== Lock acquired, processing the job...
[2025-01-12 12:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:35:03] Production.INFO: ==10366== Lock acquired, processing the job...
[2025-01-12 12:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:35:03] Production.INFO: ==10377== Lock acquired, processing the job...
[2025-01-12 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:35:03] Production.INFO: ==10368== Lock acquired, processing the job...
[2025-01-12 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12: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-01-12 12:35:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:35:03] Production.INFO: count ==21
[2025-01-12 12:35:03] Production.INFO: ==10373== Lock acquired, processing the job...
[2025-01-12 12:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231632') start
[2025-01-12 12:35:03] Production.INFO: ==10375== Lock acquired, processing the job...
[2025-01-12 12:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231632') end
[2025-01-12 12:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:35:03] Production.INFO: 1
[2025-01-12 12:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:35:03] Production.INFO: Account Balance Start.
[2025-01-12 12:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:35:03] Production.INFO: 117
[2025-01-12 12:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:35:03] Production.INFO: ==10377== Releasing lock...
[2025-01-12 12:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:35:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:35:03] Production.INFO: ==10368== Releasing lock...
[2025-01-12 12:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:35:04] Production.INFO: Total Charge 0
[2025-01-12 12:35:04] Production.INFO: CreateAllLog End
[2025-01-12 12:35:04] Production.ERROR: done
[2025-01-12 12:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:35:04] Production.ERROR: done
[2025-01-12 12:35:04] Production.INFO: Account Balance End.
[2025-01-12 12:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:35:04] Production.INFO: ==10373== Releasing lock...
[2025-01-12 12:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:35:05
[end_date_ymd] => 2025-01-12 12:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:35:05' and `end` < '2025-01-12 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-01-12 12:35:11] Production.ERROR: CronJobId end10
[2025-01-12 12:35:11] Production.INFO: ==10370== Releasing lock...
[2025-01-12 12:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:35:13] Production.INFO: call_cost start
[2025-01-12 12:35:13] Production.INFO: call_cost end
[2025-01-12 12:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:35:14] Production.INFO: ==10366== Releasing lock...
[2025-01-12 12:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:35:18] Production.INFO: count ==949
[2025-01-12 12:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:35:05 - End Time 2025-01-12 12:35:05
[2025-01-12 12:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231635', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231635', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231635', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231635', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:35:18] Production.INFO: ProcessCDR(1,14231635,1,1,2)
[2025-01-12 12:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231635', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231635', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:35:23] Production.INFO: ==10375== Releasing lock...
[2025-01-12 12:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:35:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-12 17:36:02] Production.INFO: ==10431== Lock acquired, processing the job...
[2025-01-12 17:36:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:36:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:36:02] Production.INFO: neon service started
[2025-01-12 17:36:02] Production.INFO: neon service started
[2025-01-12 17:36:02] Production.INFO: ==10431== Releasing lock...
[2025-01-12 17:36:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:36:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:36:02] Production.INFO: ==10433== Lock acquired, processing the job...
[2025-01-12 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:36:02] Production.INFO: ==10433== Releasing lock...
[2025-01-12 12:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:36:02] Production.INFO: ==10435== Lock acquired, processing the job...
[2025-01-12 17:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:36:03] Production.INFO: ==10435== Releasing lock...
[2025-01-12 17:36:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:36:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:36:03] Production.INFO: ==10438== Lock acquired, processing the job...
[2025-01-12 12:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:36:03] Production.INFO: ==10440== Lock acquired, processing the job...
[2025-01-12 12:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:36:03] Production.INFO: ==10444== Lock acquired, processing the job...
[2025-01-12 12:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:36:03] Production.INFO: ==10442== Lock acquired, processing the job...
[2025-01-12 12:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:36:03] Production.INFO: ==10446== Lock acquired, processing the job...
[2025-01-12 12:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:36:03] Production.INFO: Account Balance Start.
[2025-01-12 12:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:36:03] Production.INFO: 117
[2025-01-12 12:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:36:03] Production.INFO: ==10448== Lock acquired, processing the job...
[2025-01-12 12:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:36:04] Production.INFO: ==10440== Releasing lock...
[2025-01-12 12:36:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:36:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:36:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:36:04] Production.INFO: count ==21
[2025-01-12 12:36:04] Production.ERROR: done
[2025-01-12 12:36:04] Production.INFO: Total Charge 0
[2025-01-12 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231639') start
[2025-01-12 12:36:04] Production.INFO: CreateAllLog End
[2025-01-12 12:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:36:04] Production.ERROR: done
[2025-01-12 12:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231639') end
[2025-01-12 12:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:36:04] Production.INFO: 1
[2025-01-12 12:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:36:04] Production.INFO: ==10448== Releasing lock...
[2025-01-12 12:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:36:04] Production.INFO: Account Balance End.
[2025-01-12 12:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:36:04] Production.INFO: ==10444== Releasing lock...
[2025-01-12 12:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:36:05
[end_date_ymd] => 2025-01-12 12:36:05
[RateCDR] => 1
)
[2025-01-12 12:36:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:36:05' and `end` < '2025-01-12 12:36:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:36:10] Production.ERROR: CronJobId end10
[2025-01-12 12:36:10] Production.INFO: ==10442== Releasing lock...
[2025-01-12 12:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:36:13] Production.INFO: call_cost start
[2025-01-12 12:36:13] Production.INFO: call_cost end
[2025-01-12 12:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:36:14] Production.INFO: ==10438== Releasing lock...
[2025-01-12 12:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:36:18] Production.INFO: count ==960
[2025-01-12 12:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:36:05 - End Time 2025-01-12 12:36:05
[2025-01-12 12:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231640', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231640', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231640', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231640', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:36:18] Production.INFO: ProcessCDR(1,14231640,1,1,2)
[2025-01-12 12:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:36:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:36:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:36:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231640', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:36:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231640', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:36:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:36:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:36:23] Production.INFO: ==10446== Releasing lock...
[2025-01-12 12:36:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:36:23] Production.INFO: 35.75 MB #Memory Used#
[2025-01-12 17:37:01] Production.INFO: ==10503== Lock acquired, processing the job...
[2025-01-12 17:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:37:01] Production.INFO: neon service started
[2025-01-12 17:37:01] Production.INFO: neon service started
[2025-01-12 17:37:01] Production.INFO: ==10503== Releasing lock...
[2025-01-12 17:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:37:01] Production.INFO: ==10506== Lock acquired, processing the job...
[2025-01-12 12:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:37:02] Production.INFO: ==10508== Lock acquired, processing the job...
[2025-01-12 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:37:02] Production.INFO: ==10508== Releasing lock...
[2025-01-12 17:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:37:02] Production.INFO: ==10506== Releasing lock...
[2025-01-12 12:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:37:03] Production.INFO: ==10512== Lock acquired, processing the job...
[2025-01-12 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:37:03] Production.INFO: ==10514== Lock acquired, processing the job...
[2025-01-12 12:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:37:03] Production.INFO: ==10520== Lock acquired, processing the job...
[2025-01-12 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:37:03] Production.INFO: ==10512== Releasing lock...
[2025-01-12 12:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:37:03] Production.INFO: ==10510== Lock acquired, processing the job...
[2025-01-12 12:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12: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-01-12 12:37:03] Production.INFO: ==10516== Lock acquired, processing the job...
[2025-01-12 12:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:37:03] Production.INFO: ==10518== Lock acquired, processing the job...
[2025-01-12 12:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:37:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:37:03] Production.INFO: count ==21
[2025-01-12 12:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231642') start
[2025-01-12 12:37:03] Production.INFO: Account Balance Start.
[2025-01-12 12:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:37:03] Production.INFO: 117
[2025-01-12 12:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231642') end
[2025-01-12 12:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:37:03] Production.INFO: 1
[2025-01-12 12:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:37:03] Production.INFO: ==10520== Releasing lock...
[2025-01-12 12:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:37:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:37:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:37:03] Production.INFO: Total Charge 0
[2025-01-12 12:37:03] Production.ERROR: done
[2025-01-12 12:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:37:04] Production.INFO: CreateAllLog End
[2025-01-12 12:37:04] Production.ERROR: done
[2025-01-12 12:37:04] Production.INFO: Account Balance End.
[2025-01-12 12:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:37:04] Production.INFO: ==10516== Releasing lock...
[2025-01-12 12:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:37:05
[end_date_ymd] => 2025-01-12 12:37:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:37:05' and `end` < '2025-01-12 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-01-12 12:37:12] Production.ERROR: CronJobId end10
[2025-01-12 12:37:12] Production.INFO: ==10514== Releasing lock...
[2025-01-12 12:37:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:37:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:37:14] Production.INFO: call_cost start
[2025-01-12 12:37:14] Production.INFO: call_cost end
[2025-01-12 12:37:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:37:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:37:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:37:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:37:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:37:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:37:15] Production.INFO: ==10510== Releasing lock...
[2025-01-12 12:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:37:18] Production.INFO: count ==975
[2025-01-12 12:37:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:37:05 - End Time 2025-01-12 12:37:05
[2025-01-12 12:37:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231645', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231645', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231645', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:37:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231645', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:37:18] Production.INFO: ProcessCDR(1,14231645,1,1,2)
[2025-01-12 12:37:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:37:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:37:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:37:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231645', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:37:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231645', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:37:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:37:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:37:21] Production.INFO: ==10518== Releasing lock...
[2025-01-12 12:37:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:37:21] Production.INFO: 35.75 MB #Memory Used#
[2025-01-12 17:38:02] Production.INFO: ==10574== Lock acquired, processing the job...
[2025-01-12 17:38:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:38:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:38:02] Production.INFO: neon service started
[2025-01-12 17:38:02] Production.INFO: neon service started
[2025-01-12 17:38:02] Production.INFO: ==10574== Releasing lock...
[2025-01-12 17:38:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:38:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:38:02] Production.INFO: ==10578== Lock acquired, processing the job...
[2025-01-12 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:38:02] Production.INFO: ==10576== Lock acquired, processing the job...
[2025-01-12 12:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:38:02] Production.INFO: ==10578== Releasing lock...
[2025-01-12 17:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:38:03] Production.INFO: ==10576== Releasing lock...
[2025-01-12 12:38:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:38:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:38:03] Production.INFO: ==10583== Lock acquired, processing the job...
[2025-01-12 12:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:38:04] Production.INFO: ==10589== Lock acquired, processing the job...
[2025-01-12 12:38:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:38:04] Production.INFO: ==10581== Lock acquired, processing the job...
[2025-01-12 12:38:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:38:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:38:04] Production.INFO: ==10585== Lock acquired, processing the job...
[2025-01-12 12:38:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:38:04] Production.INFO: ==10583== Releasing lock...
[2025-01-12 12:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:38:04] Production.INFO: ==10587== Lock acquired, processing the job...
[2025-01-12 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:38:04] Production.INFO: ==10591== Lock acquired, processing the job...
[2025-01-12 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:38:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:38:04] Production.INFO: Account Balance Start.
[2025-01-12 12:38:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:38:04] Production.INFO: 117
[2025-01-12 12:38:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:38:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:38:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:38:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:38:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:38:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:38:04] Production.INFO: count ==21
[2025-01-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:38:04] Production.INFO: count ==21
[2025-01-12 12:38:04] Production.ERROR: done
[2025-01-12 12:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231649') start
[2025-01-12 12:38:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231649') end
[2025-01-12 12:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:38:04] Production.INFO: 1
[2025-01-12 12:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:38:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:38:04] Production.ERROR: done
[2025-01-12 12:38:04] Production.INFO: ==10591== Releasing lock...
[2025-01-12 12:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:38:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:38:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:38:04] Production.INFO: Total Charge 0
[2025-01-12 12:38:04] Production.INFO: CreateAllLog End
[2025-01-12 12:38:04] Production.INFO: Account Balance End.
[2025-01-12 12:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:38:04] Production.INFO: ==10587== Releasing lock...
[2025-01-12 12:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:38:05
[end_date_ymd] => 2025-01-12 12:38:05
[RateCDR] => 1
)
[2025-01-12 12:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:38:05' and `end` < '2025-01-12 12:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:38:11] Production.ERROR: CronJobId end10
[2025-01-12 12:38:11] Production.INFO: ==10585== Releasing lock...
[2025-01-12 12:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:38:14] Production.INFO: call_cost start
[2025-01-12 12:38:14] Production.INFO: call_cost end
[2025-01-12 12:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:38:14] Production.INFO: ==10581== Releasing lock...
[2025-01-12 12:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:38:18] Production.INFO: count ==976
[2025-01-12 12:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:38:05 - End Time 2025-01-12 12:38:05
[2025-01-12 12:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231650', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231650', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231650', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231650', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:38:19] Production.INFO: ProcessCDR(1,14231650,1,1,2)
[2025-01-12 12:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231650', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231650', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:38:22] Production.INFO: ==10589== Releasing lock...
[2025-01-12 12:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:38:22] Production.INFO: 35.5 MB #Memory Used#
[2025-01-12 17:39:01] Production.INFO: ==10645== Lock acquired, processing the job...
[2025-01-12 17:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:39:01] Production.INFO: neon service started
[2025-01-12 17:39:01] Production.INFO: neon service started
[2025-01-12 17:39:01] Production.INFO: ==10645== Releasing lock...
[2025-01-12 17:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:39:01] Production.INFO: ==10649== Lock acquired, processing the job...
[2025-01-12 17:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:39:01] Production.INFO: ==10649== Releasing lock...
[2025-01-12 17:39:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:39:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:39:02] Production.INFO: ==10647== Lock acquired, processing the job...
[2025-01-12 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:39:02] Production.INFO: ==10647== Releasing lock...
[2025-01-12 12:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:39:03] Production.INFO: ==10656== Lock acquired, processing the job...
[2025-01-12 12:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:39:03] Production.INFO: ==10658== Lock acquired, processing the job...
[2025-01-12 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:39:03] Production.INFO: Account Balance Start.
[2025-01-12 12:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:39:03] Production.INFO: 117
[2025-01-12 12:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:39:03] Production.INFO: ==10660== Lock acquired, processing the job...
[2025-01-12 12:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:39:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:39:03] Production.INFO: ==10654== Lock acquired, processing the job...
[2025-01-12 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:39:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:39:03] Production.INFO: ==10652== Lock acquired, processing the job...
[2025-01-12 12:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:39:03] Production.INFO: Total Charge 0
[2025-01-12 12:39:03] Production.INFO: CreateAllLog End
[2025-01-12 12:39:03] Production.ERROR: done
[2025-01-12 12:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:39:03] Production.INFO: ==10662== Lock acquired, processing the job...
[2025-01-12 12:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:39:03] Production.ERROR: done
[2025-01-12 12:39:03] Production.INFO: Account Balance End.
[2025-01-12 12: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-01-12 12:39:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:39:03] Production.INFO: ==10658== Releasing lock...
[2025-01-12 12:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:39:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:39:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:39:03] Production.INFO: count ==21
[2025-01-12 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231654') start
[2025-01-12 12:39:03] Production.INFO: ==10654== Releasing lock...
[2025-01-12 12:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231654') end
[2025-01-12 12:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:39:03] Production.INFO: 1
[2025-01-12 12:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:39:04] Production.INFO: ==10662== Releasing lock...
[2025-01-12 12:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:39:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:39:04
[end_date_ymd] => 2025-01-12 12:39:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:39:04' and `end` < '2025-01-12 12: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-01-12 12:39:09] Production.ERROR: CronJobId end10
[2025-01-12 12:39:09] Production.INFO: ==10656== Releasing lock...
[2025-01-12 12:39:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:39:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:39:12] Production.INFO: call_cost start
[2025-01-12 12:39:12] Production.INFO: call_cost end
[2025-01-12 12:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:39:13] Production.INFO: ==10652== Releasing lock...
[2025-01-12 12:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:39:17] Production.INFO: count ==979
[2025-01-12 12:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:39:04 - End Time 2025-01-12 12:39:04
[2025-01-12 12:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231655', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231655', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231655', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231655', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:39:18] Production.INFO: ProcessCDR(1,14231655,1,1,2)
[2025-01-12 12:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:39:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231655', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:39:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231655', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:39:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:39:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:39:21] Production.INFO: ==10660== Releasing lock...
[2025-01-12 12:39:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:39:21] Production.INFO: 36 MB #Memory Used#
[2025-01-12 17:40:02] Production.INFO: ==10717== Lock acquired, processing the job...
[2025-01-12 17:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:40:02] Production.INFO: neon service started
[2025-01-12 17:40:02] Production.INFO: neon service started
[2025-01-12 17:40:02] Production.INFO: ==10717== Releasing lock...
[2025-01-12 17:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:40:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 12:40:02] Production.INFO: ==10720== Lock acquired, processing the job...
[2025-01-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:40:02] Production.INFO: ==10720== Releasing lock...
[2025-01-12 12:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:40:02] Production.INFO: ==10722== Lock acquired, processing the job...
[2025-01-12 17:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:40:03] Production.INFO: ==10722== Releasing lock...
[2025-01-12 17:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:40:03] Production.INFO: ==10726== Lock acquired, processing the job...
[2025-01-12 12:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:40:03] Production.INFO: ==10724== Lock acquired, processing the job...
[2025-01-12 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 12:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 12:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:40:03] Production.ERROR: CronJob PID - 10726
[2025-01-12 12:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 12:40:03] Production.ERROR: CronJob ID - 5
[2025-01-12 12:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 12:40:00
[2025-01-12 12:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 12:40:03] Production.INFO: ==10724== Releasing lock...
[2025-01-12 12:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 12:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 12:40:03] Production.INFO: ==10730== Lock acquired, processing the job...
[2025-01-12 12:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:40:04] Production.INFO: ==10728== Lock acquired, processing the job...
[2025-01-12 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:40:04] Production.INFO: ==10732== Lock acquired, processing the job...
[2025-01-12 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:40:04] Production.INFO: ==10736== Lock acquired, processing the job...
[2025-01-12 12:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 12:40:04] Production.INFO: ==10734== Lock acquired, processing the job...
[2025-01-12 12:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:40:04] Production.INFO: ==10738== Lock acquired, processing the job...
[2025-01-12 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:40:04] Production.INFO: Account Balance Start.
[2025-01-12 12:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:40:04] Production.INFO: 117
[2025-01-12 12:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:40:04] Production.INFO: count ==21
[2025-01-12 12:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:40:04] Production.INFO: count ==21
[2025-01-12 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231659') start
[2025-01-12 12:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:40:04] Production.INFO: ==10728== Releasing lock...
[2025-01-12 12:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231659') end
[2025-01-12 12:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:40:04] Production.INFO: 1
[2025-01-12 12:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:40:04] Production.INFO: Total Charge 0
[2025-01-12 12:40:04] Production.INFO: CreateAllLog End
[2025-01-12 12:40:04] Production.INFO: ==10738== Releasing lock...
[2025-01-12 12:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:40:04] Production.ERROR: done
[2025-01-12 12:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:40:04] Production.ERROR: done
[2025-01-12 12:40:04] Production.INFO: Account Balance End.
[2025-01-12 12:40:04] Production.ERROR: done
[2025-01-12 12:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 12:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231660', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 12:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:40:04] Production.INFO: ==10732== Releasing lock...
[2025-01-12 12:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:40:06
[end_date_ymd] => 2025-01-12 12:40:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:40:06' and `end` < '2025-01-12 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-01-12 12:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231660', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 12:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 12:40:08] Production.INFO: ProcessCDR(1,14231660,1,1,2)
[2025-01-12 12:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231660,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231660,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:40:09] Production.INFO: ==10736== Releasing lock...
[2025-01-12 12:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 12:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 12:40:12] Production.ERROR: CronJobId end10
[2025-01-12 12:40:12] Production.INFO: ==10730== Releasing lock...
[2025-01-12 12:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:40:15] Production.INFO: call_cost start
[2025-01-12 12:40:15] Production.INFO: call_cost end
[2025-01-12 12:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:40:15] Production.INFO: ==10726== Releasing lock...
[2025-01-12 12:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:40:19] Production.INFO: count ==983
[2025-01-12 12:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:40:06 - End Time 2025-01-12 12:40:06
[2025-01-12 12:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231661', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231661', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231661', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231661', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:40:19] Production.INFO: ProcessCDR(1,14231661,1,1,2)
[2025-01-12 12:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231661,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231661,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231661', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231661', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:40:22] Production.INFO: ==10734== Releasing lock...
[2025-01-12 12:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:40:22] Production.INFO: 35.75 MB #Memory Used#
[2025-01-12 17:41:01] Production.INFO: ==10794== Lock acquired, processing the job...
[2025-01-12 17:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:41:01] Production.INFO: neon service started
[2025-01-12 17:41:01] Production.INFO: neon service started
[2025-01-12 17:41:01] Production.INFO: ==10794== Releasing lock...
[2025-01-12 17:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:41:02] Production.INFO: ==10798== Lock acquired, processing the job...
[2025-01-12 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:41:02] Production.INFO: ==10798== Releasing lock...
[2025-01-12 17:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:41:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:41:02] Production.INFO: ==10796== Lock acquired, processing the job...
[2025-01-12 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:41:02] Production.INFO: ==10796== Releasing lock...
[2025-01-12 12:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:41:03] Production.INFO: ==10801== Lock acquired, processing the job...
[2025-01-12 12:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:41:03] Production.INFO: ==10805== Lock acquired, processing the job...
[2025-01-12 12:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:41:03] Production.INFO: ==10803== Lock acquired, processing the job...
[2025-01-12 12:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:41:03] Production.INFO: ==10809== Lock acquired, processing the job...
[2025-01-12 12:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:41:03] Production.INFO: ==10807== Lock acquired, processing the job...
[2025-01-12 12:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:41:03] Production.INFO: ==10811== Lock acquired, processing the job...
[2025-01-12 12:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:41:03] Production.INFO: Account Balance Start.
[2025-01-12 12:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:41:03] Production.INFO: 117
[2025-01-12 12:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:41:04] Production.INFO: ==10803== Releasing lock...
[2025-01-12 12:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:41:04] Production.ERROR: done
[2025-01-12 12:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:41:04] Production.INFO: Total Charge 0
[2025-01-12 12: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-01-12 12:41:04] Production.INFO: CreateAllLog End
[2025-01-12 12:41:04] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:41:04] Production.ERROR: done
[2025-01-12 12:41:04] Production.INFO: count ==21
[2025-01-12 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231665') start
[2025-01-12 12:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231665') end
[2025-01-12 12:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:41:04] Production.INFO: 1
[2025-01-12 12:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:41:04] Production.INFO: Account Balance End.
[2025-01-12 12:41:04] Production.INFO: ==10811== Releasing lock...
[2025-01-12 12:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:41:04] Production.INFO: ==10807== Releasing lock...
[2025-01-12 12:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:41:05
[end_date_ymd] => 2025-01-12 12:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:41:05' and `end` < '2025-01-12 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-01-12 12:41: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-01-12 12:41:10] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:41:10] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:41:10] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:41:10] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:41:10] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:41:10] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:41:10] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:41:10] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:41:10] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:41:10] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:41:10] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:41:10] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:41:10] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:41:10] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:41:11] Production.INFO: call_cost start
[2025-01-12 12:41:11] Production.INFO: call_cost end
[2025-01-12 12:41:11] Production.ERROR: CronJobId end10
[2025-01-12 12:41:11] Production.INFO: ==10805== Releasing lock...
[2025-01-12 12:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:41:11] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:41:11] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:41:11] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:41:11] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:41:11] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:41:11] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:41:11] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:41:11] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:41:11] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:41:11] Production.INFO: ==10801== Releasing lock...
[2025-01-12 12:41:11] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:41:11] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:41:18] Production.INFO: count ==1016
[2025-01-12 12:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:41:05 - End Time 2025-01-12 12:41:05
[2025-01-12 12:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231666', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231666', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231666', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231666', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:41:18] Production.INFO: ProcessCDR(1,14231666,1,1,2)
[2025-01-12 12:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231666,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231666,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231666', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231666', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:41:21] Production.INFO: ==10809== Releasing lock...
[2025-01-12 12:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:41:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 17:42:02] Production.INFO: ==10864== Lock acquired, processing the job...
[2025-01-12 17:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:42:02] Production.INFO: neon service started
[2025-01-12 17:42:02] Production.INFO: neon service started
[2025-01-12 17:42:02] Production.INFO: ==10864== Releasing lock...
[2025-01-12 17:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:42:02] Production.INFO: ==10868== Lock acquired, processing the job...
[2025-01-12 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:42:02] Production.INFO: ==10868== Releasing lock...
[2025-01-12 17:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:42:02] Production.INFO: ==10866== Lock acquired, processing the job...
[2025-01-12 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:42:02] Production.INFO: ==10866== Releasing lock...
[2025-01-12 12:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:42:03] Production.INFO: ==10871== Lock acquired, processing the job...
[2025-01-12 12:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:42:03] Production.INFO: ==10873== Lock acquired, processing the job...
[2025-01-12 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:42:03] Production.INFO: ==10879== Lock acquired, processing the job...
[2025-01-12 12:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:42:03] Production.INFO: ==10873== Releasing lock...
[2025-01-12 12:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:42:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:42:03] Production.INFO: ==10875== Lock acquired, processing the job...
[2025-01-12 12:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:42:04] Production.INFO: ==10877== Lock acquired, processing the job...
[2025-01-12 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:42:04] Production.INFO: ==10881== Lock acquired, processing the job...
[2025-01-12 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:42:04] Production.INFO: Account Balance Start.
[2025-01-12 12:42:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:42:04] Production.INFO: 117
[2025-01-12 12:42:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:42:04] Production.INFO: count ==21
[2025-01-12 12:42:04] Production.ERROR: done
[2025-01-12 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-01-12 12:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:42:04] Production.INFO: count ==21
[2025-01-12 12:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231670') start
[2025-01-12 12:42:04] Production.INFO: Total Charge 0
[2025-01-12 12:42:04] Production.INFO: CreateAllLog End
[2025-01-12 12:42:04] Production.ERROR: done
[2025-01-12 12:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231670') end
[2025-01-12 12:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:42:04] Production.INFO: 1
[2025-01-12 12:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:42:04] Production.INFO: ==10881== Releasing lock...
[2025-01-12 12:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:42:04] Production.INFO: Account Balance End.
[2025-01-12 12:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:42:04] Production.INFO: ==10877== Releasing lock...
[2025-01-12 12:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:42:05
[end_date_ymd] => 2025-01-12 12:42:05
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:42:05' and `end` < '2025-01-12 12: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-01-12 12:42:11] Production.ERROR: CronJobId end10
[2025-01-12 12:42:11] Production.INFO: ==10875== Releasing lock...
[2025-01-12 12:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:42:13] Production.INFO: call_cost start
[2025-01-12 12:42:13] Production.INFO: call_cost end
[2025-01-12 12:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:42:14] Production.INFO: ==10871== Releasing lock...
[2025-01-12 12:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:42:20] Production.INFO: count ==1017
[2025-01-12 12:42:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:42:05 - End Time 2025-01-12 12:42:05
[2025-01-12 12:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231671', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231671', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231671', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231671', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:42:20] Production.INFO: ProcessCDR(1,14231671,1,1,2)
[2025-01-12 12:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231671,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231671,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231671', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231671', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:42:23] Production.INFO: ==10879== Releasing lock...
[2025-01-12 12:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:42:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 17:43:01] Production.INFO: ==10973== Lock acquired, processing the job...
[2025-01-12 17:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:43:01] Production.INFO: neon service started
[2025-01-12 17:43:01] Production.INFO: neon service started
[2025-01-12 17:43:01] Production.INFO: ==10973== Releasing lock...
[2025-01-12 17:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:43:01] Production.INFO: ==10977== Lock acquired, processing the job...
[2025-01-12 17:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:43:01] Production.INFO: ==10977== Releasing lock...
[2025-01-12 17:43:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:43:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:43:02] Production.INFO: ==10975== Lock acquired, processing the job...
[2025-01-12 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:43:02] Production.INFO: ==10975== Releasing lock...
[2025-01-12 12:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:43:03] Production.INFO: ==10982== Lock acquired, processing the job...
[2025-01-12 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:43:03] Production.INFO: ==10988== Lock acquired, processing the job...
[2025-01-12 12:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:43:03] Production.INFO: ==10980== Lock acquired, processing the job...
[2025-01-12 12:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:43:03] Production.INFO: ==10984== Lock acquired, processing the job...
[2025-01-12 12:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:43:03] Production.INFO: ==10986== Lock acquired, processing the job...
[2025-01-12 12:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:43:03] Production.INFO: ==10990== Lock acquired, processing the job...
[2025-01-12 12:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:43:03] Production.INFO: Account Balance Start.
[2025-01-12 12:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:43:03] Production.INFO: 117
[2025-01-12 12:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:43:03] Production.ERROR: done
[2025-01-12 12:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:43:03] Production.ERROR: done
[2025-01-12 12:43:03] Production.INFO: ==10982== Releasing lock...
[2025-01-12 12:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:43:03] Production.INFO: count ==21
[2025-01-12 12: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-01-12 12:43:03] Production.INFO: count ==21
[2025-01-12 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231675') start
[2025-01-12 12:43:03] Production.INFO: Total Charge 0
[2025-01-12 12:43:03] Production.INFO: CreateAllLog End
[2025-01-12 12:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231675') end
[2025-01-12 12:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:43:03] Production.INFO: 1
[2025-01-12 12:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:43:03] Production.INFO: Account Balance End.
[2025-01-12 12:43:04] Production.INFO: ==10990== Releasing lock...
[2025-01-12 12:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:43:04] Production.INFO: ==10986== Releasing lock...
[2025-01-12 12:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:43:04
[end_date_ymd] => 2025-01-12 12:43:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:43:04' and `end` < '2025-01-12 12: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-01-12 12:43:10] Production.ERROR: CronJobId end10
[2025-01-12 12:43:10] Production.INFO: ==10984== Releasing lock...
[2025-01-12 12:43:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:43:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:43:13] Production.INFO: call_cost start
[2025-01-12 12:43:13] Production.INFO: call_cost end
[2025-01-12 12:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:43:14] Production.INFO: ==10980== Releasing lock...
[2025-01-12 12:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:43:18] Production.INFO: count ==1018
[2025-01-12 12:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:43:04 - End Time 2025-01-12 12:43:04
[2025-01-12 12:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231676', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231676', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231676', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231676', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:43:18] Production.INFO: ProcessCDR(1,14231676,1,1,2)
[2025-01-12 12:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:43:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231676,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:43:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:43:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231676,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231676', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:43:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231676', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:43:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:43:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:43:23] Production.INFO: ==10988== Releasing lock...
[2025-01-12 12:43:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:43:23] Production.INFO: 36 MB #Memory Used#
[2025-01-12 17:44:02] Production.INFO: ==11045== Lock acquired, processing the job...
[2025-01-12 17:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:44:02] Production.INFO: neon service started
[2025-01-12 17:44:02] Production.INFO: neon service started
[2025-01-12 17:44:02] Production.INFO: ==11045== Releasing lock...
[2025-01-12 17:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:44:02] Production.INFO: ==11047== Lock acquired, processing the job...
[2025-01-12 12:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:44:02] Production.INFO: ==11049== Lock acquired, processing the job...
[2025-01-12 17:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 12:44:03] Production.INFO: ==11047== Releasing lock...
[2025-01-12 12:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:44:03] Production.INFO: ==11049== Releasing lock...
[2025-01-12 17:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:44:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:44:04] Production.INFO: ==11056== Lock acquired, processing the job...
[2025-01-12 12:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:44:04] Production.INFO: ==11060== Lock acquired, processing the job...
[2025-01-12 12:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:44:04] Production.INFO: ==11052== Lock acquired, processing the job...
[2025-01-12 12:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:44:04] Production.INFO: ==11054== Lock acquired, processing the job...
[2025-01-12 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:44:04] Production.INFO: ==11058== Lock acquired, processing the job...
[2025-01-12 12:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:44:04] Production.INFO: ==11062== Lock acquired, processing the job...
[2025-01-12 12:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:44:04] Production.ERROR: done
[2025-01-12 12:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:44:04] Production.INFO: Account Balance Start.
[2025-01-12 12:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:44:04] Production.INFO: 117
[2025-01-12 12:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:44:04] Production.ERROR: done
[2025-01-12 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-01-12 12:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:44:04] Production.INFO: count ==21
[2025-01-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:44:04] Production.INFO: count ==21
[2025-01-12 12:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231680') start
[2025-01-12 12:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:44:04] Production.INFO: ==11054== Releasing lock...
[2025-01-12 12:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:44:05] Production.ERROR: PBX CALL prc_importPBXExtension('14231680') end
[2025-01-12 12:44:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:44:05] Production.INFO: 1
[2025-01-12 12:44:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:44:05] Production.INFO: Total Charge 0
[2025-01-12 12:44:05] Production.INFO: ==11062== Releasing lock...
[2025-01-12 12:44:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:44:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:44:05] Production.INFO: CreateAllLog End
[2025-01-12 12:44:05] Production.INFO: Account Balance End.
[2025-01-12 12:44:05] Production.ERROR: CronJobId end 12
[2025-01-12 12:44:05] Production.INFO: ==11058== Releasing lock...
[2025-01-12 12:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:44:06
[end_date_ymd] => 2025-01-12 12:44:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:44:06' and `end` < '2025-01-12 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-01-12 12:44:12] Production.ERROR: CronJobId end10
[2025-01-12 12:44:12] Production.INFO: ==11056== Releasing lock...
[2025-01-12 12:44:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:44:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:44:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:44:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:44:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:44:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:44:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:44:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:44:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:44:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:44:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:44:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:44:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:44:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:44:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:44:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:44:14] Production.INFO: call_cost start
[2025-01-12 12:44:14] Production.INFO: call_cost end
[2025-01-12 12:44:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:44:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:44:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:44:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:44:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:44:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:44:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:44:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:44:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:44:15] Production.INFO: ==11052== Releasing lock...
[2025-01-12 12:44:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:44:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:44:19] Production.INFO: count ==1018
[2025-01-12 12:44:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:44:06 - End Time 2025-01-12 12:44:06
[2025-01-12 12:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231681', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231681', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231681', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231681', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:44:19] Production.INFO: ProcessCDR(1,14231681,1,1,2)
[2025-01-12 12:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231681,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231681,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231681', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231681', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:44:22] Production.INFO: ==11060== Releasing lock...
[2025-01-12 12:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:44:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 17:45:01] Production.INFO: ==11117== Lock acquired, processing the job...
[2025-01-12 17:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:45:01] Production.INFO: neon service started
[2025-01-12 17:45:01] Production.INFO: neon service started
[2025-01-12 17:45:01] Production.INFO: ==11117== Releasing lock...
[2025-01-12 17:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:45:01] Production.INFO: ==11119== Lock acquired, processing the job...
[2025-01-12 12:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:45:02] Production.INFO: ==11119== Releasing lock...
[2025-01-12 12:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:45:02] Production.INFO: ==11121== Lock acquired, processing the job...
[2025-01-12 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:45:02] Production.INFO: ==11121== Releasing lock...
[2025-01-12 17:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:45:02] Production.INFO: ==11123== Lock acquired, processing the job...
[2025-01-12 12:45:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:45:02] Production.INFO: ==11125== Lock acquired, processing the job...
[2025-01-12 12:45:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:45:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:45:03] Production.INFO: ==11129== Lock acquired, processing the job...
[2025-01-12 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:45:03] Production.INFO: Account Balance Start.
[2025-01-12 12:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:45:03] Production.INFO: 117
[2025-01-12 12:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:45:03] Production.INFO: ==11125== Releasing lock...
[2025-01-12 12:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:45:03] Production.INFO: Total Charge 0
[2025-01-12 12:45:03] Production.INFO: CreateAllLog End
[2025-01-12 12:45:03] Production.INFO: Account Balance End.
[2025-01-12 12:45:03] Production.INFO: ==11127== Lock acquired, processing the job...
[2025-01-12 12:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:45:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:45:03] Production.INFO: ==11129== Releasing lock...
[2025-01-12 12:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:45:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:45:03] Production.INFO: ==11131== Lock acquired, processing the job...
[2025-01-12 12:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:45:03] Production.INFO: ==11133== Lock acquired, processing the job...
[2025-01-12 12:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 12:45:03] Production.INFO: count ==21
[2025-01-12 12:45:04] Production.ERROR: done
[2025-01-12 12:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:45:04] Production.INFO: count ==21
[2025-01-12 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231685') start
[2025-01-12 12:45:04] Production.ERROR: done
[2025-01-12 12:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231685') end
[2025-01-12 12:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:45:04] Production.INFO: 1
[2025-01-12 12:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:45:04] Production.INFO: ==11133== Releasing lock...
[2025-01-12 12:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:45:05
[end_date_ymd] => 2025-01-12 12:45:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:45:05' and `end` < '2025-01-12 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-01-12 12:45:11] Production.ERROR: CronJobId end10
[2025-01-12 12:45:11] Production.INFO: ==11127== Releasing lock...
[2025-01-12 12:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:45:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:45:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:45:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:45:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:45:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:45:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:45:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:45:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:45:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:45:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:45:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:45:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:45:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:45:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:45:13] Production.INFO: call_cost start
[2025-01-12 12:45:13] Production.INFO: call_cost end
[2025-01-12 12:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:45:14] Production.INFO: ==11123== Releasing lock...
[2025-01-12 12:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:45:18] Production.INFO: count ==1018
[2025-01-12 12:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:45:05 - End Time 2025-01-12 12:45:05
[2025-01-12 12:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231686', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231686', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231686', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231686', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:45:18] Production.INFO: ProcessCDR(1,14231686,1,1,2)
[2025-01-12 12:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231686', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231686', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:45:22] Production.INFO: ==11131== Releasing lock...
[2025-01-12 12:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:45:22] Production.INFO: 36 MB #Memory Used#
[2025-01-12 17:46:02] Production.INFO: ==11187== Lock acquired, processing the job...
[2025-01-12 17:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:46:02] Production.INFO: neon service started
[2025-01-12 17:46:02] Production.INFO: neon service started
[2025-01-12 17:46:02] Production.INFO: ==11187== Releasing lock...
[2025-01-12 17:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:46:02] Production.INFO: ==11189== Lock acquired, processing the job...
[2025-01-12 12:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:46:02] Production.INFO: ==11191== Lock acquired, processing the job...
[2025-01-12 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:46:02] Production.INFO: ==11191== Releasing lock...
[2025-01-12 17:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:46:03] Production.INFO: ==11189== Releasing lock...
[2025-01-12 12:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:46:03] Production.INFO: ==11194== Lock acquired, processing the job...
[2025-01-12 12:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:46:04] Production.INFO: ==11200== Lock acquired, processing the job...
[2025-01-12 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:46:04] Production.INFO: ==11196== Lock acquired, processing the job...
[2025-01-12 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:46:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:46:04] Production.INFO: ==11198== Lock acquired, processing the job...
[2025-01-12 12:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:46:04] Production.INFO: Account Balance Start.
[2025-01-12 12:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:46:04] Production.INFO: 117
[2025-01-12 12:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:46:04] Production.INFO: ==11202== Lock acquired, processing the job...
[2025-01-12 12:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:46:04] Production.INFO: ==11204== Lock acquired, processing the job...
[2025-01-12 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:46:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:46:04] Production.INFO: count ==21
[2025-01-12 12:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:46:04] Production.INFO: ==11196== Releasing lock...
[2025-01-12 12:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231690') start
[2025-01-12 12:46:04] Production.INFO: Total Charge 0
[2025-01-12 12:46:04] Production.INFO: CreateAllLog End
[2025-01-12 12:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231690') end
[2025-01-12 12:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:46:04] Production.INFO: 1
[2025-01-12 12:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:46:04] Production.ERROR: done
[2025-01-12 12:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:46:04] Production.INFO: ==11204== Releasing lock...
[2025-01-12 12:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:46:04] Production.ERROR: done
[2025-01-12 12:46:04] Production.INFO: Account Balance End.
[2025-01-12 12:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:46:04] Production.INFO: ==11200== Releasing lock...
[2025-01-12 12:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:46:05
[end_date_ymd] => 2025-01-12 12:46:05
[RateCDR] => 1
)
[2025-01-12 12:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:46:05' and `end` < '2025-01-12 12:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:46:13] Production.ERROR: CronJobId end10
[2025-01-12 12:46:13] Production.INFO: ==11198== Releasing lock...
[2025-01-12 12:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:46:15] Production.INFO: call_cost start
[2025-01-12 12:46:15] Production.INFO: call_cost end
[2025-01-12 12:46:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:46:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:46:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:46:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:46:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:46:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:46:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:46:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:46:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:46:16] Production.INFO: ==11194== Releasing lock...
[2025-01-12 12:46:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:46:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:46:20] Production.INFO: count ==1018
[2025-01-12 12:46:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:46:05 - End Time 2025-01-12 12:46:05
[2025-01-12 12:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231691', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231691', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231691', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231691', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:46:20] Production.INFO: ProcessCDR(1,14231691,1,1,2)
[2025-01-12 12:46:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231691', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231691', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:46:23] Production.INFO: ==11202== Releasing lock...
[2025-01-12 12:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:46:23] Production.INFO: 36 MB #Memory Used#
[2025-01-12 17:47:01] Production.INFO: ==11257== Lock acquired, processing the job...
[2025-01-12 17:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:47:01] Production.INFO: neon service started
[2025-01-12 17:47:01] Production.INFO: neon service started
[2025-01-12 17:47:01] Production.INFO: ==11257== Releasing lock...
[2025-01-12 17:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:47:02] Production.INFO: ==11259== Lock acquired, processing the job...
[2025-01-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:47:02] Production.INFO: ==11261== Lock acquired, processing the job...
[2025-01-12 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:47:02] Production.INFO: ==11261== Releasing lock...
[2025-01-12 17:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:47:02] Production.INFO: ==11259== Releasing lock...
[2025-01-12 12:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:47:03] Production.INFO: ==11264== Lock acquired, processing the job...
[2025-01-12 12:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:47:03] Production.INFO: ==11274== Lock acquired, processing the job...
[2025-01-12 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 12:47:03] Production.INFO: ==11266== Lock acquired, processing the job...
[2025-01-12 12:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:47:03] Production.INFO: count ==21
[2025-01-12 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-01-12 12:47:03] Production.INFO: count ==21
[2025-01-12 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231692') start
[2025-01-12 12:47:03] Production.INFO: ==11268== Lock acquired, processing the job...
[2025-01-12 12:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:47:03] Production.INFO: ==11270== Lock acquired, processing the job...
[2025-01-12 12:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:47:03] Production.INFO: ==11272== Lock acquired, processing the job...
[2025-01-12 12:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231692') end
[2025-01-12 12:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:47:03] Production.INFO: 1
[2025-01-12 12:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:47:03] Production.INFO: ==11274== Releasing lock...
[2025-01-12 12:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:47:03] Production.INFO: Account Balance Start.
[2025-01-12 12:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:47:03] Production.INFO: 117
[2025-01-12 12:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:47:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:47:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:47:04] Production.INFO: ==11266== Releasing lock...
[2025-01-12 12:47:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:47:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:47:04] Production.INFO: Total Charge 0
[2025-01-12 12:47:04] Production.INFO: CreateAllLog End
[2025-01-12 12:47:04] Production.ERROR: done
[2025-01-12 12:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:47:04] Production.ERROR: done
[2025-01-12 12:47:04] Production.INFO: Account Balance End.
[2025-01-12 12:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:47:04] Production.INFO: ==11270== Releasing lock...
[2025-01-12 12:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:47:05
[end_date_ymd] => 2025-01-12 12:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:47:05' and `end` < '2025-01-12 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-01-12 12:47:11] Production.ERROR: CronJobId end10
[2025-01-12 12:47:11] Production.INFO: ==11268== Releasing lock...
[2025-01-12 12:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:47:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:47:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:47:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:47:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:47:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:47:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:47:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:47:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:47:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:47:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:47:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:47:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:47:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:47:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:47:13] Production.INFO: call_cost start
[2025-01-12 12:47:13] Production.INFO: call_cost end
[2025-01-12 12:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:47:13] Production.INFO: ==11264== Releasing lock...
[2025-01-12 12:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:47:18] Production.INFO: count ==1030
[2025-01-12 12:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:47:05 - End Time 2025-01-12 12:47:05
[2025-01-12 12:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231696', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231696', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231696', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231696', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:47:18] Production.INFO: ProcessCDR(1,14231696,1,1,2)
[2025-01-12 12:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231696', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231696', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:47:21] Production.INFO: ==11272== Releasing lock...
[2025-01-12 12:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:47:21] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 17:48:01] Production.INFO: ==11327== Lock acquired, processing the job...
[2025-01-12 17:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:48:01] Production.INFO: neon service started
[2025-01-12 17:48:02] Production.INFO: neon service started
[2025-01-12 17:48:02] Production.INFO: ==11327== Releasing lock...
[2025-01-12 17:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:48:02] Production.INFO: ==11329== Lock acquired, processing the job...
[2025-01-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:48:02] Production.INFO: ==11329== Releasing lock...
[2025-01-12 12:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:48:02] Production.INFO: ==11331== Lock acquired, processing the job...
[2025-01-12 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:48:02] Production.INFO: ==11331== Releasing lock...
[2025-01-12 17:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:48:03] Production.INFO: ==11333== Lock acquired, processing the job...
[2025-01-12 12:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:48:03] Production.INFO: ==11335== Lock acquired, processing the job...
[2025-01-12 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:48:03] Production.INFO: ==11337== Lock acquired, processing the job...
[2025-01-12 12:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:48:03] Production.INFO: ==11339== Lock acquired, processing the job...
[2025-01-12 12:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:48:03] Production.INFO: Account Balance Start.
[2025-01-12 12:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:48:03] Production.INFO: 117
[2025-01-12 12:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:48:03] Production.INFO: ==11341== Lock acquired, processing the job...
[2025-01-12 12:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:48:03] Production.INFO: ==11343== Lock acquired, processing the job...
[2025-01-12 12:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 12: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-01-12 12:48:03] Production.INFO: count ==21
[2025-01-12 12:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 12: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-01-12 12:48:03] Production.INFO: count ==21
[2025-01-12 12:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231700') start
[2025-01-12 12:48:03] Production.INFO: ==11335== Releasing lock...
[2025-01-12 12:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:48:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:48:04] Production.INFO: Total Charge 0
[2025-01-12 12:48:04] Production.INFO: CreateAllLog End
[2025-01-12 12:48:04] Production.ERROR: done
[2025-01-12 12:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231700') end
[2025-01-12 12:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:48:04] Production.INFO: 1
[2025-01-12 12:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:48:04] Production.INFO: ==11343== Releasing lock...
[2025-01-12 12:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:48:04] Production.ERROR: done
[2025-01-12 12:48:04] Production.INFO: Account Balance End.
[2025-01-12 12:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:48:04] Production.INFO: ==11339== Releasing lock...
[2025-01-12 12:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:48:05
[end_date_ymd] => 2025-01-12 12:48:05
[RateCDR] => 1
)
[2025-01-12 12:48:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:48:05' and `end` < '2025-01-12 12:48:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:48:11] Production.ERROR: CronJobId end10
[2025-01-12 12:48:11] Production.INFO: ==11337== Releasing lock...
[2025-01-12 12:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:48:13] Production.INFO: call_cost start
[2025-01-12 12:48:13] Production.INFO: call_cost end
[2025-01-12 12:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:48:14] Production.INFO: ==11333== Releasing lock...
[2025-01-12 12:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:48:19] Production.INFO: count ==1037
[2025-01-12 12:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:48:05 - End Time 2025-01-12 12:48:05
[2025-01-12 12:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231701', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231701', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231701', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231701', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:48:19] Production.INFO: ProcessCDR(1,14231701,1,1,2)
[2025-01-12 12:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:48:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:48:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231701', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231701', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:48:24] Production.INFO: ==11341== Releasing lock...
[2025-01-12 12:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:48:24] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 17:49:01] Production.INFO: ==11398== Lock acquired, processing the job...
[2025-01-12 17:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:49:01] Production.INFO: neon service started
[2025-01-12 17:49:01] Production.INFO: neon service started
[2025-01-12 17:49:01] Production.INFO: ==11398== Releasing lock...
[2025-01-12 17:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:49:01] Production.INFO: ==11400== Lock acquired, processing the job...
[2025-01-12 12:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:49:02] Production.INFO: ==11400== Releasing lock...
[2025-01-12 12:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:49:02] Production.INFO: ==11402== Lock acquired, processing the job...
[2025-01-12 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:49:02] Production.INFO: ==11402== Releasing lock...
[2025-01-12 17:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:49:02] Production.INFO: ==11406== Lock acquired, processing the job...
[2025-01-12 12:49:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:49:03] Production.INFO: ==11404== Lock acquired, processing the job...
[2025-01-12 12:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:49:03] Production.INFO: ==11414== Lock acquired, processing the job...
[2025-01-12 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:49:03] Production.INFO: ==11408== Lock acquired, processing the job...
[2025-01-12 12:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:49:03] Production.INFO: ==11410== Lock acquired, processing the job...
[2025-01-12 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:49:03] Production.INFO: ==11412== Lock acquired, processing the job...
[2025-01-12 12:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:49:03] Production.INFO: Account Balance Start.
[2025-01-12 12:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:49:03] Production.INFO: 117
[2025-01-12 12:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:49:03] Production.INFO: count ==21
[2025-01-12 12:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 12:49:03] Production.INFO: count ==21
[2025-01-12 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231704') start
[2025-01-12 12:49:03] Production.INFO: ==11406== Releasing lock...
[2025-01-12 12:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231704') end
[2025-01-12 12:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:49:03] Production.INFO: 1
[2025-01-12 12:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:49:03] Production.INFO: ==11414== Releasing lock...
[2025-01-12 12:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:49:03] Production.INFO: Total Charge 0
[2025-01-12 12:49:03] Production.ERROR: done
[2025-01-12 12:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:49:03] Production.INFO: CreateAllLog End
[2025-01-12 12:49:03] Production.INFO: Account Balance End.
[2025-01-12 12:49:03] Production.ERROR: done
[2025-01-12 12:49:03] Production.ERROR: CronJobId end 12
[2025-01-12 12:49:03] Production.INFO: ==11410== Releasing lock...
[2025-01-12 12:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:49:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:49:04
[end_date_ymd] => 2025-01-12 12:49:04
[RateCDR] => 1
)
[2025-01-12 12: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-01-12 09:49:04' and `end` < '2025-01-12 12: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-01-12 12:49:11] Production.ERROR: CronJobId end10
[2025-01-12 12:49:11] Production.INFO: ==11408== Releasing lock...
[2025-01-12 12:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:49:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:49:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:49:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:49:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:49:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:49:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:49:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:49:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:49:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:49:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:49:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:49:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:49:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:49:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:49:13] Production.INFO: call_cost start
[2025-01-12 12:49:13] Production.INFO: call_cost end
[2025-01-12 12:49:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:49:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:49:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:49:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:49:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:49:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:49:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:49:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:49:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:49:13] Production.INFO: ==11404== Releasing lock...
[2025-01-12 12:49:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:49:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:49:18] Production.INFO: count ==1041
[2025-01-12 12:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:49:04 - End Time 2025-01-12 12:49:04
[2025-01-12 12:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231706', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231706', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231706', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231706', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:49:18] Production.INFO: ProcessCDR(1,14231706,1,1,2)
[2025-01-12 12:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231706', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231706', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:49:21] Production.INFO: ==11412== Releasing lock...
[2025-01-12 12:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:49:21] Production.INFO: 36 MB #Memory Used#
[2025-01-12 17:50:01] Production.INFO: ==11469== Lock acquired, processing the job...
[2025-01-12 17:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:50:01] Production.INFO: neon service started
[2025-01-12 17:50:01] Production.INFO: neon service started
[2025-01-12 17:50:01] Production.INFO: ==11469== Releasing lock...
[2025-01-12 17:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:50:02] Production.INFO: ==11473== Lock acquired, processing the job...
[2025-01-12 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:50:02] Production.INFO: ==11473== Releasing lock...
[2025-01-12 17:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:50:02] Production.INFO: ==11471== Lock acquired, processing the job...
[2025-01-12 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:50:02] Production.INFO: ==11471== Releasing lock...
[2025-01-12 12:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:50:03] Production.INFO: ==11478== Lock acquired, processing the job...
[2025-01-12 12:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:50:03] Production.INFO: ==11480== Lock acquired, processing the job...
[2025-01-12 12:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:50:03] Production.INFO: ==11476== Lock acquired, processing the job...
[2025-01-12 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 12:50:03] Production.INFO: ==11484== Lock acquired, processing the job...
[2025-01-12 12:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:50:03] Production.ERROR: CronJob PID - 11478
[2025-01-12 12:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 12:50:03] Production.ERROR: CronJob ID - 5
[2025-01-12 12:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 12:50:00
[2025-01-12 12:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:50:03] Production.ERROR: CronJob PID - 11480
[2025-01-12 12:50:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 12:50:03] Production.ERROR: CronJob ID - 7
[2025-01-12 12:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 12:50:00
[2025-01-12 12:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 12:50:03] Production.ERROR: CronJob PID - 11484
[2025-01-12 12:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 12:50:03] Production.ERROR: CronJob ID - 12
[2025-01-12 12:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 12:50:00
[2025-01-12 12:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 12:50:03] Production.INFO: Account Balance Start.
[2025-01-12 12:50:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:50:03] Production.INFO: 117
[2025-01-12 12:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 12:50:03] Production.INFO: ==11476== Releasing lock...
[2025-01-12 12:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 12:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 12:50:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:50:04] Production.INFO: ==11482== Lock acquired, processing the job...
[2025-01-12 12:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:50:04] Production.INFO: ==11488== Lock acquired, processing the job...
[2025-01-12 12:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 12:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:50:04] Production.INFO: ==11480== Releasing lock...
[2025-01-12 12:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:50:04] Production.INFO: Total Charge 0
[2025-01-12 12:50:04] Production.INFO: CreateAllLog End
[2025-01-12 12:50:04] Production.INFO: ==11486== Lock acquired, processing the job...
[2025-01-12 12:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:50:04] Production.INFO: ==11490== Lock acquired, processing the job...
[2025-01-12 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:50:04] Production.INFO: Account Balance End.
[2025-01-12 12:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:50:04] Production.INFO: ==11484== Releasing lock...
[2025-01-12 12:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 12:50:04] Production.ERROR: done
[2025-01-12 12:50:04] Production.INFO: count ==21
[2025-01-12 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-01-12 12:50:04] Production.INFO: count ==21
[2025-01-12 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231710') start
[2025-01-12 12:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 12:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231711', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 12:50:04] Production.ERROR: done
[2025-01-12 12:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231710') end
[2025-01-12 12:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:50:04] Production.INFO: 1
[2025-01-12 12:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:50:04] Production.INFO: ==11490== Releasing lock...
[2025-01-12 12:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:50:04] Production.ERROR: done
[2025-01-12 12:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:50:06
[end_date_ymd] => 2025-01-12 12:50:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:50:06' and `end` < '2025-01-12 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-01-12 12:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231711', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 12:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 12:50:08] Production.INFO: ProcessCDR(1,14231711,1,1,2)
[2025-01-12 12:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231711,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231711,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:50:08] Production.INFO: ==11488== Releasing lock...
[2025-01-12 12:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 12:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 12:50:14] Production.ERROR: CronJobId end10
[2025-01-12 12:50:14] Production.INFO: ==11482== Releasing lock...
[2025-01-12 12:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:50:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:50:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:50:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:50:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:50:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:50:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:50:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:50:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:50:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:50:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:50:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:50:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:50:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:50:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:50:15] Production.INFO: call_cost start
[2025-01-12 12:50:15] Production.INFO: call_cost end
[2025-01-12 12:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:50:16] Production.INFO: ==11478== Releasing lock...
[2025-01-12 12:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:50:19] Production.INFO: count ==1045
[2025-01-12 12:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:50:06 - End Time 2025-01-12 12:50:06
[2025-01-12 12:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231712', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231712', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231712', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231712', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:50:19] Production.INFO: ProcessCDR(1,14231712,1,1,2)
[2025-01-12 12:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231712,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231712,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231712', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231712', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:50:22] Production.INFO: ==11486== Releasing lock...
[2025-01-12 12:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:50:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 17:51:02] Production.INFO: ==11544== Lock acquired, processing the job...
[2025-01-12 17:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:51:02] Production.INFO: neon service started
[2025-01-12 17:51:02] Production.INFO: neon service started
[2025-01-12 17:51:02] Production.INFO: ==11544== Releasing lock...
[2025-01-12 17:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:51:02] Production.INFO: ==11548== Lock acquired, processing the job...
[2025-01-12 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:51:02] Production.INFO: ==11548== Releasing lock...
[2025-01-12 17:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:51:02] Production.INFO: ==11546== Lock acquired, processing the job...
[2025-01-12 12:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:51:03] Production.INFO: ==11546== Releasing lock...
[2025-01-12 12:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:51:03] Production.INFO: ==11553== Lock acquired, processing the job...
[2025-01-12 12:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:51:03] Production.INFO: ==11551== Lock acquired, processing the job...
[2025-01-12 12:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:51:04] Production.INFO: ==11555== Lock acquired, processing the job...
[2025-01-12 12:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:51:04] Production.INFO: ==11557== Lock acquired, processing the job...
[2025-01-12 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:51:04] Production.INFO: ==11559== Lock acquired, processing the job...
[2025-01-12 12:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:51:04] Production.INFO: ==11561== Lock acquired, processing the job...
[2025-01-12 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:51:04] Production.INFO: Account Balance Start.
[2025-01-12 12:51:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:51:04] Production.INFO: 117
[2025-01-12 12:51:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:51:04] Production.INFO: ==11553== Releasing lock...
[2025-01-12 12:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:51:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:51:04] Production.INFO: Total Charge 0
[2025-01-12 12:51:04] Production.INFO: CreateAllLog End
[2025-01-12 12:51:04] Production.INFO: count ==21
[2025-01-12 12:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:51:04] Production.INFO: count ==21
[2025-01-12 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231716') start
[2025-01-12 12:51:04] Production.ERROR: done
[2025-01-12 12:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:51:04] Production.INFO: Account Balance End.
[2025-01-12 12:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231716') end
[2025-01-12 12:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:51:04] Production.INFO: 1
[2025-01-12 12:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:51:04] Production.INFO: ==11557== Releasing lock...
[2025-01-12 12:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:51:04] Production.INFO: ==11561== Releasing lock...
[2025-01-12 12:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:51:04] Production.ERROR: done
[2025-01-12 12:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:51:05
[end_date_ymd] => 2025-01-12 12:51:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:51:05' and `end` < '2025-01-12 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-01-12 12:51:12] Production.ERROR: CronJobId end10
[2025-01-12 12:51:12] Production.INFO: ==11555== Releasing lock...
[2025-01-12 12:51:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:51:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:51:13] Production.INFO: call_cost start
[2025-01-12 12:51:13] Production.INFO: call_cost end
[2025-01-12 12:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:51:14] Production.INFO: ==11551== Releasing lock...
[2025-01-12 12:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:51:19] Production.INFO: count ==1069
[2025-01-12 12:51:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:51:05 - End Time 2025-01-12 12:51:05
[2025-01-12 12:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231717', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231717', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231717', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231717', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:51:19] Production.INFO: ProcessCDR(1,14231717,1,1,2)
[2025-01-12 12:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231717,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231717,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231717', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231717', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:51:22] Production.INFO: ==11559== Releasing lock...
[2025-01-12 12:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:51:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 17:52:01] Production.INFO: ==11618== Lock acquired, processing the job...
[2025-01-12 17:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:52:01] Production.INFO: neon service started
[2025-01-12 17:52:01] Production.INFO: neon service started
[2025-01-12 17:52:01] Production.INFO: ==11618== Releasing lock...
[2025-01-12 17:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:52:02] Production.INFO: ==11620== Lock acquired, processing the job...
[2025-01-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:52:02] Production.INFO: ==11622== Lock acquired, processing the job...
[2025-01-12 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:52:02] Production.INFO: ==11622== Releasing lock...
[2025-01-12 17:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:52:02] Production.INFO: ==11620== Releasing lock...
[2025-01-12 12:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:52:03] Production.INFO: ==11629== Lock acquired, processing the job...
[2025-01-12 12:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:52:03] Production.INFO: ==11625== Lock acquired, processing the job...
[2025-01-12 12:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:52:03] Production.INFO: ==11633== Lock acquired, processing the job...
[2025-01-12 12:52:03] Production.INFO: ==11627== Lock acquired, processing the job...
[2025-01-12 12:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:52:03] Production.INFO: ==11631== Lock acquired, processing the job...
[2025-01-12 12:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:52:03] Production.INFO: ==11635== Lock acquired, processing the job...
[2025-01-12 12:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:52:04] Production.INFO: Account Balance Start.
[2025-01-12 12:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:52:04] Production.INFO: 117
[2025-01-12 12:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 12:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:52:04] Production.INFO: count ==21
[2025-01-12 12:52:04] Production.INFO: ==11627== Releasing lock...
[2025-01-12 12:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 12:52:04] Production.INFO: count ==21
[2025-01-12 12:52:04] Production.ERROR: done
[2025-01-12 12:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231721') start
[2025-01-12 12:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:52:04] Production.INFO: Total Charge 0
[2025-01-12 12:52:04] Production.INFO: CreateAllLog End
[2025-01-12 12:52:04] Production.ERROR: done
[2025-01-12 12:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231721') end
[2025-01-12 12:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:52:04] Production.INFO: 1
[2025-01-12 12:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:52:04] Production.INFO: Account Balance End.
[2025-01-12 12:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:52:04] Production.INFO: ==11631== Releasing lock...
[2025-01-12 12:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:52:04] Production.INFO: ==11635== Releasing lock...
[2025-01-12 12:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:52:05
[end_date_ymd] => 2025-01-12 12:52:05
[RateCDR] => 1
)
[2025-01-12 12:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:52:05' and `end` < '2025-01-12 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-01-12 12:52:11] Production.ERROR: CronJobId end10
[2025-01-12 12:52:11] Production.INFO: ==11629== Releasing lock...
[2025-01-12 12:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:52:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:52:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:52:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:52:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:52:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:52:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:52:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:52:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:52:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:52:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:52:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:52:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:52:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:52:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:52:13] Production.INFO: call_cost start
[2025-01-12 12:52:13] Production.INFO: call_cost end
[2025-01-12 12:52:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:52:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:52:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:52:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:52:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:52:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:52:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:52:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:52:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:52:14] Production.INFO: ==11625== Releasing lock...
[2025-01-12 12:52:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:52:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:52:19] Production.INFO: count ==1069
[2025-01-12 12:52:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:52:05 - End Time 2025-01-12 12:52:05
[2025-01-12 12:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231722', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231722', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231722', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231722', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:52:20] Production.INFO: ProcessCDR(1,14231722,1,1,2)
[2025-01-12 12:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231722,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231722,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231722', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231722', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:52:23] Production.INFO: ==11633== Releasing lock...
[2025-01-12 12:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:52:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 17:53:02] Production.INFO: ==11690== Lock acquired, processing the job...
[2025-01-12 17:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:53:02] Production.INFO: neon service started
[2025-01-12 17:53:02] Production.INFO: neon service started
[2025-01-12 17:53:02] Production.INFO: ==11690== Releasing lock...
[2025-01-12 17:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:53:02] Production.INFO: ==11694== Lock acquired, processing the job...
[2025-01-12 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:53:02] Production.INFO: ==11694== Releasing lock...
[2025-01-12 17:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:53:02] Production.INFO: ==11692== Lock acquired, processing the job...
[2025-01-12 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:53:02] Production.INFO: ==11692== Releasing lock...
[2025-01-12 12:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:53:03] Production.INFO: ==11696== Lock acquired, processing the job...
[2025-01-12 12:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:53:03] Production.INFO: ==11698== Lock acquired, processing the job...
[2025-01-12 12:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:53:03] Production.INFO: ==11702== Lock acquired, processing the job...
[2025-01-12 12:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:53:03] Production.INFO: Account Balance Start.
[2025-01-12 12:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:53:03] Production.INFO: 117
[2025-01-12 12:53:03] Production.INFO: ==11700== Lock acquired, processing the job...
[2025-01-12 12:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:53:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:53:04] Production.INFO: ==11704== Lock acquired, processing the job...
[2025-01-12 12:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:53:04] Production.INFO: ==11706== Lock acquired, processing the job...
[2025-01-12 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:53:04] Production.INFO: Total Charge 0
[2025-01-12 12:53:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:53:04] Production.INFO: CreateAllLog End
[2025-01-12 12:53:04] Production.INFO: count ==21
[2025-01-12 12:53:04] Production.INFO: ==11698== Releasing lock...
[2025-01-12 12:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:53:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:53:04] Production.INFO: count ==21
[2025-01-12 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231726') start
[2025-01-12 12:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231726') end
[2025-01-12 12:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:53:04] Production.INFO: 1
[2025-01-12 12:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:53:04] Production.ERROR: done
[2025-01-12 12:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:53:04] Production.INFO: ==11706== Releasing lock...
[2025-01-12 12:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:53:04] Production.ERROR: done
[2025-01-12 12:53:04] Production.INFO: Account Balance End.
[2025-01-12 12:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:53:04] Production.INFO: ==11702== Releasing lock...
[2025-01-12 12:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:53:05
[end_date_ymd] => 2025-01-12 12:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:53:05' and `end` < '2025-01-12 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-01-12 12:53:11] Production.ERROR: CronJobId end10
[2025-01-12 12:53:11] Production.INFO: ==11700== Releasing lock...
[2025-01-12 12:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:53:13] Production.INFO: call_cost start
[2025-01-12 12:53:13] Production.INFO: call_cost end
[2025-01-12 12:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:53:14] Production.INFO: ==11696== Releasing lock...
[2025-01-12 12:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:53:18] Production.INFO: count ==1069
[2025-01-12 12:53:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:53:05 - End Time 2025-01-12 12:53:05
[2025-01-12 12:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231727', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231727', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231727', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231727', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:53:19] Production.INFO: ProcessCDR(1,14231727,1,1,2)
[2025-01-12 12:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231727,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231727,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231727', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231727', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:53:22] Production.INFO: ==11704== Releasing lock...
[2025-01-12 12:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:53:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 17:54:01] Production.INFO: ==11778== Lock acquired, processing the job...
[2025-01-12 17:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:54:01] Production.INFO: neon service started
[2025-01-12 17:54:01] Production.INFO: neon service started
[2025-01-12 17:54:01] Production.INFO: ==11778== Releasing lock...
[2025-01-12 17:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:54:02] Production.INFO: ==11782== Lock acquired, processing the job...
[2025-01-12 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:54:02] Production.INFO: ==11784== Lock acquired, processing the job...
[2025-01-12 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:54:02] Production.INFO: ==11784== Releasing lock...
[2025-01-12 17:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:54:02] Production.INFO: ==11782== Releasing lock...
[2025-01-12 12:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:54:03] Production.INFO: ==11788== Lock acquired, processing the job...
[2025-01-12 12:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:54:03] Production.INFO: ==11790== Lock acquired, processing the job...
[2025-01-12 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:54:03] Production.INFO: ==11792== Lock acquired, processing the job...
[2025-01-12 12:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:54:03] Production.INFO: ==11798== Lock acquired, processing the job...
[2025-01-12 12:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:54:03] Production.INFO: ==11794== Lock acquired, processing the job...
[2025-01-12 12:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:54:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:54:03] Production.INFO: ==11796== Lock acquired, processing the job...
[2025-01-12 12:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:54:03] Production.INFO: count ==21
[2025-01-12 12:54:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:54:03] Production.INFO: count ==21
[2025-01-12 12:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231730') start
[2025-01-12 12:54:03] Production.INFO: Account Balance Start.
[2025-01-12 12:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:54:03] Production.INFO: 117
[2025-01-12 12:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231730') end
[2025-01-12 12:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:54:03] Production.INFO: 1
[2025-01-12 12:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:54:03] Production.INFO: ==11790== Releasing lock...
[2025-01-12 12:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:54:04] Production.INFO: ==11798== Releasing lock...
[2025-01-12 12:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:54:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:54:04] Production.ERROR: done
[2025-01-12 12:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:54:04] Production.INFO: Total Charge 0
[2025-01-12 12:54:04] Production.INFO: CreateAllLog End
[2025-01-12 12:54:04] Production.ERROR: done
[2025-01-12 12:54:04] Production.INFO: Account Balance End.
[2025-01-12 12:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:54:04] Production.INFO: ==11794== Releasing lock...
[2025-01-12 12:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:54:05
[end_date_ymd] => 2025-01-12 12:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:54:05' and `end` < '2025-01-12 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-01-12 12:54:14] Production.ERROR: CronJobId end10
[2025-01-12 12:54:14] Production.INFO: ==11792== Releasing lock...
[2025-01-12 12:54:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:54:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:54:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:54:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:54:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:54:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:54:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:54:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:54:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:54:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:54:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:54:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:54:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:54:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:54:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:54:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:54:14] Production.INFO: call_cost start
[2025-01-12 12:54:14] Production.INFO: call_cost end
[2025-01-12 12:54:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:54:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:54:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:54:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:54:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:54:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:54:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:54:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:54:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:54:15] Production.INFO: ==11788== Releasing lock...
[2025-01-12 12:54:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:54:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:54:18] Production.INFO: count ==1070
[2025-01-12 12:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 09:54:05 - End Time 2025-01-12 12:54:05
[2025-01-12 12:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231732', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231732', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231732', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231732', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:54:18] Production.INFO: ProcessCDR(1,14231732,1,1,2)
[2025-01-12 12:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231732', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231732', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:54:23] Production.INFO: ==11796== Releasing lock...
[2025-01-12 12:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:54:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 17:55:02] Production.INFO: ==11853== Lock acquired, processing the job...
[2025-01-12 17:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:55:02] Production.INFO: neon service started
[2025-01-12 17:55:02] Production.INFO: neon service started
[2025-01-12 17:55:02] Production.INFO: ==11853== Releasing lock...
[2025-01-12 17:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:55:02] Production.INFO: ==11855== Lock acquired, processing the job...
[2025-01-12 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:55:02] Production.INFO: ==11855== Releasing lock...
[2025-01-12 12:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 17:55:03] Production.INFO: ==11857== Lock acquired, processing the job...
[2025-01-12 17:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:55:03] Production.INFO: ==11857== Releasing lock...
[2025-01-12 17:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:55:03] Production.INFO: ==11864== Lock acquired, processing the job...
[2025-01-12 12:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:55:03] Production.INFO: ==11868== Lock acquired, processing the job...
[2025-01-12 12:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:55:04] Production.INFO: ==11860== Lock acquired, processing the job...
[2025-01-12 12:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:55:04] Production.INFO: ==11862== Lock acquired, processing the job...
[2025-01-12 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:55:04] Production.INFO: ==11866== Lock acquired, processing the job...
[2025-01-12 12:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:55:04] Production.INFO: ==11870== Lock acquired, processing the job...
[2025-01-12 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:55:04] Production.INFO: Account Balance Start.
[2025-01-12 12:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:55:04] Production.INFO: 117
[2025-01-12 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-01-12 12:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:55:04] Production.INFO: count ==21
[2025-01-12 12:55:04] Production.ERROR: done
[2025-01-12 12:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:55:04] Production.INFO: count ==21
[2025-01-12 12:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231735') start
[2025-01-12 12:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:55:04] Production.ERROR: done
[2025-01-12 12:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:55:04] Production.INFO: Total Charge 0
[2025-01-12 12:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231735') end
[2025-01-12 12:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:55:04] Production.INFO: 1
[2025-01-12 12:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:55:04] Production.INFO: CreateAllLog End
[2025-01-12 12:55:04] Production.INFO: ==11870== Releasing lock...
[2025-01-12 12:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:55:04] Production.INFO: ==11862== Releasing lock...
[2025-01-12 12:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:55:04] Production.INFO: Account Balance End.
[2025-01-12 12:55:05] Production.ERROR: CronJobId end 12
[2025-01-12 12:55:05] Production.INFO: ==11866== Releasing lock...
[2025-01-12 12:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:55:05
[end_date_ymd] => 2025-01-12 12:55:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:55:05' and `end` < '2025-01-12 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-01-12 12:55:11] Production.ERROR: CronJobId end10
[2025-01-12 12:55:11] Production.INFO: ==11864== Releasing lock...
[2025-01-12 12:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:55:14] Production.INFO: call_cost start
[2025-01-12 12:55:14] Production.INFO: call_cost end
[2025-01-12 12:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:55:15] Production.INFO: ==11860== Releasing lock...
[2025-01-12 12:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:55:18] Production.INFO: count ==1071
[2025-01-12 12:55:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:55:05 - End Time 2025-01-12 12:55:05
[2025-01-12 12:55:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231737', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231737', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231737', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:55:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231737', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:55:19] Production.INFO: ProcessCDR(1,14231737,1,1,2)
[2025-01-12 12:55:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:55:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:55:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231737', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231737', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:55:23] Production.INFO: ==11868== Releasing lock...
[2025-01-12 12:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:55:23] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 17:56:02] Production.INFO: ==11922== Lock acquired, processing the job...
[2025-01-12 17:56:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:56:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:56:02] Production.INFO: neon service started
[2025-01-12 17:56:02] Production.INFO: neon service started
[2025-01-12 17:56:02] Production.INFO: ==11922== Releasing lock...
[2025-01-12 17:56:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:56:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 12:56:02] Production.INFO: ==11924== Lock acquired, processing the job...
[2025-01-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 17:56:02] Production.INFO: ==11926== Lock acquired, processing the job...
[2025-01-12 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:56:02] Production.INFO: ==11926== Releasing lock...
[2025-01-12 17:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:56:02] Production.INFO: ==11924== Releasing lock...
[2025-01-12 12:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:56:03] Production.INFO: ==11931== Lock acquired, processing the job...
[2025-01-12 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:56:03] Production.INFO: ==11935== Lock acquired, processing the job...
[2025-01-12 12:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:56:03] Production.INFO: ==11929== Lock acquired, processing the job...
[2025-01-12 12:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:56:03] Production.INFO: ==11933== Lock acquired, processing the job...
[2025-01-12 12:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:56:03] Production.INFO: ==11937== Lock acquired, processing the job...
[2025-01-12 12:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:56:03] Production.INFO: Account Balance Start.
[2025-01-12 12:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:56:03] Production.INFO: 117
[2025-01-12 12:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:56:03] Production.INFO: ==11931== Releasing lock...
[2025-01-12 12:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:56:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:56:04] Production.INFO: ==11939== Lock acquired, processing the job...
[2025-01-12 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:56:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:56:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:56:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:56:04] Production.INFO: count ==21
[2025-01-12 12:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 12:56:04] Production.INFO: count ==21
[2025-01-12 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231741') start
[2025-01-12 12:56:04] Production.INFO: Total Charge 0
[2025-01-12 12:56:04] Production.INFO: CreateAllLog End
[2025-01-12 12:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231741') end
[2025-01-12 12:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:56:04] Production.INFO: 1
[2025-01-12 12:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:56:04] Production.INFO: ==11939== Releasing lock...
[2025-01-12 12:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:56:04] Production.ERROR: done
[2025-01-12 12:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:56:04] Production.INFO: Account Balance End.
[2025-01-12 12:56:04] Production.ERROR: done
[2025-01-12 12:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:56:04] Production.INFO: ==11935== Releasing lock...
[2025-01-12 12:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:56:05
[end_date_ymd] => 2025-01-12 12:56:05
[RateCDR] => 1
)
[2025-01-12 12:56:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:56:05' and `end` < '2025-01-12 12:56:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:56:11] Production.ERROR: CronJobId end10
[2025-01-12 12:56:11] Production.INFO: ==11933== Releasing lock...
[2025-01-12 12:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:56:13] Production.INFO: call_cost start
[2025-01-12 12:56:13] Production.INFO: call_cost end
[2025-01-12 12:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:56:14] Production.INFO: ==11929== Releasing lock...
[2025-01-12 12:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:56:19] Production.INFO: count ==1072
[2025-01-12 12:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:56:05 - End Time 2025-01-12 12:56:05
[2025-01-12 12:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231742', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231742', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231742', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231742', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:56:19] Production.INFO: ProcessCDR(1,14231742,1,1,2)
[2025-01-12 12:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:56:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:56:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:56:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231742', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:56:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231742', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:56:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:56:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:56:24] Production.INFO: ==11937== Releasing lock...
[2025-01-12 12:56:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:56:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 17:57:01] Production.INFO: ==11992== Lock acquired, processing the job...
[2025-01-12 17:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:57:01] Production.INFO: neon service started
[2025-01-12 17:57:01] Production.INFO: neon service started
[2025-01-12 17:57:01] Production.INFO: ==11992== Releasing lock...
[2025-01-12 17:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:57:01] Production.INFO: ==11996== Lock acquired, processing the job...
[2025-01-12 17:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:57:01] Production.INFO: ==11996== Releasing lock...
[2025-01-12 17:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:57:02] Production.INFO: ==11994== Lock acquired, processing the job...
[2025-01-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:57:02] Production.INFO: ==11994== Releasing lock...
[2025-01-12 12:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:57:03] Production.INFO: ==12000== Lock acquired, processing the job...
[2025-01-12 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:57:03] Production.INFO: ==12006== Lock acquired, processing the job...
[2025-01-12 12:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:57:03] Production.INFO: ==11998== Lock acquired, processing the job...
[2025-01-12 12:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:57:03] Production.INFO: ==12002== Lock acquired, processing the job...
[2025-01-12 12:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:57:03] Production.INFO: ==12004== Lock acquired, processing the job...
[2025-01-12 12:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:57:03] Production.INFO: ==12000== Releasing lock...
[2025-01-12 12:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:57:03] Production.INFO: ==12009== Lock acquired, processing the job...
[2025-01-12 12:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:57:03] Production.ERROR: done
[2025-01-12 12:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:57:03] Production.INFO: Account Balance Start.
[2025-01-12 12:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 12:57:03] Production.INFO: 117
[2025-01-12 12:57:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:57:03] Production.INFO: count ==21
[2025-01-12 12:57:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:57:03] Production.ERROR: done
[2025-01-12 12:57:03] Production.INFO: count ==21
[2025-01-12 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231745') start
[2025-01-12 12:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 12:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 12:57:03] Production.INFO: Total Charge 0
[2025-01-12 12:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231745') end
[2025-01-12 12:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:57:03] Production.INFO: 1
[2025-01-12 12:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:57:03] Production.INFO: CreateAllLog End
[2025-01-12 12:57:04] Production.INFO: ==12009== Releasing lock...
[2025-01-12 12:57:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:57:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:57:04] Production.INFO: Account Balance End.
[2025-01-12 12:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:57:04] Production.INFO: ==12004== Releasing lock...
[2025-01-12 12:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:57:04
[end_date_ymd] => 2025-01-12 12:57:04
[RateCDR] => 1
)
[2025-01-12 12:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:57:04' and `end` < '2025-01-12 12:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:57:10] Production.ERROR: CronJobId end10
[2025-01-12 12:57:10] Production.INFO: ==12002== Releasing lock...
[2025-01-12 12:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:57:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:57:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:57:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:57:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:57:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:57:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:57:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:57:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:57:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:57:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:57:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:57:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:57:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:57:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:57:12] Production.INFO: call_cost start
[2025-01-12 12:57:12] Production.INFO: call_cost end
[2025-01-12 12:57:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:57:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:57:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:57:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:57:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:57:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:57:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:57:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:57:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:57:13] Production.INFO: ==11998== Releasing lock...
[2025-01-12 12:57:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:57:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:57:18] Production.INFO: count ==1073
[2025-01-12 12:57:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:57:04 - End Time 2025-01-12 12:57:04
[2025-01-12 12:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231747', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231747', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231747', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231747', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:57:19] Production.INFO: ProcessCDR(1,14231747,1,1,2)
[2025-01-12 12:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:57:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231747', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:57:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231747', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:57:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:57:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:57:23] Production.INFO: ==12006== Releasing lock...
[2025-01-12 12:57:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:57:23] Production.INFO: 36.25 MB #Memory Used#
[2025-01-12 17:58:01] Production.INFO: ==12101== Lock acquired, processing the job...
[2025-01-12 17:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:58:01] Production.INFO: neon service started
[2025-01-12 17:58:01] Production.INFO: neon service started
[2025-01-12 17:58:01] Production.INFO: ==12101== Releasing lock...
[2025-01-12 17:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:58:02] Production.INFO: ==12105== Lock acquired, processing the job...
[2025-01-12 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:58:02] Production.INFO: ==12105== Releasing lock...
[2025-01-12 17:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:58:02] Production.INFO: ==12103== Lock acquired, processing the job...
[2025-01-12 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:58:02] Production.INFO: ==12103== Releasing lock...
[2025-01-12 12:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:58:03] Production.INFO: ==12111== Lock acquired, processing the job...
[2025-01-12 12:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 12:58:03] Production.INFO: ==12115== Lock acquired, processing the job...
[2025-01-12 12:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 12:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:58:03] Production.INFO: ==12107== Lock acquired, processing the job...
[2025-01-12 12:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:58:03] Production.INFO: ==12109== Lock acquired, processing the job...
[2025-01-12 12:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:58:03] Production.INFO: ==12113== Lock acquired, processing the job...
[2025-01-12 12:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:58:03] Production.INFO: ==12117== Lock acquired, processing the job...
[2025-01-12 12:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:58:04] Production.INFO: Account Balance Start.
[2025-01-12 12:58:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:58:04] Production.INFO: 117
[2025-01-12 12:58:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:58:04] Production.INFO: count ==21
[2025-01-12 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:58:04] Production.ERROR: done
[2025-01-12 12:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:58:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 12:58:04] Production.INFO: count ==21
[2025-01-12 12:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231751') start
[2025-01-12 12:58:04] Production.INFO: ==12109== Releasing lock...
[2025-01-12 12:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:58:04] Production.ERROR: done
[2025-01-12 12:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 12:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231751') end
[2025-01-12 12:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:58:04] Production.INFO: 1
[2025-01-12 12:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:58:04] Production.INFO: Total Charge 0
[2025-01-12 12:58:04] Production.INFO: CreateAllLog End
[2025-01-12 12:58:04] Production.INFO: ==12117== Releasing lock...
[2025-01-12 12:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:58:04] Production.INFO: Account Balance End.
[2025-01-12 12:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 12:58:04] Production.INFO: ==12113== Releasing lock...
[2025-01-12 12:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:58:05
[end_date_ymd] => 2025-01-12 12:58:05
[RateCDR] => 1
)
[2025-01-12 12:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 09:58:05' and `end` < '2025-01-12 12:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 12:58:10] Production.ERROR: CronJobId end10
[2025-01-12 12:58:10] Production.INFO: ==12111== Releasing lock...
[2025-01-12 12:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:58:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:58:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:58:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:58:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:58:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:58:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:58:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:58:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:58:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:58:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:58:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:58:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:58:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:58:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:58:12] Production.INFO: call_cost start
[2025-01-12 12:58:12] Production.INFO: call_cost end
[2025-01-12 12:58:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:58:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:58:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:58:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:58:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:58:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:58:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:58:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:58:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:58:13] Production.INFO: ==12107== Releasing lock...
[2025-01-12 12:58:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:58:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:58:19] Production.INFO: count ==1074
[2025-01-12 12:58:20] Production.ERROR: pbx CDR StartTime 2025-01-12 09:58:05 - End Time 2025-01-12 12:58:05
[2025-01-12 12:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231752', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231752', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231752', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231752', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:58:20] Production.INFO: ProcessCDR(1,14231752,1,1,2)
[2025-01-12 12:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:58:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:58:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:58:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231752', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:58:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231752', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:58:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:58:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:58:24] Production.INFO: ==12115== Releasing lock...
[2025-01-12 12:58:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:58:24] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 17:59:02] Production.INFO: ==12174== Lock acquired, processing the job...
[2025-01-12 17:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 17:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 17:59:02] Production.INFO: neon service started
[2025-01-12 17:59:02] Production.INFO: neon service started
[2025-01-12 17:59:02] Production.INFO: ==12174== Releasing lock...
[2025-01-12 17:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 17:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 17:59:02] Production.INFO: ==12178== Lock acquired, processing the job...
[2025-01-12 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 17:59:02] Production.INFO: ==12178== Releasing lock...
[2025-01-12 17:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 17:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 12:59:02] Production.INFO: ==12176== Lock acquired, processing the job...
[2025-01-12 12:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 12:59:03] Production.INFO: ==12176== Releasing lock...
[2025-01-12 12:59:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 12:59:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 12:59:03] Production.INFO: ==12180== Lock acquired, processing the job...
[2025-01-12 12:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 12:59:03] Production.INFO: ==12184== Lock acquired, processing the job...
[2025-01-12 12:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 12:59:04] Production.INFO: ==12182== Lock acquired, processing the job...
[2025-01-12 12:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 12:59:04] Production.INFO: ==12191== Lock acquired, processing the job...
[2025-01-12 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 12:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 12:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 12:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 12:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 12:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 12:59:04] Production.INFO: ==12187== Lock acquired, processing the job...
[2025-01-12 12:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 12:59:04] Production.INFO: count ==21
[2025-01-12 12:59:04] Production.INFO: ==12189== Lock acquired, processing the job...
[2025-01-12 12:59:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 12:59:04] Production.INFO: count ==21
[2025-01-12 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231755') start
[2025-01-12 12:59:04] Production.INFO: ==12182== Releasing lock...
[2025-01-12 12:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 12:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 12:59:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 12:59:04] Production.INFO: Account Balance Start.
[2025-01-12 12:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231755') end
[2025-01-12 12:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 12:59:04] Production.INFO: 1
[2025-01-12 12:59:04] Production.INFO: CreateAllLog Start
[2025-01-12 12:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 12:59:04] Production.INFO: 117
[2025-01-12 12:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:59:04] Production.INFO: ==12191== Releasing lock...
[2025-01-12 12:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 12:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 12:59:04] Production.ERROR: done
[2025-01-12 12:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 12:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:59:04] Production.ERROR: done
[2025-01-12 12:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 12:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 12:59:05] Production.INFO: Date 2025-01-11
[2025-01-12 12:59:05] Production.INFO: Reseller ==> 0
[2025-01-12 12:59:05] Production.INFO: Date 2025-01-12
[2025-01-12 12:59:05] Production.INFO: Reseller ==> 0
[2025-01-12 12:59:05] Production.INFO: Total Charge 0
[2025-01-12 12:59:05] Production.INFO: CreateAllLog End
[2025-01-12 12:59:05] Production.INFO: Account Balance End.
[2025-01-12 12:59:05] Production.ERROR: CronJobId end 12
[2025-01-12 12:59:05] Production.INFO: ==12187== Releasing lock...
[2025-01-12 12:59:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 12:59:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 12:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 09:59:05
[end_date_ymd] => 2025-01-12 12:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 09:59:05' and `end` < '2025-01-12 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-01-12 12:59:10] Production.ERROR: CronJobId end10
[2025-01-12 12:59:10] Production.INFO: ==12184== Releasing lock...
[2025-01-12 12:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 12:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 12:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 12:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 12:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 12:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 12:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 12:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 12:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 12:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 12:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 12:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 12:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 12:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 12:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 12:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 12:59:13] Production.INFO: call_cost start
[2025-01-12 12:59:13] Production.INFO: call_cost end
[2025-01-12 12:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 12:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 12:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 12:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 12:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 12:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 12:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 12:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 12:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 12:59:14] Production.INFO: ==12180== Releasing lock...
[2025-01-12 12:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 12:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 12:59:19] Production.INFO: count ==1075
[2025-01-12 12:59:19] Production.ERROR: pbx CDR StartTime 2025-01-12 09:59:05 - End Time 2025-01-12 12:59:05
[2025-01-12 12:59:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 12:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231757', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231757', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231757', 'tblTempVendorCDR_20' ) start
[2025-01-12 12:59:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231757', 'tblTempVendorCDR_20' ) end
[2025-01-12 12:59:19] Production.INFO: ProcessCDR(1,14231757,1,1,2)
[2025-01-12 12:59:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 12:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 12:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231757', 'tblTempUsageDetail_20' ) start
[2025-01-12 12:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231757', 'tblTempUsageDetail_20' ) end
[2025-01-12 12:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 12:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 12:59:23] Production.INFO: ==12189== Releasing lock...
[2025-01-12 12:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 12:59:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 18:00:01] Production.INFO: ==12243== Lock acquired, processing the job...
[2025-01-12 18:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:00:01] Production.INFO: neon service started
[2025-01-12 18:00:01] Production.INFO: neon service started
[2025-01-12 18:00:01] Production.INFO: ==12243== Releasing lock...
[2025-01-12 18:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:00:02] Production.INFO: ==12247== Lock acquired, processing the job...
[2025-01-12 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:00:02] Production.INFO: ==12245== Lock acquired, processing the job...
[2025-01-12 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:00:02] Production.INFO: ==12247== Releasing lock...
[2025-01-12 18:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:00:02] Production.INFO: ==12245== Releasing lock...
[2025-01-12 13:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:00:03] Production.INFO: ==12254== Lock acquired, processing the job...
[2025-01-12 13:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:00:03] Production.INFO: ==12256== Lock acquired, processing the job...
[2025-01-12 13:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:00:03] Production.INFO: ==12250== Lock acquired, processing the job...
[2025-01-12 13:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 13:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:00:03] Production.INFO: ==12252== Lock acquired, processing the job...
[2025-01-12 13:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 13:00:04] Production.ERROR: CronJob PID - 12252
[2025-01-12 13:00:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 13:00:04] Production.ERROR: CronJob ID - 5
[2025-01-12 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 13:00:00
[2025-01-12 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 13:00:04] Production.ERROR: CronJob PID - 12254
[2025-01-12 13:00:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 13:00:04] Production.ERROR: CronJob ID - 7
[2025-01-12 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 13:00:00
[2025-01-12 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 13:00:04] Production.ERROR: CronJob PID - 12256
[2025-01-12 13:00:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 13:00:04] Production.ERROR: CronJob ID - 10
[2025-01-12 13:00:04] Production.ERROR: CronJob Last Run Time 2025-01-12 13:00:00
[2025-01-12 13:00:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 13:00:04] Production.INFO: ==12258== Lock acquired, processing the job...
[2025-01-12 13:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:00:04] Production.INFO: ==12260== Lock acquired, processing the job...
[2025-01-12 13:00:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:00:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 13:00:04] Production.INFO: ==12250== Releasing lock...
[2025-01-12 13:00:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 13:00:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 13:00:04] Production.INFO: ==12262== Lock acquired, processing the job...
[2025-01-12 13:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 13:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:00:04] Production.INFO: ==12254== Releasing lock...
[2025-01-12 13:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:00:04] Production.INFO: Account Balance Start.
[2025-01-12 13:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:00:04] Production.INFO: ==12264== Lock acquired, processing the job...
[2025-01-12 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:00:04] Production.INFO: 117
[2025-01-12 13:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:00:04] Production.ERROR: done
[2025-01-12 13:00:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:00:04] Production.ERROR: done
[2025-01-12 13:00:04] Production.INFO: count ==21
[2025-01-12 13:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:00:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:00:04] Production.INFO: count ==21
[2025-01-12 13:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 13:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231762', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231761') start
[2025-01-12 13:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:00:04] Production.INFO: Total Charge 0
[2025-01-12 13:00:04] Production.ERROR: done
[2025-01-12 13:00:04] Production.INFO: CreateAllLog End
[2025-01-12 13:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231761') end
[2025-01-12 13:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:00:04] Production.INFO: 1
[2025-01-12 13:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:00:04] Production.INFO: ==12264== Releasing lock...
[2025-01-12 13:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:00:04] Production.INFO: Account Balance End.
[2025-01-12 13:00:05] Production.ERROR: CronJobId end 12
[2025-01-12 13:00:05] Production.INFO: ==12258== Releasing lock...
[2025-01-12 13:00:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:00:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:00:05
[end_date_ymd] => 2025-01-12 13:00:05
[RateCDR] => 1
)
[2025-01-12 13:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:00:05' and `end` < '2025-01-12 13:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231762', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 13:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 13:00:08] Production.INFO: ProcessCDR(1,14231762,1,1,2)
[2025-01-12 13:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231762,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231762,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:00:08] Production.INFO: ==12262== Releasing lock...
[2025-01-12 13:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 13:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 13:00:11] Production.ERROR: CronJobId end10
[2025-01-12 13:00:11] Production.INFO: ==12256== Releasing lock...
[2025-01-12 13:00:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:00:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:00:14] Production.INFO: call_cost start
[2025-01-12 13:00:14] Production.INFO: call_cost end
[2025-01-12 13:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:00:15] Production.INFO: ==12252== Releasing lock...
[2025-01-12 13:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:00:18] Production.INFO: count ==1082
[2025-01-12 13:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:00:05 - End Time 2025-01-12 13:00:05
[2025-01-12 13:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231763', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231763', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231763', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231763', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:00:19] Production.INFO: ProcessCDR(1,14231763,1,1,2)
[2025-01-12 13:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231763,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231763,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231763', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231763', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:00:23] Production.INFO: ==12260== Releasing lock...
[2025-01-12 13:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:00:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 18:01:02] Production.INFO: ==12327== Lock acquired, processing the job...
[2025-01-12 18:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:01:02] Production.INFO: neon service started
[2025-01-12 18:01:02] Production.INFO: neon service started
[2025-01-12 18:01:02] Production.INFO: ==12327== Releasing lock...
[2025-01-12 18:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:01:02] Production.INFO: ==12333== Lock acquired, processing the job...
[2025-01-12 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:01:02] Production.INFO: ==12333== Releasing lock...
[2025-01-12 13:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:01:02] Production.INFO: ==12335== Lock acquired, processing the job...
[2025-01-12 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:01:02] Production.INFO: ==12335== Releasing lock...
[2025-01-12 18:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:01:03] Production.INFO: ==12341== Lock acquired, processing the job...
[2025-01-12 13:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:01:03] Production.INFO: ==12337== Lock acquired, processing the job...
[2025-01-12 13:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:01:03] Production.INFO: ==12345== Lock acquired, processing the job...
[2025-01-12 13:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:01:03] Production.INFO: ==12339== Lock acquired, processing the job...
[2025-01-12 13:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:01:03] Production.INFO: ==12343== Lock acquired, processing the job...
[2025-01-12 13:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:01:03] Production.INFO: ==12347== Lock acquired, processing the job...
[2025-01-12 13:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:01:04] Production.ERROR: done
[2025-01-12 13:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:01:04] Production.INFO: Account Balance Start.
[2025-01-12 13:01:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:01:04] Production.INFO: 117
[2025-01-12 13:01:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:01:04] Production.ERROR: done
[2025-01-12 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-01-12 13:01:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:01:04] Production.INFO: count ==21
[2025-01-12 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231766') start
[2025-01-12 13:01:04] Production.INFO: ==12339== Releasing lock...
[2025-01-12 13:01:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:01:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:01:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:01:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231766') end
[2025-01-12 13:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:01:04] Production.INFO: 1
[2025-01-12 13:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:01:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:01:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:01:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:01:04] Production.INFO: ==12347== Releasing lock...
[2025-01-12 13:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:01:04] Production.INFO: Total Charge 0
[2025-01-12 13:01:04] Production.INFO: CreateAllLog End
[2025-01-12 13:01:04] Production.INFO: Account Balance End.
[2025-01-12 13:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:01:04] Production.INFO: ==12343== Releasing lock...
[2025-01-12 13:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:01:05
[end_date_ymd] => 2025-01-12 13:01:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:01:05' and `end` < '2025-01-12 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-01-12 13:01:11] Production.ERROR: CronJobId end10
[2025-01-12 13:01:11] Production.INFO: ==12341== Releasing lock...
[2025-01-12 13:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:01:14] Production.INFO: call_cost start
[2025-01-12 13:01:14] Production.INFO: call_cost end
[2025-01-12 13:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:01:14] Production.INFO: ==12337== Releasing lock...
[2025-01-12 13:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:01:18] Production.INFO: count ==1121
[2025-01-12 13:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:01:05 - End Time 2025-01-12 13:01:05
[2025-01-12 13:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231768', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231768', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231768', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231768', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:01:18] Production.INFO: ProcessCDR(1,14231768,1,1,2)
[2025-01-12 13:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231768,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231768,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231768', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231768', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:01:23] Production.INFO: ==12345== Releasing lock...
[2025-01-12 13:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:01:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:02:01] Production.INFO: ==12401== Lock acquired, processing the job...
[2025-01-12 18:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:02:01] Production.INFO: neon service started
[2025-01-12 18:02:01] Production.INFO: neon service started
[2025-01-12 18:02:01] Production.INFO: ==12401== Releasing lock...
[2025-01-12 18:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:02:02] Production.INFO: ==12403== Lock acquired, processing the job...
[2025-01-12 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:02:02] Production.INFO: ==12403== Releasing lock...
[2025-01-12 13:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:02:02] Production.INFO: ==12405== Lock acquired, processing the job...
[2025-01-12 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:02:02] Production.INFO: ==12405== Releasing lock...
[2025-01-12 18:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:02:03] Production.INFO: ==12413== Lock acquired, processing the job...
[2025-01-12 13:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:02:03] Production.INFO: Account Balance Start.
[2025-01-12 13:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:02:03] Production.INFO: 117
[2025-01-12 13:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:02:03] Production.INFO: ==12418== Lock acquired, processing the job...
[2025-01-12 13:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:02:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:02:03] Production.INFO: ==12407== Lock acquired, processing the job...
[2025-01-12 13:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:02:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:02:03] Production.INFO: count ==21
[2025-01-12 13:02:03] Production.INFO: ==12409== Lock acquired, processing the job...
[2025-01-12 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:02:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231770') start
[2025-01-12 13:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:02:03] Production.INFO: ==12411== Lock acquired, processing the job...
[2025-01-12 13:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:02:03] Production.INFO: Total Charge 0
[2025-01-12 13:02:03] Production.INFO: CreateAllLog End
[2025-01-12 13:02:03] Production.INFO: ==12415== Lock acquired, processing the job...
[2025-01-12 13:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231770') end
[2025-01-12 13:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:02:03] Production.INFO: 1
[2025-01-12 13:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:02:03] Production.INFO: ==12418== Releasing lock...
[2025-01-12 13:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:02:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:02:03] Production.INFO: Account Balance End.
[2025-01-12 13:02:03] Production.ERROR: CronJobId end 12
[2025-01-12 13:02:03] Production.INFO: ==12413== Releasing lock...
[2025-01-12 13:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:02:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:02:03] Production.INFO: ==12409== Releasing lock...
[2025-01-12 13:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:02:04] Production.ERROR: done
[2025-01-12 13:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:02:04] Production.ERROR: done
[2025-01-12 13:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:02:05
[end_date_ymd] => 2025-01-12 13:02:05
[RateCDR] => 1
)
[2025-01-12 13:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:02:05' and `end` < '2025-01-12 13:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:02:11] Production.ERROR: CronJobId end10
[2025-01-12 13:02:11] Production.INFO: ==12411== Releasing lock...
[2025-01-12 13:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:02:12] Production.INFO: call_cost start
[2025-01-12 13:02:12] Production.INFO: call_cost end
[2025-01-12 13:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:02:13] Production.INFO: ==12407== Releasing lock...
[2025-01-12 13:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:02:18] Production.INFO: count ==1110
[2025-01-12 13:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:02:05 - End Time 2025-01-12 13:02:05
[2025-01-12 13:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231773', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231773', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231773', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231773', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:02:18] Production.INFO: ProcessCDR(1,14231773,1,1,2)
[2025-01-12 13:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231773,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231773,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231773', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231773', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:02:21] Production.INFO: ==12415== Releasing lock...
[2025-01-12 13:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:02:21] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:03:02] Production.INFO: ==12474== Lock acquired, processing the job...
[2025-01-12 18:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:03:02] Production.INFO: neon service started
[2025-01-12 18:03:02] Production.INFO: neon service started
[2025-01-12 18:03:02] Production.INFO: ==12474== Releasing lock...
[2025-01-12 18:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:03:02] Production.INFO: ==12478== Lock acquired, processing the job...
[2025-01-12 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:03:02] Production.INFO: ==12478== Releasing lock...
[2025-01-12 18:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:03:02] Production.INFO: ==12476== Lock acquired, processing the job...
[2025-01-12 13:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:03:03] Production.INFO: ==12476== Releasing lock...
[2025-01-12 13:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:03:03] Production.INFO: ==12480== Lock acquired, processing the job...
[2025-01-12 13:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:03:03] Production.INFO: ==12482== Lock acquired, processing the job...
[2025-01-12 13:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:03:03] Production.INFO: ==12484== Lock acquired, processing the job...
[2025-01-12 13:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:03:03] Production.INFO: ==12486== Lock acquired, processing the job...
[2025-01-12 13:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:03:04] Production.INFO: Account Balance Start.
[2025-01-12 13:03:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:03:04] Production.INFO: 117
[2025-01-12 13:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:03:04] Production.INFO: ==12491== Lock acquired, processing the job...
[2025-01-12 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:03:04] Production.INFO: ==12488== Lock acquired, processing the job...
[2025-01-12 13:03:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 13:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:03:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:03:04] Production.INFO: count ==21
[2025-01-12 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231777') start
[2025-01-12 13:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:03:04] Production.INFO: ==12482== Releasing lock...
[2025-01-12 13:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231777') end
[2025-01-12 13:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:03:04] Production.INFO: 1
[2025-01-12 13:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:03:04] Production.INFO: Total Charge 0
[2025-01-12 13:03:04] Production.INFO: CreateAllLog End
[2025-01-12 13:03:04] Production.INFO: ==12491== Releasing lock...
[2025-01-12 13:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:03:04] Production.ERROR: done
[2025-01-12 13:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:03:04] Production.ERROR: done
[2025-01-12 13:03:04] Production.INFO: Account Balance End.
[2025-01-12 13:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:03:04] Production.INFO: ==12486== Releasing lock...
[2025-01-12 13:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:03:05
[end_date_ymd] => 2025-01-12 13:03:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:03:05' and `end` < '2025-01-12 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-01-12 13:03:11] Production.ERROR: CronJobId end10
[2025-01-12 13:03:11] Production.INFO: ==12484== Releasing lock...
[2025-01-12 13:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:03:13] Production.INFO: call_cost start
[2025-01-12 13:03:13] Production.INFO: call_cost end
[2025-01-12 13:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:03:14] Production.INFO: ==12480== Releasing lock...
[2025-01-12 13:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:03:21] Production.INFO: count ==1108
[2025-01-12 13:03:21] Production.ERROR: pbx CDR StartTime 2025-01-12 10:03:05 - End Time 2025-01-12 13:03:05
[2025-01-12 13:03:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231778', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231778', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231778', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:03:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231778', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:03:21] Production.INFO: ProcessCDR(1,14231778,1,1,2)
[2025-01-12 13:03:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:03:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231778,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:03:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:03:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231778,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231778', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:03:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231778', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:03:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:03:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:03:24] Production.INFO: ==12488== Releasing lock...
[2025-01-12 13:03:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:03:24] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 18:04:01] Production.INFO: ==12551== Lock acquired, processing the job...
[2025-01-12 18:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:04:01] Production.INFO: neon service started
[2025-01-12 18:04:01] Production.INFO: neon service started
[2025-01-12 18:04:01] Production.INFO: ==12551== Releasing lock...
[2025-01-12 18:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:04:02] Production.INFO: ==12553== Lock acquired, processing the job...
[2025-01-12 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:04:02] Production.INFO: ==12553== Releasing lock...
[2025-01-12 13:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:04:02] Production.INFO: ==12555== Lock acquired, processing the job...
[2025-01-12 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:04:02] Production.INFO: ==12555== Releasing lock...
[2025-01-12 18:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:04:03] Production.INFO: ==12559== Lock acquired, processing the job...
[2025-01-12 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:04:03] Production.INFO: ==12567== Lock acquired, processing the job...
[2025-01-12 13:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:04:03] Production.INFO: ==12557== Lock acquired, processing the job...
[2025-01-12 13:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:04:03] Production.INFO: ==12561== Lock acquired, processing the job...
[2025-01-12 13:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13: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-01-12 13:04:03] Production.INFO: count ==21
[2025-01-12 13:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13: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-01-12 13:04:03] Production.INFO: ==12563== Lock acquired, processing the job...
[2025-01-12 13:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:04:03] Production.INFO: count ==21
[2025-01-12 13:04:03] Production.INFO: ==12559== Releasing lock...
[2025-01-12 13:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231780') start
[2025-01-12 13:04:03] Production.INFO: ==12565== Lock acquired, processing the job...
[2025-01-12 13:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231780') end
[2025-01-12 13:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:04:03] Production.INFO: 1
[2025-01-12 13:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:04:03] Production.INFO: Account Balance Start.
[2025-01-12 13:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:04:03] Production.INFO: 117
[2025-01-12 13:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:04:03] Production.INFO: ==12567== Releasing lock...
[2025-01-12 13:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:04:03] Production.INFO: Total Charge 0
[2025-01-12 13:04:03] Production.INFO: CreateAllLog End
[2025-01-12 13:04:03] Production.ERROR: done
[2025-01-12 13:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:04:03] Production.INFO: Account Balance End.
[2025-01-12 13:04:04] Production.ERROR: done
[2025-01-12 13:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:04:04] Production.INFO: ==12563== Releasing lock...
[2025-01-12 13:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:04:05
[end_date_ymd] => 2025-01-12 13:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:04:05' and `end` < '2025-01-12 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-01-12 13:04:10] Production.ERROR: CronJobId end10
[2025-01-12 13:04:10] Production.INFO: ==12561== Releasing lock...
[2025-01-12 13:04:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:04:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:04:12] Production.INFO: call_cost start
[2025-01-12 13:04:12] Production.INFO: call_cost end
[2025-01-12 13:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:04:13] Production.INFO: ==12557== Releasing lock...
[2025-01-12 13:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:04:18] Production.INFO: count ==1112
[2025-01-12 13:04:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:04:05 - End Time 2025-01-12 13:04:05
[2025-01-12 13:04:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231783', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231783', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231783', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:04:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231783', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:04:18] Production.INFO: ProcessCDR(1,14231783,1,1,2)
[2025-01-12 13:04:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231783', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231783', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:04:23] Production.INFO: ==12565== Releasing lock...
[2025-01-12 13:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:04:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 18:05:02] Production.INFO: ==12629== Lock acquired, processing the job...
[2025-01-12 18:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:05:02] Production.INFO: neon service started
[2025-01-12 18:05:02] Production.INFO: neon service started
[2025-01-12 18:05:02] Production.INFO: ==12629== Releasing lock...
[2025-01-12 18:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:05:02] Production.INFO: ==12633== Lock acquired, processing the job...
[2025-01-12 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:05:02] Production.INFO: ==12633== Releasing lock...
[2025-01-12 18:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:05:02] Production.INFO: ==12631== Lock acquired, processing the job...
[2025-01-12 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:05:02] Production.INFO: ==12631== Releasing lock...
[2025-01-12 13:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:05:03] Production.INFO: ==12637== Lock acquired, processing the job...
[2025-01-12 13:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:05:03] Production.INFO: ==12635== Lock acquired, processing the job...
[2025-01-12 13:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:05:03] Production.INFO: ==12639== Lock acquired, processing the job...
[2025-01-12 13:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:05:03] Production.INFO: ==12641== Lock acquired, processing the job...
[2025-01-12 13:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:05:04] Production.INFO: ==12643== Lock acquired, processing the job...
[2025-01-12 13:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:05:04] Production.INFO: ==12645== Lock acquired, processing the job...
[2025-01-12 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:05:04] Production.INFO: Account Balance Start.
[2025-01-12 13:05:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:05:04] Production.INFO: 117
[2025-01-12 13:05:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:05:04] Production.INFO: ==12637== Releasing lock...
[2025-01-12 13:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 13:05:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:05:04] Production.INFO: count ==21
[2025-01-12 13:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231787') start
[2025-01-12 13:05:04] Production.ERROR: done
[2025-01-12 13:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:05:04] Production.ERROR: done
[2025-01-12 13:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231787') end
[2025-01-12 13:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:05:04] Production.INFO: 1
[2025-01-12 13:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:05:04] Production.INFO: Total Charge 0
[2025-01-12 13:05:04] Production.INFO: ==12645== Releasing lock...
[2025-01-12 13:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:05:04] Production.INFO: CreateAllLog End
[2025-01-12 13:05:04] Production.INFO: Account Balance End.
[2025-01-12 13:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:05:04] Production.INFO: ==12641== Releasing lock...
[2025-01-12 13:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:05:05
[end_date_ymd] => 2025-01-12 13:05:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:05:05' and `end` < '2025-01-12 13: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-01-12 13:05:11] Production.ERROR: CronJobId end10
[2025-01-12 13:05:11] Production.INFO: ==12639== Releasing lock...
[2025-01-12 13:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:05:13] Production.INFO: call_cost start
[2025-01-12 13:05:13] Production.INFO: call_cost end
[2025-01-12 13:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:05:14] Production.INFO: ==12635== Releasing lock...
[2025-01-12 13:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:05:19] Production.INFO: count ==1116
[2025-01-12 13:05:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:05:05 - End Time 2025-01-12 13:05:05
[2025-01-12 13:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231788', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231788', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231788', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231788', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:05:19] Production.INFO: ProcessCDR(1,14231788,1,1,2)
[2025-01-12 13:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231788', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231788', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:05:22] Production.INFO: ==12643== Releasing lock...
[2025-01-12 13:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:05:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:06:01] Production.INFO: ==12700== Lock acquired, processing the job...
[2025-01-12 18:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:06:01] Production.INFO: neon service started
[2025-01-12 18:06:01] Production.INFO: neon service started
[2025-01-12 18:06:01] Production.INFO: ==12700== Releasing lock...
[2025-01-12 18:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:06:01] Production.INFO: ==12704== Lock acquired, processing the job...
[2025-01-12 18:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:06:01] Production.INFO: ==12704== Releasing lock...
[2025-01-12 18:06:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:06:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:06:02] Production.INFO: ==12702== Lock acquired, processing the job...
[2025-01-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:06:02] Production.INFO: ==12702== Releasing lock...
[2025-01-12 13:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:06:03] Production.INFO: ==12710== Lock acquired, processing the job...
[2025-01-12 13:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:06:03] Production.INFO: ==12717== Lock acquired, processing the job...
[2025-01-12 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 13:06:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:06:03] Production.INFO: ==12708== Lock acquired, processing the job...
[2025-01-12 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:06:03] Production.INFO: count ==21
[2025-01-12 13:06:03] Production.INFO: ==12706== Lock acquired, processing the job...
[2025-01-12 13:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231789') start
[2025-01-12 13:06:03] Production.INFO: ==12712== Lock acquired, processing the job...
[2025-01-12 13:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:06:03] Production.INFO: ==12714== Lock acquired, processing the job...
[2025-01-12 13:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231789') end
[2025-01-12 13:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:06:03] Production.INFO: 1
[2025-01-12 13:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:06:03] Production.INFO: ==12717== Releasing lock...
[2025-01-12 13:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:06:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:06:03] Production.INFO: Account Balance Start.
[2025-01-12 13:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:06:03] Production.INFO: 117
[2025-01-12 13:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:06:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:06:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:06:03] Production.INFO: Total Charge 0
[2025-01-12 13:06:03] Production.INFO: CreateAllLog End
[2025-01-12 13:06:03] Production.INFO: ==12708== Releasing lock...
[2025-01-12 13:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:06:04] Production.ERROR: done
[2025-01-12 13:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:06:04] Production.INFO: Account Balance End.
[2025-01-12 13:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:06:04] Production.INFO: ==12712== Releasing lock...
[2025-01-12 13:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:06:04] Production.ERROR: done
[2025-01-12 13:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:06:05
[end_date_ymd] => 2025-01-12 13:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:06:05' and `end` < '2025-01-12 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-01-12 13:06:10] Production.ERROR: CronJobId end10
[2025-01-12 13:06:10] Production.INFO: ==12710== Releasing lock...
[2025-01-12 13:06:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:06:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:06:13] Production.INFO: call_cost start
[2025-01-12 13:06:13] Production.INFO: call_cost end
[2025-01-12 13:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:06:13] Production.INFO: ==12706== Releasing lock...
[2025-01-12 13:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:06:18] Production.INFO: count ==1115
[2025-01-12 13:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:06:05 - End Time 2025-01-12 13:06:05
[2025-01-12 13:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231793', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231793', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231793', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231793', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:06:18] Production.INFO: ProcessCDR(1,14231793,1,1,2)
[2025-01-12 13:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231793', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231793', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:06:23] Production.INFO: ==12714== Releasing lock...
[2025-01-12 13:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:06:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:07:01] Production.INFO: ==12773== Lock acquired, processing the job...
[2025-01-12 18:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:07:01] Production.INFO: neon service started
[2025-01-12 18:07:01] Production.INFO: neon service started
[2025-01-12 18:07:01] Production.INFO: ==12773== Releasing lock...
[2025-01-12 18:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:07:02] Production.INFO: ==12775== Lock acquired, processing the job...
[2025-01-12 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:07:02] Production.INFO: ==12775== Releasing lock...
[2025-01-12 13:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:07:02] Production.INFO: ==12777== Lock acquired, processing the job...
[2025-01-12 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:07:02] Production.INFO: ==12777== Releasing lock...
[2025-01-12 18:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:07:03] Production.INFO: ==12779== Lock acquired, processing the job...
[2025-01-12 13:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:07:03] Production.INFO: ==12781== Lock acquired, processing the job...
[2025-01-12 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:07:03] Production.INFO: ==12783== Lock acquired, processing the job...
[2025-01-12 13:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:07:03] Production.INFO: ==12787== Lock acquired, processing the job...
[2025-01-12 13:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:07:03] Production.INFO: ==12785== Lock acquired, processing the job...
[2025-01-12 13:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:07:03] Production.INFO: ==12789== Lock acquired, processing the job...
[2025-01-12 13:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:07:03] Production.INFO: Account Balance Start.
[2025-01-12 13:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:07:03] Production.INFO: 117
[2025-01-12 13:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:07:03] Production.INFO: ==12781== Releasing lock...
[2025-01-12 13:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:07:03] Production.ERROR: done
[2025-01-12 13:07:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:07:03] Production.INFO: count ==21
[2025-01-12 13:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231797') start
[2025-01-12 13:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:07:04] Production.INFO: Total Charge 0
[2025-01-12 13:07:04] Production.INFO: CreateAllLog End
[2025-01-12 13:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231797') end
[2025-01-12 13:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:07:04] Production.INFO: 1
[2025-01-12 13:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:07:04] Production.ERROR: done
[2025-01-12 13:07:04] Production.INFO: ==12789== Releasing lock...
[2025-01-12 13:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:07:04] Production.INFO: Account Balance End.
[2025-01-12 13:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:07:04] Production.INFO: ==12785== Releasing lock...
[2025-01-12 13:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:07:05
[end_date_ymd] => 2025-01-12 13:07:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:07:05' and `end` < '2025-01-12 13: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-01-12 13:07:11] Production.ERROR: CronJobId end10
[2025-01-12 13:07:11] Production.INFO: ==12783== Releasing lock...
[2025-01-12 13:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:07:13] Production.INFO: call_cost start
[2025-01-12 13:07:13] Production.INFO: call_cost end
[2025-01-12 13:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:07:14] Production.INFO: ==12779== Releasing lock...
[2025-01-12 13:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:07:18] Production.INFO: count ==1119
[2025-01-12 13:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:07:05 - End Time 2025-01-12 13:07:05
[2025-01-12 13:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231798', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231798', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231798', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231798', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:07:18] Production.INFO: ProcessCDR(1,14231798,1,1,2)
[2025-01-12 13:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:07:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:07:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:07:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231798', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:07:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231798', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:07:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:07:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:07:22] Production.INFO: ==12787== Releasing lock...
[2025-01-12 13:07:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:07:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:08:02] Production.INFO: ==12848== Lock acquired, processing the job...
[2025-01-12 18:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:08:02] Production.INFO: neon service started
[2025-01-12 18:08:02] Production.INFO: neon service started
[2025-01-12 18:08:02] Production.INFO: ==12848== Releasing lock...
[2025-01-12 18:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:08:02] Production.INFO: ==12850== Lock acquired, processing the job...
[2025-01-12 13:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:08:03] Production.INFO: ==12850== Releasing lock...
[2025-01-12 13:08:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:08:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:08:03] Production.INFO: ==12852== Lock acquired, processing the job...
[2025-01-12 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:08:03] Production.INFO: ==12852== Releasing lock...
[2025-01-12 18:08:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:08:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:08:04] Production.INFO: ==12855== Lock acquired, processing the job...
[2025-01-12 13:08:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:08:04] Production.INFO: ==12857== Lock acquired, processing the job...
[2025-01-12 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:08:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:08:04] Production.INFO: ==12861== Lock acquired, processing the job...
[2025-01-12 13:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:08:04] Production.INFO: ==12863== Lock acquired, processing the job...
[2025-01-12 13:08:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:08:04] Production.INFO: ==12859== Lock acquired, processing the job...
[2025-01-12 13:08:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:08:04] Production.INFO: Account Balance Start.
[2025-01-12 13:08:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:08:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:08:04] Production.INFO: 117
[2025-01-12 13:08:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:08:04] Production.INFO: ==12865== Lock acquired, processing the job...
[2025-01-12 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:08:04] Production.INFO: ==12857== Releasing lock...
[2025-01-12 13:08:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:08:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:08:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:08:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:08:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:08:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:08:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:08:04] Production.INFO: count ==21
[2025-01-12 13:08:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:08:04] Production.INFO: count ==21
[2025-01-12 13:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231802') start
[2025-01-12 13:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:08:04] Production.ERROR: done
[2025-01-12 13:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:08:04] Production.INFO: Total Charge 0
[2025-01-12 13:08:04] Production.INFO: CreateAllLog End
[2025-01-12 13:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231802') end
[2025-01-12 13:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:08:04] Production.INFO: 1
[2025-01-12 13:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:08:04] Production.ERROR: done
[2025-01-12 13:08:04] Production.INFO: ==12865== Releasing lock...
[2025-01-12 13:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:08:05] Production.INFO: Account Balance End.
[2025-01-12 13:08:05] Production.ERROR: CronJobId end 12
[2025-01-12 13:08:05] Production.INFO: ==12861== Releasing lock...
[2025-01-12 13:08:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:08:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:08:05
[end_date_ymd] => 2025-01-12 13:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:08:05' and `end` < '2025-01-12 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-01-12 13:08:11] Production.ERROR: CronJobId end10
[2025-01-12 13:08:11] Production.INFO: ==12859== Releasing lock...
[2025-01-12 13:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:08:13] Production.INFO: call_cost start
[2025-01-12 13:08:13] Production.INFO: call_cost end
[2025-01-12 13:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:08:14] Production.INFO: ==12855== Releasing lock...
[2025-01-12 13:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:08:19] Production.INFO: count ==1112
[2025-01-12 13:08:20] Production.ERROR: pbx CDR StartTime 2025-01-12 10:08:05 - End Time 2025-01-12 13:08:05
[2025-01-12 13:08:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231803', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231803', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231803', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:08:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231803', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:08:20] Production.INFO: ProcessCDR(1,14231803,1,1,2)
[2025-01-12 13:08:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:08:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:08:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:08:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231803', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231803', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:08:24] Production.INFO: ==12863== Releasing lock...
[2025-01-12 13:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:08:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:09:02] Production.INFO: ==12921== Lock acquired, processing the job...
[2025-01-12 18:09:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:09:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:09:02] Production.INFO: neon service started
[2025-01-12 18:09:02] Production.INFO: neon service started
[2025-01-12 18:09:02] Production.INFO: ==12921== Releasing lock...
[2025-01-12 18:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:09:02] Production.INFO: ==12923== Lock acquired, processing the job...
[2025-01-12 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:09:02] Production.INFO: ==12923== Releasing lock...
[2025-01-12 13:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:09:02] Production.INFO: ==12925== Lock acquired, processing the job...
[2025-01-12 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:09:02] Production.INFO: ==12925== Releasing lock...
[2025-01-12 18:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:09:03] Production.INFO: ==12927== Lock acquired, processing the job...
[2025-01-12 13:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:09:03] Production.INFO: ==12934== Lock acquired, processing the job...
[2025-01-12 13:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:09:03] Production.INFO: ==12930== Lock acquired, processing the job...
[2025-01-12 13:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:09:03] Production.INFO: ==12938== Lock acquired, processing the job...
[2025-01-12 13:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:09:03] Production.INFO: Account Balance Start.
[2025-01-12 13:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:09:03] Production.INFO: 117
[2025-01-12 13:09:03] Production.INFO: ==12932== Lock acquired, processing the job...
[2025-01-12 13:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:09:03] Production.INFO: ==12936== Lock acquired, processing the job...
[2025-01-12 13:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13: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-01-12 13:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:09:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:09:03] Production.INFO: count ==21
[2025-01-12 13:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231807') start
[2025-01-12 13:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:09:04] Production.INFO: Total Charge 0
[2025-01-12 13:09:04] Production.INFO: CreateAllLog End
[2025-01-12 13:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231807') end
[2025-01-12 13:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:09:04] Production.INFO: 1
[2025-01-12 13:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:09:04] Production.INFO: ==12930== Releasing lock...
[2025-01-12 13:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:09:04] Production.INFO: Account Balance End.
[2025-01-12 13:09:04] Production.INFO: ==12938== Releasing lock...
[2025-01-12 13:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:09:04] Production.INFO: ==12934== Releasing lock...
[2025-01-12 13:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:09:04] Production.ERROR: done
[2025-01-12 13:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:09:04] Production.ERROR: done
[2025-01-12 13:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:09:05
[end_date_ymd] => 2025-01-12 13:09:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:09:05' and `end` < '2025-01-12 13: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-01-12 13:09:11] Production.ERROR: CronJobId end10
[2025-01-12 13:09:11] Production.INFO: ==12932== Releasing lock...
[2025-01-12 13:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:09:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:09:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:09:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:09:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:09:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:09:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:09:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:09:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:09:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:09:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:09:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:09:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:09:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:09:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:09:13] Production.INFO: call_cost start
[2025-01-12 13:09:13] Production.INFO: call_cost end
[2025-01-12 13:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:09:14] Production.INFO: ==12927== Releasing lock...
[2025-01-12 13:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:09:18] Production.INFO: count ==1111
[2025-01-12 13:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:09:05 - End Time 2025-01-12 13:09:05
[2025-01-12 13:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231808', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231808', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231808', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231808', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:09:19] Production.INFO: ProcessCDR(1,14231808,1,1,2)
[2025-01-12 13:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231808', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231808', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:09:23] Production.INFO: ==12936== Releasing lock...
[2025-01-12 13:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:09:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:10:01] Production.INFO: ==12993== Lock acquired, processing the job...
[2025-01-12 18:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:10:01] Production.INFO: neon service started
[2025-01-12 18:10:01] Production.INFO: neon service started
[2025-01-12 18:10:01] Production.INFO: ==12993== Releasing lock...
[2025-01-12 18:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:10:01] Production.INFO: ==12995== Lock acquired, processing the job...
[2025-01-12 13:10:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:10:02] Production.INFO: ==12995== Releasing lock...
[2025-01-12 13:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:10:02] Production.INFO: ==12997== Lock acquired, processing the job...
[2025-01-12 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:10:02] Production.INFO: ==12997== Releasing lock...
[2025-01-12 18:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:10:03] Production.INFO: ==12999== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 13:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 13:10:03] Production.INFO: ==13003== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 13:10:03] Production.INFO: ==12999== Releasing lock...
[2025-01-12 13:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 13:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 13:10:03] Production.INFO: ==13005== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:10:03] Production.INFO: ==13009== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:10:03] Production.INFO: ==13001== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:10:03] Production.INFO: ==13007== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:10:03] Production.INFO: ==13011== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 13:10:03] Production.INFO: Account Balance Start.
[2025-01-12 13:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:10:03] Production.INFO: ==13014== Lock acquired, processing the job...
[2025-01-12 13:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:10:03] Production.INFO: 117
[2025-01-12 13:10:03] Production.INFO: ==13003== Releasing lock...
[2025-01-12 13:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:10:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:10:03] Production.ERROR: done
[2025-01-12 13:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:10:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 13:10:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:10:04] Production.ERROR: done
[2025-01-12 13:10:04] Production.INFO: count ==21
[2025-01-12 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231812') start
[2025-01-12 13:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:10:04] Production.ERROR: done
[2025-01-12 13:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231812') end
[2025-01-12 13:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:10:04] Production.INFO: 1
[2025-01-12 13:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 13:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231814', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 13:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:10:04] Production.INFO: Total Charge 0
[2025-01-12 13:10:04] Production.INFO: ==13014== Releasing lock...
[2025-01-12 13:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:10:04] Production.INFO: CreateAllLog End
[2025-01-12 13:10:04] Production.INFO: Account Balance End.
[2025-01-12 13:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:10:04] Production.INFO: ==13007== Releasing lock...
[2025-01-12 13:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:10:05
[end_date_ymd] => 2025-01-12 13:10:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:10:05' and `end` < '2025-01-12 13: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-01-12 13:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231814', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 13:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 13:10:08] Production.INFO: ProcessCDR(1,14231814,1,1,2)
[2025-01-12 13:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231814,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231814,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:10:08] Production.INFO: ==13011== Releasing lock...
[2025-01-12 13:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 13:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 13:10:13] Production.ERROR: CronJobId end10
[2025-01-12 13:10:13] Production.INFO: ==13005== Releasing lock...
[2025-01-12 13:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:10:14] Production.INFO: call_cost start
[2025-01-12 13:10:14] Production.INFO: call_cost end
[2025-01-12 13:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:10:15] Production.INFO: ==13001== Releasing lock...
[2025-01-12 13:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:10:18] Production.INFO: count ==1107
[2025-01-12 13:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:10:05 - End Time 2025-01-12 13:10:05
[2025-01-12 13:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231813', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231813', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231813', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231813', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:10:18] Production.INFO: ProcessCDR(1,14231813,1,1,2)
[2025-01-12 13:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:10:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:10:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:10:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231813', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:10:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231813', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:10:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:10:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:10:22] Production.INFO: ==13009== Releasing lock...
[2025-01-12 13:10:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:10:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 18:11:01] Production.INFO: ==13067== Lock acquired, processing the job...
[2025-01-12 18:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:11:01] Production.INFO: neon service started
[2025-01-12 18:11:01] Production.INFO: neon service started
[2025-01-12 18:11:01] Production.INFO: ==13067== Releasing lock...
[2025-01-12 18:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:11:02] Production.INFO: ==13071== Lock acquired, processing the job...
[2025-01-12 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:11:02] Production.INFO: ==13071== Releasing lock...
[2025-01-12 18:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:11:02] Production.INFO: ==13069== Lock acquired, processing the job...
[2025-01-12 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:11:02] Production.INFO: ==13069== Releasing lock...
[2025-01-12 13:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:11:03] Production.INFO: ==13079== Lock acquired, processing the job...
[2025-01-12 13:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:11:03] Production.INFO: ==13073== Lock acquired, processing the job...
[2025-01-12 13:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:11:03] Production.INFO: ==13081== Lock acquired, processing the job...
[2025-01-12 13:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:11:03] Production.INFO: ==13075== Lock acquired, processing the job...
[2025-01-12 13:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:11:03] Production.INFO: Account Balance Start.
[2025-01-12 13:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:11:03] Production.INFO: 117
[2025-01-12 13:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:11:03] Production.INFO: ==13083== Lock acquired, processing the job...
[2025-01-12 13:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:11:03] Production.INFO: ==13077== Lock acquired, processing the job...
[2025-01-12 13:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:11:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:11:03] Production.INFO: Total Charge 0
[2025-01-12 13:11:03] Production.INFO: count ==21
[2025-01-12 13:11:03] Production.INFO: CreateAllLog End
[2025-01-12 13:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231817') start
[2025-01-12 13:11:04] Production.ERROR: done
[2025-01-12 13:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:11:04] Production.INFO: ==13075== Releasing lock...
[2025-01-12 13:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:11:04] Production.INFO: Account Balance End.
[2025-01-12 13:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231817') end
[2025-01-12 13:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:11:04] Production.INFO: 1
[2025-01-12 13:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:11:04] Production.INFO: ==13083== Releasing lock...
[2025-01-12 13:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:11:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:11:04] Production.INFO: ==13079== Releasing lock...
[2025-01-12 13:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:11:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:11:04] Production.ERROR: done
[2025-01-12 13:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:11:05
[end_date_ymd] => 2025-01-12 13:11:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:11:05' and `end` < '2025-01-12 13: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-01-12 13:11:11] Production.ERROR: CronJobId end10
[2025-01-12 13:11:11] Production.INFO: ==13077== Releasing lock...
[2025-01-12 13:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:11:13] Production.INFO: call_cost start
[2025-01-12 13:11:13] Production.INFO: call_cost end
[2025-01-12 13:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:11:14] Production.INFO: ==13073== Releasing lock...
[2025-01-12 13:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:11:18] Production.INFO: count ==1155
[2025-01-12 13:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:11:05 - End Time 2025-01-12 13:11:05
[2025-01-12 13:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231819', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231819', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231819', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231819', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:11:18] Production.INFO: ProcessCDR(1,14231819,1,1,2)
[2025-01-12 13:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231819,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231819,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231819', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231819', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:11:23] Production.INFO: ==13081== Releasing lock...
[2025-01-12 13:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:11:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:12:02] Production.INFO: ==13138== Lock acquired, processing the job...
[2025-01-12 18:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:12:02] Production.INFO: neon service started
[2025-01-12 18:12:02] Production.INFO: neon service started
[2025-01-12 18:12:02] Production.INFO: ==13138== Releasing lock...
[2025-01-12 18:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:12:02] Production.INFO: ==13140== Lock acquired, processing the job...
[2025-01-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:12:02] Production.INFO: ==13140== Releasing lock...
[2025-01-12 13:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:12:02] Production.INFO: ==13142== Lock acquired, processing the job...
[2025-01-12 18:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:12:03] Production.INFO: ==13142== Releasing lock...
[2025-01-12 18:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:12:03] Production.INFO: ==13144== Lock acquired, processing the job...
[2025-01-12 13:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:12:03] Production.INFO: ==13146== Lock acquired, processing the job...
[2025-01-12 13:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:12:03] Production.INFO: ==13148== Lock acquired, processing the job...
[2025-01-12 13:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:12:03] Production.INFO: ==13150== Lock acquired, processing the job...
[2025-01-12 13:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:12:04] Production.INFO: Account Balance Start.
[2025-01-12 13:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:12:04] Production.INFO: 117
[2025-01-12 13:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:12:04] Production.INFO: ==13152== Lock acquired, processing the job...
[2025-01-12 13:12:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:12:04] Production.INFO: ==13154== Lock acquired, processing the job...
[2025-01-12 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:12:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:12:04] Production.INFO: Total Charge 0
[2025-01-12 13:12:04] Production.INFO: ==13146== Releasing lock...
[2025-01-12 13:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:12:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 13:12:04] Production.INFO: count ==21
[2025-01-12 13:12:04] Production.ERROR: done
[2025-01-12 13:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 13:12:04] Production.INFO: count ==21
[2025-01-12 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231823') start
[2025-01-12 13:12:04] Production.ERROR: done
[2025-01-12 13:12:04] Production.INFO: Account Balance End.
[2025-01-12 13:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:12:04] Production.INFO: ==13150== Releasing lock...
[2025-01-12 13:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231823') end
[2025-01-12 13:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:12:04] Production.INFO: 1
[2025-01-12 13:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:12:04] Production.INFO: ==13154== Releasing lock...
[2025-01-12 13:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:12:05
[end_date_ymd] => 2025-01-12 13:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:12:05' and `end` < '2025-01-12 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-01-12 13:12:12] Production.ERROR: CronJobId end10
[2025-01-12 13:12:12] Production.INFO: ==13148== Releasing lock...
[2025-01-12 13:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:12:14] Production.INFO: call_cost start
[2025-01-12 13:12:14] Production.INFO: call_cost end
[2025-01-12 13:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:12:15] Production.INFO: ==13144== Releasing lock...
[2025-01-12 13:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:12:18] Production.INFO: count ==1151
[2025-01-12 13:12:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:12:05 - End Time 2025-01-12 13:12:05
[2025-01-12 13:12:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231824', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231824', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231824', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231824', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:12:19] Production.INFO: ProcessCDR(1,14231824,1,1,2)
[2025-01-12 13:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:12:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231824,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:12:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:12:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231824,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231824', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:12:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231824', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:12:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:12:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:12:22] Production.INFO: ==13152== Releasing lock...
[2025-01-12 13:12:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:12:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:13:01] Production.INFO: ==13210== Lock acquired, processing the job...
[2025-01-12 18:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:13:01] Production.INFO: neon service started
[2025-01-12 18:13:01] Production.INFO: neon service started
[2025-01-12 18:13:01] Production.INFO: ==13210== Releasing lock...
[2025-01-12 18:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:13:02] Production.INFO: ==13212== Lock acquired, processing the job...
[2025-01-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:13:02] Production.INFO: ==13214== Lock acquired, processing the job...
[2025-01-12 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:13:02] Production.INFO: ==13214== Releasing lock...
[2025-01-12 18:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:13:02] Production.INFO: ==13212== Releasing lock...
[2025-01-12 13:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:13:03] Production.INFO: ==13217== Lock acquired, processing the job...
[2025-01-12 13:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:13:03] Production.INFO: ==13219== Lock acquired, processing the job...
[2025-01-12 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:13:03] Production.INFO: ==13221== Lock acquired, processing the job...
[2025-01-12 13:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:13:03] Production.INFO: ==13223== Lock acquired, processing the job...
[2025-01-12 13:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:13:03] Production.INFO: ==13219== Releasing lock...
[2025-01-12 13:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:13:03] Production.INFO: ==13225== Lock acquired, processing the job...
[2025-01-12 13:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:13:03] Production.INFO: Account Balance Start.
[2025-01-12 13:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:13:03] Production.INFO: 117
[2025-01-12 13:13:03] Production.INFO: ==13227== Lock acquired, processing the job...
[2025-01-12 13:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:13:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:13:03] Production.INFO: count ==21
[2025-01-12 13:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231828') start
[2025-01-12 13:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231828') end
[2025-01-12 13:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:13:04] Production.INFO: 1
[2025-01-12 13:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:13:04] Production.INFO: ==13227== Releasing lock...
[2025-01-12 13:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:13:04] Production.ERROR: done
[2025-01-12 13:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:13:04] Production.INFO: Total Charge 0
[2025-01-12 13:13:04] Production.INFO: CreateAllLog End
[2025-01-12 13:13:04] Production.ERROR: done
[2025-01-12 13:13:04] Production.INFO: Account Balance End.
[2025-01-12 13:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:13:04] Production.INFO: ==13223== Releasing lock...
[2025-01-12 13:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:13:05
[end_date_ymd] => 2025-01-12 13:13:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:13:05' and `end` < '2025-01-12 13: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-01-12 13:13:10] Production.ERROR: CronJobId end10
[2025-01-12 13:13:10] Production.INFO: ==13221== Releasing lock...
[2025-01-12 13:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:13:12] Production.INFO: call_cost start
[2025-01-12 13:13:12] Production.INFO: call_cost end
[2025-01-12 13:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:13:13] Production.INFO: ==13217== Releasing lock...
[2025-01-12 13:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:13:19] Production.INFO: count ==1158
[2025-01-12 13:13:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:13:05 - End Time 2025-01-12 13:13:05
[2025-01-12 13:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231829', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231829', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231829', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231829', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:13:19] Production.INFO: ProcessCDR(1,14231829,1,1,2)
[2025-01-12 13:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231829,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231829,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231829', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231829', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:13:22] Production.INFO: ==13225== Releasing lock...
[2025-01-12 13:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:13:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:14:02] Production.INFO: ==13319== Lock acquired, processing the job...
[2025-01-12 18:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:14:02] Production.INFO: neon service started
[2025-01-12 18:14:02] Production.INFO: neon service started
[2025-01-12 18:14:02] Production.INFO: ==13319== Releasing lock...
[2025-01-12 18:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:14:02] Production.INFO: ==13324== Lock acquired, processing the job...
[2025-01-12 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:14:02] Production.INFO: ==13324== Releasing lock...
[2025-01-12 18:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:14:02] Production.INFO: ==13322== Lock acquired, processing the job...
[2025-01-12 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:14:02] Production.INFO: ==13322== Releasing lock...
[2025-01-12 13:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:14:03] Production.INFO: ==13332== Lock acquired, processing the job...
[2025-01-12 13:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:14:03] Production.INFO: ==13334== Lock acquired, processing the job...
[2025-01-12 13:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:14:03] Production.INFO: Account Balance Start.
[2025-01-12 13:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:14:03] Production.INFO: 117
[2025-01-12 13:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:14:04] Production.INFO: Total Charge 0
[2025-01-12 13:14:04] Production.INFO: CreateAllLog End
[2025-01-12 13:14:04] Production.INFO: ==13326== Lock acquired, processing the job...
[2025-01-12 13:14:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:14:04] Production.INFO: ==13328== Lock acquired, processing the job...
[2025-01-12 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:14:04] Production.INFO: ==13330== Lock acquired, processing the job...
[2025-01-12 13:14:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:14:04] Production.INFO: ==13336== Lock acquired, processing the job...
[2025-01-12 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:14:04] Production.INFO: Account Balance End.
[2025-01-12 13:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:14:04] Production.INFO: ==13332== Releasing lock...
[2025-01-12 13:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:14:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13: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-01-12 13:14:04] Production.INFO: count ==21
[2025-01-12 13:14:04] Production.ERROR: done
[2025-01-12 13:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:14:04] Production.INFO: count ==21
[2025-01-12 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231831') start
[2025-01-12 13:14:04] Production.ERROR: done
[2025-01-12 13:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231831') end
[2025-01-12 13:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:14:04] Production.INFO: 1
[2025-01-12 13:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:14:04] Production.INFO: ==13336== Releasing lock...
[2025-01-12 13:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:14:04] Production.INFO: ==13328== Releasing lock...
[2025-01-12 13:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:14:05
[end_date_ymd] => 2025-01-12 13:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:14:05' and `end` < '2025-01-12 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-01-12 13:14:11] Production.ERROR: CronJobId end10
[2025-01-12 13:14:11] Production.INFO: ==13330== Releasing lock...
[2025-01-12 13:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:14:12] Production.INFO: call_cost start
[2025-01-12 13:14:12] Production.INFO: call_cost end
[2025-01-12 13:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:14:13] Production.INFO: ==13326== Releasing lock...
[2025-01-12 13:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:14:18] Production.INFO: count ==1156
[2025-01-12 13:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:14:05 - End Time 2025-01-12 13:14:05
[2025-01-12 13:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231834', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231834', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231834', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231834', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:14:19] Production.INFO: ProcessCDR(1,14231834,1,1,2)
[2025-01-12 13:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:14:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:14:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:14:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231834', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:14:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231834', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:14:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:14:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:14:22] Production.INFO: ==13334== Releasing lock...
[2025-01-12 13:14:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:14:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 18:15:01] Production.INFO: ==13390== Lock acquired, processing the job...
[2025-01-12 18:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:15:01] Production.INFO: neon service started
[2025-01-12 18:15:01] Production.INFO: neon service started
[2025-01-12 18:15:01] Production.INFO: ==13390== Releasing lock...
[2025-01-12 18:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:15:01] Production.INFO: ==13392== Lock acquired, processing the job...
[2025-01-12 13:15:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:15:02] Production.INFO: ==13392== Releasing lock...
[2025-01-12 13:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:15:02] Production.INFO: ==13394== Lock acquired, processing the job...
[2025-01-12 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:15:02] Production.INFO: ==13394== Releasing lock...
[2025-01-12 18:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:15:03] Production.INFO: ==13397== Lock acquired, processing the job...
[2025-01-12 13:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:15:03] Production.INFO: ==13403== Lock acquired, processing the job...
[2025-01-12 13:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:15:03] Production.INFO: Account Balance Start.
[2025-01-12 13:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:15:03] Production.INFO: 117
[2025-01-12 13:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:15:03] Production.INFO: ==13407== Lock acquired, processing the job...
[2025-01-12 13:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:15:03] Production.INFO: ==13399== Lock acquired, processing the job...
[2025-01-12 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:15:03] Production.INFO: ==13401== Lock acquired, processing the job...
[2025-01-12 13:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:15:03] Production.INFO: ==13405== Lock acquired, processing the job...
[2025-01-12 13:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13: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-01-12 13:15:03] Production.INFO: Total Charge 0
[2025-01-12 13:15:03] Production.INFO: CreateAllLog End
[2025-01-12 13:15:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:15:03] Production.INFO: count ==21
[2025-01-12 13:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231838') start
[2025-01-12 13:15:03] Production.INFO: ==13399== Releasing lock...
[2025-01-12 13:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:15:03] Production.ERROR: done
[2025-01-12 13:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231838') end
[2025-01-12 13:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:15:03] Production.INFO: 1
[2025-01-12 13:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:15:04] Production.INFO: ==13407== Releasing lock...
[2025-01-12 13:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:15:04] Production.ERROR: done
[2025-01-12 13:15:04] Production.INFO: Account Balance End.
[2025-01-12 13:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:15:04] Production.INFO: ==13403== Releasing lock...
[2025-01-12 13:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:15:05
[end_date_ymd] => 2025-01-12 13:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:15:05' and `end` < '2025-01-12 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-01-12 13:15:11] Production.ERROR: CronJobId end10
[2025-01-12 13:15:11] Production.INFO: ==13401== Releasing lock...
[2025-01-12 13:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:15:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:15:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:15:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:15:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:15:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:15:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:15:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:15:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:15:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:15:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:15:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:15:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:15:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:15:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:15:14] Production.INFO: call_cost start
[2025-01-12 13:15:14] Production.INFO: call_cost end
[2025-01-12 13:15:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:15:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:15:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:15:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:15:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:15:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:15:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:15:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:15:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:15:15] Production.INFO: ==13397== Releasing lock...
[2025-01-12 13:15:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:15:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:15:18] Production.INFO: count ==1156
[2025-01-12 13:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:15:05 - End Time 2025-01-12 13:15:05
[2025-01-12 13:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231839', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231839', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231839', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231839', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:15:18] Production.INFO: ProcessCDR(1,14231839,1,1,2)
[2025-01-12 13:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231839', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231839', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:15:21] Production.INFO: ==13405== Releasing lock...
[2025-01-12 13:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:15:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 18:16:02] Production.INFO: ==13461== Lock acquired, processing the job...
[2025-01-12 18:16:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:16:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:16:02] Production.INFO: neon service started
[2025-01-12 18:16:02] Production.INFO: neon service started
[2025-01-12 18:16:02] Production.INFO: ==13461== Releasing lock...
[2025-01-12 18:16:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:16:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:16:02] Production.INFO: ==13463== Lock acquired, processing the job...
[2025-01-12 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:16:02] Production.INFO: ==13463== Releasing lock...
[2025-01-12 13:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:16:02] Production.INFO: ==13465== Lock acquired, processing the job...
[2025-01-12 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:16:02] Production.INFO: ==13465== Releasing lock...
[2025-01-12 18:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:16:03] Production.INFO: ==13478== Lock acquired, processing the job...
[2025-01-12 13:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:16:03] Production.INFO: ==13468== Lock acquired, processing the job...
[2025-01-12 13:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:16:03] Production.INFO: ==13476== Lock acquired, processing the job...
[2025-01-12 13:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:16:03] Production.INFO: ==13470== Lock acquired, processing the job...
[2025-01-12 13:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:16:03] Production.INFO: ==13472== Lock acquired, processing the job...
[2025-01-12 13:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:16:04] Production.INFO: ==13474== Lock acquired, processing the job...
[2025-01-12 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 13:16:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:16:04] Production.INFO: count ==21
[2025-01-12 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231840') start
[2025-01-12 13:16:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:16:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:16:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:16:04] Production.INFO: Account Balance Start.
[2025-01-12 13:16:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:16:04] Production.INFO: 117
[2025-01-12 13:16:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:16:04] Production.INFO: ==13470== Releasing lock...
[2025-01-12 13:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231840') end
[2025-01-12 13:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:16:04] Production.INFO: 1
[2025-01-12 13:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:16:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:16:04] Production.ERROR: done
[2025-01-12 13:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:16:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:16:04] Production.INFO: ==13478== Releasing lock...
[2025-01-12 13:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:16:04] Production.INFO: Total Charge 0
[2025-01-12 13:16:04] Production.INFO: CreateAllLog End
[2025-01-12 13:16:04] Production.ERROR: done
[2025-01-12 13:16:04] Production.INFO: Account Balance End.
[2025-01-12 13:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:16:04] Production.INFO: ==13474== Releasing lock...
[2025-01-12 13:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:16:05
[end_date_ymd] => 2025-01-12 13:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:16:05' and `end` < '2025-01-12 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-01-12 13:16:11] Production.ERROR: CronJobId end10
[2025-01-12 13:16:11] Production.INFO: ==13472== Releasing lock...
[2025-01-12 13:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:16:13] Production.INFO: call_cost start
[2025-01-12 13:16:13] Production.INFO: call_cost end
[2025-01-12 13:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:16:14] Production.INFO: ==13468== Releasing lock...
[2025-01-12 13:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:16:18] Production.INFO: count ==1156
[2025-01-12 13:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:16:05 - End Time 2025-01-12 13:16:05
[2025-01-12 13:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231844', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231844', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231844', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231844', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:16:18] Production.INFO: ProcessCDR(1,14231844,1,1,2)
[2025-01-12 13:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231844', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231844', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:16:22] Production.INFO: ==13476== Releasing lock...
[2025-01-12 13:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:16:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 18:17:01] Production.INFO: ==13531== Lock acquired, processing the job...
[2025-01-12 18:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:17:01] Production.INFO: neon service started
[2025-01-12 18:17:01] Production.INFO: neon service started
[2025-01-12 18:17:01] Production.INFO: ==13531== Releasing lock...
[2025-01-12 18:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:17:01] Production.INFO: ==13535== Lock acquired, processing the job...
[2025-01-12 18:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:17:01] Production.INFO: ==13535== Releasing lock...
[2025-01-12 18:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:17:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:17:02] Production.INFO: ==13533== Lock acquired, processing the job...
[2025-01-12 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:17:02] Production.INFO: ==13533== Releasing lock...
[2025-01-12 13:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:17:03] Production.INFO: ==13537== Lock acquired, processing the job...
[2025-01-12 13:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:17:03] Production.INFO: ==13539== Lock acquired, processing the job...
[2025-01-12 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:17:03] Production.INFO: ==13548== Lock acquired, processing the job...
[2025-01-12 13:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:17:03] Production.INFO: ==13542== Lock acquired, processing the job...
[2025-01-12 13:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:17:03] Production.INFO: ==13544== Lock acquired, processing the job...
[2025-01-12 13:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:17:03] Production.INFO: ==13539== Releasing lock...
[2025-01-12 13:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13: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-01-12 13:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:17:03] Production.INFO: ==13546== Lock acquired, processing the job...
[2025-01-12 13:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:17:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:17:03] Production.INFO: count ==21
[2025-01-12 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231847') start
[2025-01-12 13:17:03] Production.INFO: Account Balance Start.
[2025-01-12 13:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:17:03] Production.INFO: 117
[2025-01-12 13:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:17:03] Production.ERROR: done
[2025-01-12 13:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231847') end
[2025-01-12 13:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:17:03] Production.INFO: 1
[2025-01-12 13:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:17:04] Production.INFO: ==13548== Releasing lock...
[2025-01-12 13:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:17:04] Production.INFO: Total Charge 0
[2025-01-12 13:17:04] Production.INFO: CreateAllLog End
[2025-01-12 13:17:04] Production.ERROR: done
[2025-01-12 13:17:04] Production.INFO: Account Balance End.
[2025-01-12 13:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:17:04] Production.INFO: ==13544== Releasing lock...
[2025-01-12 13:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:17:05
[end_date_ymd] => 2025-01-12 13:17:05
[RateCDR] => 1
)
[2025-01-12 13:17:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:17:05' and `end` < '2025-01-12 13:17:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:17:11] Production.ERROR: CronJobId end10
[2025-01-12 13:17:11] Production.INFO: ==13542== Releasing lock...
[2025-01-12 13:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:17:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:17:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:17:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:17:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:17:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:17:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:17:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:17:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:17:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:17:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:17:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:17:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:17:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:17:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:17:13] Production.INFO: call_cost start
[2025-01-12 13:17:13] Production.INFO: call_cost end
[2025-01-12 13:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:17:14] Production.INFO: ==13537== Releasing lock...
[2025-01-12 13:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:17:19] Production.INFO: count ==1157
[2025-01-12 13:17:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:17:05 - End Time 2025-01-12 13:17:05
[2025-01-12 13:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231849', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231849', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231849', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231849', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:17:19] Production.INFO: ProcessCDR(1,14231849,1,1,2)
[2025-01-12 13:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:17:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231849', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:17:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231849', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:17:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:17:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:17:24] Production.INFO: ==13546== Releasing lock...
[2025-01-12 13:17:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:17:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:18:01] Production.INFO: ==13601== Lock acquired, processing the job...
[2025-01-12 18:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:18:01] Production.INFO: neon service started
[2025-01-12 18:18:01] Production.INFO: neon service started
[2025-01-12 18:18:01] Production.INFO: ==13601== Releasing lock...
[2025-01-12 18:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:18:02] Production.INFO: ==13603== Lock acquired, processing the job...
[2025-01-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:18:02] Production.INFO: ==13605== Lock acquired, processing the job...
[2025-01-12 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:18:02] Production.INFO: ==13605== Releasing lock...
[2025-01-12 18:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:18:02] Production.INFO: ==13603== Releasing lock...
[2025-01-12 13:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:18:03] Production.INFO: ==13614== Lock acquired, processing the job...
[2025-01-12 13:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:18:03] Production.INFO: ==13616== Lock acquired, processing the job...
[2025-01-12 13:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:18:03] Production.INFO: ==13608== Lock acquired, processing the job...
[2025-01-12 13:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:18:03] Production.INFO: Account Balance Start.
[2025-01-12 13:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:18:03] Production.INFO: 117
[2025-01-12 13:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:18:04] Production.INFO: ==13610== Lock acquired, processing the job...
[2025-01-12 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:18:04] Production.INFO: ==13612== Lock acquired, processing the job...
[2025-01-12 13:18:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:18:04] Production.INFO: ==13618== Lock acquired, processing the job...
[2025-01-12 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:18:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:18:04] Production.INFO: Total Charge 0
[2025-01-12 13:18:04] Production.INFO: CreateAllLog End
[2025-01-12 13:18:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:18:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:18:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:18:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 13:18:04] Production.ERROR: done
[2025-01-12 13:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:18:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:18:04] Production.INFO: count ==21
[2025-01-12 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231853') start
[2025-01-12 13:18:04] Production.INFO: Account Balance End.
[2025-01-12 13:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231853') end
[2025-01-12 13:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:18:04] Production.INFO: 1
[2025-01-12 13:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:18:04] Production.ERROR: done
[2025-01-12 13:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:18:04] Production.INFO: ==13614== Releasing lock...
[2025-01-12 13:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:18:04] Production.INFO: ==13618== Releasing lock...
[2025-01-12 13:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:18:04] Production.INFO: ==13610== Releasing lock...
[2025-01-12 13:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:18:05
[end_date_ymd] => 2025-01-12 13:18:05
[RateCDR] => 1
)
[2025-01-12 13:18:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:18:05' and `end` < '2025-01-12 13:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:18: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-01-12 13:18:12] Production.ERROR: CronJobId end10
[2025-01-12 13:18:12] Production.INFO: ==13612== Releasing lock...
[2025-01-12 13:18:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:18:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:18:13] Production.INFO: call_cost start
[2025-01-12 13:18:13] Production.INFO: call_cost end
[2025-01-12 13:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:18:14] Production.INFO: ==13608== Releasing lock...
[2025-01-12 13:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:18:19] Production.INFO: count ==1157
[2025-01-12 13:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:18:05 - End Time 2025-01-12 13:18:05
[2025-01-12 13:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231854', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231854', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231854', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231854', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:18:19] Production.INFO: ProcessCDR(1,14231854,1,1,2)
[2025-01-12 13:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:18:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:18:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:18:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231854', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:18:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231854', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:18:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:18:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:18:22] Production.INFO: ==13616== Releasing lock...
[2025-01-12 13:18:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:18:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:19:02] Production.INFO: ==13672== Lock acquired, processing the job...
[2025-01-12 18:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:19:02] Production.INFO: neon service started
[2025-01-12 18:19:02] Production.INFO: neon service started
[2025-01-12 18:19:02] Production.INFO: ==13672== Releasing lock...
[2025-01-12 18:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:19:02] Production.INFO: ==13674== Lock acquired, processing the job...
[2025-01-12 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:19:02] Production.INFO: ==13674== Releasing lock...
[2025-01-12 13:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:19:02] Production.INFO: ==13676== Lock acquired, processing the job...
[2025-01-12 18:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:19:03] Production.INFO: ==13676== Releasing lock...
[2025-01-12 18:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:19:03] Production.INFO: ==13678== Lock acquired, processing the job...
[2025-01-12 13:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:19:03] Production.INFO: ==13680== Lock acquired, processing the job...
[2025-01-12 13:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:19:03] Production.INFO: ==13689== Lock acquired, processing the job...
[2025-01-12 13:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:19:03] Production.INFO: ==13682== Lock acquired, processing the job...
[2025-01-12 13:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:19:03] Production.INFO: ==13687== Lock acquired, processing the job...
[2025-01-12 13:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:19:03] Production.INFO: ==13685== Lock acquired, processing the job...
[2025-01-12 13:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 13:19:04] Production.INFO: Account Balance Start.
[2025-01-12 13:19:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:19:04] Production.INFO: count ==21
[2025-01-12 13:19:04] Production.INFO: 117
[2025-01-12 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-01-12 13:19:04] Production.INFO: count ==21
[2025-01-12 13:19:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231857') start
[2025-01-12 13:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:19:04] Production.ERROR: done
[2025-01-12 13:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231857') end
[2025-01-12 13:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:19:04] Production.INFO: 1
[2025-01-12 13:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:19:04] Production.INFO: ==13680== Releasing lock...
[2025-01-12 13:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:19:04] Production.INFO: Total Charge 0
[2025-01-12 13:19:04] Production.INFO: ==13689== Releasing lock...
[2025-01-12 13:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:19:04] Production.INFO: CreateAllLog End
[2025-01-12 13:19:04] Production.ERROR: done
[2025-01-12 13:19:04] Production.INFO: Account Balance End.
[2025-01-12 13:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:19:04] Production.INFO: ==13685== Releasing lock...
[2025-01-12 13:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:19:05
[end_date_ymd] => 2025-01-12 13:19:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:19:05' and `end` < '2025-01-12 13: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-01-12 13:19:11] Production.ERROR: CronJobId end10
[2025-01-12 13:19:11] Production.INFO: ==13682== Releasing lock...
[2025-01-12 13:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:19:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:19:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:19:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:19:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:19:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:19:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:19:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:19:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:19:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:19:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:19:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:19:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:19:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:19:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:19:14] Production.INFO: call_cost start
[2025-01-12 13:19:14] Production.INFO: call_cost end
[2025-01-12 13:19:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:19:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:19:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:19:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:19:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:19:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:19:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:19:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:19:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:19:15] Production.INFO: ==13678== Releasing lock...
[2025-01-12 13:19:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:19:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:19:19] Production.INFO: count ==1158
[2025-01-12 13:19:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:19:05 - End Time 2025-01-12 13:19:05
[2025-01-12 13:19:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231859', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231859', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231859', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:19:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231859', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:19:19] Production.INFO: ProcessCDR(1,14231859,1,1,2)
[2025-01-12 13:19:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:19:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:19:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:19:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231859', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:19:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231859', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:19:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:19:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:19:24] Production.INFO: ==13687== Releasing lock...
[2025-01-12 13:19:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:19:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:20:01] Production.INFO: ==13746== Lock acquired, processing the job...
[2025-01-12 18:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:20:01] Production.INFO: neon service started
[2025-01-12 18:20:01] Production.INFO: neon service started
[2025-01-12 18:20:01] Production.INFO: ==13746== Releasing lock...
[2025-01-12 18:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:20:02] Production.INFO: ==13748== Lock acquired, processing the job...
[2025-01-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:20:02] Production.INFO: ==13750== Lock acquired, processing the job...
[2025-01-12 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:20:02] Production.INFO: ==13750== Releasing lock...
[2025-01-12 18:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:20:02] Production.INFO: ==13748== Releasing lock...
[2025-01-12 13:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:20:03] Production.INFO: ==13753== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 13:20:03] Production.INFO: ==13755== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:20:03] Production.INFO: ==13757== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 13:20:03] Production.INFO: ==13759== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:20:03] Production.INFO: ==13761== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 13:20:03] Production.INFO: ==13753== Releasing lock...
[2025-01-12 13:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 13:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 13:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:20:03] Production.INFO: ==13763== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:20:03] Production.INFO: Account Balance Start.
[2025-01-12 13:20:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:20:03] Production.INFO: 117
[2025-01-12 13:20:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:20:03] Production.INFO: ==13767== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:20:03] Production.INFO: ==13765== Lock acquired, processing the job...
[2025-01-12 13:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 13:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:20:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:20:04] Production.INFO: ==13757== Releasing lock...
[2025-01-12 13:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 13:20:04] Production.INFO: count ==21
[2025-01-12 13:20:04] Production.INFO: Total Charge 0
[2025-01-12 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-01-12 13:20:04] Production.INFO: count ==21
[2025-01-12 13:20:04] Production.INFO: CreateAllLog End
[2025-01-12 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231863') start
[2025-01-12 13:20:04] Production.ERROR: done
[2025-01-12 13:20:04] Production.ERROR: done
[2025-01-12 13:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231863') end
[2025-01-12 13:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:20:04] Production.INFO: 1
[2025-01-12 13:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:20:04] Production.INFO: ==13767== Releasing lock...
[2025-01-12 13:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:20:04] Production.ERROR: done
[2025-01-12 13:20:04] Production.INFO: Account Balance End.
[2025-01-12 13:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:20:04] Production.INFO: ==13761== Releasing lock...
[2025-01-12 13:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 13:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231864', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 13:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:20:05
[end_date_ymd] => 2025-01-12 13:20:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:20:05' and `end` < '2025-01-12 13: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-01-12 13:20:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231864', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 13:20:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 13:20:09] Production.INFO: ProcessCDR(1,14231864,1,1,2)
[2025-01-12 13:20:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:20:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231864,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:20:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:20:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:20:09] Production.INFO: ==13765== Releasing lock...
[2025-01-12 13:20:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 13:20:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 13:20:11] Production.ERROR: CronJobId end10
[2025-01-12 13:20:11] Production.INFO: ==13759== Releasing lock...
[2025-01-12 13:20:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:20:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:20:14] Production.INFO: call_cost start
[2025-01-12 13:20:14] Production.INFO: call_cost end
[2025-01-12 13:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:20:15] Production.INFO: ==13755== Releasing lock...
[2025-01-12 13:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:20:19] Production.INFO: count ==1139
[2025-01-12 13:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:20:05 - End Time 2025-01-12 13:20:05
[2025-01-12 13:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231865', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231865', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231865', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231865', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:20:19] Production.INFO: ProcessCDR(1,14231865,1,1,2)
[2025-01-12 13:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231865,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231865,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231865', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231865', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:20:23] Production.INFO: ==13763== Releasing lock...
[2025-01-12 13:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:20:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 18:21:02] Production.INFO: ==13821== Lock acquired, processing the job...
[2025-01-12 18:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:21:02] Production.INFO: neon service started
[2025-01-12 18:21:02] Production.INFO: neon service started
[2025-01-12 18:21:02] Production.INFO: ==13821== Releasing lock...
[2025-01-12 18:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:21:02] Production.INFO: ==13825== Lock acquired, processing the job...
[2025-01-12 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:21:02] Production.INFO: ==13825== Releasing lock...
[2025-01-12 18:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:21:02] Production.INFO: ==13823== Lock acquired, processing the job...
[2025-01-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:21:02] Production.INFO: ==13823== Releasing lock...
[2025-01-12 13:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:21:03] Production.INFO: ==13828== Lock acquired, processing the job...
[2025-01-12 13:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:21:03] Production.INFO: ==13832== Lock acquired, processing the job...
[2025-01-12 13:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:21:03] Production.INFO: ==13838== Lock acquired, processing the job...
[2025-01-12 13:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:21:03] Production.INFO: ==13830== Lock acquired, processing the job...
[2025-01-12 13:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13: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-01-12 13:21:03] Production.INFO: count ==21
[2025-01-12 13:21:03] Production.INFO: ==13834== Lock acquired, processing the job...
[2025-01-12 13:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 13:21:04] Production.INFO: count ==21
[2025-01-12 13:21:04] Production.INFO: ==13836== Lock acquired, processing the job...
[2025-01-12 13:21:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:21:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231867') start
[2025-01-12 13:21:04] Production.INFO: Account Balance Start.
[2025-01-12 13:21:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:21:04] Production.INFO: 117
[2025-01-12 13:21:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231867') end
[2025-01-12 13:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:21:04] Production.INFO: 1
[2025-01-12 13:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:21:04] Production.ERROR: done
[2025-01-12 13:21:04] Production.INFO: ==13838== Releasing lock...
[2025-01-12 13:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:21:04] Production.INFO: ==13830== Releasing lock...
[2025-01-12 13:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:21:04] Production.INFO: Total Charge 0
[2025-01-12 13:21:04] Production.INFO: CreateAllLog End
[2025-01-12 13:21:04] Production.ERROR: done
[2025-01-12 13:21:04] Production.INFO: Account Balance End.
[2025-01-12 13:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:21:04] Production.INFO: ==13834== Releasing lock...
[2025-01-12 13:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:21:05
[end_date_ymd] => 2025-01-12 13:21:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:21:05' and `end` < '2025-01-12 13: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-01-12 13:21:11] Production.ERROR: CronJobId end10
[2025-01-12 13:21:11] Production.INFO: ==13832== Releasing lock...
[2025-01-12 13:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:21:13] Production.INFO: call_cost start
[2025-01-12 13:21:13] Production.INFO: call_cost end
[2025-01-12 13:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:21:14] Production.INFO: ==13828== Releasing lock...
[2025-01-12 13:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:21:20] Production.INFO: count ==1161
[2025-01-12 13:21:21] Production.ERROR: pbx CDR StartTime 2025-01-12 10:21:05 - End Time 2025-01-12 13:21:05
[2025-01-12 13:21:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231870', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231870', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231870', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:21:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231870', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:21:21] Production.INFO: ProcessCDR(1,14231870,1,1,2)
[2025-01-12 13:21:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:21:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231870,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:21:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:21:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231870,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231870', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:21:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231870', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:21:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:21:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:21:24] Production.INFO: ==13836== Releasing lock...
[2025-01-12 13:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:21:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:22:01] Production.INFO: ==13894== Lock acquired, processing the job...
[2025-01-12 18:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:22:01] Production.INFO: neon service started
[2025-01-12 18:22:01] Production.INFO: neon service started
[2025-01-12 18:22:01] Production.INFO: ==13894== Releasing lock...
[2025-01-12 18:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:22:01] Production.INFO: ==13896== Lock acquired, processing the job...
[2025-01-12 13:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:22:02] Production.INFO: ==13896== Releasing lock...
[2025-01-12 13:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:22:02] Production.INFO: ==13898== Lock acquired, processing the job...
[2025-01-12 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:22:02] Production.INFO: ==13898== Releasing lock...
[2025-01-12 18:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:22:03] Production.INFO: ==13908== Lock acquired, processing the job...
[2025-01-12 13:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:22:03] Production.INFO: ==13906== Lock acquired, processing the job...
[2025-01-12 13:22:03] Production.INFO: ==13900== Lock acquired, processing the job...
[2025-01-12 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:22:03] Production.INFO: Account Balance Start.
[2025-01-12 13:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:22:03] Production.INFO: 117
[2025-01-12 13:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:22:03] Production.INFO: ==13904== Lock acquired, processing the job...
[2025-01-12 13:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:22:03] Production.INFO: ==13902== Lock acquired, processing the job...
[2025-01-12 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:22:03] Production.INFO: ==13910== Lock acquired, processing the job...
[2025-01-12 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:22:03] Production.ERROR: done
[2025-01-12 13:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:22:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:22:03] Production.INFO: count ==21
[2025-01-12 13:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:22:03] Production.INFO: count ==21
[2025-01-12 13:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231874') start
[2025-01-12 13:22:03] Production.INFO: ==13902== Releasing lock...
[2025-01-12 13:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:22:03] Production.ERROR: done
[2025-01-12 13:22:03] Production.INFO: Total Charge 0
[2025-01-12 13:22:03] Production.INFO: CreateAllLog End
[2025-01-12 13:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231874') end
[2025-01-12 13:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:22:03] Production.INFO: 1
[2025-01-12 13:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:22:03] Production.INFO: Account Balance End.
[2025-01-12 13:22:03] Production.INFO: ==13910== Releasing lock...
[2025-01-12 13:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:22:03] Production.ERROR: CronJobId end 12
[2025-01-12 13:22:03] Production.INFO: ==13906== Releasing lock...
[2025-01-12 13:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:22:04
[end_date_ymd] => 2025-01-12 13:22:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:22:04' and `end` < '2025-01-12 13: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-01-12 13:22:11] Production.ERROR: CronJobId end10
[2025-01-12 13:22:11] Production.INFO: ==13904== Releasing lock...
[2025-01-12 13:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:22:13] Production.INFO: call_cost start
[2025-01-12 13:22:13] Production.INFO: call_cost end
[2025-01-12 13:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:22:14] Production.INFO: ==13900== Releasing lock...
[2025-01-12 13:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:22:19] Production.INFO: count ==1164
[2025-01-12 13:22:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:22:04 - End Time 2025-01-12 13:22:04
[2025-01-12 13:22:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231875', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231875', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231875', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:22:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231875', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:22:19] Production.INFO: ProcessCDR(1,14231875,1,1,2)
[2025-01-12 13:22:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:22:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231875,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:22:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:22:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231875,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231875', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:22:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231875', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:22:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:22:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:22:24] Production.INFO: ==13908== Releasing lock...
[2025-01-12 13:22:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:22:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:23:02] Production.INFO: ==13968== Lock acquired, processing the job...
[2025-01-12 18:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:23:02] Production.INFO: neon service started
[2025-01-12 18:23:02] Production.INFO: neon service started
[2025-01-12 18:23:02] Production.INFO: ==13968== Releasing lock...
[2025-01-12 18:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:23:02] Production.INFO: ==13970== Lock acquired, processing the job...
[2025-01-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:23:02] Production.INFO: ==13970== Releasing lock...
[2025-01-12 13:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:23:02] Production.INFO: ==13972== Lock acquired, processing the job...
[2025-01-12 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:23:02] Production.INFO: ==13972== Releasing lock...
[2025-01-12 18:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:23:03] Production.INFO: ==13980== Lock acquired, processing the job...
[2025-01-12 13:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:23:03] Production.INFO: ==13982== Lock acquired, processing the job...
[2025-01-12 13:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:23:03] Production.INFO: ==13976== Lock acquired, processing the job...
[2025-01-12 13:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:23:03] Production.INFO: ==13974== Lock acquired, processing the job...
[2025-01-12 13:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:23:03] Production.INFO: Account Balance Start.
[2025-01-12 13:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:23:03] Production.INFO: 117
[2025-01-12 13:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:23:03] Production.INFO: ==13978== Lock acquired, processing the job...
[2025-01-12 13:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:23:03] Production.INFO: ==13984== Lock acquired, processing the job...
[2025-01-12 13:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:23:03] Production.INFO: Total Charge 0
[2025-01-12 13: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-01-12 13:23:03] Production.INFO: CreateAllLog End
[2025-01-12 13:23:03] Production.INFO: count ==21
[2025-01-12 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-01-12 13:23:04] Production.INFO: count ==21
[2025-01-12 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231879') start
[2025-01-12 13:23:04] Production.ERROR: done
[2025-01-12 13:23:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:23:04] Production.INFO: ==13976== Releasing lock...
[2025-01-12 13:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231879') end
[2025-01-12 13:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:23:04] Production.INFO: 1
[2025-01-12 13:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:23:04] Production.ERROR: done
[2025-01-12 13:23:04] Production.INFO: Account Balance End.
[2025-01-12 13:23:04] Production.INFO: ==13984== Releasing lock...
[2025-01-12 13:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:23:04] Production.INFO: ==13980== Releasing lock...
[2025-01-12 13:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:23:05
[end_date_ymd] => 2025-01-12 13:23:05
[RateCDR] => 1
)
[2025-01-12 13:23:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:23:05' and `end` < '2025-01-12 13:23:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:23:10] Production.ERROR: CronJobId end10
[2025-01-12 13:23:10] Production.INFO: ==13978== Releasing lock...
[2025-01-12 13:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:23:13] Production.INFO: call_cost start
[2025-01-12 13:23:13] Production.INFO: call_cost end
[2025-01-12 13:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:23:14] Production.INFO: ==13974== Releasing lock...
[2025-01-12 13:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:23:20] Production.INFO: count ==1165
[2025-01-12 13:23:20] Production.ERROR: pbx CDR StartTime 2025-01-12 10:23:05 - End Time 2025-01-12 13:23:05
[2025-01-12 13:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231880', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231880', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231880', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231880', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:23:20] Production.INFO: ProcessCDR(1,14231880,1,1,2)
[2025-01-12 13:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231880,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231880,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231880', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231880', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:23:23] Production.INFO: ==13982== Releasing lock...
[2025-01-12 13:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:23:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:24:01] Production.INFO: ==14038== Lock acquired, processing the job...
[2025-01-12 18:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:24:01] Production.INFO: neon service started
[2025-01-12 18:24:01] Production.INFO: neon service started
[2025-01-12 18:24:01] Production.INFO: ==14038== Releasing lock...
[2025-01-12 18:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:24:02] Production.INFO: ==14040== Lock acquired, processing the job...
[2025-01-12 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:24:02] Production.INFO: ==14042== Lock acquired, processing the job...
[2025-01-12 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:24:02] Production.INFO: ==14042== Releasing lock...
[2025-01-12 18:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:24:02] Production.INFO: ==14040== Releasing lock...
[2025-01-12 13:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:24:03] Production.INFO: ==14045== Lock acquired, processing the job...
[2025-01-12 13:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:24:03] Production.INFO: ==14049== Lock acquired, processing the job...
[2025-01-12 13:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:24:03] Production.INFO: ==14047== Lock acquired, processing the job...
[2025-01-12 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:24:03] Production.INFO: ==14051== Lock acquired, processing the job...
[2025-01-12 13:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:24:03] Production.INFO: Account Balance Start.
[2025-01-12 13:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:24:03] Production.INFO: 117
[2025-01-12 13:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:24:03] Production.INFO: ==14053== Lock acquired, processing the job...
[2025-01-12 13:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:24:03] Production.INFO: ==14055== Lock acquired, processing the job...
[2025-01-12 13:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:24:03] Production.INFO: ==14047== Releasing lock...
[2025-01-12 13:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:24:03] Production.INFO: Total Charge 0
[2025-01-12 13:24:03] Production.INFO: CreateAllLog End
[2025-01-12 13: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-01-12 13:24:03] Production.ERROR: done
[2025-01-12 13:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:24:03] Production.INFO: count ==21
[2025-01-12 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-01-12 13:24:04] Production.INFO: count ==21
[2025-01-12 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231884') start
[2025-01-12 13:24:04] Production.INFO: Account Balance End.
[2025-01-12 13:24:04] Production.ERROR: done
[2025-01-12 13:24:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:24:04] Production.INFO: ==14051== Releasing lock...
[2025-01-12 13:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:24:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231884') end
[2025-01-12 13:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:24:04] Production.INFO: 1
[2025-01-12 13:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:24:04] Production.INFO: ==14055== Releasing lock...
[2025-01-12 13:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:24:05
[end_date_ymd] => 2025-01-12 13:24:05
[RateCDR] => 1
)
[2025-01-12 13:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:24:05' and `end` < '2025-01-12 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-01-12 13:24:10] Production.ERROR: CronJobId end10
[2025-01-12 13:24:10] Production.INFO: ==14049== Releasing lock...
[2025-01-12 13:24:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:24:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:24:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:24:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:24:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:24:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:24:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:24:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:24:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:24:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:24:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:24:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:24:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:24:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:24:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:24:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:24:12] Production.INFO: call_cost start
[2025-01-12 13:24:12] Production.INFO: call_cost end
[2025-01-12 13:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:24:13] Production.INFO: ==14045== Releasing lock...
[2025-01-12 13:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:24:20] Production.INFO: count ==1164
[2025-01-12 13:24:20] Production.ERROR: pbx CDR StartTime 2025-01-12 10:24:05 - End Time 2025-01-12 13:24:05
[2025-01-12 13:24:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231885', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231885', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231885', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:24:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231885', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:24:20] Production.INFO: ProcessCDR(1,14231885,1,1,2)
[2025-01-12 13:24:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:24:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:24:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:24:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231885', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:24:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231885', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:24:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:24:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:24:23] Production.INFO: ==14053== Releasing lock...
[2025-01-12 13:24:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:24:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:25:01] Production.INFO: ==14110== Lock acquired, processing the job...
[2025-01-12 18:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:25:01] Production.INFO: neon service started
[2025-01-12 18:25:01] Production.INFO: neon service started
[2025-01-12 18:25:01] Production.INFO: ==14110== Releasing lock...
[2025-01-12 18:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:25:02] Production.INFO: ==14112== Lock acquired, processing the job...
[2025-01-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:25:02] Production.INFO: ==14112== Releasing lock...
[2025-01-12 13:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:25:02] Production.INFO: ==14114== Lock acquired, processing the job...
[2025-01-12 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:25:02] Production.INFO: ==14114== Releasing lock...
[2025-01-12 18:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:25:03] Production.INFO: ==14116== Lock acquired, processing the job...
[2025-01-12 13:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:25:03] Production.INFO: ==14118== Lock acquired, processing the job...
[2025-01-12 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:25:03] Production.INFO: ==14120== Lock acquired, processing the job...
[2025-01-12 13:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:25:03] Production.INFO: ==14122== Lock acquired, processing the job...
[2025-01-12 13:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:25:03] Production.INFO: Account Balance Start.
[2025-01-12 13:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:25:03] Production.INFO: 117
[2025-01-12 13:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:25:03] Production.INFO: ==14124== Lock acquired, processing the job...
[2025-01-12 13:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:25:03] Production.INFO: ==14126== Lock acquired, processing the job...
[2025-01-12 13:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:25:03] Production.INFO: ==14118== Releasing lock...
[2025-01-12 13:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:25:03] Production.INFO: Total Charge 0
[2025-01-12 13:25:03] Production.INFO: CreateAllLog End
[2025-01-12 13: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-01-12 13:25:04] Production.ERROR: done
[2025-01-12 13:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:25:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:25:04] Production.INFO: count ==21
[2025-01-12 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231889') start
[2025-01-12 13:25:04] Production.INFO: Account Balance End.
[2025-01-12 13:25:04] Production.ERROR: done
[2025-01-12 13:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:25:04] Production.INFO: ==14122== Releasing lock...
[2025-01-12 13:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231889') end
[2025-01-12 13:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:25:04] Production.INFO: 1
[2025-01-12 13:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:25:04] Production.INFO: ==14126== Releasing lock...
[2025-01-12 13:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:25:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:25:04
[end_date_ymd] => 2025-01-12 13:25:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:25:04' and `end` < '2025-01-12 13: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-01-12 13:25:10] Production.ERROR: CronJobId end10
[2025-01-12 13:25:10] Production.INFO: ==14120== Releasing lock...
[2025-01-12 13:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:25:13] Production.INFO: call_cost start
[2025-01-12 13:25:13] Production.INFO: call_cost end
[2025-01-12 13:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:25:13] Production.INFO: ==14116== Releasing lock...
[2025-01-12 13:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:25:18] Production.INFO: count ==1164
[2025-01-12 13:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:25:04 - End Time 2025-01-12 13:25:04
[2025-01-12 13:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231890', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231890', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231890', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231890', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:25:18] Production.INFO: ProcessCDR(1,14231890,1,1,2)
[2025-01-12 13:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231890', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231890', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:25:21] Production.INFO: ==14124== Releasing lock...
[2025-01-12 13:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:25:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:26:02] Production.INFO: ==14181== Lock acquired, processing the job...
[2025-01-12 18:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:26:02] Production.INFO: neon service started
[2025-01-12 18:26:02] Production.INFO: neon service started
[2025-01-12 18:26:02] Production.INFO: ==14181== Releasing lock...
[2025-01-12 18:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:26:02] Production.INFO: ==14184== Lock acquired, processing the job...
[2025-01-12 13:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:26:02] Production.INFO: ==14186== Lock acquired, processing the job...
[2025-01-12 18:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:26:03] Production.INFO: ==14186== Releasing lock...
[2025-01-12 18:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:26:03] Production.INFO: ==14184== Releasing lock...
[2025-01-12 13:26:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:26:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:26:03] Production.INFO: ==14190== Lock acquired, processing the job...
[2025-01-12 13:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:26:04] Production.INFO: ==14192== Lock acquired, processing the job...
[2025-01-12 13:26:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:26:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:26:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:26:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:26:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:26:04] Production.INFO: ==14196== Lock acquired, processing the job...
[2025-01-12 13:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:26:04] Production.INFO: ==14188== Lock acquired, processing the job...
[2025-01-12 13:26:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:26:04] Production.INFO: ==14194== Lock acquired, processing the job...
[2025-01-12 13:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:26:04] Production.INFO: ==14190== Releasing lock...
[2025-01-12 13:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:26:04] Production.INFO: ==14198== Lock acquired, processing the job...
[2025-01-12 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:26:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:26:04] Production.INFO: Account Balance Start.
[2025-01-12 13:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:26:04] Production.INFO: 117
[2025-01-12 13:26:04] Production.ERROR: done
[2025-01-12 13:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:26:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:26:04] Production.INFO: count ==21
[2025-01-12 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231894') start
[2025-01-12 13:26:04] Production.ERROR: done
[2025-01-12 13:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231894') end
[2025-01-12 13:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:26:04] Production.INFO: 1
[2025-01-12 13:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:26:04] Production.INFO: Total Charge 0
[2025-01-12 13:26:04] Production.INFO: CreateAllLog End
[2025-01-12 13:26:04] Production.INFO: ==14198== Releasing lock...
[2025-01-12 13:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:26:05] Production.INFO: Account Balance End.
[2025-01-12 13:26:05] Production.ERROR: CronJobId end 12
[2025-01-12 13:26:05] Production.INFO: ==14194== Releasing lock...
[2025-01-12 13:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:26:05
[end_date_ymd] => 2025-01-12 13:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:26:05' and `end` < '2025-01-12 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-01-12 13:26:11] Production.ERROR: CronJobId end10
[2025-01-12 13:26:11] Production.INFO: ==14192== Releasing lock...
[2025-01-12 13:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:26:13] Production.INFO: call_cost start
[2025-01-12 13:26:13] Production.INFO: call_cost end
[2025-01-12 13:26:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:26:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:26:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:26:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:26:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:26:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:26:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:26:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:26:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:26:14] Production.INFO: ==14188== Releasing lock...
[2025-01-12 13:26:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:26:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:26:19] Production.INFO: count ==1173
[2025-01-12 13:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:26:05 - End Time 2025-01-12 13:26:05
[2025-01-12 13:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231895', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231895', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231895', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231895', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:26:19] Production.INFO: ProcessCDR(1,14231895,1,1,2)
[2025-01-12 13:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231895', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231895', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:26:22] Production.INFO: ==14196== Releasing lock...
[2025-01-12 13:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:26:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 18:27:01] Production.INFO: ==14251== Lock acquired, processing the job...
[2025-01-12 18:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:27:01] Production.INFO: neon service started
[2025-01-12 18:27:01] Production.INFO: neon service started
[2025-01-12 18:27:01] Production.INFO: ==14251== Releasing lock...
[2025-01-12 18:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:27:02] Production.INFO: ==14253== Lock acquired, processing the job...
[2025-01-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:27:02] Production.INFO: ==14255== Lock acquired, processing the job...
[2025-01-12 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:27:02] Production.INFO: ==14253== Releasing lock...
[2025-01-12 13:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:27:02] Production.INFO: ==14255== Releasing lock...
[2025-01-12 18:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:27:03] Production.INFO: ==14257== Lock acquired, processing the job...
[2025-01-12 13:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:27:03] Production.INFO: ==14260== Lock acquired, processing the job...
[2025-01-12 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:27:03] Production.INFO: ==14262== Lock acquired, processing the job...
[2025-01-12 13:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:27:03] Production.INFO: ==14260== Releasing lock...
[2025-01-12 13:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:27:03] Production.INFO: ==14264== Lock acquired, processing the job...
[2025-01-12 13:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:27:03] Production.INFO: ==14266== Lock acquired, processing the job...
[2025-01-12 13:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:27:03] Production.INFO: ==14268== Lock acquired, processing the job...
[2025-01-12 13:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:27:03] Production.INFO: Account Balance Start.
[2025-01-12 13:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:27:03] Production.INFO: 117
[2025-01-12 13:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:27:03] Production.INFO: count ==21
[2025-01-12 13:27:03] Production.ERROR: done
[2025-01-12 13:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 13:27:04] Production.INFO: count ==21
[2025-01-12 13:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231899') start
[2025-01-12 13:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:27:04] Production.INFO: Total Charge 0
[2025-01-12 13:27:04] Production.INFO: CreateAllLog End
[2025-01-12 13:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231899') end
[2025-01-12 13:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:27:04] Production.INFO: 1
[2025-01-12 13:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:27:04] Production.ERROR: done
[2025-01-12 13:27:04] Production.INFO: ==14268== Releasing lock...
[2025-01-12 13:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:27:04] Production.INFO: Account Balance End.
[2025-01-12 13:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:27:04] Production.INFO: ==14264== Releasing lock...
[2025-01-12 13:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:27:04
[end_date_ymd] => 2025-01-12 13:27:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:27:04' and `end` < '2025-01-12 13: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-01-12 13:27:11] Production.ERROR: CronJobId end10
[2025-01-12 13:27:11] Production.INFO: ==14262== Releasing lock...
[2025-01-12 13:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:27:13] Production.INFO: call_cost start
[2025-01-12 13:27:13] Production.INFO: call_cost end
[2025-01-12 13:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:27:14] Production.INFO: ==14257== Releasing lock...
[2025-01-12 13:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:27:18] Production.INFO: count ==1177
[2025-01-12 13:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:27:04 - End Time 2025-01-12 13:27:04
[2025-01-12 13:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231900', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231900', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231900', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231900', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:27:18] Production.INFO: ProcessCDR(1,14231900,1,1,2)
[2025-01-12 13:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231900', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231900', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:27:22] Production.INFO: ==14266== Releasing lock...
[2025-01-12 13:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:27:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:28:02] Production.INFO: ==14323== Lock acquired, processing the job...
[2025-01-12 18:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:28:02] Production.INFO: neon service started
[2025-01-12 18:28:02] Production.INFO: neon service started
[2025-01-12 18:28:02] Production.INFO: ==14323== Releasing lock...
[2025-01-12 18:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:28:02] Production.INFO: ==14325== Lock acquired, processing the job...
[2025-01-12 13:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:28:02] Production.INFO: ==14327== Lock acquired, processing the job...
[2025-01-12 18:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:28:03] Production.INFO: ==14327== Releasing lock...
[2025-01-12 18:28:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:28:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:28:03] Production.INFO: ==14325== Releasing lock...
[2025-01-12 13:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:28:04] Production.INFO: ==14330== Lock acquired, processing the job...
[2025-01-12 13:28:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:28:04] Production.INFO: ==14332== Lock acquired, processing the job...
[2025-01-12 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:28:04] Production.INFO: ==14334== Lock acquired, processing the job...
[2025-01-12 13:28:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:28:04] Production.INFO: ==14336== Lock acquired, processing the job...
[2025-01-12 13:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:28:04] Production.INFO: ==14338== Lock acquired, processing the job...
[2025-01-12 13:28:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:28:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:28:04] Production.INFO: ==14340== Lock acquired, processing the job...
[2025-01-12 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:28:04] Production.INFO: Account Balance Start.
[2025-01-12 13:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:28:04] Production.INFO: 117
[2025-01-12 13:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:28:04] Production.INFO: ==14332== Releasing lock...
[2025-01-12 13:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 13:28:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:28:04] Production.INFO: count ==21
[2025-01-12 13:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231904') start
[2025-01-12 13:28:04] Production.ERROR: done
[2025-01-12 13:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:28:04] Production.INFO: Total Charge 0
[2025-01-12 13:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231904') end
[2025-01-12 13:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:28:04] Production.INFO: 1
[2025-01-12 13:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:28:04] Production.INFO: CreateAllLog End
[2025-01-12 13:28:04] Production.INFO: ==14340== Releasing lock...
[2025-01-12 13:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:28:04] Production.ERROR: done
[2025-01-12 13:28:05] Production.INFO: Account Balance End.
[2025-01-12 13:28:05] Production.ERROR: CronJobId end 12
[2025-01-12 13:28:05] Production.INFO: ==14336== Releasing lock...
[2025-01-12 13:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:28:05
[end_date_ymd] => 2025-01-12 13:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:28:05' and `end` < '2025-01-12 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-01-12 13:28:12] Production.ERROR: CronJobId end10
[2025-01-12 13:28:12] Production.INFO: ==14334== Releasing lock...
[2025-01-12 13:28:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:28:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:28:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:28:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:28:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:28:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:28:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:28:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:28:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:28:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:28:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:28:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:28:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:28:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:28:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:28:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:28:14] Production.INFO: call_cost start
[2025-01-12 13:28:14] Production.INFO: call_cost end
[2025-01-12 13:28:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:28:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:28:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:28:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:28:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:28:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:28:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:28:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:28:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:28:15] Production.INFO: ==14330== Releasing lock...
[2025-01-12 13:28:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:28:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:28:19] Production.INFO: count ==1169
[2025-01-12 13:28:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:28:05 - End Time 2025-01-12 13:28:05
[2025-01-12 13:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231905', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231905', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231905', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231905', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:28:19] Production.INFO: ProcessCDR(1,14231905,1,1,2)
[2025-01-12 13:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:28:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:28:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:28:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231905', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:28:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231905', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:28:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:28:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:28:22] Production.INFO: ==14338== Releasing lock...
[2025-01-12 13:28:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:28:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:29:01] Production.INFO: ==14431== Lock acquired, processing the job...
[2025-01-12 18:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:29:01] Production.INFO: neon service started
[2025-01-12 18:29:01] Production.INFO: neon service started
[2025-01-12 18:29:01] Production.INFO: ==14431== Releasing lock...
[2025-01-12 18:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:29:02] Production.INFO: ==14435== Lock acquired, processing the job...
[2025-01-12 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:29:02] Production.INFO: ==14435== Releasing lock...
[2025-01-12 18:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:29:02] Production.INFO: ==14433== Lock acquired, processing the job...
[2025-01-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:29:02] Production.INFO: ==14433== Releasing lock...
[2025-01-12 13:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:29:03] Production.INFO: ==14437== Lock acquired, processing the job...
[2025-01-12 13:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:29:03] Production.INFO: ==14439== Lock acquired, processing the job...
[2025-01-12 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:29:03] Production.INFO: ==14444== Lock acquired, processing the job...
[2025-01-12 13:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:29:03] Production.INFO: ==14441== Lock acquired, processing the job...
[2025-01-12 13:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:29:03] Production.INFO: Account Balance Start.
[2025-01-12 13:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:29:03] Production.INFO: 117
[2025-01-12 13:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:29:03] Production.INFO: ==14439== Releasing lock...
[2025-01-12 13:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:29:03] Production.INFO: ==14448== Lock acquired, processing the job...
[2025-01-12 13:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:29:03] Production.INFO: ==14446== Lock acquired, processing the job...
[2025-01-12 13:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:29:03] Production.INFO: Total Charge 0
[2025-01-12 13:29:03] Production.INFO: CreateAllLog End
[2025-01-12 13:29:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 13:29:04] Production.INFO: count ==21
[2025-01-12 13:29:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 13:29:04] Production.INFO: count ==21
[2025-01-12 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231909') start
[2025-01-12 13:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:29:04] Production.INFO: ==14444== Releasing lock...
[2025-01-12 13:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:29:04] Production.ERROR: done
[2025-01-12 13:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:29:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231909') end
[2025-01-12 13:29:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:29:04] Production.INFO: 1
[2025-01-12 13:29:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:29:04] Production.INFO: ==14448== Releasing lock...
[2025-01-12 13:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:29:04] Production.ERROR: done
[2025-01-12 13:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:29:05
[end_date_ymd] => 2025-01-12 13:29:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:29:05' and `end` < '2025-01-12 13: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-01-12 13:29:10] Production.ERROR: CronJobId end10
[2025-01-12 13:29:10] Production.INFO: ==14441== Releasing lock...
[2025-01-12 13:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:29:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:29:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:29:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:29:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:29:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:29:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:29:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:29:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:29:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:29:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:29:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:29:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:29:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:29:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:29:13] Production.INFO: call_cost start
[2025-01-12 13:29:13] Production.INFO: call_cost end
[2025-01-12 13:29:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:29:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:29:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:29:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:29:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:29:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:29:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:29:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:29:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:29:14] Production.INFO: ==14437== Releasing lock...
[2025-01-12 13:29:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:29:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:29:19] Production.INFO: count ==1161
[2025-01-12 13:29:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:29:05 - End Time 2025-01-12 13:29:05
[2025-01-12 13:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231910', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231910', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231910', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231910', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:29:19] Production.INFO: ProcessCDR(1,14231910,1,1,2)
[2025-01-12 13:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231910,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231910,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231910', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231910', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:29:22] Production.INFO: ==14446== Releasing lock...
[2025-01-12 13:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:29:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:30:02] Production.INFO: ==14501== Lock acquired, processing the job...
[2025-01-12 18:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:30:02] Production.INFO: neon service started
[2025-01-12 18:30:02] Production.INFO: neon service started
[2025-01-12 18:30:02] Production.INFO: ==14501== Releasing lock...
[2025-01-12 18:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:30:02] Production.INFO: ==14505== Lock acquired, processing the job...
[2025-01-12 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:30:02] Production.INFO: ==14505== Releasing lock...
[2025-01-12 18:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:30:02] Production.INFO: ==14503== Lock acquired, processing the job...
[2025-01-12 13:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:30:03] Production.INFO: ==14503== Releasing lock...
[2025-01-12 13:30:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:30:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:30:03] Production.INFO: ==14510== Lock acquired, processing the job...
[2025-01-12 13:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:30:04] Production.INFO: ==14516== Lock acquired, processing the job...
[2025-01-12 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:30:04] Production.INFO: ==14508== Lock acquired, processing the job...
[2025-01-12 13:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 13:30:04] Production.INFO: Account Balance Start.
[2025-01-12 13:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:30:04] Production.INFO: 117
[2025-01-12 13:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:30:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 13:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 13:30:04] Production.ERROR: CronJob PID - 14510
[2025-01-12 13:30:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 13:30:04] Production.ERROR: CronJob ID - 5
[2025-01-12 13:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 13:30:00
[2025-01-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 13:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 13:30:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 13:30:04] Production.ERROR: CronJob PID - 14516
[2025-01-12 13:30:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 13:30:04] Production.ERROR: CronJob ID - 12
[2025-01-12 13:30:04] Production.ERROR: CronJob Last Run Time 2025-01-12 13:30:00
[2025-01-12 13:30:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 13:30:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 13:30:04] Production.INFO: ==14522== Lock acquired, processing the job...
[2025-01-12 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:30:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 13:30:04] Production.INFO: ==14508== Releasing lock...
[2025-01-12 13:30:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 13:30:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 13:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:30:04] Production.INFO: ==14512== Lock acquired, processing the job...
[2025-01-12 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:30:04] Production.INFO: ==14514== Lock acquired, processing the job...
[2025-01-12 13:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:30:04] Production.INFO: Total Charge 0
[2025-01-12 13:30:04] Production.INFO: count ==21
[2025-01-12 13:30:04] Production.INFO: CreateAllLog End
[2025-01-12 13: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-01-12 13:30:04] Production.INFO: ==14518== Lock acquired, processing the job...
[2025-01-12 13:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:30:04] Production.INFO: count ==21
[2025-01-12 13:30:04] Production.INFO: ==14520== Lock acquired, processing the job...
[2025-01-12 13:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231913') start
[2025-01-12 13:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:30:04] Production.INFO: Account Balance End.
[2025-01-12 13:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:30:04] Production.INFO: ==14516== Releasing lock...
[2025-01-12 13:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231913') end
[2025-01-12 13:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:30:04] Production.INFO: 1
[2025-01-12 13:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:30:04] Production.INFO: ==14522== Releasing lock...
[2025-01-12 13:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:30:04] Production.INFO: ==14512== Releasing lock...
[2025-01-12 13:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:30:04] Production.ERROR: done
[2025-01-12 13:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:30:04] Production.ERROR: done
[2025-01-12 13:30:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 13:30:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231915', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 13:30:05] Production.ERROR: done
[2025-01-12 13:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:30:06
[end_date_ymd] => 2025-01-12 13:30:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:30:06' and `end` < '2025-01-12 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-01-12 13:30:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231915', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 13:30:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 13:30:09] Production.INFO: ProcessCDR(1,14231915,1,1,2)
[2025-01-12 13:30:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231915,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:30:09] Production.INFO: ==14520== Releasing lock...
[2025-01-12 13:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 13:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 13:30:13] Production.ERROR: CronJobId end10
[2025-01-12 13:30:13] Production.INFO: ==14514== Releasing lock...
[2025-01-12 13:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:30:14] Production.INFO: call_cost start
[2025-01-12 13:30:14] Production.INFO: call_cost end
[2025-01-12 13:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:30:15] Production.INFO: ==14510== Releasing lock...
[2025-01-12 13:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:30:19] Production.INFO: count ==1164
[2025-01-12 13:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:30:06 - End Time 2025-01-12 13:30:06
[2025-01-12 13:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231916', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231916', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231916', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231916', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:30:19] Production.INFO: ProcessCDR(1,14231916,1,1,2)
[2025-01-12 13:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231916,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231916,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231916', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231916', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:30:24] Production.INFO: ==14518== Releasing lock...
[2025-01-12 13:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:30:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:31:01] Production.INFO: ==14576== Lock acquired, processing the job...
[2025-01-12 18:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:31:01] Production.INFO: neon service started
[2025-01-12 18:31:01] Production.INFO: neon service started
[2025-01-12 18:31:01] Production.INFO: ==14576== Releasing lock...
[2025-01-12 18:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:31:01] Production.INFO: ==14578== Lock acquired, processing the job...
[2025-01-12 13:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:31:02] Production.INFO: ==14578== Releasing lock...
[2025-01-12 13:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:31:02] Production.INFO: ==14580== Lock acquired, processing the job...
[2025-01-12 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:31:02] Production.INFO: ==14580== Releasing lock...
[2025-01-12 18:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:31:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:31:03] Production.INFO: ==14586== Lock acquired, processing the job...
[2025-01-12 13:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:31:03] Production.INFO: ==14582== Lock acquired, processing the job...
[2025-01-12 13:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:31:03] Production.INFO: ==14584== Lock acquired, processing the job...
[2025-01-12 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:31:03] Production.INFO: ==14590== Lock acquired, processing the job...
[2025-01-12 13:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:31:03] Production.INFO: ==14588== Lock acquired, processing the job...
[2025-01-12 13:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:31:03] Production.INFO: ==14592== Lock acquired, processing the job...
[2025-01-12 13:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:31:03] Production.INFO: Account Balance Start.
[2025-01-12 13:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:31:03] Production.INFO: 117
[2025-01-12 13:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:31:03] Production.ERROR: done
[2025-01-12 13:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:31:03] Production.INFO: count ==21
[2025-01-12 13:31:03] Production.ERROR: done
[2025-01-12 13:31:03] Production.INFO: ==14584== Releasing lock...
[2025-01-12 13:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13: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-01-12 13:31:03] Production.INFO: Total Charge 0
[2025-01-12 13:31:03] Production.INFO: count ==21
[2025-01-12 13:31:03] Production.INFO: CreateAllLog End
[2025-01-12 13:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231920') start
[2025-01-12 13:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231920') end
[2025-01-12 13:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:31:04] Production.INFO: 1
[2025-01-12 13:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:31:04] Production.INFO: Account Balance End.
[2025-01-12 13:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:31:04] Production.INFO: ==14588== Releasing lock...
[2025-01-12 13:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:31:04] Production.INFO: ==14592== Releasing lock...
[2025-01-12 13:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:31:04
[end_date_ymd] => 2025-01-12 13:31:04
[RateCDR] => 1
)
[2025-01-12 13:31: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-01-12 10:31:04' and `end` < '2025-01-12 13:31: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-01-12 13:31:10] Production.ERROR: CronJobId end10
[2025-01-12 13:31:10] Production.INFO: ==14586== Releasing lock...
[2025-01-12 13:31:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:31:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:31:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:31:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:31:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:31:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:31:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:31:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:31:12] Production.INFO: call_cost start
[2025-01-12 13:31:12] Production.INFO: call_cost end
[2025-01-12 13:31:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:31:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:31:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:31:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:31:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:31:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:31:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:31:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:31:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:31:13] Production.INFO: ==14582== Releasing lock...
[2025-01-12 13:31:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:31:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:31:17] Production.INFO: count ==1212
[2025-01-12 13:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:31:04 - End Time 2025-01-12 13:31:04
[2025-01-12 13:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231921', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231921', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231921', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231921', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:31:18] Production.INFO: ProcessCDR(1,14231921,1,1,2)
[2025-01-12 13:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:31:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231921,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:31:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:31:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231921,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231921', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:31:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231921', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:31:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:31:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:31:21] Production.INFO: ==14590== Releasing lock...
[2025-01-12 13:31:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:31:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:32:01] Production.INFO: ==14647== Lock acquired, processing the job...
[2025-01-12 18:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:32:02] Production.INFO: neon service started
[2025-01-12 18:32:02] Production.INFO: neon service started
[2025-01-12 18:32:02] Production.INFO: ==14647== Releasing lock...
[2025-01-12 18:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:32:02] Production.INFO: ==14651== Lock acquired, processing the job...
[2025-01-12 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:32:02] Production.INFO: ==14651== Releasing lock...
[2025-01-12 18:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:32:02] Production.INFO: ==14649== Lock acquired, processing the job...
[2025-01-12 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:32:02] Production.INFO: ==14649== Releasing lock...
[2025-01-12 13:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:32:03] Production.INFO: ==14653== Lock acquired, processing the job...
[2025-01-12 13:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:32:03] Production.INFO: ==14655== Lock acquired, processing the job...
[2025-01-12 13:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:32:03] Production.INFO: ==14657== Lock acquired, processing the job...
[2025-01-12 13:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:32:03] Production.INFO: ==14661== Lock acquired, processing the job...
[2025-01-12 13:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:32:03] Production.INFO: ==14659== Lock acquired, processing the job...
[2025-01-12 13:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:32:03] Production.INFO: ==14664== Lock acquired, processing the job...
[2025-01-12 13:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:32:03] Production.INFO: Account Balance Start.
[2025-01-12 13:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:32:03] Production.INFO: 117
[2025-01-12 13:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:32:04] Production.ERROR: done
[2025-01-12 13:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 13:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:32:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:32:04] Production.INFO: ==14655== Releasing lock...
[2025-01-12 13:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:32:04] Production.INFO: count ==21
[2025-01-12 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231925') start
[2025-01-12 13:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:32:04] Production.ERROR: done
[2025-01-12 13:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231925') end
[2025-01-12 13:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:32:04] Production.INFO: 1
[2025-01-12 13:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:32:04] Production.INFO: Total Charge 0
[2025-01-12 13:32:04] Production.INFO: ==14664== Releasing lock...
[2025-01-12 13:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:32:04] Production.INFO: CreateAllLog End
[2025-01-12 13:32:04] Production.INFO: Account Balance End.
[2025-01-12 13:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:32:04] Production.INFO: ==14659== Releasing lock...
[2025-01-12 13:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:32:05
[end_date_ymd] => 2025-01-12 13:32:05
[RateCDR] => 1
)
[2025-01-12 13:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:32:05' and `end` < '2025-01-12 13:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:32:12] Production.ERROR: CronJobId end10
[2025-01-12 13:32:12] Production.INFO: ==14657== Releasing lock...
[2025-01-12 13:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:32:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:32:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:32:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:32:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:32:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:32:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:32:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:32:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:32:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:32:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:32:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:32:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:32:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:32:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:32:14] Production.INFO: call_cost start
[2025-01-12 13:32:14] Production.INFO: call_cost end
[2025-01-12 13:32:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:32:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:32:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:32:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:32:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:32:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:32:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:32:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:32:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:32:15] Production.INFO: ==14653== Releasing lock...
[2025-01-12 13:32:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:32:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:32:18] Production.INFO: count ==1218
[2025-01-12 13:32:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:32:05 - End Time 2025-01-12 13:32:05
[2025-01-12 13:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231926', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231926', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231926', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231926', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:32:18] Production.INFO: ProcessCDR(1,14231926,1,1,2)
[2025-01-12 13:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231926,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231926,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231926', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231926', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:32:21] Production.INFO: ==14661== Releasing lock...
[2025-01-12 13:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:32:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:33:01] Production.INFO: ==14718== Lock acquired, processing the job...
[2025-01-12 18:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:33:01] Production.INFO: neon service started
[2025-01-12 18:33:01] Production.INFO: neon service started
[2025-01-12 18:33:01] Production.INFO: ==14718== Releasing lock...
[2025-01-12 18:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:33:02] Production.INFO: ==14720== Lock acquired, processing the job...
[2025-01-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:33:02] Production.INFO: ==14722== Lock acquired, processing the job...
[2025-01-12 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:33:02] Production.INFO: ==14722== Releasing lock...
[2025-01-12 18:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:33:02] Production.INFO: ==14720== Releasing lock...
[2025-01-12 13:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:33:03] Production.INFO: ==14731== Lock acquired, processing the job...
[2025-01-12 13:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:33:03] Production.INFO: ==14725== Lock acquired, processing the job...
[2025-01-12 13:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:33:03] Production.INFO: ==14733== Lock acquired, processing the job...
[2025-01-12 13:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:33:03] Production.INFO: ==14727== Lock acquired, processing the job...
[2025-01-12 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:33:03] Production.INFO: ==14729== Lock acquired, processing the job...
[2025-01-12 13:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:33:03] Production.INFO: Account Balance Start.
[2025-01-12 13:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:33:03] Production.INFO: 117
[2025-01-12 13:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:33:03] Production.INFO: ==14735== Lock acquired, processing the job...
[2025-01-12 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:33:03] Production.INFO: Total Charge 0
[2025-01-12 13:33:03] Production.INFO: CreateAllLog End
[2025-01-12 13:33:03] Production.INFO: count ==21
[2025-01-12 13:33:03] Production.ERROR: done
[2025-01-12 13:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13: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-01-12 13:33:03] Production.INFO: count ==21
[2025-01-12 13:33:03] Production.INFO: ==14727== Releasing lock...
[2025-01-12 13:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231930') start
[2025-01-12 13:33:03] Production.ERROR: done
[2025-01-12 13:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231930') end
[2025-01-12 13:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:33:03] Production.INFO: 1
[2025-01-12 13:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:33:03] Production.INFO: Account Balance End.
[2025-01-12 13:33:03] Production.INFO: ==14735== Releasing lock...
[2025-01-12 13:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:33:04] Production.INFO: ==14731== Releasing lock...
[2025-01-12 13:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:33:04
[end_date_ymd] => 2025-01-12 13:33:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:33:04' and `end` < '2025-01-12 13: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-01-12 13:33:11] Production.ERROR: CronJobId end10
[2025-01-12 13:33:11] Production.INFO: ==14729== Releasing lock...
[2025-01-12 13:33:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:33:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:33:12] Production.INFO: call_cost start
[2025-01-12 13:33:12] Production.INFO: call_cost end
[2025-01-12 13:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:33:13] Production.INFO: ==14725== Releasing lock...
[2025-01-12 13:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:33:20] Production.INFO: count ==1220
[2025-01-12 13:33:20] Production.ERROR: pbx CDR StartTime 2025-01-12 10:33:04 - End Time 2025-01-12 13:33:04
[2025-01-12 13:33:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231931', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231931', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231931', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:33:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231931', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:33:20] Production.INFO: ProcessCDR(1,14231931,1,1,2)
[2025-01-12 13:33:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:33:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231931,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:33:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:33:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231931,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:33:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231931', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:33:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231931', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:33:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:33:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:33:25] Production.INFO: ==14733== Releasing lock...
[2025-01-12 13:33:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:33:25] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:34:01] Production.INFO: ==14789== Lock acquired, processing the job...
[2025-01-12 18:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:34:01] Production.INFO: neon service started
[2025-01-12 18:34:01] Production.INFO: neon service started
[2025-01-12 18:34:01] Production.INFO: ==14789== Releasing lock...
[2025-01-12 18:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:34:02] Production.INFO: ==14791== Lock acquired, processing the job...
[2025-01-12 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:34:02] Production.INFO: ==14791== Releasing lock...
[2025-01-12 13:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:34:02] Production.INFO: ==14793== Lock acquired, processing the job...
[2025-01-12 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:34:02] Production.INFO: ==14793== Releasing lock...
[2025-01-12 18:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:34:03] Production.INFO: ==14796== Lock acquired, processing the job...
[2025-01-12 13:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:34:03] Production.INFO: ==14798== Lock acquired, processing the job...
[2025-01-12 13:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:34:03] Production.INFO: ==14800== Lock acquired, processing the job...
[2025-01-12 13:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:34:03] Production.INFO: ==14804== Lock acquired, processing the job...
[2025-01-12 13:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:34:03] Production.INFO: ==14802== Lock acquired, processing the job...
[2025-01-12 13:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:34:03] Production.INFO: ==14806== Lock acquired, processing the job...
[2025-01-12 13:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:34:03] Production.INFO: Account Balance Start.
[2025-01-12 13:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:34:03] Production.INFO: 117
[2025-01-12 13:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:34:03] Production.INFO: count ==21
[2025-01-12 13:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:34:03] Production.INFO: count ==21
[2025-01-12 13:34:04] Production.ERROR: done
[2025-01-12 13:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231935') start
[2025-01-12 13:34:04] Production.INFO: ==14798== Releasing lock...
[2025-01-12 13:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:34:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:34:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:34:04] Production.ERROR: done
[2025-01-12 13:34:04] Production.INFO: Total Charge 0
[2025-01-12 13:34:04] Production.INFO: CreateAllLog End
[2025-01-12 13:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231935') end
[2025-01-12 13:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:34:04] Production.INFO: 1
[2025-01-12 13:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:34:04] Production.INFO: Account Balance End.
[2025-01-12 13:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:34:04] Production.INFO: ==14802== Releasing lock...
[2025-01-12 13:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:34:04] Production.INFO: ==14806== Releasing lock...
[2025-01-12 13:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:34:05
[end_date_ymd] => 2025-01-12 13:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:34:05' and `end` < '2025-01-12 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-01-12 13:34:12] Production.ERROR: CronJobId end10
[2025-01-12 13:34:12] Production.INFO: ==14800== Releasing lock...
[2025-01-12 13:34:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:34:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:34:13] Production.INFO: call_cost start
[2025-01-12 13:34:13] Production.INFO: call_cost end
[2025-01-12 13:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:34:14] Production.INFO: ==14796== Releasing lock...
[2025-01-12 13:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:34:18] Production.INFO: count ==1219
[2025-01-12 13:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:34:05 - End Time 2025-01-12 13:34:05
[2025-01-12 13:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231936', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231936', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231936', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231936', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:34:18] Production.INFO: ProcessCDR(1,14231936,1,1,2)
[2025-01-12 13:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231936,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:34:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231936,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231936', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:34:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231936', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:34:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:34:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:34:21] Production.INFO: ==14804== Releasing lock...
[2025-01-12 13:34:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:34:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:35:01] Production.INFO: ==14861== Lock acquired, processing the job...
[2025-01-12 18:35:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:35:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:35:01] Production.INFO: neon service started
[2025-01-12 18:35:01] Production.INFO: neon service started
[2025-01-12 18:35:01] Production.INFO: ==14861== Releasing lock...
[2025-01-12 18:35:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:35:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:35:01] Production.INFO: ==14865== Lock acquired, processing the job...
[2025-01-12 18:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:35:01] Production.INFO: ==14865== Releasing lock...
[2025-01-12 18:35:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:35:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:35:02] Production.INFO: ==14863== Lock acquired, processing the job...
[2025-01-12 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:35:02] Production.INFO: ==14863== Releasing lock...
[2025-01-12 13:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:35:03] Production.INFO: ==14874== Lock acquired, processing the job...
[2025-01-12 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:35:03] Production.INFO: ==14870== Lock acquired, processing the job...
[2025-01-12 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:35:03] Production.INFO: ==14868== Lock acquired, processing the job...
[2025-01-12 13:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:35:03] Production.INFO: Account Balance Start.
[2025-01-12 13:35:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:35:03] Production.INFO: 117
[2025-01-12 13:35:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:35:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:35:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:35:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:35:03] Production.INFO: ==14872== Lock acquired, processing the job...
[2025-01-12 13:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:35:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:35:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:35:03] Production.INFO: Total Charge 0
[2025-01-12 13:35:03] Production.INFO: CreateAllLog End
[2025-01-12 13:35:03] Production.INFO: ==14876== Lock acquired, processing the job...
[2025-01-12 13:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:35:03] Production.INFO: ==14878== Lock acquired, processing the job...
[2025-01-12 13:35:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:35:03] Production.INFO: Account Balance End.
[2025-01-12 13:35:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:35:03] Production.ERROR: CronJobId end 12
[2025-01-12 13:35:03] Production.INFO: ==14874== Releasing lock...
[2025-01-12 13:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:35:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:35:03] Production.INFO: ==14870== Releasing lock...
[2025-01-12 13:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:35:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:35:03] Production.INFO: count ==21
[2025-01-12 13:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231940') start
[2025-01-12 13:35:03] Production.ERROR: done
[2025-01-12 13:35:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:35:03] Production.ERROR: done
[2025-01-12 13:35:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231940') end
[2025-01-12 13:35:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:35:03] Production.INFO: 1
[2025-01-12 13:35:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:35:04] Production.INFO: ==14878== Releasing lock...
[2025-01-12 13:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:35:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:35:04
[end_date_ymd] => 2025-01-12 13:35:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:35:04' and `end` < '2025-01-12 13: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-01-12 13:35:10] Production.ERROR: CronJobId end10
[2025-01-12 13:35:10] Production.INFO: ==14872== Releasing lock...
[2025-01-12 13:35:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:35:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:35:13] Production.INFO: call_cost start
[2025-01-12 13:35:13] Production.INFO: call_cost end
[2025-01-12 13:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:35:14] Production.INFO: ==14868== Releasing lock...
[2025-01-12 13:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:35:17] Production.INFO: count ==1220
[2025-01-12 13:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:35:04 - End Time 2025-01-12 13:35:04
[2025-01-12 13:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231941', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231941', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231941', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231941', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:35:18] Production.INFO: ProcessCDR(1,14231941,1,1,2)
[2025-01-12 13:35:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:35:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231941,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:35:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231941,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231941', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231941', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:35:22] Production.INFO: ==14876== Releasing lock...
[2025-01-12 13:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:35:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:36:01] Production.INFO: ==14938== Lock acquired, processing the job...
[2025-01-12 18:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:36:01] Production.INFO: neon service started
[2025-01-12 18:36:01] Production.INFO: neon service started
[2025-01-12 18:36:01] Production.INFO: ==14938== Releasing lock...
[2025-01-12 18:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:36:02] Production.INFO: ==14940== Lock acquired, processing the job...
[2025-01-12 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:36:02] Production.INFO: ==14940== Releasing lock...
[2025-01-12 13:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:36:02] Production.INFO: ==14942== Lock acquired, processing the job...
[2025-01-12 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:36:02] Production.INFO: ==14942== Releasing lock...
[2025-01-12 18:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:36:03] Production.INFO: ==14945== Lock acquired, processing the job...
[2025-01-12 13:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:36:03] Production.INFO: ==14947== Lock acquired, processing the job...
[2025-01-12 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:36:03] Production.INFO: ==14949== Lock acquired, processing the job...
[2025-01-12 13:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:36:03] Production.INFO: ==14951== Lock acquired, processing the job...
[2025-01-12 13:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:36:03] Production.INFO: ==14953== Lock acquired, processing the job...
[2025-01-12 13:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:36:03] Production.INFO: Account Balance Start.
[2025-01-12 13:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:36:03] Production.INFO: 117
[2025-01-12 13:36:03] Production.INFO: ==14955== Lock acquired, processing the job...
[2025-01-12 13:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:36:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:36:03] Production.INFO: count ==21
[2025-01-12 13:36:03] Production.INFO: ==14947== Releasing lock...
[2025-01-12 13:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:36:03] Production.ERROR: done
[2025-01-12 13:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231945') start
[2025-01-12 13:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:36:04] Production.ERROR: done
[2025-01-12 13:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231945') end
[2025-01-12 13:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:36:04] Production.INFO: 1
[2025-01-12 13:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:36:04] Production.INFO: ==14955== Releasing lock...
[2025-01-12 13:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:36:04] Production.INFO: Total Charge 0
[2025-01-12 13:36:04] Production.INFO: CreateAllLog End
[2025-01-12 13:36:04] Production.INFO: Account Balance End.
[2025-01-12 13:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:36:04] Production.INFO: ==14951== Releasing lock...
[2025-01-12 13:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:36:05
[end_date_ymd] => 2025-01-12 13:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:36:05' and `end` < '2025-01-12 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-01-12 13:36:11] Production.ERROR: CronJobId end10
[2025-01-12 13:36:11] Production.INFO: ==14949== Releasing lock...
[2025-01-12 13:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:36:12] Production.INFO: call_cost start
[2025-01-12 13:36:12] Production.INFO: call_cost end
[2025-01-12 13:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:36:13] Production.INFO: ==14945== Releasing lock...
[2025-01-12 13:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:36:19] Production.INFO: count ==1219
[2025-01-12 13:36:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:36:05 - End Time 2025-01-12 13:36:05
[2025-01-12 13:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231946', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231946', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231946', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231946', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:36:19] Production.INFO: ProcessCDR(1,14231946,1,1,2)
[2025-01-12 13:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231946,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231946,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231946', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231946', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:36:22] Production.INFO: ==14953== Releasing lock...
[2025-01-12 13:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:36:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:37:01] Production.INFO: ==15008== Lock acquired, processing the job...
[2025-01-12 18:37:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:37:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:37:01] Production.INFO: neon service started
[2025-01-12 18:37:01] Production.INFO: neon service started
[2025-01-12 18:37:01] Production.INFO: ==15008== Releasing lock...
[2025-01-12 18:37:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:37:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:37:01] Production.INFO: ==15010== Lock acquired, processing the job...
[2025-01-12 13:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:37:01] Production.INFO: ==15010== Releasing lock...
[2025-01-12 13:37:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:37:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:37:01] Production.INFO: ==15012== Lock acquired, processing the job...
[2025-01-12 18:37:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:37:02] Production.INFO: ==15012== Releasing lock...
[2025-01-12 18:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:37:02] Production.INFO: ==15021== Lock acquired, processing the job...
[2025-01-12 13:37:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:37:02] Production.INFO: ==15023== Lock acquired, processing the job...
[2025-01-12 13:37:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:37:02] Production.INFO: Account Balance Start.
[2025-01-12 13:37:02] Production.INFO: CreateAllLog Start
[2025-01-12 13:37:02] Production.INFO: 117
[2025-01-12 13:37:02] Production.INFO: Date 2025-01-08
[2025-01-12 13:37:02] Production.INFO: Reseller ==> 0
[2025-01-12 13:37:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:37:02] Production.INFO: Date 2025-01-09
[2025-01-12 13:37:02] Production.INFO: Reseller ==> 0
[2025-01-12 13:37:02] Production.INFO: Date 2025-01-10
[2025-01-12 13:37:02] Production.INFO: Reseller ==> 0
[2025-01-12 13:37:02] Production.INFO: Date 2025-01-11
[2025-01-12 13:37:02] Production.INFO: Reseller ==> 0
[2025-01-12 13:37:02] Production.INFO: ==15015== Lock acquired, processing the job...
[2025-01-12 13:37:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:37:02] Production.INFO: Date 2025-01-12
[2025-01-12 13:37:02] Production.INFO: Reseller ==> 0
[2025-01-12 13:37:03] Production.INFO: ==15019== Lock acquired, processing the job...
[2025-01-12 13:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:37:03] Production.INFO: Total Charge 0
[2025-01-12 13:37:03] Production.INFO: ==15017== Lock acquired, processing the job...
[2025-01-12 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:37:03] Production.INFO: CreateAllLog End
[2025-01-12 13:37:03] Production.ERROR: done
[2025-01-12 13:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:37:03] Production.INFO: ==15025== Lock acquired, processing the job...
[2025-01-12 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:37:03] Production.INFO: Account Balance End.
[2025-01-12 13:37:03] Production.ERROR: done
[2025-01-12 13:37:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:37:03] Production.ERROR: CronJobId end 12
[2025-01-12 13:37:03] Production.INFO: ==15021== Releasing lock...
[2025-01-12 13:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:37:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:37:03] Production.INFO: count ==21
[2025-01-12 13:37:03] Production.INFO: ==15017== Releasing lock...
[2025-01-12 13:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:37:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:37:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:37:03] Production.INFO: count ==21
[2025-01-12 13:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231950') start
[2025-01-12 13:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231950') end
[2025-01-12 13:37:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:37:03] Production.INFO: 1
[2025-01-12 13:37:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:37:03] Production.INFO: ==15025== Releasing lock...
[2025-01-12 13:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:37:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:37:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:37:04
[end_date_ymd] => 2025-01-12 13:37:04
[RateCDR] => 1
)
[2025-01-12 13:37: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-01-12 10:37:04' and `end` < '2025-01-12 13:37: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-01-12 13:37:10] Production.ERROR: CronJobId end10
[2025-01-12 13:37:10] Production.INFO: ==15019== Releasing lock...
[2025-01-12 13:37:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:37:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:37:12] Production.INFO: call_cost start
[2025-01-12 13:37:12] Production.INFO: call_cost end
[2025-01-12 13:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:37:13] Production.INFO: ==15015== Releasing lock...
[2025-01-12 13:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:37:17] Production.INFO: count ==1227
[2025-01-12 13:37:17] Production.ERROR: pbx CDR StartTime 2025-01-12 10:37:04 - End Time 2025-01-12 13:37:04
[2025-01-12 13:37:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231951', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231951', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231951', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:37:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231951', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:37:17] Production.INFO: ProcessCDR(1,14231951,1,1,2)
[2025-01-12 13:37:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:37:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231951,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:37:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:37:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231951,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231951', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:37:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231951', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:37:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:37:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:37:22] Production.INFO: ==15023== Releasing lock...
[2025-01-12 13:37:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:37:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:38:01] Production.INFO: ==15078== Lock acquired, processing the job...
[2025-01-12 18:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:38:01] Production.INFO: neon service started
[2025-01-12 18:38:01] Production.INFO: neon service started
[2025-01-12 18:38:01] Production.INFO: ==15078== Releasing lock...
[2025-01-12 18:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:38:02] Production.INFO: ==15080== Lock acquired, processing the job...
[2025-01-12 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:38:02] Production.INFO: ==15080== Releasing lock...
[2025-01-12 13:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:38:02] Production.INFO: ==15082== Lock acquired, processing the job...
[2025-01-12 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:38:02] Production.INFO: ==15082== Releasing lock...
[2025-01-12 18:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:38:03] Production.INFO: ==15089== Lock acquired, processing the job...
[2025-01-12 13:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:38:03] Production.INFO: ==15095== Lock acquired, processing the job...
[2025-01-12 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:38:03] Production.INFO: ==15085== Lock acquired, processing the job...
[2025-01-12 13:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:38:03] Production.INFO: ==15087== Lock acquired, processing the job...
[2025-01-12 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13: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-01-12 13:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:38:03] Production.INFO: ==15093== Lock acquired, processing the job...
[2025-01-12 13:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:38:03] Production.INFO: ==15091== Lock acquired, processing the job...
[2025-01-12 13:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:38:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:38:03] Production.INFO: count ==21
[2025-01-12 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231952') start
[2025-01-12 13:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:38:03] Production.INFO: Account Balance Start.
[2025-01-12 13:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:38:03] Production.INFO: 117
[2025-01-12 13:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231952') end
[2025-01-12 13:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:38:03] Production.INFO: 1
[2025-01-12 13:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:38:03] Production.INFO: ==15087== Releasing lock...
[2025-01-12 13:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:38:03] Production.INFO: ==15095== Releasing lock...
[2025-01-12 13:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:38:03] Production.INFO: Total Charge 0
[2025-01-12 13:38:04] Production.INFO: CreateAllLog End
[2025-01-12 13:38:04] Production.ERROR: done
[2025-01-12 13:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:38:04] Production.INFO: Account Balance End.
[2025-01-12 13:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:38:04] Production.INFO: ==15091== Releasing lock...
[2025-01-12 13:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:38:04] Production.ERROR: done
[2025-01-12 13:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:38:05
[end_date_ymd] => 2025-01-12 13:38:05
[RateCDR] => 1
)
[2025-01-12 13:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:38:05' and `end` < '2025-01-12 13:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:38:11] Production.ERROR: CronJobId end10
[2025-01-12 13:38:11] Production.INFO: ==15089== Releasing lock...
[2025-01-12 13:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:38:12] Production.INFO: call_cost start
[2025-01-12 13:38:12] Production.INFO: call_cost end
[2025-01-12 13:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:38:13] Production.INFO: ==15085== Releasing lock...
[2025-01-12 13:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:38:18] Production.INFO: count ==1217
[2025-01-12 13:38:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:38:05 - End Time 2025-01-12 13:38:05
[2025-01-12 13:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231956', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231956', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231956', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231956', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:38:19] Production.INFO: ProcessCDR(1,14231956,1,1,2)
[2025-01-12 13:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231956,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231956,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231956', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231956', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:38:22] Production.INFO: ==15093== Releasing lock...
[2025-01-12 13:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:38:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:39:02] Production.INFO: ==15149== Lock acquired, processing the job...
[2025-01-12 18:39:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:39:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:39:02] Production.INFO: neon service started
[2025-01-12 18:39:02] Production.INFO: neon service started
[2025-01-12 18:39:02] Production.INFO: ==15149== Releasing lock...
[2025-01-12 18:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:39:02] Production.INFO: ==15151== Lock acquired, processing the job...
[2025-01-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:39:02] Production.INFO: ==15153== Lock acquired, processing the job...
[2025-01-12 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:39:02] Production.INFO: ==15151== Releasing lock...
[2025-01-12 13:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:39:02] Production.INFO: ==15153== Releasing lock...
[2025-01-12 18:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:39:03] Production.INFO: ==15156== Lock acquired, processing the job...
[2025-01-12 13:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:39:03] Production.INFO: ==15158== Lock acquired, processing the job...
[2025-01-12 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:39:03] Production.INFO: ==15160== Lock acquired, processing the job...
[2025-01-12 13:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:39:03] Production.INFO: ==15164== Lock acquired, processing the job...
[2025-01-12 13:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:39:03] Production.INFO: ==15158== Releasing lock...
[2025-01-12 13:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:39:03] Production.INFO: ==15162== Lock acquired, processing the job...
[2025-01-12 13:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:39:03] Production.INFO: ==15166== Lock acquired, processing the job...
[2025-01-12 13:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:39:03] Production.INFO: Account Balance Start.
[2025-01-12 13:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:39:03] Production.INFO: 117
[2025-01-12 13:39:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:39:04] Production.ERROR: done
[2025-01-12 13:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:39:04] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:39:04] Production.INFO: count ==21
[2025-01-12 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231960') start
[2025-01-12 13:39:04] Production.ERROR: done
[2025-01-12 13:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:39:04] Production.INFO: Total Charge 0
[2025-01-12 13:39:04] Production.INFO: CreateAllLog End
[2025-01-12 13:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231960') end
[2025-01-12 13:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:39:04] Production.INFO: 1
[2025-01-12 13:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:39:04] Production.INFO: ==15166== Releasing lock...
[2025-01-12 13:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:39:04] Production.INFO: Account Balance End.
[2025-01-12 13:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:39:04] Production.INFO: ==15162== Releasing lock...
[2025-01-12 13:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:39:05
[end_date_ymd] => 2025-01-12 13:39:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:39:05' and `end` < '2025-01-12 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-01-12 13:39:11] Production.ERROR: CronJobId end10
[2025-01-12 13:39:11] Production.INFO: ==15160== Releasing lock...
[2025-01-12 13:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:39:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:39:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:39:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:39:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:39:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:39:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:39:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:39:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:39:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:39:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:39:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:39:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:39:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:39:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:39:13] Production.INFO: call_cost start
[2025-01-12 13:39:13] Production.INFO: call_cost end
[2025-01-12 13:39:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:39:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:39:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:39:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:39:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:39:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:39:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:39:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:39:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:39:13] Production.INFO: ==15156== Releasing lock...
[2025-01-12 13:39:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:39:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:39:18] Production.INFO: count ==1217
[2025-01-12 13:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:39:05 - End Time 2025-01-12 13:39:05
[2025-01-12 13:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231961', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231961', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231961', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231961', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:39:19] Production.INFO: ProcessCDR(1,14231961,1,1,2)
[2025-01-12 13:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:39:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231961,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:39:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:39:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231961,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231961', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:39:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231961', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:39:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:39:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:39:22] Production.INFO: ==15164== Releasing lock...
[2025-01-12 13:39:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:39:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:40:01] Production.INFO: ==15219== Lock acquired, processing the job...
[2025-01-12 18:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:40:01] Production.INFO: neon service started
[2025-01-12 18:40:01] Production.INFO: neon service started
[2025-01-12 18:40:01] Production.INFO: ==15219== Releasing lock...
[2025-01-12 18:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:40:01] Production.INFO: ==15223== Lock acquired, processing the job...
[2025-01-12 18:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:40:02] Production.INFO: ==15223== Releasing lock...
[2025-01-12 18:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:40:02] Production.INFO: ==15221== Lock acquired, processing the job...
[2025-01-12 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:40:02] Production.INFO: ==15221== Releasing lock...
[2025-01-12 13:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:40:02] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:40:03] Production.INFO: ==15226== Lock acquired, processing the job...
[2025-01-12 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 13:40:03] Production.INFO: ==15228== Lock acquired, processing the job...
[2025-01-12 13:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 13:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 13:40:03] Production.INFO: ==15226== Releasing lock...
[2025-01-12 13:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 13:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 13:40:03] Production.INFO: ==15232== Lock acquired, processing the job...
[2025-01-12 13:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:40:03] Production.INFO: ==15236== Lock acquired, processing the job...
[2025-01-12 13:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:40:03] Production.INFO: ==15230== Lock acquired, processing the job...
[2025-01-12 13:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:40:03] Production.INFO: ==15234== Lock acquired, processing the job...
[2025-01-12 13:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:40:03] Production.INFO: ==15238== Lock acquired, processing the job...
[2025-01-12 13:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 13:40:04] Production.INFO: ==15240== Lock acquired, processing the job...
[2025-01-12 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:40:04] Production.INFO: Account Balance Start.
[2025-01-12 13:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:40:04] Production.INFO: 117
[2025-01-12 13:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:40:04] Production.ERROR: done
[2025-01-12 13:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:40:04] Production.ERROR: done
[2025-01-12 13: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-01-12 13:40:04] Production.INFO: ==15230== Releasing lock...
[2025-01-12 13:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:40:04] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:40:04] Production.INFO: count ==21
[2025-01-12 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231965') start
[2025-01-12 13:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231965') end
[2025-01-12 13:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:40:04] Production.INFO: 1
[2025-01-12 13:40:04] Production.ERROR: done
[2025-01-12 13:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:40:04] Production.INFO: Total Charge 0
[2025-01-12 13:40:04] Production.INFO: CreateAllLog End
[2025-01-12 13:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 13:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231967', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 13:40:04] Production.INFO: ==15240== Releasing lock...
[2025-01-12 13:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:40:04] Production.INFO: Account Balance End.
[2025-01-12 13:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:40:04] Production.INFO: ==15234== Releasing lock...
[2025-01-12 13:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:40:05
[end_date_ymd] => 2025-01-12 13:40:05
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:40:05' and `end` < '2025-01-12 13: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-01-12 13:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14231967', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 13:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 13:40:08] Production.INFO: ProcessCDR(1,14231967,1,1,2)
[2025-01-12 13:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14231967,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14231967,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:40:08] Production.INFO: ==15238== Releasing lock...
[2025-01-12 13:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 13:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 13:40:12] Production.ERROR: CronJobId end10
[2025-01-12 13:40:12] Production.INFO: ==15232== Releasing lock...
[2025-01-12 13:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:40:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:40:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:40:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:40:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:40:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:40:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:40:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:40:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:40:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:40:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:40:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:40:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:40:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:40:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:40:14] Production.INFO: call_cost start
[2025-01-12 13:40:14] Production.INFO: call_cost end
[2025-01-12 13:40:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:40:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:40:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:40:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:40:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:40:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:40:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:40:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:40:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:40:14] Production.INFO: ==15228== Releasing lock...
[2025-01-12 13:40:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:40:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:40:18] Production.INFO: count ==1217
[2025-01-12 13:40:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:40:05 - End Time 2025-01-12 13:40:05
[2025-01-12 13:40:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:40:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231966', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231966', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231966', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231966', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:40:19] Production.INFO: ProcessCDR(1,14231966,1,1,2)
[2025-01-12 13:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231966,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231966,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231966', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231966', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:40:22] Production.INFO: ==15236== Releasing lock...
[2025-01-12 13:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:40:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:41:02] Production.INFO: ==15293== Lock acquired, processing the job...
[2025-01-12 18:41:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:41:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:41:02] Production.INFO: neon service started
[2025-01-12 18:41:02] Production.INFO: neon service started
[2025-01-12 18:41:02] Production.INFO: ==15293== Releasing lock...
[2025-01-12 18:41:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:41:02] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 13:41:02] Production.INFO: ==15295== Lock acquired, processing the job...
[2025-01-12 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:41:02] Production.INFO: ==15295== Releasing lock...
[2025-01-12 13:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:41:03] Production.INFO: ==15297== Lock acquired, processing the job...
[2025-01-12 18:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:41:03] Production.INFO: ==15297== Releasing lock...
[2025-01-12 18:41:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:41:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:41:03] Production.INFO: ==15304== Lock acquired, processing the job...
[2025-01-12 13:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:41:04] Production.INFO: ==15302== Lock acquired, processing the job...
[2025-01-12 13:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:41:04] Production.INFO: ==15300== Lock acquired, processing the job...
[2025-01-12 13:41:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:41:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:41:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:41:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:41:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:41:04] Production.INFO: ==15310== Lock acquired, processing the job...
[2025-01-12 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:41:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:41:04] Production.INFO: ==15306== Lock acquired, processing the job...
[2025-01-12 13:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 13:41:04] Production.INFO: ==15308== Lock acquired, processing the job...
[2025-01-12 13:41:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:41:04] Production.INFO: count ==21
[2025-01-12 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-01-12 13:41:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:41:04] Production.INFO: count ==21
[2025-01-12 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231970') start
[2025-01-12 13:41:04] Production.INFO: Account Balance Start.
[2025-01-12 13:41:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:41:04] Production.INFO: 117
[2025-01-12 13:41:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:41:04] Production.INFO: ==15302== Releasing lock...
[2025-01-12 13:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231970') end
[2025-01-12 13:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:41:04] Production.INFO: 1
[2025-01-12 13:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:41:04] Production.ERROR: done
[2025-01-12 13:41:04] Production.INFO: ==15310== Releasing lock...
[2025-01-12 13:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:41:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:41:04] Production.INFO: Total Charge 0
[2025-01-12 13:41:04] Production.INFO: CreateAllLog End
[2025-01-12 13:41:04] Production.ERROR: done
[2025-01-12 13:41:04] Production.INFO: Account Balance End.
[2025-01-12 13:41:05] Production.ERROR: CronJobId end 12
[2025-01-12 13:41:05] Production.INFO: ==15306== Releasing lock...
[2025-01-12 13:41:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:41:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:41:05
[end_date_ymd] => 2025-01-12 13:41:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:41:05' and `end` < '2025-01-12 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-01-12 13:41:12] Production.ERROR: CronJobId end10
[2025-01-12 13:41:12] Production.INFO: ==15304== Releasing lock...
[2025-01-12 13:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:41:15] Production.INFO: call_cost start
[2025-01-12 13:41:15] Production.INFO: call_cost end
[2025-01-12 13:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:41:15] Production.INFO: ==15300== Releasing lock...
[2025-01-12 13:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:41:20] Production.INFO: count ==1220
[2025-01-12 13:41:21] Production.ERROR: pbx CDR StartTime 2025-01-12 10:41:05 - End Time 2025-01-12 13:41:05
[2025-01-12 13:41:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231972', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231972', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231972', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:41:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231972', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:41:21] Production.INFO: ProcessCDR(1,14231972,1,1,2)
[2025-01-12 13:41:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:41:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231972,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:41:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:41:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231972,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231972', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:41:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231972', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:41:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:41:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:41:24] Production.INFO: ==15308== Releasing lock...
[2025-01-12 13:41:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:41:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:42:01] Production.INFO: ==15365== Lock acquired, processing the job...
[2025-01-12 18:42:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:42:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:42:01] Production.INFO: neon service started
[2025-01-12 18:42:01] Production.INFO: neon service started
[2025-01-12 18:42:01] Production.INFO: ==15365== Releasing lock...
[2025-01-12 18:42:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:42:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:42:02] Production.INFO: ==15369== Lock acquired, processing the job...
[2025-01-12 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:42:02] Production.INFO: ==15367== Lock acquired, processing the job...
[2025-01-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:42:02] Production.INFO: ==15369== Releasing lock...
[2025-01-12 18:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:42:02] Production.INFO: ==15367== Releasing lock...
[2025-01-12 13:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:42:03] Production.INFO: ==15372== Lock acquired, processing the job...
[2025-01-12 13:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:42:03] Production.INFO: ==15376== Lock acquired, processing the job...
[2025-01-12 13:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:42:03] Production.INFO: ==15378== Lock acquired, processing the job...
[2025-01-12 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:42:03] Production.INFO: Account Balance Start.
[2025-01-12 13:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:42:03] Production.INFO: 117
[2025-01-12 13:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:42:03] Production.INFO: Total Charge 0
[2025-01-12 13:42:03] Production.INFO: CreateAllLog End
[2025-01-12 13:42:03] Production.INFO: ==15374== Lock acquired, processing the job...
[2025-01-12 13:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:42:03] Production.INFO: Account Balance End.
[2025-01-12 13:42:03] Production.ERROR: CronJobId end 12
[2025-01-12 13:42:03] Production.INFO: ==15378== Releasing lock...
[2025-01-12 13:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:42:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:42:03] Production.INFO: ==15382== Lock acquired, processing the job...
[2025-01-12 13:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:42:03] Production.INFO: ==15380== Lock acquired, processing the job...
[2025-01-12 13:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:42:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 13:42:04] Production.INFO: count ==21
[2025-01-12 13:42:04] Production.INFO: ==15374== Releasing lock...
[2025-01-12 13:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 13:42:04] Production.INFO: count ==21
[2025-01-12 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231976') start
[2025-01-12 13:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231976') end
[2025-01-12 13:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:42:04] Production.INFO: 1
[2025-01-12 13:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:42:04] Production.INFO: ==15382== Releasing lock...
[2025-01-12 13:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:42:04] Production.ERROR: done
[2025-01-12 13:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:42:04] Production.ERROR: done
[2025-01-12 13:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:42:05
[end_date_ymd] => 2025-01-12 13:42:05
[RateCDR] => 1
)
[2025-01-12 13:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:42:05' and `end` < '2025-01-12 13:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:42:11] Production.ERROR: CronJobId end10
[2025-01-12 13:42:11] Production.INFO: ==15376== Releasing lock...
[2025-01-12 13:42:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:42:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:42:14] Production.INFO: call_cost start
[2025-01-12 13:42:14] Production.INFO: call_cost end
[2025-01-12 13:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:42:15] Production.INFO: ==15372== Releasing lock...
[2025-01-12 13:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:42:18] Production.INFO: count ==1219
[2025-01-12 13:42:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:42:05 - End Time 2025-01-12 13:42:05
[2025-01-12 13:42:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231977', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231977', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231977', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:42:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231977', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:42:18] Production.INFO: ProcessCDR(1,14231977,1,1,2)
[2025-01-12 13:42:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:42:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231977,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:42:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231977,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231977', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231977', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:42:22] Production.INFO: ==15380== Releasing lock...
[2025-01-12 13:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:42:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:43:02] Production.INFO: ==15436== Lock acquired, processing the job...
[2025-01-12 18:43:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:43:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:43:02] Production.INFO: neon service started
[2025-01-12 18:43:02] Production.INFO: neon service started
[2025-01-12 18:43:02] Production.INFO: ==15436== Releasing lock...
[2025-01-12 18:43:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:43:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:43:02] Production.INFO: ==15438== Lock acquired, processing the job...
[2025-01-12 13:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:43:02] Production.INFO: ==15440== Lock acquired, processing the job...
[2025-01-12 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:43:02] Production.INFO: ==15440== Releasing lock...
[2025-01-12 18:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:43:03] Production.INFO: ==15438== Releasing lock...
[2025-01-12 13:43:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:43:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:43:03] Production.INFO: ==15445== Lock acquired, processing the job...
[2025-01-12 13:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:43:03] Production.INFO: ==15443== Lock acquired, processing the job...
[2025-01-12 13:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:43:03] Production.INFO: ==15451== Lock acquired, processing the job...
[2025-01-12 13:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:43:03] Production.INFO: ==15447== Lock acquired, processing the job...
[2025-01-12 13:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:43:04] Production.INFO: ==15449== Lock acquired, processing the job...
[2025-01-12 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:43:04] Production.INFO: ==15453== Lock acquired, processing the job...
[2025-01-12 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:43:04] Production.INFO: ==15445== Releasing lock...
[2025-01-12 13:43:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:43:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:43:04] Production.ERROR: done
[2025-01-12 13:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:43:04] Production.INFO: Account Balance Start.
[2025-01-12 13:43:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:43:04] Production.INFO: 117
[2025-01-12 13:43:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:43:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:43:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:43:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:43:04] Production.INFO: Date 2025-01-08
[2025-01-12 13: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-01-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:43:04] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:43:04] Production.INFO: count ==21
[2025-01-12 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231981') start
[2025-01-12 13:43:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:43:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:43:04] Production.ERROR: done
[2025-01-12 13:43:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231981') end
[2025-01-12 13:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:43:04] Production.INFO: 1
[2025-01-12 13:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:43:04] Production.INFO: ==15453== Releasing lock...
[2025-01-12 13:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:43:04] Production.INFO: Total Charge 0
[2025-01-12 13:43:04] Production.INFO: CreateAllLog End
[2025-01-12 13:43:04] Production.INFO: Account Balance End.
[2025-01-12 13:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:43:04] Production.INFO: ==15449== Releasing lock...
[2025-01-12 13:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:43:05
[end_date_ymd] => 2025-01-12 13:43:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:43:05' and `end` < '2025-01-12 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-01-12 13:43:11] Production.ERROR: CronJobId end10
[2025-01-12 13:43:11] Production.INFO: ==15447== Releasing lock...
[2025-01-12 13:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:43:13] Production.INFO: call_cost start
[2025-01-12 13:43:13] Production.INFO: call_cost end
[2025-01-12 13:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:43:14] Production.INFO: ==15443== Releasing lock...
[2025-01-12 13:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:43:18] Production.INFO: count ==1219
[2025-01-12 13:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:43:05 - End Time 2025-01-12 13:43:05
[2025-01-12 13:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231982', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231982', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231982', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231982', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:43:18] Production.INFO: ProcessCDR(1,14231982,1,1,2)
[2025-01-12 13:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231982,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231982,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231982', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231982', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:43:21] Production.INFO: ==15451== Releasing lock...
[2025-01-12 13:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:43:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:44:01] Production.INFO: ==15509== Lock acquired, processing the job...
[2025-01-12 18:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:44:01] Production.INFO: neon service started
[2025-01-12 18:44:01] Production.INFO: neon service started
[2025-01-12 18:44:01] Production.INFO: ==15509== Releasing lock...
[2025-01-12 18:44:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:44:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:44:01] Production.INFO: ==15511== Lock acquired, processing the job...
[2025-01-12 13:44:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:44:02] Production.INFO: ==15511== Releasing lock...
[2025-01-12 13:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:44:02] Production.INFO: ==15513== Lock acquired, processing the job...
[2025-01-12 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:44:02] Production.INFO: ==15513== Releasing lock...
[2025-01-12 18:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:44:02] Production.INFO: ==15515== Lock acquired, processing the job...
[2025-01-12 13:44:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:44:02] Production.INFO: ==15517== Lock acquired, processing the job...
[2025-01-12 13:44:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:44:03] Production.INFO: ==15523== Lock acquired, processing the job...
[2025-01-12 13:44:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:44:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:44:03] Production.INFO: ==15519== Lock acquired, processing the job...
[2025-01-12 13:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:44:03] Production.INFO: ==15521== Lock acquired, processing the job...
[2025-01-12 13:44:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:44:03] Production.INFO: ==15525== Lock acquired, processing the job...
[2025-01-12 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:44:03] Production.INFO: Account Balance Start.
[2025-01-12 13:44:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:44:03] Production.INFO: 117
[2025-01-12 13: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-01-12 13:44:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:44:03] Production.ERROR: done
[2025-01-12 13:44:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:44:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:44:03] Production.INFO: count ==21
[2025-01-12 13:44:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231986') start
[2025-01-12 13:44:03] Production.ERROR: done
[2025-01-12 13:44:03] Production.INFO: ==15517== Releasing lock...
[2025-01-12 13:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:44:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231986') end
[2025-01-12 13:44:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:44:03] Production.INFO: 1
[2025-01-12 13:44:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:44:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:44:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:44:03] Production.INFO: ==15525== Releasing lock...
[2025-01-12 13:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:44:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:44:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:44:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:44:03] Production.INFO: Total Charge 0
[2025-01-12 13:44:03] Production.INFO: CreateAllLog End
[2025-01-12 13:44:03] Production.INFO: Account Balance End.
[2025-01-12 13:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:44:04] Production.INFO: ==15521== Releasing lock...
[2025-01-12 13:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:44:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:44:04
[end_date_ymd] => 2025-01-12 13:44:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:44:04' and `end` < '2025-01-12 13: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-01-12 13:44:10] Production.ERROR: CronJobId end10
[2025-01-12 13:44:10] Production.INFO: ==15519== Releasing lock...
[2025-01-12 13:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:44:12] Production.INFO: call_cost start
[2025-01-12 13:44:12] Production.INFO: call_cost end
[2025-01-12 13:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:44:13] Production.INFO: ==15515== Releasing lock...
[2025-01-12 13:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:44:17] Production.INFO: count ==1220
[2025-01-12 13:44:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:44:04 - End Time 2025-01-12 13:44:04
[2025-01-12 13:44:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231987', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231987', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231987', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:44:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231987', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:44:18] Production.INFO: ProcessCDR(1,14231987,1,1,2)
[2025-01-12 13:44:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231987,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231987,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231987', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231987', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:44:22] Production.INFO: ==15523== Releasing lock...
[2025-01-12 13:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:44:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 18:45:01] Production.INFO: ==15622== Lock acquired, processing the job...
[2025-01-12 18:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:45:01] Production.INFO: neon service started
[2025-01-12 18:45:01] Production.INFO: neon service started
[2025-01-12 18:45:01] Production.INFO: ==15622== Releasing lock...
[2025-01-12 18:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:45:02] Production.INFO: ==15624== Lock acquired, processing the job...
[2025-01-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:45:02] Production.INFO: ==15626== Lock acquired, processing the job...
[2025-01-12 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:45:02] Production.INFO: ==15626== Releasing lock...
[2025-01-12 18:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:45:02] Production.INFO: ==15624== Releasing lock...
[2025-01-12 13:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:45:03] Production.INFO: ==15633== Lock acquired, processing the job...
[2025-01-12 13:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:45:03] Production.INFO: ==15637== Lock acquired, processing the job...
[2025-01-12 13:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:45:03] Production.INFO: ==15629== Lock acquired, processing the job...
[2025-01-12 13:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:45:03] Production.INFO: ==15631== Lock acquired, processing the job...
[2025-01-12 13:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:45:03] Production.INFO: ==15635== Lock acquired, processing the job...
[2025-01-12 13:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:45:03] Production.INFO: ==15639== Lock acquired, processing the job...
[2025-01-12 13:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:45:04] Production.ERROR: done
[2025-01-12 13:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:45:04] Production.INFO: Account Balance Start.
[2025-01-12 13:45:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:45:04] Production.INFO: 117
[2025-01-12 13:45:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:45:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:45:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:45:04] Production.INFO: count ==21
[2025-01-12 13:45:04] Production.INFO: ==15631== Releasing lock...
[2025-01-12 13:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:45:04] Production.INFO: count ==21
[2025-01-12 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231991') start
[2025-01-12 13:45:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:45:04] Production.ERROR: done
[2025-01-12 13:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14231991') end
[2025-01-12 13:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:45:04] Production.INFO: 1
[2025-01-12 13:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:45:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:45:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:45:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:45:04] Production.INFO: ==15639== Releasing lock...
[2025-01-12 13:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:45:04] Production.INFO: Total Charge 0
[2025-01-12 13:45:04] Production.INFO: CreateAllLog End
[2025-01-12 13:45:04] Production.INFO: Account Balance End.
[2025-01-12 13:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:45:04] Production.INFO: ==15635== Releasing lock...
[2025-01-12 13:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:45:05
[end_date_ymd] => 2025-01-12 13:45:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:45:05' and `end` < '2025-01-12 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-01-12 13:45:11] Production.ERROR: CronJobId end10
[2025-01-12 13:45:11] Production.INFO: ==15633== Releasing lock...
[2025-01-12 13:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:45:13] Production.INFO: call_cost start
[2025-01-12 13:45:13] Production.INFO: call_cost end
[2025-01-12 13:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:45:14] Production.INFO: ==15629== Releasing lock...
[2025-01-12 13:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:45:18] Production.INFO: count ==1210
[2025-01-12 13:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:45:05 - End Time 2025-01-12 13:45:05
[2025-01-12 13:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231992', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231992', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231992', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231992', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:45:18] Production.INFO: ProcessCDR(1,14231992,1,1,2)
[2025-01-12 13:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231992,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:45:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231992,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231992', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:45:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231992', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:45:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:45:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:45:21] Production.INFO: ==15637== Releasing lock...
[2025-01-12 13:45:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:45:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:46:01] Production.INFO: ==15692== Lock acquired, processing the job...
[2025-01-12 18:46:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:46:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:46:01] Production.INFO: neon service started
[2025-01-12 18:46:01] Production.INFO: neon service started
[2025-01-12 18:46:01] Production.INFO: ==15692== Releasing lock...
[2025-01-12 18:46:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:46:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:46:01] Production.INFO: ==15696== Lock acquired, processing the job...
[2025-01-12 18:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:46:01] Production.INFO: ==15696== Releasing lock...
[2025-01-12 18:46:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:46:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:46:01] Production.INFO: ==15694== Lock acquired, processing the job...
[2025-01-12 13:46:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:46:02] Production.INFO: ==15694== Releasing lock...
[2025-01-12 13:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:46:03] Production.INFO: ==15702== Lock acquired, processing the job...
[2025-01-12 13:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:46:03] Production.INFO: ==15698== Lock acquired, processing the job...
[2025-01-12 13:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:46:03] Production.INFO: ==15706== Lock acquired, processing the job...
[2025-01-12 13:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:46:03] Production.INFO: ==15700== Lock acquired, processing the job...
[2025-01-12 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:46:03] Production.INFO: ==15704== Lock acquired, processing the job...
[2025-01-12 13:46:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:46:03] Production.INFO: ==15708== Lock acquired, processing the job...
[2025-01-12 13:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:46:03] Production.INFO: Account Balance Start.
[2025-01-12 13:46:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:46:03] Production.INFO: 117
[2025-01-12 13:46:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:46:03] Production.ERROR: done
[2025-01-12 13:46:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:46:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:46:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:46:03] Production.INFO: count ==21
[2025-01-12 13:46:03] Production.ERROR: done
[2025-01-12 13:46:03] Production.INFO: Date 2025-01-10
[2025-01-12 13: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-01-12 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:46:03] Production.INFO: count ==21
[2025-01-12 13:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231996') start
[2025-01-12 13:46:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:46:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:46:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:46:03] Production.INFO: Total Charge 0
[2025-01-12 13:46:03] Production.ERROR: PBX CALL prc_importPBXExtension('14231996') end
[2025-01-12 13:46:03] Production.INFO: CreateAllLog End
[2025-01-12 13:46:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:46:03] Production.INFO: 1
[2025-01-12 13:46:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:46:03] Production.INFO: ==15700== Releasing lock...
[2025-01-12 13:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:46:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:46:04] Production.INFO: ==15708== Releasing lock...
[2025-01-12 13:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:46:04] Production.INFO: Account Balance End.
[2025-01-12 13:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:46:04] Production.INFO: ==15704== Releasing lock...
[2025-01-12 13:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:46:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:46:04
[end_date_ymd] => 2025-01-12 13:46:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:46:04' and `end` < '2025-01-12 13: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-01-12 13:46:10] Production.ERROR: CronJobId end10
[2025-01-12 13:46:10] Production.INFO: ==15702== Releasing lock...
[2025-01-12 13:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:46:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:46:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:46:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:46:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:46:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:46:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:46:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:46:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:46:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:46:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:46:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:46:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:46:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:46:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:46:13] Production.INFO: call_cost start
[2025-01-12 13:46:13] Production.INFO: call_cost end
[2025-01-12 13:46:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:46:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:46:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:46:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:46:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:46:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:46:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:46:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:46:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:46:13] Production.INFO: ==15698== Releasing lock...
[2025-01-12 13:46:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:46:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:46:18] Production.INFO: count ==1206
[2025-01-12 13:46:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:46:04 - End Time 2025-01-12 13:46:04
[2025-01-12 13:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231997', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14231997', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231997', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14231997', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:46:18] Production.INFO: ProcessCDR(1,14231997,1,1,2)
[2025-01-12 13:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14231997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:46:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14231997,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:46:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14231997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:46:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14231997,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231997', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:46:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14231997', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:46:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:46:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:46:22] Production.INFO: ==15706== Releasing lock...
[2025-01-12 13:46:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:46:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 18:47:01] Production.INFO: ==15761== Lock acquired, processing the job...
[2025-01-12 18:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:47:01] Production.INFO: neon service started
[2025-01-12 18:47:01] Production.INFO: neon service started
[2025-01-12 18:47:01] Production.INFO: ==15761== Releasing lock...
[2025-01-12 18:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:47:02] Production.INFO: ==15764== Lock acquired, processing the job...
[2025-01-12 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:47:02] Production.INFO: ==15766== Lock acquired, processing the job...
[2025-01-12 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:47:02] Production.INFO: ==15766== Releasing lock...
[2025-01-12 18:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:47:02] Production.INFO: ==15764== Releasing lock...
[2025-01-12 13:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:47:03] Production.INFO: ==15768== Lock acquired, processing the job...
[2025-01-12 13:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:47:03] Production.INFO: ==15772== Lock acquired, processing the job...
[2025-01-12 13:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:47:03] Production.INFO: ==15776== Lock acquired, processing the job...
[2025-01-12 13:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:47:03] Production.INFO: ==15770== Lock acquired, processing the job...
[2025-01-12 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:47:03] Production.INFO: ==15774== Lock acquired, processing the job...
[2025-01-12 13:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:47:03] Production.INFO: ==15778== Lock acquired, processing the job...
[2025-01-12 13:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:47:03] Production.INFO: Account Balance Start.
[2025-01-12 13:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:47:03] Production.ERROR: done
[2025-01-12 13:47:03] Production.INFO: 117
[2025-01-12 13:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:47:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:47:03] Production.INFO: count ==21
[2025-01-12 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232001') start
[2025-01-12 13:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:47:03] Production.ERROR: done
[2025-01-12 13:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232001') end
[2025-01-12 13:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:47:03] Production.INFO: 1
[2025-01-12 13:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:47:03] Production.INFO: ==15770== Releasing lock...
[2025-01-12 13:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:47:04] Production.INFO: ==15778== Releasing lock...
[2025-01-12 13:47:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:47:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:47:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:47:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:47:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:47:04] Production.INFO: Total Charge 0
[2025-01-12 13:47:04] Production.INFO: CreateAllLog End
[2025-01-12 13:47:04] Production.INFO: Account Balance End.
[2025-01-12 13:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:47:04] Production.INFO: ==15774== Releasing lock...
[2025-01-12 13:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:47:05
[end_date_ymd] => 2025-01-12 13:47:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:47:05' and `end` < '2025-01-12 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-01-12 13:47:10] Production.ERROR: CronJobId end10
[2025-01-12 13:47:10] Production.INFO: ==15772== Releasing lock...
[2025-01-12 13:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:47:13] Production.INFO: call_cost start
[2025-01-12 13:47:13] Production.INFO: call_cost end
[2025-01-12 13:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:47:14] Production.INFO: ==15768== Releasing lock...
[2025-01-12 13:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:47:18] Production.INFO: count ==1205
[2025-01-12 13:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:47:05 - End Time 2025-01-12 13:47:05
[2025-01-12 13:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232002', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232002', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232002', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232002', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:47:18] Production.INFO: ProcessCDR(1,14232002,1,1,2)
[2025-01-12 13:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232002,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232002,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232002', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232002', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:47:21] Production.INFO: ==15776== Releasing lock...
[2025-01-12 13:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:47:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:48:02] Production.INFO: ==15833== Lock acquired, processing the job...
[2025-01-12 18:48:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:48:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:48:02] Production.INFO: neon service started
[2025-01-12 18:48:02] Production.INFO: neon service started
[2025-01-12 18:48:02] Production.INFO: ==15833== Releasing lock...
[2025-01-12 18:48:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:48:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:48:02] Production.INFO: ==15835== Lock acquired, processing the job...
[2025-01-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:48:02] Production.INFO: ==15835== Releasing lock...
[2025-01-12 13:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:48:03] Production.INFO: ==15837== Lock acquired, processing the job...
[2025-01-12 18:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:48:03] Production.INFO: ==15837== Releasing lock...
[2025-01-12 18:48:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:48:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:48:03] Production.INFO: ==15843== Lock acquired, processing the job...
[2025-01-12 13:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:48:03] Production.INFO: ==15845== Lock acquired, processing the job...
[2025-01-12 13:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:48:03] Production.INFO: ==15839== Lock acquired, processing the job...
[2025-01-12 13:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:48:03] Production.INFO: ==15841== Lock acquired, processing the job...
[2025-01-12 13:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:48:03] Production.INFO: Account Balance Start.
[2025-01-12 13:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:48:03] Production.INFO: 117
[2025-01-12 13:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:48:04] Production.INFO: ==15848== Lock acquired, processing the job...
[2025-01-12 13:48:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:48:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:48:04] Production.INFO: ==15850== Lock acquired, processing the job...
[2025-01-12 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:48:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:48:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:48:04] Production.INFO: Total Charge 0
[2025-01-12 13:48:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 13:48:04] Production.ERROR: done
[2025-01-12 13:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:48:04] Production.INFO: count ==21
[2025-01-12 13:48:04] Production.INFO: ==15841== Releasing lock...
[2025-01-12 13:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 13:48:04] Production.INFO: count ==21
[2025-01-12 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232006') start
[2025-01-12 13:48:04] Production.ERROR: done
[2025-01-12 13:48:04] Production.INFO: Account Balance End.
[2025-01-12 13:48:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232006') end
[2025-01-12 13:48:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:48:04] Production.INFO: 1
[2025-01-12 13:48:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:48:04] Production.INFO: ==15845== Releasing lock...
[2025-01-12 13:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:48:04] Production.INFO: ==15850== Releasing lock...
[2025-01-12 13:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:48:05
[end_date_ymd] => 2025-01-12 13:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:48:05' and `end` < '2025-01-12 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-01-12 13:48:11] Production.ERROR: CronJobId end10
[2025-01-12 13:48:11] Production.INFO: ==15843== Releasing lock...
[2025-01-12 13:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:48:14] Production.INFO: call_cost start
[2025-01-12 13:48:14] Production.INFO: call_cost end
[2025-01-12 13:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:48:14] Production.INFO: ==15839== Releasing lock...
[2025-01-12 13:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:48:19] Production.INFO: count ==1204
[2025-01-12 13:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:48:05 - End Time 2025-01-12 13:48:05
[2025-01-12 13:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232007', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232007', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232007', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232007', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:48:19] Production.INFO: ProcessCDR(1,14232007,1,1,2)
[2025-01-12 13:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232007,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232007,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232007', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232007', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:48:22] Production.INFO: ==15848== Releasing lock...
[2025-01-12 13:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:48:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:49:01] Production.INFO: ==15906== Lock acquired, processing the job...
[2025-01-12 18:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:49:01] Production.INFO: neon service started
[2025-01-12 18:49:01] Production.INFO: neon service started
[2025-01-12 18:49:01] Production.INFO: ==15906== Releasing lock...
[2025-01-12 18:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:49:01] Production.INFO: ==15908== Lock acquired, processing the job...
[2025-01-12 13:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:49:02] Production.INFO: ==15908== Releasing lock...
[2025-01-12 13:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:49:02] Production.INFO: ==15910== Lock acquired, processing the job...
[2025-01-12 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:49:02] Production.INFO: ==15910== Releasing lock...
[2025-01-12 18:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:49:03] Production.INFO: ==15913== Lock acquired, processing the job...
[2025-01-12 13:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:49:03] Production.INFO: ==15915== Lock acquired, processing the job...
[2025-01-12 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:49:03] Production.INFO: ==15917== Lock acquired, processing the job...
[2025-01-12 13:49:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:49:03] Production.INFO: ==15919== Lock acquired, processing the job...
[2025-01-12 13:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:49:03] Production.INFO: ==15923== Lock acquired, processing the job...
[2025-01-12 13:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:49:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:49:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:49:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:49:03] Production.INFO: ==15921== Lock acquired, processing the job...
[2025-01-12 13:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:49:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:49:03] Production.INFO: Account Balance Start.
[2025-01-12 13:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:49:03] Production.INFO: 117
[2025-01-12 13:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 13:49:03] Production.INFO: count ==21
[2025-01-12 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-01-12 13:49:03] Production.INFO: ==15915== Releasing lock...
[2025-01-12 13:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:49:03] Production.INFO: count ==21
[2025-01-12 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232011') start
[2025-01-12 13:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:49:03] Production.ERROR: done
[2025-01-12 13:49:03] Production.INFO: Total Charge 0
[2025-01-12 13:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232011') end
[2025-01-12 13:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:49:03] Production.INFO: 1
[2025-01-12 13:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:49:04] Production.INFO: CreateAllLog End
[2025-01-12 13:49:04] Production.INFO: ==15923== Releasing lock...
[2025-01-12 13:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:49:04] Production.ERROR: done
[2025-01-12 13:49:04] Production.INFO: Account Balance End.
[2025-01-12 13:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:49:04] Production.INFO: ==15919== Releasing lock...
[2025-01-12 13:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:49:04
[end_date_ymd] => 2025-01-12 13:49:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:49:04' and `end` < '2025-01-12 13: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-01-12 13:49:11] Production.ERROR: CronJobId end10
[2025-01-12 13:49:11] Production.INFO: ==15917== Releasing lock...
[2025-01-12 13:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:49:13] Production.INFO: call_cost start
[2025-01-12 13:49:13] Production.INFO: call_cost end
[2025-01-12 13:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:49:14] Production.INFO: ==15913== Releasing lock...
[2025-01-12 13:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:49:18] Production.INFO: count ==1211
[2025-01-12 13:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:49:04 - End Time 2025-01-12 13:49:04
[2025-01-12 13:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232012', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232012', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232012', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232012', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:49:18] Production.INFO: ProcessCDR(1,14232012,1,1,2)
[2025-01-12 13:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:49:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232012,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:49:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:49:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232012,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232012', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:49:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232012', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:49:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:49:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:49:21] Production.INFO: ==15921== Releasing lock...
[2025-01-12 13:49:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:49:21] Production.INFO: 38 MB #Memory Used#
[2025-01-12 18:50:02] Production.INFO: ==15978== Lock acquired, processing the job...
[2025-01-12 18:50:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:50:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:50:02] Production.INFO: neon service started
[2025-01-12 18:50:02] Production.INFO: neon service started
[2025-01-12 18:50:02] Production.INFO: ==15978== Releasing lock...
[2025-01-12 18:50:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:50:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:50:02] Production.INFO: ==15980== Lock acquired, processing the job...
[2025-01-12 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:50:02] Production.INFO: ==15982== Lock acquired, processing the job...
[2025-01-12 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:50:02] Production.INFO: ==15980== Releasing lock...
[2025-01-12 13:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:50:02] Production.INFO: ==15982== Releasing lock...
[2025-01-12 18:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:50:03] Production.INFO: ==15984== Lock acquired, processing the job...
[2025-01-12 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 13:50:03] Production.INFO: ==15986== Lock acquired, processing the job...
[2025-01-12 13:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:50:03] Production.INFO: ==15989== Lock acquired, processing the job...
[2025-01-12 13:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 13:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 13:50:03] Production.ERROR: CronJob PID - 15986
[2025-01-12 13:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 13:50:03] Production.ERROR: CronJob ID - 5
[2025-01-12 13:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 13:50:00
[2025-01-12 13:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 13:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 13:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:50:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 13:50:03] Production.INFO: ==15984== Releasing lock...
[2025-01-12 13:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 13:50:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 13:50:03] Production.INFO: ==15991== Lock acquired, processing the job...
[2025-01-12 13:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:50:03] Production.INFO: ==15995== Lock acquired, processing the job...
[2025-01-12 13:50:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:50:04] Production.INFO: ==15993== Lock acquired, processing the job...
[2025-01-12 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:50:04] Production.INFO: ==15999== Lock acquired, processing the job...
[2025-01-12 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:50:04] Production.INFO: ==15997== Lock acquired, processing the job...
[2025-01-12 13:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 13:50:04] Production.INFO: Account Balance Start.
[2025-01-12 13:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:50:04] Production.INFO: 117
[2025-01-12 13:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 13: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-01-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:50:04] Production.INFO: count ==21
[2025-01-12 13:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:50:04] Production.INFO: ==15989== Releasing lock...
[2025-01-12 13:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13: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-01-12 13:50:04] Production.INFO: count ==21
[2025-01-12 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232015') start
[2025-01-12 13:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:50:04] Production.ERROR: done
[2025-01-12 13:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232015') end
[2025-01-12 13:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:50:04] Production.INFO: 1
[2025-01-12 13:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:50:04] Production.INFO: Total Charge 0
[2025-01-12 13:50:04] Production.INFO: CreateAllLog End
[2025-01-12 13:50:04] Production.INFO: ==15999== Releasing lock...
[2025-01-12 13:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:50:04] Production.ERROR: done
[2025-01-12 13:50:04] Production.ERROR: done
[2025-01-12 13:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 13:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232018', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 13:50:04] Production.INFO: Account Balance End.
[2025-01-12 13:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:50:04] Production.INFO: ==15993== Releasing lock...
[2025-01-12 13:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:50:05
[end_date_ymd] => 2025-01-12 13:50:05
[RateCDR] => 1
)
[2025-01-12 13:50:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:50:05' and `end` < '2025-01-12 13:50:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232018', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 13:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 13:50:08] Production.INFO: ProcessCDR(1,14232018,1,1,2)
[2025-01-12 13:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232018,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232018,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:50:08] Production.INFO: ==15997== Releasing lock...
[2025-01-12 13:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 13:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 13:50:13] Production.ERROR: CronJobId end10
[2025-01-12 13:50:13] Production.INFO: ==15991== Releasing lock...
[2025-01-12 13:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:50:15] Production.INFO: call_cost start
[2025-01-12 13:50:15] Production.INFO: call_cost end
[2025-01-12 13:50:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:50:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:50:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:50:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:50:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:50:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:50:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:50:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:50:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:50:16] Production.INFO: ==15986== Releasing lock...
[2025-01-12 13:50:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:50:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:50:19] Production.INFO: count ==1211
[2025-01-12 13:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:50:05 - End Time 2025-01-12 13:50:05
[2025-01-12 13:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232017', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232017', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232017', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232017', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:50:19] Production.INFO: ProcessCDR(1,14232017,1,1,2)
[2025-01-12 13:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:50:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232017,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:50:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:50:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232017,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232017', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:50:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232017', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:50:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:50:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:50:22] Production.INFO: ==15995== Releasing lock...
[2025-01-12 13:50:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:50:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:51:01] Production.INFO: ==16052== Lock acquired, processing the job...
[2025-01-12 18:51:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:51:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:51:01] Production.INFO: neon service started
[2025-01-12 18:51:01] Production.INFO: neon service started
[2025-01-12 18:51:01] Production.INFO: ==16052== Releasing lock...
[2025-01-12 18:51:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:51:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:51:02] Production.INFO: ==16056== Lock acquired, processing the job...
[2025-01-12 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:51:02] Production.INFO: ==16054== Lock acquired, processing the job...
[2025-01-12 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:51:02] Production.INFO: ==16056== Releasing lock...
[2025-01-12 18:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:51:02] Production.INFO: ==16054== Releasing lock...
[2025-01-12 13:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:51:03] Production.INFO: ==16060== Lock acquired, processing the job...
[2025-01-12 13:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:51:03] Production.INFO: ==16064== Lock acquired, processing the job...
[2025-01-12 13:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:51:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:51:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:51:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:51:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:51:03] Production.INFO: ==16070== Lock acquired, processing the job...
[2025-01-12 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:51:03] Production.INFO: ==16062== Lock acquired, processing the job...
[2025-01-12 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 13:51:03] Production.INFO: count ==21
[2025-01-12 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-01-12 13:51:03] Production.INFO: count ==21
[2025-01-12 13:51:03] Production.INFO: ==16066== Lock acquired, processing the job...
[2025-01-12 13:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:51:03] Production.INFO: ==16068== Lock acquired, processing the job...
[2025-01-12 13:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232020') start
[2025-01-12 13:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:51:03] Production.INFO: Account Balance Start.
[2025-01-12 13:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:51:03] Production.INFO: 117
[2025-01-12 13:51:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232020') end
[2025-01-12 13:51:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:51:03] Production.INFO: 1
[2025-01-12 13:51:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:51:03] Production.INFO: ==16070== Releasing lock...
[2025-01-12 13:51:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:51:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:51:03] Production.INFO: ==16062== Releasing lock...
[2025-01-12 13:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:51:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:51:03] Production.ERROR: done
[2025-01-12 13:51:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:51:04] Production.ERROR: done
[2025-01-12 13:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:51:04] Production.INFO: Total Charge 0
[2025-01-12 13:51:04] Production.INFO: CreateAllLog End
[2025-01-12 13:51:04] Production.INFO: Account Balance End.
[2025-01-12 13:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:51:04] Production.INFO: ==16066== Releasing lock...
[2025-01-12 13:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:51:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:51:04
[end_date_ymd] => 2025-01-12 13:51:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:51:04' and `end` < '2025-01-12 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-01-12 13:51:11] Production.ERROR: CronJobId end10
[2025-01-12 13:51:11] Production.INFO: ==16064== Releasing lock...
[2025-01-12 13:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:51:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:51:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:51:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:51:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:51:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:51:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:51:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:51:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:51:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:51:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:51:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:51:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:51:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:51:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:51:13] Production.INFO: call_cost start
[2025-01-12 13:51:13] Production.INFO: call_cost end
[2025-01-12 13:51:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:51:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:51:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:51:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:51:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:51:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:51:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:51:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:51:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:51:13] Production.INFO: ==16060== Releasing lock...
[2025-01-12 13:51:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:51:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:51:17] Production.INFO: count ==1215
[2025-01-12 13:51:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:51:04 - End Time 2025-01-12 13:51:04
[2025-01-12 13:51:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232023', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232023', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232023', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:51:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232023', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:51:18] Production.INFO: ProcessCDR(1,14232023,1,1,2)
[2025-01-12 13:51:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232023,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:51:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232023,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232023', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:51:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232023', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:51:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:51:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:51:22] Production.INFO: ==16068== Releasing lock...
[2025-01-12 13:51:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:51:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:52:01] Production.INFO: ==16125== Lock acquired, processing the job...
[2025-01-12 18:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:52:01] Production.INFO: neon service started
[2025-01-12 18:52:01] Production.INFO: neon service started
[2025-01-12 18:52:01] Production.INFO: ==16125== Releasing lock...
[2025-01-12 18:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:52:02] Production.INFO: ==16127== Lock acquired, processing the job...
[2025-01-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:52:02] Production.INFO: ==16129== Lock acquired, processing the job...
[2025-01-12 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:52:02] Production.INFO: ==16129== Releasing lock...
[2025-01-12 18:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:52:02] Production.INFO: ==16127== Releasing lock...
[2025-01-12 13:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:52:03] Production.INFO: ==16138== Lock acquired, processing the job...
[2025-01-12 13:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:52:03] Production.INFO: ==16142== Lock acquired, processing the job...
[2025-01-12 13:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:52:03] Production.INFO: Account Balance Start.
[2025-01-12 13:52:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:52:03] Production.INFO: 117
[2025-01-12 13:52:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:52:03] Production.INFO: count ==21
[2025-01-12 13:52:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:52:03] Production.INFO: ==16132== Lock acquired, processing the job...
[2025-01-12 13:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13: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-01-12 13:52:03] Production.INFO: count ==21
[2025-01-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:52:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232025') start
[2025-01-12 13:52:03] Production.INFO: ==16134== Lock acquired, processing the job...
[2025-01-12 13:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:52:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:52:03] Production.INFO: ==16136== Lock acquired, processing the job...
[2025-01-12 13:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:52:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:52:03] Production.INFO: ==16140== Lock acquired, processing the job...
[2025-01-12 13:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:52:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:52:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232025') end
[2025-01-12 13:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:52:04] Production.INFO: 1
[2025-01-12 13:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:52:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:52:04] Production.INFO: ==16142== Releasing lock...
[2025-01-12 13:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:52:04] Production.INFO: Total Charge 0
[2025-01-12 13:52:04] Production.INFO: CreateAllLog End
[2025-01-12 13:52:04] Production.ERROR: done
[2025-01-12 13:52:04] Production.INFO: ==16134== Releasing lock...
[2025-01-12 13:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:52:04] Production.ERROR: done
[2025-01-12 13:52:04] Production.INFO: Account Balance End.
[2025-01-12 13:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:52:04] Production.INFO: ==16138== Releasing lock...
[2025-01-12 13:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:52:05
[end_date_ymd] => 2025-01-12 13:52:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:52:05' and `end` < '2025-01-12 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-01-12 13:52:11] Production.ERROR: CronJobId end10
[2025-01-12 13:52:11] Production.INFO: ==16136== Releasing lock...
[2025-01-12 13:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:52:12] Production.INFO: call_cost start
[2025-01-12 13:52:12] Production.INFO: call_cost end
[2025-01-12 13:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:52:13] Production.INFO: ==16132== Releasing lock...
[2025-01-12 13:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:52:20] Production.INFO: count ==1215
[2025-01-12 13:52:20] Production.ERROR: pbx CDR StartTime 2025-01-12 10:52:05 - End Time 2025-01-12 13:52:05
[2025-01-12 13:52:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232028', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232028', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232028', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:52:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232028', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:52:20] Production.INFO: ProcessCDR(1,14232028,1,1,2)
[2025-01-12 13:52:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232028,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232028,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232028', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232028', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:52:23] Production.INFO: ==16140== Releasing lock...
[2025-01-12 13:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:52:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:53:01] Production.INFO: ==16194== Lock acquired, processing the job...
[2025-01-12 18:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:53:01] Production.INFO: neon service started
[2025-01-12 18:53:01] Production.INFO: neon service started
[2025-01-12 18:53:01] Production.INFO: ==16194== Releasing lock...
[2025-01-12 18:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:53:01] Production.INFO: ==16196== Lock acquired, processing the job...
[2025-01-12 13:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:53:01] Production.INFO: ==16196== Releasing lock...
[2025-01-12 13:53:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:53:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:53:02] Production.INFO: ==16198== Lock acquired, processing the job...
[2025-01-12 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:53:02] Production.INFO: ==16198== Releasing lock...
[2025-01-12 18:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:53:02] Production.INFO: ==16210== Lock acquired, processing the job...
[2025-01-12 13:53:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:53:02] Production.INFO: ==16208== Lock acquired, processing the job...
[2025-01-12 13:53:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:53:02] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:53:02] Production.INFO: ==16200== Lock acquired, processing the job...
[2025-01-12 13:53:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:53:02] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:53:02] Production.INFO: count ==21
[2025-01-12 13:53:02] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:53:02] Production.INFO: count ==21
[2025-01-12 13:53:02] Production.ERROR: PBX CALL prc_importPBXExtension('14232029') start
[2025-01-12 13:53:02] Production.INFO: ==16202== Lock acquired, processing the job...
[2025-01-12 13:53:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:53:03] Production.INFO: ==16204== Lock acquired, processing the job...
[2025-01-12 13:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:53:03] Production.INFO: ==16206== Lock acquired, processing the job...
[2025-01-12 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232029') end
[2025-01-12 13:53:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:53:03] Production.INFO: 1
[2025-01-12 13:53:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:53:03] Production.INFO: ==16210== Releasing lock...
[2025-01-12 13:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:53:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:53:03] Production.INFO: Account Balance Start.
[2025-01-12 13:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:53:03] Production.INFO: 117
[2025-01-12 13:53:03] Production.ERROR: done
[2025-01-12 13:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:53:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:53:03] Production.INFO: ==16202== Releasing lock...
[2025-01-12 13:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:53:03] Production.ERROR: done
[2025-01-12 13:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:53:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:53:03] Production.INFO: Total Charge 0
[2025-01-12 13:53:03] Production.INFO: CreateAllLog End
[2025-01-12 13:53:03] Production.INFO: Account Balance End.
[2025-01-12 13:53:03] Production.ERROR: CronJobId end 12
[2025-01-12 13:53:03] Production.INFO: ==16206== Releasing lock...
[2025-01-12 13:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:53:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:53:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:53:04
[end_date_ymd] => 2025-01-12 13:53:04
[RateCDR] => 1
)
[2025-01-12 13:53:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 10:53:04' and `end` < '2025-01-12 13:53:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 13:53:10] Production.ERROR: CronJobId end10
[2025-01-12 13:53:10] Production.INFO: ==16204== Releasing lock...
[2025-01-12 13:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:53:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:53:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:53:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:53:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:53:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:53:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:53:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:53:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:53:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:53:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:53:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:53:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:53:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:53:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:53:12] Production.INFO: call_cost start
[2025-01-12 13:53:12] Production.INFO: call_cost end
[2025-01-12 13:53:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:53:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:53:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:53:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:53:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:53:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:53:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:53:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:53:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:53:12] Production.INFO: ==16200== Releasing lock...
[2025-01-12 13:53:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:53:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:53:18] Production.INFO: count ==1213
[2025-01-12 13:53:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:53:04 - End Time 2025-01-12 13:53:04
[2025-01-12 13:53:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232033', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232033', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232033', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:53:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232033', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:53:18] Production.INFO: ProcessCDR(1,14232033,1,1,2)
[2025-01-12 13:53:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:53:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232033,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:53:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:53:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232033,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232033', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:53:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232033', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:53:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:53:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:53:21] Production.INFO: ==16208== Releasing lock...
[2025-01-12 13:53:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:53:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:54:01] Production.INFO: ==16265== Lock acquired, processing the job...
[2025-01-12 18:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:54:01] Production.INFO: neon service started
[2025-01-12 18:54:01] Production.INFO: neon service started
[2025-01-12 18:54:01] Production.INFO: ==16265== Releasing lock...
[2025-01-12 18:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:54:02] Production.INFO: ==16267== Lock acquired, processing the job...
[2025-01-12 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:54:02] Production.INFO: ==16267== Releasing lock...
[2025-01-12 13:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:54:02] Production.INFO: ==16269== Lock acquired, processing the job...
[2025-01-12 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:54:02] Production.INFO: ==16269== Releasing lock...
[2025-01-12 18:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:54:03] Production.INFO: ==16271== Lock acquired, processing the job...
[2025-01-12 13:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:54:03] Production.INFO: ==16275== Lock acquired, processing the job...
[2025-01-12 13:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:54:03] Production.INFO: ==16279== Lock acquired, processing the job...
[2025-01-12 13:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:54:03] Production.INFO: ==16273== Lock acquired, processing the job...
[2025-01-12 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:54:03] Production.INFO: ==16277== Lock acquired, processing the job...
[2025-01-12 13:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:54:03] Production.INFO: ==16281== Lock acquired, processing the job...
[2025-01-12 13:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:54:03] Production.INFO: ==16273== Releasing lock...
[2025-01-12 13:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:54:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:54:03] Production.ERROR: done
[2025-01-12 13:54:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13: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-01-12 13:54:03] Production.INFO: Account Balance Start.
[2025-01-12 13:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:54:03] Production.INFO: 117
[2025-01-12 13:54:03] Production.INFO: count ==21
[2025-01-12 13:54:03] Production.ERROR: done
[2025-01-12 13: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-01-12 13:54:03] Production.INFO: count ==21
[2025-01-12 13:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232037') start
[2025-01-12 13:54:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:54:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232037') end
[2025-01-12 13:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:54:04] Production.INFO: 1
[2025-01-12 13:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:54:04] Production.INFO: ==16281== Releasing lock...
[2025-01-12 13:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:54:04] Production.INFO: Total Charge 0
[2025-01-12 13:54:04] Production.INFO: CreateAllLog End
[2025-01-12 13:54:04] Production.INFO: Account Balance End.
[2025-01-12 13:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:54:04] Production.INFO: ==16277== Releasing lock...
[2025-01-12 13:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:54:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:54:04
[end_date_ymd] => 2025-01-12 13:54:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:54:04' and `end` < '2025-01-12 13: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-01-12 13:54:11] Production.ERROR: CronJobId end10
[2025-01-12 13:54:11] Production.INFO: ==16275== Releasing lock...
[2025-01-12 13:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:54:12] Production.INFO: call_cost start
[2025-01-12 13:54:12] Production.INFO: call_cost end
[2025-01-12 13:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:54:13] Production.INFO: ==16271== Releasing lock...
[2025-01-12 13:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:54:17] Production.INFO: count ==1213
[2025-01-12 13:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:54:04 - End Time 2025-01-12 13:54:04
[2025-01-12 13:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232038', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232038', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232038', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232038', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:54:18] Production.INFO: ProcessCDR(1,14232038,1,1,2)
[2025-01-12 13:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:54:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232038,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:54:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:54:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232038,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232038', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:54:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232038', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:54:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:54:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:54:21] Production.INFO: ==16279== Releasing lock...
[2025-01-12 13:54:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:54:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:55:02] Production.INFO: ==16337== Lock acquired, processing the job...
[2025-01-12 18:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:55:02] Production.INFO: neon service started
[2025-01-12 18:55:02] Production.INFO: neon service started
[2025-01-12 18:55:02] Production.INFO: ==16337== Releasing lock...
[2025-01-12 18:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:55:02] Production.INFO: ==16339== Lock acquired, processing the job...
[2025-01-12 13:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:55:02] Production.INFO: ==16341== Lock acquired, processing the job...
[2025-01-12 18:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:55:03] Production.INFO: ==16341== Releasing lock...
[2025-01-12 18:55:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:55:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:55:03] Production.INFO: ==16339== Releasing lock...
[2025-01-12 13:55:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:55:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:55:03] Production.INFO: ==16346== Lock acquired, processing the job...
[2025-01-12 13:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:55:04] Production.INFO: ==16348== Lock acquired, processing the job...
[2025-01-12 13:55:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:55:04] Production.INFO: ==16344== Lock acquired, processing the job...
[2025-01-12 13:55:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:55:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:55:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:55:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:55:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:55:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:55:04] Production.INFO: ==16354== Lock acquired, processing the job...
[2025-01-12 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:55:04] Production.INFO: ==16350== Lock acquired, processing the job...
[2025-01-12 13:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:55:04] Production.INFO: ==16346== Releasing lock...
[2025-01-12 13:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13: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-01-12 13:55:04] Production.INFO: count ==21
[2025-01-12 13:55:04] Production.INFO: ==16352== Lock acquired, processing the job...
[2025-01-12 13:55:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:55:04] Production.INFO: Account Balance Start.
[2025-01-12 13:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:55:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 13:55:04] Production.INFO: count ==21
[2025-01-12 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232041') start
[2025-01-12 13:55:04] Production.INFO: 117
[2025-01-12 13:55:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232041') end
[2025-01-12 13:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:55:04] Production.INFO: 1
[2025-01-12 13:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:55:04] Production.INFO: ==16354== Releasing lock...
[2025-01-12 13:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:55:04] Production.ERROR: done
[2025-01-12 13:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:55:04] Production.INFO: Total Charge 0
[2025-01-12 13:55:04] Production.INFO: CreateAllLog End
[2025-01-12 13:55:04] Production.ERROR: done
[2025-01-12 13:55:05] Production.INFO: Account Balance End.
[2025-01-12 13:55:05] Production.ERROR: CronJobId end 12
[2025-01-12 13:55:05] Production.INFO: ==16350== Releasing lock...
[2025-01-12 13:55:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:55:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:55:05
[end_date_ymd] => 2025-01-12 13:55:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:55:05' and `end` < '2025-01-12 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-01-12 13:55:11] Production.ERROR: CronJobId end10
[2025-01-12 13:55:11] Production.INFO: ==16348== Releasing lock...
[2025-01-12 13:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:55:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:55:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:55:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:55:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:55:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:55:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:55:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:55:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:55:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:55:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:55:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:55:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:55:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:55:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:55:14] Production.INFO: call_cost start
[2025-01-12 13:55:14] Production.INFO: call_cost end
[2025-01-12 13:55:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:55:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:55:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:55:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:55:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:55:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:55:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:55:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:55:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:55:15] Production.INFO: ==16344== Releasing lock...
[2025-01-12 13:55:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:55:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:55:20] Production.INFO: count ==1213
[2025-01-12 13:55:20] Production.ERROR: pbx CDR StartTime 2025-01-12 10:55:05 - End Time 2025-01-12 13:55:05
[2025-01-12 13:55:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232043', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232043', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232043', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:55:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232043', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:55:20] Production.INFO: ProcessCDR(1,14232043,1,1,2)
[2025-01-12 13:55:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:55:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232043,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:55:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:55:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232043,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232043', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:55:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232043', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:55:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:55:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:55:24] Production.INFO: ==16352== Releasing lock...
[2025-01-12 13:55:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:55:24] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:56:01] Production.INFO: ==16407== Lock acquired, processing the job...
[2025-01-12 18:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:56:01] Production.INFO: neon service started
[2025-01-12 18:56:01] Production.INFO: neon service started
[2025-01-12 18:56:01] Production.INFO: ==16407== Releasing lock...
[2025-01-12 18:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:56:02] Production.INFO: ==16409== Lock acquired, processing the job...
[2025-01-12 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:56:02] Production.INFO: ==16409== Releasing lock...
[2025-01-12 13:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:56:02] Production.INFO: ==16411== Lock acquired, processing the job...
[2025-01-12 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:56:02] Production.INFO: ==16411== Releasing lock...
[2025-01-12 18:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:56:03] Production.INFO: ==16413== Lock acquired, processing the job...
[2025-01-12 13:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:56:03] Production.INFO: ==16419== Lock acquired, processing the job...
[2025-01-12 13:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:56:03] Production.INFO: ==16423== Lock acquired, processing the job...
[2025-01-12 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:56:03] Production.INFO: Account Balance Start.
[2025-01-12 13:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:56:03] Production.INFO: 117
[2025-01-12 13:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:56:03] Production.INFO: ==16415== Lock acquired, processing the job...
[2025-01-12 13:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:56:03] Production.INFO: ==16417== Lock acquired, processing the job...
[2025-01-12 13:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:56:03] Production.INFO: Total Charge 0
[2025-01-12 13:56:03] Production.INFO: count ==21
[2025-01-12 13:56:03] Production.INFO: ==16421== Lock acquired, processing the job...
[2025-01-12 13:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:56:03] Production.INFO: CreateAllLog End
[2025-01-12 13: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-01-12 13:56:03] Production.INFO: count ==21
[2025-01-12 13:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232046') start
[2025-01-12 13:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232046') end
[2025-01-12 13:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:56:03] Production.INFO: 1
[2025-01-12 13:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:56:03] Production.INFO: ==16423== Releasing lock...
[2025-01-12 13:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:56:03] Production.INFO: Account Balance End.
[2025-01-12 13:56:04] Production.INFO: ==16415== Releasing lock...
[2025-01-12 13:56:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:56:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:56:04] Production.ERROR: done
[2025-01-12 13:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:56:04] Production.INFO: ==16419== Releasing lock...
[2025-01-12 13:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:56:04] Production.ERROR: done
[2025-01-12 13:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:56:04
[end_date_ymd] => 2025-01-12 13:56:04
[RateCDR] => 1
)
[2025-01-12 13: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-01-12 10:56:04' and `end` < '2025-01-12 13: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-01-12 13:56:11] Production.ERROR: CronJobId end10
[2025-01-12 13:56:11] Production.INFO: ==16417== Releasing lock...
[2025-01-12 13:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:56:13] Production.INFO: call_cost start
[2025-01-12 13:56:13] Production.INFO: call_cost end
[2025-01-12 13:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:56:14] Production.INFO: ==16413== Releasing lock...
[2025-01-12 13:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:56:18] Production.INFO: count ==1213
[2025-01-12 13:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:56:04 - End Time 2025-01-12 13:56:04
[2025-01-12 13:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232048', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232048', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232048', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232048', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:56:18] Production.INFO: ProcessCDR(1,14232048,1,1,2)
[2025-01-12 13:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:56:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232048,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:56:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:56:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232048,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232048', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:56:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232048', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:56:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:56:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:56:21] Production.INFO: ==16421== Releasing lock...
[2025-01-12 13:56:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:56:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:57:02] Production.INFO: ==16478== Lock acquired, processing the job...
[2025-01-12 18:57:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:57:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:57:02] Production.INFO: neon service started
[2025-01-12 18:57:02] Production.INFO: neon service started
[2025-01-12 18:57:02] Production.INFO: ==16478== Releasing lock...
[2025-01-12 18:57:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:57:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:57:02] Production.INFO: ==16480== Lock acquired, processing the job...
[2025-01-12 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:57:02] Production.INFO: ==16480== Releasing lock...
[2025-01-12 13:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:57:02] Production.INFO: ==16482== Lock acquired, processing the job...
[2025-01-12 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:57:02] Production.INFO: ==16482== Releasing lock...
[2025-01-12 18:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:57:03] Production.INFO: ==16486== Lock acquired, processing the job...
[2025-01-12 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:57:03] Production.INFO: ==16494== Lock acquired, processing the job...
[2025-01-12 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 13:57:03] Production.INFO: count ==21
[2025-01-12 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-01-12 13:57:03] Production.INFO: count ==21
[2025-01-12 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232050') start
[2025-01-12 13:57:03] Production.INFO: ==16484== Lock acquired, processing the job...
[2025-01-12 13:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:57:03] Production.INFO: ==16488== Lock acquired, processing the job...
[2025-01-12 13:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232050') end
[2025-01-12 13:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:57:03] Production.INFO: 1
[2025-01-12 13:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:57:03] Production.INFO: ==16494== Releasing lock...
[2025-01-12 13:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:57:03] Production.INFO: ==16492== Lock acquired, processing the job...
[2025-01-12 13:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:57:03] Production.INFO: ==16490== Lock acquired, processing the job...
[2025-01-12 13:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:57:03] Production.INFO: ==16486== Releasing lock...
[2025-01-12 13:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:57:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:57:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:57:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:57:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:57:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:57:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:57:04] Production.INFO: Account Balance Start.
[2025-01-12 13:57:04] Production.INFO: CreateAllLog Start
[2025-01-12 13:57:04] Production.INFO: 117
[2025-01-12 13:57:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:57:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:57:04] Production.ERROR: done
[2025-01-12 13:57:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:57:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:57:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:57:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:57:04] Production.ERROR: done
[2025-01-12 13:57:04] Production.INFO: Total Charge 0
[2025-01-12 13:57:04] Production.INFO: CreateAllLog End
[2025-01-12 13:57:04] Production.INFO: Account Balance End.
[2025-01-12 13:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:57:04] Production.INFO: ==16490== Releasing lock...
[2025-01-12 13:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:57:05
[end_date_ymd] => 2025-01-12 13:57:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:57:05' and `end` < '2025-01-12 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-01-12 13:57:11] Production.ERROR: CronJobId end10
[2025-01-12 13:57:11] Production.INFO: ==16488== Releasing lock...
[2025-01-12 13:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:57:13] Production.INFO: call_cost start
[2025-01-12 13:57:13] Production.INFO: call_cost end
[2025-01-12 13:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:57:14] Production.INFO: ==16484== Releasing lock...
[2025-01-12 13:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:57:18] Production.INFO: count ==1214
[2025-01-12 13:57:18] Production.ERROR: pbx CDR StartTime 2025-01-12 10:57:05 - End Time 2025-01-12 13:57:05
[2025-01-12 13:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232053', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232053', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232053', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232053', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:57:19] Production.INFO: ProcessCDR(1,14232053,1,1,2)
[2025-01-12 13:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:57:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232053,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:57:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:57:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232053,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232053', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:57:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232053', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:57:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:57:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:57:22] Production.INFO: ==16492== Releasing lock...
[2025-01-12 13:57:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:57:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 18:58:01] Production.INFO: ==16550== Lock acquired, processing the job...
[2025-01-12 18:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:58:01] Production.INFO: neon service started
[2025-01-12 18:58:01] Production.INFO: neon service started
[2025-01-12 18:58:01] Production.INFO: ==16550== Releasing lock...
[2025-01-12 18:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 18:58:02] Production.INFO: ==16554== Lock acquired, processing the job...
[2025-01-12 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 18:58:02] Production.INFO: ==16554== Releasing lock...
[2025-01-12 18:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:58:02] Production.INFO: ==16552== Lock acquired, processing the job...
[2025-01-12 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 13:58:02] Production.INFO: ==16552== Releasing lock...
[2025-01-12 13:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 13:58:03] Production.INFO: ==16557== Lock acquired, processing the job...
[2025-01-12 13:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:58:03] Production.INFO: ==16561== Lock acquired, processing the job...
[2025-01-12 13:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:58:03] Production.INFO: ==16563== Lock acquired, processing the job...
[2025-01-12 13:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:58:03] Production.INFO: ==16559== Lock acquired, processing the job...
[2025-01-12 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:58:03] Production.INFO: Account Balance Start.
[2025-01-12 13:58:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:58:03] Production.INFO: 117
[2025-01-12 13:58:03] Production.INFO: Date 2025-01-08
[2025-01-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:58:03] Production.INFO: ==16565== Lock acquired, processing the job...
[2025-01-12 13:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:58:03] Production.INFO: ==16567== Lock acquired, processing the job...
[2025-01-12 13:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:58:03] Production.INFO: Date 2025-01-09
[2025-01-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:58:03] Production.INFO: Date 2025-01-10
[2025-01-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:58:03] Production.INFO: ==16559== Releasing lock...
[2025-01-12 13:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:58:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:58:03] Production.INFO: Date 2025-01-11
[2025-01-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 13: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-01-12 13:58:03] Production.INFO: Date 2025-01-12
[2025-01-12 13:58:03] Production.INFO: Reseller ==> 0
[2025-01-12 13:58:03] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:58:03] Production.INFO: count ==21
[2025-01-12 13:58:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232057') start
[2025-01-12 13:58:03] Production.INFO: Total Charge 0
[2025-01-12 13:58:03] Production.ERROR: done
[2025-01-12 13:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:58:04] Production.INFO: CreateAllLog End
[2025-01-12 13:58:04] Production.ERROR: done
[2025-01-12 13:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232057') end
[2025-01-12 13:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:58:04] Production.INFO: 1
[2025-01-12 13:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:58:04] Production.INFO: ==16567== Releasing lock...
[2025-01-12 13:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:58:04] Production.INFO: Account Balance End.
[2025-01-12 13:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:58:04] Production.INFO: ==16563== Releasing lock...
[2025-01-12 13:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:58:05
[end_date_ymd] => 2025-01-12 13:58:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:58:05' and `end` < '2025-01-12 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-01-12 13:58:11] Production.ERROR: CronJobId end10
[2025-01-12 13:58:11] Production.INFO: ==16561== Releasing lock...
[2025-01-12 13:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:58:13] Production.INFO: call_cost start
[2025-01-12 13:58:13] Production.INFO: call_cost end
[2025-01-12 13:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:58:14] Production.INFO: ==16557== Releasing lock...
[2025-01-12 13:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:58:19] Production.INFO: count ==1213
[2025-01-12 13:58:19] Production.ERROR: pbx CDR StartTime 2025-01-12 10:58:05 - End Time 2025-01-12 13:58:05
[2025-01-12 13:58:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232058', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232058', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232058', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:58:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232058', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:58:19] Production.INFO: ProcessCDR(1,14232058,1,1,2)
[2025-01-12 13:58:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:58:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232058,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:58:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232058,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232058', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232058', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:58:23] Production.INFO: ==16565== Releasing lock...
[2025-01-12 13:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:58:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 18:59:02] Production.INFO: ==16622== Lock acquired, processing the job...
[2025-01-12 18:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 18:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 18:59:02] Production.INFO: neon service started
[2025-01-12 18:59:02] Production.INFO: neon service started
[2025-01-12 18:59:02] Production.INFO: ==16622== Releasing lock...
[2025-01-12 18:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 18:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 13:59:02] Production.INFO: ==16624== Lock acquired, processing the job...
[2025-01-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 18:59:02] Production.INFO: ==16626== Lock acquired, processing the job...
[2025-01-12 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 13:59:02] Production.INFO: ==16624== Releasing lock...
[2025-01-12 13:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 13:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 18:59:02] Production.INFO: ==16626== Releasing lock...
[2025-01-12 18:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 18:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 13:59:03] Production.INFO: ==16637== Lock acquired, processing the job...
[2025-01-12 13:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 13:59:03] Production.INFO: ==16635== Lock acquired, processing the job...
[2025-01-12 13:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 13:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 13:59:03] Production.INFO: Account Balance Start.
[2025-01-12 13:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 13:59:03] Production.INFO: 117
[2025-01-12 13:59:04] Production.INFO: Date 2025-01-08
[2025-01-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:59:04] Production.INFO: ==16631== Lock acquired, processing the job...
[2025-01-12 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 13:59:04] Production.INFO: ==16629== Lock acquired, processing the job...
[2025-01-12 13:59:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 13:59:04] Production.INFO: Date 2025-01-09
[2025-01-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:59:04] Production.INFO: ==16633== Lock acquired, processing the job...
[2025-01-12 13:59:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 13:59:04] Production.ERROR: done
[2025-01-12 13:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 13:59:04] Production.INFO: Date 2025-01-10
[2025-01-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:59:04] Production.INFO: ==16639== Lock acquired, processing the job...
[2025-01-12 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 13:59:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 13:59:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 13:59:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 13:59:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 13:59:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 13:59:04] Production.INFO: Date 2025-01-11
[2025-01-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:59:04] Production.ERROR: done
[2025-01-12 13: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-01-12 13:59:04] Production.INFO: Date 2025-01-12
[2025-01-12 13:59:04] Production.INFO: Reseller ==> 0
[2025-01-12 13:59:04] Production.INFO: ==16631== Releasing lock...
[2025-01-12 13:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 13:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 13:59:04] Production.INFO: count ==21
[2025-01-12 13: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-01-12 13:59:04] Production.INFO: count ==21
[2025-01-12 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232062') start
[2025-01-12 13:59:04] Production.INFO: Total Charge 0
[2025-01-12 13:59:04] Production.INFO: CreateAllLog End
[2025-01-12 13:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232062') end
[2025-01-12 13:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 13:59:04] Production.INFO: 1
[2025-01-12 13:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 13:59:04] Production.INFO: Account Balance End.
[2025-01-12 13:59:04] Production.INFO: ==16639== Releasing lock...
[2025-01-12 13:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 13:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 13:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 13:59:04] Production.INFO: ==16635== Releasing lock...
[2025-01-12 13:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 13:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 13:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 10:59:05
[end_date_ymd] => 2025-01-12 13:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 10:59:05' and `end` < '2025-01-12 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-01-12 13:59:12] Production.ERROR: CronJobId end10
[2025-01-12 13:59:12] Production.INFO: ==16633== Releasing lock...
[2025-01-12 13:59:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 13:59:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 13:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 13:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 13:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 13:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 13:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 13:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 13:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 13:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 13:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 13:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 13:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 13:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 13:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 13:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 13:59:13] Production.INFO: call_cost start
[2025-01-12 13:59:13] Production.INFO: call_cost end
[2025-01-12 13:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 13:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 13:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 13:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 13:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 13:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 13:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 13:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 13:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 13:59:14] Production.INFO: ==16629== Releasing lock...
[2025-01-12 13:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 13:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 13:59:19] Production.INFO: count ==1216
[2025-01-12 13:59:20] Production.ERROR: pbx CDR StartTime 2025-01-12 10:59:05 - End Time 2025-01-12 13:59:05
[2025-01-12 13:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232063', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232063', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232063', 'tblTempVendorCDR_20' ) start
[2025-01-12 13:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232063', 'tblTempVendorCDR_20' ) end
[2025-01-12 13:59:20] Production.INFO: ProcessCDR(1,14232063,1,1,2)
[2025-01-12 13:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232063,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 13:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232063,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 13:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232063', 'tblTempUsageDetail_20' ) start
[2025-01-12 13:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232063', 'tblTempUsageDetail_20' ) end
[2025-01-12 13:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 13:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 13:59:23] Production.INFO: ==16637== Releasing lock...
[2025-01-12 13:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 13:59:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:00:01] Production.INFO: ==16694== Lock acquired, processing the job...
[2025-01-12 19:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:00:01] Production.INFO: neon service started
[2025-01-12 19:00:01] Production.INFO: neon service started
[2025-01-12 19:00:01] Production.INFO: ==16694== Releasing lock...
[2025-01-12 19:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:00:01] Production.INFO: ==16696== Lock acquired, processing the job...
[2025-01-12 14:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:00:02] Production.INFO: ==16696== Releasing lock...
[2025-01-12 14:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:00:02] Production.INFO: ==16698== Lock acquired, processing the job...
[2025-01-12 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:00:02] Production.INFO: ==16698== Releasing lock...
[2025-01-12 19:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:00:03] Production.INFO: ==16705== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:00:03] Production.INFO: ==16711== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:00:03] Production.INFO: ==16701== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 14:00:03] Production.INFO: ==16713== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 14:00:03] Production.INFO: ==16703== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:00:03] Production.INFO: ==16707== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:00:03] Production.INFO: ==16709== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:00:03] Production.ERROR: CronJob PID - 16703
[2025-01-12 14:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 14:00:03] Production.ERROR: CronJob ID - 5
[2025-01-12 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:00:00
[2025-01-12 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:00:03] Production.ERROR: CronJob PID - 16705
[2025-01-12 14:00:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 14:00:03] Production.ERROR: CronJob ID - 7
[2025-01-12 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:00:00
[2025-01-12 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:00:03] Production.ERROR: CronJob PID - 16707
[2025-01-12 14:00:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 14:00:03] Production.ERROR: CronJob ID - 10
[2025-01-12 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:00:00
[2025-01-12 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:00:03] Production.ERROR: CronJob PID - 16709
[2025-01-12 14:00:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 14:00:03] Production.ERROR: CronJob ID - 12
[2025-01-12 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:00:00
[2025-01-12 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:00:03] Production.ERROR: CronJob PID - 16711
[2025-01-12 14:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 14:00:03] Production.ERROR: CronJob ID - 16
[2025-01-12 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:00:00
[2025-01-12 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:00:03] Production.ERROR: CronJob PID - 16713
[2025-01-12 14:00:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 14:00:03] Production.ERROR: CronJob ID - 17
[2025-01-12 14:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:00:00
[2025-01-12 14:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:00:03] Production.INFO: ==16715== Lock acquired, processing the job...
[2025-01-12 14:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:00:03] Production.INFO: ==16705== Releasing lock...
[2025-01-12 14:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:00:03] Production.INFO: Account Balance Start.
[2025-01-12 14:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:00:03] Production.INFO: 117
[2025-01-12 14:00:03] Production.ERROR: done
[2025-01-12 14:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 14:00:03] Production.INFO: ==16701== Releasing lock...
[2025-01-12 14:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 14:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 14:00:03] Production.INFO: Date 2025-01-08
[2025-01-12 14: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-01-12 14:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:00:04] Production.INFO: count ==21
[2025-01-12 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-01-12 14:00:04] Production.INFO: count ==21
[2025-01-12 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232067') start
[2025-01-12 14:00:04] Production.ERROR: done
[2025-01-12 14:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:00:04] Production.ERROR: done
[2025-01-12 14:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 14:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232069', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 14:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232067') end
[2025-01-12 14:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:00:04] Production.INFO: 1
[2025-01-12 14:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:00:04] Production.INFO: Total Charge 0
[2025-01-12 14:00:04] Production.INFO: ==16715== Releasing lock...
[2025-01-12 14:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:00:04] Production.INFO: CreateAllLog End
[2025-01-12 14:00:04] Production.INFO: Account Balance End.
[2025-01-12 14:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:00:04] Production.INFO: ==16709== Releasing lock...
[2025-01-12 14:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:00:05
[end_date_ymd] => 2025-01-12 14:00:05
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:00:05' and `end` < '2025-01-12 14: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-01-12 14:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232069', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 14:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 14:00:08] Production.INFO: ProcessCDR(1,14232069,1,1,2)
[2025-01-12 14:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232069,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232069,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:00:09] Production.INFO: ==16713== Releasing lock...
[2025-01-12 14:00:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 14:00:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 14:00:13] Production.ERROR: CronJobId end10
[2025-01-12 14:00:13] Production.INFO: ==16707== Releasing lock...
[2025-01-12 14:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:00:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:00:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:00:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:00:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:00:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:00:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:00:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:00:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:00:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:00:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:00:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:00:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:00:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:00:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:00:15] Production.INFO: call_cost start
[2025-01-12 14:00:15] Production.INFO: call_cost end
[2025-01-12 14:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:00:16] Production.INFO: ==16703== Releasing lock...
[2025-01-12 14:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:00:18] Production.INFO: count ==1217
[2025-01-12 14:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:00:05 - End Time 2025-01-12 14:00:05
[2025-01-12 14:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232068', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232068', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232068', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232068', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:00:19] Production.INFO: ProcessCDR(1,14232068,1,1,2)
[2025-01-12 14:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232068,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232068,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232068', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232068', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:00:22] Production.INFO: ==16711== Releasing lock...
[2025-01-12 14:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:00:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:01:02] Production.INFO: ==16811== Lock acquired, processing the job...
[2025-01-12 19:01:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:01:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:01:02] Production.INFO: neon service started
[2025-01-12 19:01:02] Production.INFO: neon service started
[2025-01-12 19:01:02] Production.INFO: ==16811== Releasing lock...
[2025-01-12 19:01:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:01:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:01:02] Production.INFO: ==16825== Lock acquired, processing the job...
[2025-01-12 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:01:02] Production.INFO: ==16825== Releasing lock...
[2025-01-12 14:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:01:02] Production.INFO: ==16827== Lock acquired, processing the job...
[2025-01-12 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:01:02] Production.INFO: ==16827== Releasing lock...
[2025-01-12 19:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:01:03] Production.INFO: ==16829== Lock acquired, processing the job...
[2025-01-12 14:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:01:03] Production.INFO: ==16831== Lock acquired, processing the job...
[2025-01-12 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:01:03] Production.INFO: ==16835== Lock acquired, processing the job...
[2025-01-12 14:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:01:03] Production.INFO: Account Balance Start.
[2025-01-12 14:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:01:03] Production.INFO: 117
[2025-01-12 14:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:01:03] Production.INFO: ==16837== Lock acquired, processing the job...
[2025-01-12 14:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:01:03] Production.INFO: ==16833== Lock acquired, processing the job...
[2025-01-12 14:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:01:03] Production.INFO: ==16831== Releasing lock...
[2025-01-12 14:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:01:03] Production.INFO: Total Charge 0
[2025-01-12 14:01:03] Production.INFO: CreateAllLog End
[2025-01-12 14:01:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:01:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:01:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:01:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:01:04] Production.INFO: ==16839== Lock acquired, processing the job...
[2025-01-12 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:01:04] Production.ERROR: done
[2025-01-12 14:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:01:04] Production.INFO: Account Balance End.
[2025-01-12 14:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:01:04] Production.INFO: ==16835== Releasing lock...
[2025-01-12 14:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14: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-01-12 14:01:04] Production.ERROR: done
[2025-01-12 14:01:04] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:01:04] Production.INFO: count ==21
[2025-01-12 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232073') start
[2025-01-12 14:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232073') end
[2025-01-12 14:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:01:04] Production.INFO: 1
[2025-01-12 14:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:01:04] Production.INFO: ==16839== Releasing lock...
[2025-01-12 14:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:01:05
[end_date_ymd] => 2025-01-12 14:01:05
[RateCDR] => 1
)
[2025-01-12 14:01:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:01:05' and `end` < '2025-01-12 14:01:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:01:11] Production.ERROR: CronJobId end10
[2025-01-12 14:01:11] Production.INFO: ==16833== Releasing lock...
[2025-01-12 14:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:01:14] Production.INFO: call_cost start
[2025-01-12 14:01:14] Production.INFO: call_cost end
[2025-01-12 14:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:01:14] Production.INFO: ==16829== Releasing lock...
[2025-01-12 14:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:01:19] Production.INFO: count ==1234
[2025-01-12 14:01:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:01:05 - End Time 2025-01-12 14:01:05
[2025-01-12 14:01:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232074', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232074', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232074', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:01:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232074', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:01:20] Production.INFO: ProcessCDR(1,14232074,1,1,2)
[2025-01-12 14:01:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:01:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232074,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:01:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:01:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232074,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232074', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:01:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232074', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:01:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:01:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:01:24] Production.INFO: ==16837== Releasing lock...
[2025-01-12 14:01:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:01:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:02:01] Production.INFO: ==16895== Lock acquired, processing the job...
[2025-01-12 19:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:02:01] Production.INFO: neon service started
[2025-01-12 19:02:01] Production.INFO: neon service started
[2025-01-12 19:02:01] Production.INFO: ==16895== Releasing lock...
[2025-01-12 19:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:02:01] Production.INFO: ==16899== Lock acquired, processing the job...
[2025-01-12 19:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:02:01] Production.INFO: ==16899== Releasing lock...
[2025-01-12 19:02:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:02:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:02:02] Production.INFO: ==16897== Lock acquired, processing the job...
[2025-01-12 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:02:02] Production.INFO: ==16897== Releasing lock...
[2025-01-12 14:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:02:03] Production.INFO: ==16901== Lock acquired, processing the job...
[2025-01-12 14:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:02:03] Production.INFO: ==16903== Lock acquired, processing the job...
[2025-01-12 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:02:03] Production.INFO: ==16910== Lock acquired, processing the job...
[2025-01-12 14:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:02:03] Production.INFO: ==16905== Lock acquired, processing the job...
[2025-01-12 14:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:02:03] Production.INFO: ==16903== Releasing lock...
[2025-01-12 14:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:02:03] Production.INFO: ==16907== Lock acquired, processing the job...
[2025-01-12 14:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:02:03] Production.INFO: ==16912== Lock acquired, processing the job...
[2025-01-12 14:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:02:03] Production.INFO: Account Balance Start.
[2025-01-12 14:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:02:03] Production.INFO: 117
[2025-01-12 14:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:02:03] Production.ERROR: done
[2025-01-12 14:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14: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-01-12 14:02:03] Production.INFO: count ==21
[2025-01-12 14:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 14: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-01-12 14:02:03] Production.INFO: count ==21
[2025-01-12 14:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232078') start
[2025-01-12 14:02:03] Production.ERROR: done
[2025-01-12 14:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232078') end
[2025-01-12 14:02:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:02:03] Production.INFO: 1
[2025-01-12 14:02:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:02:04] Production.INFO: ==16912== Releasing lock...
[2025-01-12 14:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:02:04] Production.INFO: Total Charge 0
[2025-01-12 14:02:04] Production.INFO: CreateAllLog End
[2025-01-12 14:02:04] Production.INFO: Account Balance End.
[2025-01-12 14:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:02:04] Production.INFO: ==16907== Releasing lock...
[2025-01-12 14:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:02:05
[end_date_ymd] => 2025-01-12 14:02:05
[RateCDR] => 1
)
[2025-01-12 14:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:02:05' and `end` < '2025-01-12 14:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:02:11] Production.ERROR: CronJobId end10
[2025-01-12 14:02:11] Production.INFO: ==16905== Releasing lock...
[2025-01-12 14:02:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:02:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:02:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:02:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:02:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:02:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:02:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:02:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:02:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:02:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:02:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:02:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:02:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:02:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:02:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:02:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:02:12] Production.INFO: call_cost start
[2025-01-12 14:02:12] Production.INFO: call_cost end
[2025-01-12 14:02:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:02:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:02:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:02:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:02:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:02:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:02:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:02:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:02:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:02:13] Production.INFO: ==16901== Releasing lock...
[2025-01-12 14:02:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:02:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:02:18] Production.INFO: count ==1241
[2025-01-12 14:02:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:02:05 - End Time 2025-01-12 14:02:05
[2025-01-12 14:02:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232079', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232079', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232079', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:02:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232079', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:02:18] Production.INFO: ProcessCDR(1,14232079,1,1,2)
[2025-01-12 14:02:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:02:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232079,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:02:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:02:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232079,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232079', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:02:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232079', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:02:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:02:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:02:21] Production.INFO: ==16910== Releasing lock...
[2025-01-12 14:02:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:02:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:03:01] Production.INFO: ==16969== Lock acquired, processing the job...
[2025-01-12 19:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:03:01] Production.INFO: neon service started
[2025-01-12 19:03:01] Production.INFO: neon service started
[2025-01-12 19:03:01] Production.INFO: ==16969== Releasing lock...
[2025-01-12 19:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:03:02] Production.INFO: ==16971== Lock acquired, processing the job...
[2025-01-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:03:02] Production.INFO: ==16973== Lock acquired, processing the job...
[2025-01-12 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:03:02] Production.INFO: ==16971== Releasing lock...
[2025-01-12 14:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:03:02] Production.INFO: ==16973== Releasing lock...
[2025-01-12 19:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:03:03] Production.INFO: ==16979== Lock acquired, processing the job...
[2025-01-12 14:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:03:03] Production.INFO: ==16981== Lock acquired, processing the job...
[2025-01-12 14:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:03:03] Production.INFO: Account Balance Start.
[2025-01-12 14:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:03:03] Production.INFO: 117
[2025-01-12 14:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:03:03] Production.INFO: ==16975== Lock acquired, processing the job...
[2025-01-12 14:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:03:03] Production.INFO: ==16977== Lock acquired, processing the job...
[2025-01-12 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:03:03] Production.INFO: ==16985== Lock acquired, processing the job...
[2025-01-12 14:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:03:03] Production.INFO: Total Charge 0
[2025-01-12 14:03:03] Production.INFO: ==16983== Lock acquired, processing the job...
[2025-01-12 14:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:03:03] Production.INFO: CreateAllLog End
[2025-01-12 14:03:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:03:03] Production.INFO: count ==21
[2025-01-12 14:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14: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-01-12 14:03:03] Production.INFO: ==16977== Releasing lock...
[2025-01-12 14:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:03:03] Production.INFO: count ==21
[2025-01-12 14:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232083') start
[2025-01-12 14:03:03] Production.INFO: Account Balance End.
[2025-01-12 14:03:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:03:04] Production.INFO: ==16981== Releasing lock...
[2025-01-12 14:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:03:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232083') end
[2025-01-12 14:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:03:04] Production.INFO: 1
[2025-01-12 14:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:03:04] Production.INFO: ==16985== Releasing lock...
[2025-01-12 14:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:03:04] Production.ERROR: done
[2025-01-12 14:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:03:04] Production.ERROR: done
[2025-01-12 14:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:03:05
[end_date_ymd] => 2025-01-12 14:03:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:03:05' and `end` < '2025-01-12 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-01-12 14:03:10] Production.ERROR: CronJobId end10
[2025-01-12 14:03:10] Production.INFO: ==16979== Releasing lock...
[2025-01-12 14:03:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:03:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:03:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:03:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:03:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:03:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:03:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:03:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:03:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:03:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:03:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:03:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:03:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:03:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:03:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:03:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:03:12] Production.INFO: call_cost start
[2025-01-12 14:03:12] Production.INFO: call_cost end
[2025-01-12 14:03:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:03:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:03:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:03:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:03:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:03:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:03:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:03:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:03:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:03:13] Production.INFO: ==16975== Releasing lock...
[2025-01-12 14:03:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:03:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:03:19] Production.INFO: count ==1240
[2025-01-12 14:03:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:03:05 - End Time 2025-01-12 14:03:05
[2025-01-12 14:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232084', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232084', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232084', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232084', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:03:19] Production.INFO: ProcessCDR(1,14232084,1,1,2)
[2025-01-12 14:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:03:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232084,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:03:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:03:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232084,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232084', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:03:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232084', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:03:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:03:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:03:22] Production.INFO: ==16983== Releasing lock...
[2025-01-12 14:03:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:03:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:04:01] Production.INFO: ==17039== Lock acquired, processing the job...
[2025-01-12 19:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:04:01] Production.INFO: neon service started
[2025-01-12 19:04:01] Production.INFO: neon service started
[2025-01-12 19:04:01] Production.INFO: ==17039== Releasing lock...
[2025-01-12 19:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:04:01] Production.INFO: ==17043== Lock acquired, processing the job...
[2025-01-12 19:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:04:01] Production.INFO: ==17043== Releasing lock...
[2025-01-12 19:04:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:04:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:04:01] Production.INFO: ==17041== Lock acquired, processing the job...
[2025-01-12 14:04:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:04:02] Production.INFO: ==17041== Releasing lock...
[2025-01-12 14:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:04:02] Production.INFO: ==17047== Lock acquired, processing the job...
[2025-01-12 14:04:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:04:02] Production.INFO: ==17049== Lock acquired, processing the job...
[2025-01-12 14:04:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:04:02] Production.INFO: ==17052== Lock acquired, processing the job...
[2025-01-12 14:04:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:04:03] Production.INFO: ==17045== Lock acquired, processing the job...
[2025-01-12 14:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:04:03] Production.INFO: ==17047== Releasing lock...
[2025-01-12 14:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:04:03] Production.INFO: Account Balance Start.
[2025-01-12 14:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:04:03] Production.INFO: 117
[2025-01-12 14:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:04:03] Production.INFO: ==17054== Lock acquired, processing the job...
[2025-01-12 14:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:04:03] Production.INFO: ==17056== Lock acquired, processing the job...
[2025-01-12 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:04:03] Production.INFO: Total Charge 0
[2025-01-12 14:04:03] Production.INFO: CreateAllLog End
[2025-01-12 14: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-01-12 14:04:03] Production.INFO: count ==21
[2025-01-12 14:04:03] Production.ERROR: done
[2025-01-12 14: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-01-12 14:04:03] Production.INFO: count ==21
[2025-01-12 14:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232088') start
[2025-01-12 14:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:04:03] Production.INFO: Account Balance End.
[2025-01-12 14:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232088') end
[2025-01-12 14:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:04:03] Production.INFO: 1
[2025-01-12 14:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:04:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:04:03] Production.INFO: ==17052== Releasing lock...
[2025-01-12 14:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:04:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:04:03] Production.INFO: ==17056== Releasing lock...
[2025-01-12 14:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:04:03] Production.ERROR: done
[2025-01-12 14:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:04:04
[end_date_ymd] => 2025-01-12 14:04:04
[RateCDR] => 1
)
[2025-01-12 14:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:04:04' and `end` < '2025-01-12 14:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:04:09] Production.ERROR: CronJobId end10
[2025-01-12 14:04:09] Production.INFO: ==17049== Releasing lock...
[2025-01-12 14:04:09] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:04:09] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:04:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:04:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:04:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:04:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:04:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:04:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:04:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:04:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:04:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:04:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:04:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:04:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:04:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:04:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:04:12] Production.INFO: call_cost start
[2025-01-12 14:04:12] Production.INFO: call_cost end
[2025-01-12 14:04:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:04:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:04:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:04:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:04:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:04:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:04:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:04:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:04:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:04:13] Production.INFO: ==17045== Releasing lock...
[2025-01-12 14:04:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:04:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:04:19] Production.INFO: count ==1242
[2025-01-12 14:04:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:04:04 - End Time 2025-01-12 14:04:04
[2025-01-12 14:04:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232089', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232089', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232089', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:04:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232089', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:04:20] Production.INFO: ProcessCDR(1,14232089,1,1,2)
[2025-01-12 14:04:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232089,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232089,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232089', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232089', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:04:23] Production.INFO: ==17054== Releasing lock...
[2025-01-12 14:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:04:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:05:01] Production.INFO: ==17109== Lock acquired, processing the job...
[2025-01-12 19:05:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:05:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:05:01] Production.INFO: neon service started
[2025-01-12 19:05:01] Production.INFO: neon service started
[2025-01-12 19:05:01] Production.INFO: ==17109== Releasing lock...
[2025-01-12 19:05:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:05:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:05:02] Production.INFO: ==17111== Lock acquired, processing the job...
[2025-01-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:05:02] Production.INFO: ==17111== Releasing lock...
[2025-01-12 14:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:05:02] Production.INFO: ==17113== Lock acquired, processing the job...
[2025-01-12 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:05:02] Production.INFO: ==17113== Releasing lock...
[2025-01-12 19:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:05:03] Production.INFO: ==17120== Lock acquired, processing the job...
[2025-01-12 14:05:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:05:03] Production.INFO: ==17124== Lock acquired, processing the job...
[2025-01-12 14:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:05:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:05:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:05:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:05:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:05:03] Production.INFO: ==17116== Lock acquired, processing the job...
[2025-01-12 14:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:05:03] Production.INFO: ==17118== Lock acquired, processing the job...
[2025-01-12 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:05:03] Production.INFO: ==17122== Lock acquired, processing the job...
[2025-01-12 14:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:05:03] Production.INFO: ==17126== Lock acquired, processing the job...
[2025-01-12 14:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:05:03] Production.INFO: Account Balance Start.
[2025-01-12 14:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:05:03] Production.INFO: 117
[2025-01-12 14:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:05:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:05:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:05:03] Production.ERROR: done
[2025-01-12 14:05:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:05:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:05:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:05:03] Production.INFO: count ==21
[2025-01-12 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-01-12 14:05:03] Production.INFO: count ==21
[2025-01-12 14:05:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232093') start
[2025-01-12 14:05:03] Production.ERROR: done
[2025-01-12 14:05:03] Production.INFO: ==17118== Releasing lock...
[2025-01-12 14:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:05:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:05:03] Production.INFO: Total Charge 0
[2025-01-12 14:05:03] Production.INFO: CreateAllLog End
[2025-01-12 14:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232093') end
[2025-01-12 14:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:05:04] Production.INFO: 1
[2025-01-12 14:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:05:04] Production.INFO: ==17126== Releasing lock...
[2025-01-12 14:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:05:04] Production.INFO: Account Balance End.
[2025-01-12 14:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:05:04] Production.INFO: ==17122== Releasing lock...
[2025-01-12 14:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:05:05
[end_date_ymd] => 2025-01-12 14:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:05:05' and `end` < '2025-01-12 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-01-12 14:05:10] Production.ERROR: CronJobId end10
[2025-01-12 14:05:10] Production.INFO: ==17120== Releasing lock...
[2025-01-12 14:05:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:05:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:05:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:05:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:05:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:05:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:05:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:05:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:05:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:05:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:05:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:05:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:05:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:05:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:05:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:05:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:05:12] Production.INFO: call_cost start
[2025-01-12 14:05:12] Production.INFO: call_cost end
[2025-01-12 14:05:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:05:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:05:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:05:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:05:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:05:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:05:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:05:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:05:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:05:13] Production.INFO: ==17116== Releasing lock...
[2025-01-12 14:05:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:05:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:05:18] Production.INFO: count ==1243
[2025-01-12 14:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:05:05 - End Time 2025-01-12 14:05:05
[2025-01-12 14:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232094', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232094', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232094', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232094', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:05:18] Production.INFO: ProcessCDR(1,14232094,1,1,2)
[2025-01-12 14:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232094,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232094,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232094', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232094', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:05:23] Production.INFO: ==17124== Releasing lock...
[2025-01-12 14:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:05:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 19:06:02] Production.INFO: ==17180== Lock acquired, processing the job...
[2025-01-12 19:06:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:06:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:06:02] Production.INFO: neon service started
[2025-01-12 19:06:02] Production.INFO: neon service started
[2025-01-12 19:06:02] Production.INFO: ==17180== Releasing lock...
[2025-01-12 19:06:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:06:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:06:02] Production.INFO: ==17182== Lock acquired, processing the job...
[2025-01-12 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:06:02] Production.INFO: ==17182== Releasing lock...
[2025-01-12 14:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:06:02] Production.INFO: ==17184== Lock acquired, processing the job...
[2025-01-12 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:06:02] Production.INFO: ==17184== Releasing lock...
[2025-01-12 19:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:06:03] Production.INFO: ==17191== Lock acquired, processing the job...
[2025-01-12 14:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:06:03] Production.INFO: ==17197== Lock acquired, processing the job...
[2025-01-12 14:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:06:03] Production.INFO: ==17187== Lock acquired, processing the job...
[2025-01-12 14:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:06:03] Production.INFO: ==17189== Lock acquired, processing the job...
[2025-01-12 14:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14: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-01-12 14:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:06:03] Production.INFO: ==17193== Lock acquired, processing the job...
[2025-01-12 14:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:06:03] Production.INFO: count ==21
[2025-01-12 14:06:03] Production.INFO: ==17195== Lock acquired, processing the job...
[2025-01-12 14:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 14:06:04] Production.INFO: count ==21
[2025-01-12 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232095') start
[2025-01-12 14:06:04] Production.INFO: Account Balance Start.
[2025-01-12 14:06:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:06:04] Production.INFO: 117
[2025-01-12 14:06:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:06:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232095') end
[2025-01-12 14:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:06:04] Production.INFO: 1
[2025-01-12 14:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:06:04] Production.INFO: ==17197== Releasing lock...
[2025-01-12 14:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:06:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:06:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:06:04] Production.INFO: ==17189== Releasing lock...
[2025-01-12 14:06:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:06:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:06:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:06:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:06:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:06:04] Production.ERROR: done
[2025-01-12 14:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:06:04] Production.INFO: Total Charge 0
[2025-01-12 14:06:04] Production.INFO: CreateAllLog End
[2025-01-12 14:06:04] Production.ERROR: done
[2025-01-12 14:06:04] Production.INFO: Account Balance End.
[2025-01-12 14:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:06:04] Production.INFO: ==17193== Releasing lock...
[2025-01-12 14:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:06:05
[end_date_ymd] => 2025-01-12 14:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:06:05' and `end` < '2025-01-12 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-01-12 14:06:11] Production.ERROR: CronJobId end10
[2025-01-12 14:06:11] Production.INFO: ==17191== Releasing lock...
[2025-01-12 14:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:06:13] Production.INFO: call_cost start
[2025-01-12 14:06:13] Production.INFO: call_cost end
[2025-01-12 14:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:06:14] Production.INFO: ==17187== Releasing lock...
[2025-01-12 14:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:06:18] Production.INFO: count ==1244
[2025-01-12 14:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:06:05 - End Time 2025-01-12 14:06:05
[2025-01-12 14:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232099', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232099', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232099', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232099', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:06:18] Production.INFO: ProcessCDR(1,14232099,1,1,2)
[2025-01-12 14:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:06:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232099,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:06:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:06:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232099,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232099', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:06:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232099', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:06:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:06:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:06:23] Production.INFO: ==17195== Releasing lock...
[2025-01-12 14:06:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:06:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:07:01] Production.INFO: ==17251== Lock acquired, processing the job...
[2025-01-12 19:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:07:01] Production.INFO: neon service started
[2025-01-12 19:07:01] Production.INFO: neon service started
[2025-01-12 19:07:01] Production.INFO: ==17251== Releasing lock...
[2025-01-12 19:07:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:07:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:07:02] Production.INFO: ==17253== Lock acquired, processing the job...
[2025-01-12 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:07:02] Production.INFO: ==17255== Lock acquired, processing the job...
[2025-01-12 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:07:02] Production.INFO: ==17255== Releasing lock...
[2025-01-12 19:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:07:02] Production.INFO: ==17253== Releasing lock...
[2025-01-12 14:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:07:03] Production.INFO: ==17264== Lock acquired, processing the job...
[2025-01-12 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:07:03] Production.INFO: ==17268== Lock acquired, processing the job...
[2025-01-12 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:07:03] Production.INFO: Account Balance Start.
[2025-01-12 14:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:07:03] Production.INFO: 117
[2025-01-12 14:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:07:03] Production.INFO: count ==21
[2025-01-12 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-01-12 14:07:03] Production.INFO: count ==21
[2025-01-12 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232101') start
[2025-01-12 14:07:03] Production.INFO: ==17258== Lock acquired, processing the job...
[2025-01-12 14:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:07:03] Production.INFO: ==17260== Lock acquired, processing the job...
[2025-01-12 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:07:03] Production.INFO: ==17262== Lock acquired, processing the job...
[2025-01-12 14:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232101') end
[2025-01-12 14:07:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:07:03] Production.INFO: 1
[2025-01-12 14:07:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:07:03] Production.INFO: ==17268== Releasing lock...
[2025-01-12 14:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:07:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:07:03] Production.INFO: ==17266== Lock acquired, processing the job...
[2025-01-12 14:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:07:03] Production.INFO: Total Charge 0
[2025-01-12 14:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:07:03] Production.INFO: CreateAllLog End
[2025-01-12 14:07:03] Production.INFO: ==17260== Releasing lock...
[2025-01-12 14:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:07:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:07:03] Production.INFO: Account Balance End.
[2025-01-12 14:07:03] Production.ERROR: done
[2025-01-12 14:07:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:07:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:07:03] Production.INFO: ==17264== Releasing lock...
[2025-01-12 14:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:07:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:07:04] Production.ERROR: done
[2025-01-12 14:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:07:05
[end_date_ymd] => 2025-01-12 14:07:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:07:05' and `end` < '2025-01-12 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-01-12 14:07:10] Production.ERROR: CronJobId end10
[2025-01-12 14:07:10] Production.INFO: ==17262== Releasing lock...
[2025-01-12 14:07:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:07:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:07:12] Production.INFO: call_cost start
[2025-01-12 14:07:12] Production.INFO: call_cost end
[2025-01-12 14:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:07:13] Production.INFO: ==17258== Releasing lock...
[2025-01-12 14:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:07:18] Production.INFO: count ==1252
[2025-01-12 14:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:07:05 - End Time 2025-01-12 14:07:05
[2025-01-12 14:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232104', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232104', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232104', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232104', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:07:18] Production.INFO: ProcessCDR(1,14232104,1,1,2)
[2025-01-12 14:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232104,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232104,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232104', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232104', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:07:23] Production.INFO: ==17266== Releasing lock...
[2025-01-12 14:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:07:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:08:02] Production.INFO: ==17323== Lock acquired, processing the job...
[2025-01-12 19:08:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:08:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:08:02] Production.INFO: neon service started
[2025-01-12 19:08:02] Production.INFO: neon service started
[2025-01-12 19:08:02] Production.INFO: ==17323== Releasing lock...
[2025-01-12 19:08:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:08:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:08:02] Production.INFO: ==17325== Lock acquired, processing the job...
[2025-01-12 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:08:02] Production.INFO: ==17327== Lock acquired, processing the job...
[2025-01-12 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:08:02] Production.INFO: ==17327== Releasing lock...
[2025-01-12 19:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:08:02] Production.INFO: ==17325== Releasing lock...
[2025-01-12 14:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:08:03] Production.INFO: ==17332== Lock acquired, processing the job...
[2025-01-12 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:08:03] Production.INFO: ==17334== Lock acquired, processing the job...
[2025-01-12 14:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:08:03] Production.INFO: ==17340== Lock acquired, processing the job...
[2025-01-12 14:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:08:03] Production.INFO: ==17330== Lock acquired, processing the job...
[2025-01-12 14:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:08:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:08:03] Production.INFO: ==17332== Releasing lock...
[2025-01-12 14:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:08:03] Production.INFO: count ==21
[2025-01-12 14:08:03] Production.INFO: ==17336== Lock acquired, processing the job...
[2025-01-12 14:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:08:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:08:03] Production.INFO: count ==21
[2025-01-12 14:08:03] Production.INFO: ==17338== Lock acquired, processing the job...
[2025-01-12 14:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232106') start
[2025-01-12 14:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:08:04] Production.INFO: Account Balance Start.
[2025-01-12 14:08:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:08:04] Production.INFO: 117
[2025-01-12 14:08:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232106') end
[2025-01-12 14:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:08:04] Production.INFO: 1
[2025-01-12 14:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:08:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:08:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:08:04] Production.INFO: ==17340== Releasing lock...
[2025-01-12 14:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:08:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:08:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:08:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:08:04] Production.INFO: Total Charge 0
[2025-01-12 14:08:04] Production.INFO: CreateAllLog End
[2025-01-12 14:08:04] Production.ERROR: done
[2025-01-12 14:08:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:08:04] Production.ERROR: done
[2025-01-12 14:08:04] Production.INFO: Account Balance End.
[2025-01-12 14:08:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:08:04] Production.INFO: ==17336== Releasing lock...
[2025-01-12 14:08:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:08:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:08:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:08:05
[end_date_ymd] => 2025-01-12 14:08:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:08:05' and `end` < '2025-01-12 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-01-12 14:08:11] Production.ERROR: CronJobId end10
[2025-01-12 14:08:11] Production.INFO: ==17334== Releasing lock...
[2025-01-12 14:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:08:13] Production.INFO: call_cost start
[2025-01-12 14:08:13] Production.INFO: call_cost end
[2025-01-12 14:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:08:14] Production.INFO: ==17330== Releasing lock...
[2025-01-12 14:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:08:18] Production.INFO: count ==1253
[2025-01-12 14:08:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:08:05 - End Time 2025-01-12 14:08:05
[2025-01-12 14:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232109', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232109', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232109', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232109', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:08:19] Production.INFO: ProcessCDR(1,14232109,1,1,2)
[2025-01-12 14:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232109,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232109,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232109', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232109', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:08:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:08:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:08:23] Production.INFO: ==17338== Releasing lock...
[2025-01-12 14:08:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:08:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 19:09:01] Production.INFO: ==17393== Lock acquired, processing the job...
[2025-01-12 19:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:09:01] Production.INFO: neon service started
[2025-01-12 19:09:01] Production.INFO: neon service started
[2025-01-12 19:09:01] Production.INFO: ==17393== Releasing lock...
[2025-01-12 19:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:09:01] Production.INFO: ==17395== Lock acquired, processing the job...
[2025-01-12 14:09:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:09:02] Production.INFO: ==17395== Releasing lock...
[2025-01-12 14:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:09:02] Production.INFO: ==17397== Lock acquired, processing the job...
[2025-01-12 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:09:02] Production.INFO: ==17397== Releasing lock...
[2025-01-12 19:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:09:03] Production.INFO: ==17403== Lock acquired, processing the job...
[2025-01-12 14:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:09:03] Production.INFO: ==17408== Lock acquired, processing the job...
[2025-01-12 14:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:09:03] Production.INFO: ==17399== Lock acquired, processing the job...
[2025-01-12 14:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:09:03] Production.INFO: ==17401== Lock acquired, processing the job...
[2025-01-12 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:09:03] Production.INFO: ==17405== Lock acquired, processing the job...
[2025-01-12 14:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:09:03] Production.INFO: ==17410== Lock acquired, processing the job...
[2025-01-12 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:09:03] Production.INFO: Account Balance Start.
[2025-01-12 14:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:09:03] Production.INFO: 117
[2025-01-12 14:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:09:03] Production.ERROR: done
[2025-01-12 14:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:09:03] Production.INFO: count ==21
[2025-01-12 14:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:09:03] Production.INFO: ==17401== Releasing lock...
[2025-01-12 14:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:09:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 14:09:03] Production.INFO: count ==21
[2025-01-12 14:09:03] Production.INFO: Total Charge 0
[2025-01-12 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232113') start
[2025-01-12 14:09:03] Production.INFO: CreateAllLog End
[2025-01-12 14:09:03] Production.ERROR: done
[2025-01-12 14:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232113') end
[2025-01-12 14:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:09:03] Production.INFO: 1
[2025-01-12 14:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:09:03] Production.INFO: ==17410== Releasing lock...
[2025-01-12 14:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:09:03] Production.INFO: Account Balance End.
[2025-01-12 14:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:09:04] Production.INFO: ==17405== Releasing lock...
[2025-01-12 14:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:09:04
[end_date_ymd] => 2025-01-12 14:09:04
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:09:04' and `end` < '2025-01-12 14: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-01-12 14:09:10] Production.ERROR: CronJobId end10
[2025-01-12 14:09:10] Production.INFO: ==17403== Releasing lock...
[2025-01-12 14:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:09:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:09:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:09:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:09:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:09:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:09:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:09:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:09:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:09:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:09:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:09:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:09:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:09:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:09:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:09:12] Production.INFO: call_cost start
[2025-01-12 14:09:12] Production.INFO: call_cost end
[2025-01-12 14:09:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:09:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:09:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:09:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:09:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:09:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:09:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:09:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:09:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:09:12] Production.INFO: ==17399== Releasing lock...
[2025-01-12 14:09:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:09:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:09:18] Production.INFO: count ==1246
[2025-01-12 14:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:09:04 - End Time 2025-01-12 14:09:04
[2025-01-12 14:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232114', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232114', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232114', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232114', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:09:18] Production.INFO: ProcessCDR(1,14232114,1,1,2)
[2025-01-12 14:09:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:09:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232114,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:09:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:09:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232114,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232114', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:09:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232114', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:09:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:09:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:09:21] Production.INFO: ==17408== Releasing lock...
[2025-01-12 14:09:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:09:21] Production.INFO: 38 MB #Memory Used#
[2025-01-12 19:10:01] Production.INFO: ==17464== Lock acquired, processing the job...
[2025-01-12 19:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:10:01] Production.INFO: neon service started
[2025-01-12 19:10:01] Production.INFO: neon service started
[2025-01-12 19:10:01] Production.INFO: ==17464== Releasing lock...
[2025-01-12 19:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:10:02] Production.INFO: ==17466== Lock acquired, processing the job...
[2025-01-12 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:10:02] Production.INFO: ==17466== Releasing lock...
[2025-01-12 14:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:10:02] Production.INFO: ==17468== Lock acquired, processing the job...
[2025-01-12 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:10:02] Production.INFO: ==17468== Releasing lock...
[2025-01-12 19:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:10:03] Production.INFO: ==17471== Lock acquired, processing the job...
[2025-01-12 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 14:10:03] Production.INFO: ==17473== Lock acquired, processing the job...
[2025-01-12 14:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 14:10:03] Production.INFO: ==17477== Lock acquired, processing the job...
[2025-01-12 14:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 14:10:03] Production.INFO: ==17471== Releasing lock...
[2025-01-12 14:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 14:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 14:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:10:03] Production.INFO: ==17485== Lock acquired, processing the job...
[2025-01-12 14:10:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14: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-01-12 14:10:04] Production.INFO: ==17475== Lock acquired, processing the job...
[2025-01-12 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:10:04] Production.INFO: count ==21
[2025-01-12 14:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:10:04] Production.INFO: count ==21
[2025-01-12 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232116') start
[2025-01-12 14:10:04] Production.INFO: ==17479== Lock acquired, processing the job...
[2025-01-12 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:10:04] Production.INFO: ==17481== Lock acquired, processing the job...
[2025-01-12 14:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:10:04] Production.INFO: ==17483== Lock acquired, processing the job...
[2025-01-12 14:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 14:10:04] Production.INFO: Account Balance Start.
[2025-01-12 14:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:10:04] Production.INFO: 117
[2025-01-12 14:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232116') end
[2025-01-12 14:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:10:04] Production.INFO: 1
[2025-01-12 14:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:10:04] Production.INFO: ==17485== Releasing lock...
[2025-01-12 14:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:10:04] Production.INFO: ==17475== Releasing lock...
[2025-01-12 14:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:10:04] Production.INFO: Total Charge 0
[2025-01-12 14:10:04] Production.INFO: CreateAllLog End
[2025-01-12 14:10:04] Production.ERROR: done
[2025-01-12 14:10:04] Production.ERROR: done
[2025-01-12 14:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 14:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232119', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 14:10:04] Production.INFO: Account Balance End.
[2025-01-12 14:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:10:04] Production.INFO: ==17479== Releasing lock...
[2025-01-12 14:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:10:05] Production.ERROR: done
[2025-01-12 14:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:10:06
[end_date_ymd] => 2025-01-12 14:10:06
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:10:06' and `end` < '2025-01-12 14: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-01-12 14:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232119', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 14:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 14:10:08] Production.INFO: ProcessCDR(1,14232119,1,1,2)
[2025-01-12 14:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232119,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:10:08] Production.INFO: ==17483== Releasing lock...
[2025-01-12 14:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 14:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 14:10: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: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-01-12 14:10:13] Production.ERROR: CronJobId end10
[2025-01-12 14:10:13] Production.INFO: ==17477== Releasing lock...
[2025-01-12 14:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:10:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:10:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:10:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:10:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:10:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:10:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:10:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:10:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:10:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:10:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:10:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:10:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:10:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:10:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:10:15] Production.INFO: call_cost start
[2025-01-12 14:10:15] Production.INFO: call_cost end
[2025-01-12 14:10:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:10:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:10:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:10:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:10:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:10:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:10:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:10:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:10:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:10:15] Production.INFO: ==17473== Releasing lock...
[2025-01-12 14:10:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:10:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:10:19] Production.INFO: count ==1244
[2025-01-12 14:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:10:06 - End Time 2025-01-12 14:10:06
[2025-01-12 14:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232120', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232120', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232120', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232120', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:10:19] Production.INFO: ProcessCDR(1,14232120,1,1,2)
[2025-01-12 14:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:10:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232120,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:10:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232120,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232120', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232120', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:10:23] Production.INFO: ==17481== Releasing lock...
[2025-01-12 14:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:10:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 19:11:02] Production.INFO: ==17543== Lock acquired, processing the job...
[2025-01-12 19:11:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:11:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:11:02] Production.INFO: neon service started
[2025-01-12 19:11:02] Production.INFO: neon service started
[2025-01-12 19:11:02] Production.INFO: ==17543== Releasing lock...
[2025-01-12 19:11:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:11:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:11:02] Production.INFO: ==17545== Lock acquired, processing the job...
[2025-01-12 14:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:11:03] Production.INFO: ==17547== Lock acquired, processing the job...
[2025-01-12 19:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:11:03] Production.INFO: ==17547== Releasing lock...
[2025-01-12 19:11:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:11:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:11:03] Production.INFO: ==17545== Releasing lock...
[2025-01-12 14:11:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:11:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:11:04] Production.INFO: ==17550== Lock acquired, processing the job...
[2025-01-12 14:11:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:11:04] Production.INFO: ==17552== Lock acquired, processing the job...
[2025-01-12 14:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:11:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:11:04] Production.INFO: ==17554== Lock acquired, processing the job...
[2025-01-12 14:11:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:11:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:11:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:11:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:11:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:11:04] Production.INFO: ==17556== Lock acquired, processing the job...
[2025-01-12 14:11:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:11:04] Production.INFO: ==17558== Lock acquired, processing the job...
[2025-01-12 14:11:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:11:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:11:04] Production.INFO: ==17552== Releasing lock...
[2025-01-12 14:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:11:04] Production.INFO: ==17560== Lock acquired, processing the job...
[2025-01-12 14:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:11:04] Production.INFO: Account Balance Start.
[2025-01-12 14:11:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:11:04] Production.INFO: 117
[2025-01-12 14:11:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:11:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:11:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:11:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:11:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:11:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:11:04] Production.INFO: Total Charge 0
[2025-01-12 14:11:04] Production.INFO: CreateAllLog End
[2025-01-12 14:11:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:11:04] Production.ERROR: done
[2025-01-12 14:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:11:05] Production.INFO: count ==21
[2025-01-12 14:11:05] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:11:05] Production.INFO: count ==21
[2025-01-12 14:11:05] Production.ERROR: PBX CALL prc_importPBXExtension('14232124') start
[2025-01-12 14:11:05] Production.ERROR: done
[2025-01-12 14:11:05] Production.INFO: Account Balance End.
[2025-01-12 14:11:05] Production.ERROR: PBX CALL prc_importPBXExtension('14232124') end
[2025-01-12 14:11:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:11:05] Production.INFO: 1
[2025-01-12 14:11:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:11:05] Production.ERROR: CronJobId end 12
[2025-01-12 14:11:05] Production.INFO: ==17556== Releasing lock...
[2025-01-12 14:11:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:11:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:11:05] Production.INFO: ==17560== Releasing lock...
[2025-01-12 14:11:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:11:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:11:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:11:06
[end_date_ymd] => 2025-01-12 14:11:06
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:11:06' and `end` < '2025-01-12 14: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-01-12 14:11:11] Production.ERROR: CronJobId end10
[2025-01-12 14:11:11] Production.INFO: ==17554== Releasing lock...
[2025-01-12 14:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:11:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:11:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:11:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:11:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:11:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:11:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:11:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:11:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:11:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:11:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:11:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:11:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:11:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:11:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:11:14] Production.INFO: call_cost start
[2025-01-12 14:11:14] Production.INFO: call_cost end
[2025-01-12 14:11:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:11:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:11:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:11:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:11:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:11:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:11:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:11:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:11:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:11:15] Production.INFO: ==17550== Releasing lock...
[2025-01-12 14:11:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:11:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:11:19] Production.INFO: count ==1240
[2025-01-12 14:11:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:11:06 - End Time 2025-01-12 14:11:06
[2025-01-12 14:11:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232125', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232125', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232125', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:11:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232125', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:11:19] Production.INFO: ProcessCDR(1,14232125,1,1,2)
[2025-01-12 14:11:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232125,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232125,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232125', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232125', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:11:22] Production.INFO: ==17558== Releasing lock...
[2025-01-12 14:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:11:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:12:01] Production.INFO: ==17615== Lock acquired, processing the job...
[2025-01-12 19:12:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:12:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:12:01] Production.INFO: neon service started
[2025-01-12 19:12:01] Production.INFO: neon service started
[2025-01-12 19:12:01] Production.INFO: ==17615== Releasing lock...
[2025-01-12 19:12:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:12:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:12:02] Production.INFO: ==17617== Lock acquired, processing the job...
[2025-01-12 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:12:02] Production.INFO: ==17617== Releasing lock...
[2025-01-12 14:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:12:02] Production.INFO: ==17619== Lock acquired, processing the job...
[2025-01-12 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:12:02] Production.INFO: ==17619== Releasing lock...
[2025-01-12 19:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:12:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:12:03] Production.INFO: ==17623== Lock acquired, processing the job...
[2025-01-12 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:12:03] Production.INFO: ==17631== Lock acquired, processing the job...
[2025-01-12 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:12:03] Production.INFO: ==17621== Lock acquired, processing the job...
[2025-01-12 14:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:12:03] Production.INFO: ==17625== Lock acquired, processing the job...
[2025-01-12 14:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 14:12:03] Production.INFO: count ==21
[2025-01-12 14:12:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:12:03] Production.INFO: count ==21
[2025-01-12 14:12:03] Production.INFO: ==17627== Lock acquired, processing the job...
[2025-01-12 14:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232127') start
[2025-01-12 14:12:03] Production.INFO: ==17629== Lock acquired, processing the job...
[2025-01-12 14:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:12:03] Production.INFO: ==17623== Releasing lock...
[2025-01-12 14:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:12:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:12:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:12:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:12:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:12:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:12:03] Production.INFO: Account Balance Start.
[2025-01-12 14:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:12:03] Production.INFO: 117
[2025-01-12 14:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:12:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232127') end
[2025-01-12 14:12:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:12:03] Production.INFO: 1
[2025-01-12 14:12:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:12:03] Production.INFO: ==17631== Releasing lock...
[2025-01-12 14:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:12:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:12:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:12:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:12:04] Production.ERROR: done
[2025-01-12 14:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:12:04] Production.INFO: Total Charge 0
[2025-01-12 14:12:04] Production.INFO: CreateAllLog End
[2025-01-12 14:12:04] Production.ERROR: done
[2025-01-12 14:12:04] Production.INFO: Account Balance End.
[2025-01-12 14:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:12:04] Production.INFO: ==17627== Releasing lock...
[2025-01-12 14:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:12:05
[end_date_ymd] => 2025-01-12 14:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:12:05' and `end` < '2025-01-12 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-01-12 14:12:10] Production.ERROR: CronJobId end10
[2025-01-12 14:12:10] Production.INFO: ==17625== Releasing lock...
[2025-01-12 14:12:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:12:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:12:13] Production.INFO: call_cost start
[2025-01-12 14:12:13] Production.INFO: call_cost end
[2025-01-12 14:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:12:14] Production.INFO: ==17621== Releasing lock...
[2025-01-12 14:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:12:18] Production.INFO: count ==1237
[2025-01-12 14:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:12:05 - End Time 2025-01-12 14:12:05
[2025-01-12 14:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232130', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232130', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232130', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232130', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:12:18] Production.INFO: ProcessCDR(1,14232130,1,1,2)
[2025-01-12 14:12:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:12:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232130,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:12:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:12:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232130,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232130', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:12:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232130', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:12:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:12:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:12:21] Production.INFO: ==17629== Releasing lock...
[2025-01-12 14:12:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:12:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:13:02] Production.INFO: ==17686== Lock acquired, processing the job...
[2025-01-12 19:13:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:13:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:13:02] Production.INFO: neon service started
[2025-01-12 19:13:02] Production.INFO: neon service started
[2025-01-12 19:13:02] Production.INFO: ==17686== Releasing lock...
[2025-01-12 19:13:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:13:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:13:02] Production.INFO: ==17690== Lock acquired, processing the job...
[2025-01-12 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:13:02] Production.INFO: ==17690== Releasing lock...
[2025-01-12 19:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:13:02] Production.INFO: ==17688== Lock acquired, processing the job...
[2025-01-12 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:13:02] Production.INFO: ==17688== Releasing lock...
[2025-01-12 14:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:13:03] Production.INFO: ==17697== Lock acquired, processing the job...
[2025-01-12 14:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:13:03] Production.INFO: ==17703== Lock acquired, processing the job...
[2025-01-12 14:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:13:03] Production.INFO: ==17693== Lock acquired, processing the job...
[2025-01-12 14:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:13:03] Production.INFO: ==17695== Lock acquired, processing the job...
[2025-01-12 14:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14: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-01-12 14:13:04] Production.INFO: count ==21
[2025-01-12 14:13:04] Production.INFO: ==17699== Lock acquired, processing the job...
[2025-01-12 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:13:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14: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-01-12 14:13:04] Production.INFO: count ==21
[2025-01-12 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232131') start
[2025-01-12 14:13:04] Production.INFO: ==17701== Lock acquired, processing the job...
[2025-01-12 14:13:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:13:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232131') end
[2025-01-12 14:13:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:13:04] Production.INFO: 1
[2025-01-12 14:13:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:13:04] Production.INFO: Account Balance Start.
[2025-01-12 14:13:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:13:04] Production.INFO: 117
[2025-01-12 14:13:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:13:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:13:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:13:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:13:04] Production.INFO: ==17703== Releasing lock...
[2025-01-12 14:13:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:13:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:13:04] Production.INFO: ==17695== Releasing lock...
[2025-01-12 14:13:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:13:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:13:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:13:04] Production.INFO: Total Charge 0
[2025-01-12 14:13:04] Production.INFO: CreateAllLog End
[2025-01-12 14:13:04] Production.ERROR: done
[2025-01-12 14:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:13:04] Production.ERROR: done
[2025-01-12 14:13:04] Production.INFO: Account Balance End.
[2025-01-12 14:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:13:04] Production.INFO: ==17699== Releasing lock...
[2025-01-12 14:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:13:05
[end_date_ymd] => 2025-01-12 14:13:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:13:05' and `end` < '2025-01-12 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-01-12 14:13:11] Production.ERROR: CronJobId end10
[2025-01-12 14:13:11] Production.INFO: ==17697== Releasing lock...
[2025-01-12 14:13:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:13:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:13:13] Production.INFO: call_cost start
[2025-01-12 14:13:13] Production.INFO: call_cost end
[2025-01-12 14:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:13:14] Production.INFO: ==17693== Releasing lock...
[2025-01-12 14:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:13:18] Production.INFO: count ==1228
[2025-01-12 14:13:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:13:05 - End Time 2025-01-12 14:13:05
[2025-01-12 14:13:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232135', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232135', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232135', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:13:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232135', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:13:19] Production.INFO: ProcessCDR(1,14232135,1,1,2)
[2025-01-12 14:13:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232135,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232135,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232135', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232135', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:13:23] Production.INFO: ==17701== Releasing lock...
[2025-01-12 14:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:13:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 19:14:01] Production.INFO: ==17756== Lock acquired, processing the job...
[2025-01-12 19:14:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:14:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:14:01] Production.INFO: neon service started
[2025-01-12 19:14:01] Production.INFO: neon service started
[2025-01-12 19:14:01] Production.INFO: ==17756== Releasing lock...
[2025-01-12 19:14:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:14:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:14:01] Production.INFO: ==17761== Lock acquired, processing the job...
[2025-01-12 19:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:14:01] Production.INFO: ==17761== Releasing lock...
[2025-01-12 19:14:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:14:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:14:02] Production.INFO: ==17759== Lock acquired, processing the job...
[2025-01-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:14:02] Production.INFO: ==17759== Releasing lock...
[2025-01-12 14:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:14:03] Production.INFO: ==17763== Lock acquired, processing the job...
[2025-01-12 14:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:14:03] Production.INFO: ==17767== Lock acquired, processing the job...
[2025-01-12 14:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:14:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:14:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:14:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:14:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:14:03] Production.INFO: ==17765== Lock acquired, processing the job...
[2025-01-12 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:14:03] Production.INFO: ==17769== Lock acquired, processing the job...
[2025-01-12 14:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:14:03] Production.INFO: ==17771== Lock acquired, processing the job...
[2025-01-12 14:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:14:03] Production.INFO: ==17773== Lock acquired, processing the job...
[2025-01-12 14:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:14:03] Production.INFO: Account Balance Start.
[2025-01-12 14:14:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:14:03] Production.INFO: 117
[2025-01-12 14:14:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:14:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:14:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:14:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:14:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:14:03] Production.INFO: ==17765== Releasing lock...
[2025-01-12 14:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:14:03] Production.INFO: count ==21
[2025-01-12 14:14:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:14:03] Production.INFO: count ==21
[2025-01-12 14:14:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232139') start
[2025-01-12 14:14:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:14:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:14:04] Production.ERROR: done
[2025-01-12 14:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232139') end
[2025-01-12 14:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:14:04] Production.INFO: 1
[2025-01-12 14:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:14:04] Production.INFO: Total Charge 0
[2025-01-12 14:14:04] Production.INFO: CreateAllLog End
[2025-01-12 14:14:04] Production.ERROR: done
[2025-01-12 14:14:04] Production.INFO: ==17773== Releasing lock...
[2025-01-12 14:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:14:04] Production.INFO: Account Balance End.
[2025-01-12 14:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:14:04] Production.INFO: ==17769== Releasing lock...
[2025-01-12 14:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:14:05
[end_date_ymd] => 2025-01-12 14:14:05
[RateCDR] => 1
)
[2025-01-12 14:14:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:14:05' and `end` < '2025-01-12 14:14:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:14:10] Production.ERROR: CronJobId end10
[2025-01-12 14:14:10] Production.INFO: ==17767== Releasing lock...
[2025-01-12 14:14:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:14:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:14:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:14:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:14:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:14:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:14:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:14:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:14:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:14:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:14:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:14:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:14:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:14:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:14:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:14:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:14:12] Production.INFO: call_cost start
[2025-01-12 14:14:12] Production.INFO: call_cost end
[2025-01-12 14:14:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:14:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:14:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:14:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:14:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:14:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:14:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:14:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:14:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:14:13] Production.INFO: ==17763== Releasing lock...
[2025-01-12 14:14:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:14:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:14:18] Production.INFO: count ==1216
[2025-01-12 14:14:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:14:05 - End Time 2025-01-12 14:14:05
[2025-01-12 14:14:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232140', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232140', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232140', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:14:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232140', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:14:18] Production.INFO: ProcessCDR(1,14232140,1,1,2)
[2025-01-12 14:14:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:14:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232140,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:14:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:14:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232140,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232140', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:14:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232140', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:14:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:14:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:14:21] Production.INFO: ==17771== Releasing lock...
[2025-01-12 14:14:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:14:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:15:01] Production.INFO: ==17829== Lock acquired, processing the job...
[2025-01-12 19:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:15:01] Production.INFO: neon service started
[2025-01-12 19:15:01] Production.INFO: neon service started
[2025-01-12 19:15:01] Production.INFO: ==17829== Releasing lock...
[2025-01-12 19:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:15:02] Production.INFO: ==17833== Lock acquired, processing the job...
[2025-01-12 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:15:02] Production.INFO: ==17833== Releasing lock...
[2025-01-12 19:15:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:15:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:15:02] Production.INFO: ==17831== Lock acquired, processing the job...
[2025-01-12 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:15:02] Production.INFO: ==17831== Releasing lock...
[2025-01-12 14:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:15:03] Production.INFO: ==17842== Lock acquired, processing the job...
[2025-01-12 14:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:15:03] Production.INFO: ==17840== Lock acquired, processing the job...
[2025-01-12 14:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:15:03] Production.INFO: Account Balance Start.
[2025-01-12 14:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:15:03] Production.INFO: ==17836== Lock acquired, processing the job...
[2025-01-12 14:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:15:03] Production.INFO: 117
[2025-01-12 14:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:15:03] Production.INFO: ==17838== Lock acquired, processing the job...
[2025-01-12 14:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:15:03] Production.INFO: ==17844== Lock acquired, processing the job...
[2025-01-12 14:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:15:03] Production.INFO: Total Charge 0
[2025-01-12 14:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:15:03] Production.INFO: CreateAllLog End
[2025-01-12 14:15:04] Production.INFO: ==17846== Lock acquired, processing the job...
[2025-01-12 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:15:04] Production.INFO: ==17838== Releasing lock...
[2025-01-12 14:15:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:15:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14: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-01-12 14:15:04] Production.INFO: count ==21
[2025-01-12 14:15:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:15:04] Production.INFO: count ==21
[2025-01-12 14:15:04] Production.ERROR: done
[2025-01-12 14:15:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232144') start
[2025-01-12 14:15:04] Production.INFO: Account Balance End.
[2025-01-12 14:15:04] Production.ERROR: done
[2025-01-12 14:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:15:04] Production.INFO: ==17842== Releasing lock...
[2025-01-12 14:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:15:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232144') end
[2025-01-12 14:15:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:15:04] Production.INFO: 1
[2025-01-12 14:15:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:15:04] Production.INFO: ==17846== Releasing lock...
[2025-01-12 14:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:15:05
[end_date_ymd] => 2025-01-12 14:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:15:05' and `end` < '2025-01-12 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-01-12 14:15:11] Production.ERROR: CronJobId end10
[2025-01-12 14:15:11] Production.INFO: ==17840== Releasing lock...
[2025-01-12 14:15:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:15:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:15:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:15:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:15:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:15:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:15:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:15:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:15:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:15:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:15:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:15:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:15:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:15:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:15:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:15:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:15:13] Production.INFO: call_cost start
[2025-01-12 14:15:13] Production.INFO: call_cost end
[2025-01-12 14:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:15:14] Production.INFO: ==17836== Releasing lock...
[2025-01-12 14:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:15:18] Production.INFO: count ==1214
[2025-01-12 14:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:15:05 - End Time 2025-01-12 14:15:05
[2025-01-12 14:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232145', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232145', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232145', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232145', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:15:18] Production.INFO: ProcessCDR(1,14232145,1,1,2)
[2025-01-12 14:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:15:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232145,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:15:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232145,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232145', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232145', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:15:23] Production.INFO: ==17844== Releasing lock...
[2025-01-12 14:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:15:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:16:01] Production.INFO: ==17942== Lock acquired, processing the job...
[2025-01-12 19:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:16:01] Production.INFO: neon service started
[2025-01-12 19:16:01] Production.INFO: neon service started
[2025-01-12 19:16:01] Production.INFO: ==17942== Releasing lock...
[2025-01-12 19:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:16:01] Production.INFO: ==17944== Lock acquired, processing the job...
[2025-01-12 14:16:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:16:02] Production.INFO: ==17946== Lock acquired, processing the job...
[2025-01-12 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:16:02] Production.INFO: ==17944== Releasing lock...
[2025-01-12 14:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:16:02] Production.INFO: ==17946== Releasing lock...
[2025-01-12 19:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:16:02] Production.INFO: ==17949== Lock acquired, processing the job...
[2025-01-12 14:16:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:16:02] Production.INFO: ==17951== Lock acquired, processing the job...
[2025-01-12 14:16:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:16:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:16:02] Production.INFO: ==17955== Lock acquired, processing the job...
[2025-01-12 14:16:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:16:03] Production.INFO: Account Balance Start.
[2025-01-12 14:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:16:03] Production.INFO: 117
[2025-01-12 14:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:16:03] Production.INFO: ==17951== Releasing lock...
[2025-01-12 14:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:16:03] Production.INFO: ==17953== Lock acquired, processing the job...
[2025-01-12 14:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:16:03] Production.INFO: ==17957== Lock acquired, processing the job...
[2025-01-12 14:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:16:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:16:03] Production.INFO: ==17959== Lock acquired, processing the job...
[2025-01-12 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:16:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14: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-01-12 14:16:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:16:03] Production.INFO: count ==21
[2025-01-12 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232149') start
[2025-01-12 14:16:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232149') end
[2025-01-12 14:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:16:03] Production.INFO: 1
[2025-01-12 14:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:16:03] Production.ERROR: done
[2025-01-12 14:16:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:16:03] Production.INFO: Total Charge 0
[2025-01-12 14:16:03] Production.INFO: ==17959== Releasing lock...
[2025-01-12 14:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:16:03] Production.INFO: CreateAllLog End
[2025-01-12 14:16:03] Production.ERROR: done
[2025-01-12 14:16:03] Production.INFO: Account Balance End.
[2025-01-12 14:16:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:16:03] Production.INFO: ==17955== Releasing lock...
[2025-01-12 14:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:16:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:16:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:16:04
[end_date_ymd] => 2025-01-12 14:16:04
[RateCDR] => 1
)
[2025-01-12 14:16:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:16:04' and `end` < '2025-01-12 14:16:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:16:10] Production.ERROR: CronJobId end10
[2025-01-12 14:16:10] Production.INFO: ==17953== Releasing lock...
[2025-01-12 14:16:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:16:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:16:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:16:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:16:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:16:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:16:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:16:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:16:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:16:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:16:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:16:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:16:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:16:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:16:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:16:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:16:12] Production.INFO: call_cost start
[2025-01-12 14:16:12] Production.INFO: call_cost end
[2025-01-12 14:16:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:16:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:16:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:16:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:16:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:16:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:16:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:16:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:16:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:16:13] Production.INFO: ==17949== Releasing lock...
[2025-01-12 14:16:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:16:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:16:17] Production.INFO: count ==1208
[2025-01-12 14:16:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:16:04 - End Time 2025-01-12 14:16:04
[2025-01-12 14:16:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232150', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232150', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232150', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:16:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232150', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:16:18] Production.INFO: ProcessCDR(1,14232150,1,1,2)
[2025-01-12 14:16:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:16:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232150,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:16:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:16:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232150,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232150', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:16:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232150', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:16:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:16:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:16:22] Production.INFO: ==17957== Releasing lock...
[2025-01-12 14:16:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:16:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:17:01] Production.INFO: ==18012== Lock acquired, processing the job...
[2025-01-12 19:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:17:01] Production.INFO: neon service started
[2025-01-12 19:17:01] Production.INFO: neon service started
[2025-01-12 19:17:01] Production.INFO: ==18012== Releasing lock...
[2025-01-12 19:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:17:02] Production.INFO: ==18014== Lock acquired, processing the job...
[2025-01-12 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:17:02] Production.INFO: ==18014== Releasing lock...
[2025-01-12 14:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:17:02] Production.INFO: ==18016== Lock acquired, processing the job...
[2025-01-12 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:17:02] Production.INFO: ==18016== Releasing lock...
[2025-01-12 19:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:17:03] Production.INFO: ==18018== Lock acquired, processing the job...
[2025-01-12 14:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:17:03] Production.INFO: ==18022== Lock acquired, processing the job...
[2025-01-12 14:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:17:03] Production.INFO: ==18026== Lock acquired, processing the job...
[2025-01-12 14:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:17:03] Production.INFO: ==18020== Lock acquired, processing the job...
[2025-01-12 14:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:17:03] Production.INFO: ==18024== Lock acquired, processing the job...
[2025-01-12 14:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:17:03] Production.INFO: ==18028== Lock acquired, processing the job...
[2025-01-12 14:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:17:03] Production.INFO: Account Balance Start.
[2025-01-12 14:17:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:17:03] Production.INFO: 117
[2025-01-12 14:17:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:17:03] Production.ERROR: done
[2025-01-12 14:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:17:03] Production.INFO: count ==21
[2025-01-12 14:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 14: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-01-12 14:17:04] Production.INFO: count ==21
[2025-01-12 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232154') start
[2025-01-12 14:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:17:04] Production.INFO: ==18020== Releasing lock...
[2025-01-12 14:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232154') end
[2025-01-12 14:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:17:04] Production.INFO: 1
[2025-01-12 14:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:17:04] Production.ERROR: done
[2025-01-12 14:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:17:04] Production.INFO: ==18028== Releasing lock...
[2025-01-12 14:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:17:04] Production.INFO: Total Charge 0
[2025-01-12 14:17:04] Production.INFO: CreateAllLog End
[2025-01-12 14:17:04] Production.INFO: Account Balance End.
[2025-01-12 14:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:17:04] Production.INFO: ==18024== Releasing lock...
[2025-01-12 14:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:17:05
[end_date_ymd] => 2025-01-12 14:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:17:05' and `end` < '2025-01-12 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-01-12 14:17:10] Production.ERROR: CronJobId end10
[2025-01-12 14:17:10] Production.INFO: ==18022== Releasing lock...
[2025-01-12 14:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:17:13] Production.INFO: call_cost start
[2025-01-12 14:17:13] Production.INFO: call_cost end
[2025-01-12 14:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:17:13] Production.INFO: ==18018== Releasing lock...
[2025-01-12 14:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:17:18] Production.INFO: count ==1207
[2025-01-12 14:17:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:17:05 - End Time 2025-01-12 14:17:05
[2025-01-12 14:17:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232155', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232155', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232155', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:17:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232155', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:17:18] Production.INFO: ProcessCDR(1,14232155,1,1,2)
[2025-01-12 14:17:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232155,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232155,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232155', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232155', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:17:23] Production.INFO: ==18026== Releasing lock...
[2025-01-12 14:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:17:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:18:02] Production.INFO: ==18084== Lock acquired, processing the job...
[2025-01-12 19:18:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:18:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:18:02] Production.INFO: neon service started
[2025-01-12 19:18:02] Production.INFO: neon service started
[2025-01-12 19:18:02] Production.INFO: ==18084== Releasing lock...
[2025-01-12 19:18:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:18:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:18:02] Production.INFO: ==18088== Lock acquired, processing the job...
[2025-01-12 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:18:02] Production.INFO: ==18088== Releasing lock...
[2025-01-12 19:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:18:02] Production.INFO: ==18086== Lock acquired, processing the job...
[2025-01-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:18:02] Production.INFO: ==18086== Releasing lock...
[2025-01-12 14:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:18:03] Production.INFO: ==18090== Lock acquired, processing the job...
[2025-01-12 14:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:18:03] Production.INFO: ==18092== Lock acquired, processing the job...
[2025-01-12 14:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:18:03] Production.INFO: ==18094== Lock acquired, processing the job...
[2025-01-12 14:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:18:03] Production.INFO: ==18096== Lock acquired, processing the job...
[2025-01-12 14:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:18:04] Production.INFO: ==18092== Releasing lock...
[2025-01-12 14:18:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:18:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:18:04] Production.INFO: ==18098== Lock acquired, processing the job...
[2025-01-12 14:18:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:18:04] Production.INFO: ==18100== Lock acquired, processing the job...
[2025-01-12 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:18:04] Production.INFO: Account Balance Start.
[2025-01-12 14:18:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:18:04] Production.INFO: 117
[2025-01-12 14:18:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:18:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:18:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:18:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:18:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:18:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:18:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:18:04] Production.INFO: Total Charge 0
[2025-01-12 14:18:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 14:18:04] Production.INFO: count ==21
[2025-01-12 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-01-12 14:18:04] Production.INFO: count ==21
[2025-01-12 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232159') start
[2025-01-12 14:18:04] Production.INFO: Account Balance End.
[2025-01-12 14:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232159') end
[2025-01-12 14:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:18:04] Production.INFO: 1
[2025-01-12 14:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:18:04] Production.INFO: ==18096== Releasing lock...
[2025-01-12 14:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:18:04] Production.ERROR: done
[2025-01-12 14:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:18:04] Production.INFO: ==18100== Releasing lock...
[2025-01-12 14:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:18:04] Production.ERROR: done
[2025-01-12 14:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:18:05
[end_date_ymd] => 2025-01-12 14:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:18:05' and `end` < '2025-01-12 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-01-12 14:18:11] Production.ERROR: CronJobId end10
[2025-01-12 14:18:11] Production.INFO: ==18094== Releasing lock...
[2025-01-12 14:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:18:13] Production.INFO: call_cost start
[2025-01-12 14:18:13] Production.INFO: call_cost end
[2025-01-12 14:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:18:14] Production.INFO: ==18090== Releasing lock...
[2025-01-12 14:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:18:18] Production.INFO: count ==1202
[2025-01-12 14:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:18:05 - End Time 2025-01-12 14:18:05
[2025-01-12 14:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232160', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232160', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232160', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232160', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:18:19] Production.INFO: ProcessCDR(1,14232160,1,1,2)
[2025-01-12 14:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232160,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232160,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232160', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232160', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:18:23] Production.INFO: ==18098== Releasing lock...
[2025-01-12 14:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:18:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:19:01] Production.INFO: ==18154== Lock acquired, processing the job...
[2025-01-12 19:19:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:19:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:19:01] Production.INFO: neon service started
[2025-01-12 19:19:01] Production.INFO: neon service started
[2025-01-12 19:19:01] Production.INFO: ==18154== Releasing lock...
[2025-01-12 19:19:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:19:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:19:01] Production.INFO: ==18156== Lock acquired, processing the job...
[2025-01-12 14:19:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:19:02] Production.INFO: ==18156== Releasing lock...
[2025-01-12 14:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:19:02] Production.INFO: ==18158== Lock acquired, processing the job...
[2025-01-12 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:19:02] Production.INFO: ==18158== Releasing lock...
[2025-01-12 19:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:19:03] Production.INFO: ==18163== Lock acquired, processing the job...
[2025-01-12 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:19:03] Production.INFO: ==18167== Lock acquired, processing the job...
[2025-01-12 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:19:03] Production.INFO: ==18169== Lock acquired, processing the job...
[2025-01-12 14:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:19:03] Production.INFO: Account Balance Start.
[2025-01-12 14:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:19:03] Production.INFO: 117
[2025-01-12 14:19:03] Production.INFO: ==18161== Lock acquired, processing the job...
[2025-01-12 14:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:19:03] Production.INFO: ==18165== Lock acquired, processing the job...
[2025-01-12 14:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:19:03] Production.INFO: ==18163== Releasing lock...
[2025-01-12 14:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:19:03] Production.INFO: ==18171== Lock acquired, processing the job...
[2025-01-12 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:19:03] Production.ERROR: done
[2025-01-12 14:19:03] Production.INFO: Total Charge 0
[2025-01-12 14:19:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:19:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 14:19:03] Production.INFO: count ==21
[2025-01-12 14:19:03] Production.ERROR: done
[2025-01-12 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-01-12 14:19:03] Production.INFO: count ==21
[2025-01-12 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232164') start
[2025-01-12 14:19:03] Production.INFO: Account Balance End.
[2025-01-12 14:19:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232164') end
[2025-01-12 14:19:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:19:03] Production.INFO: 1
[2025-01-12 14:19:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:19:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:19:03] Production.INFO: ==18167== Releasing lock...
[2025-01-12 14:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:19:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:19:03] Production.INFO: ==18171== Releasing lock...
[2025-01-12 14:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:19:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:19:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:19:04
[end_date_ymd] => 2025-01-12 14:19:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:19:04' and `end` < '2025-01-12 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-01-12 14:19:11] Production.ERROR: CronJobId end10
[2025-01-12 14:19:11] Production.INFO: ==18165== Releasing lock...
[2025-01-12 14:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:19:13] Production.INFO: call_cost start
[2025-01-12 14:19:13] Production.INFO: call_cost end
[2025-01-12 14:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:19:14] Production.INFO: ==18161== Releasing lock...
[2025-01-12 14:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:19:18] Production.INFO: count ==1201
[2025-01-12 14:19:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:19:04 - End Time 2025-01-12 14:19:04
[2025-01-12 14:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232165', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232165', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232165', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232165', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:19:18] Production.INFO: ProcessCDR(1,14232165,1,1,2)
[2025-01-12 14:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:19:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232165,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:19:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:19:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232165,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232165', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:19:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232165', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:19:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:19:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:19:22] Production.INFO: ==18169== Releasing lock...
[2025-01-12 14:19:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:19:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:20:02] Production.INFO: ==18227== Lock acquired, processing the job...
[2025-01-12 19:20:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:20:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:20:02] Production.INFO: neon service started
[2025-01-12 19:20:02] Production.INFO: neon service started
[2025-01-12 19:20:02] Production.INFO: ==18227== Releasing lock...
[2025-01-12 19:20:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:20:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:20:02] Production.INFO: ==18229== Lock acquired, processing the job...
[2025-01-12 14:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:20:02] Production.INFO: ==18231== Lock acquired, processing the job...
[2025-01-12 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:20:02] Production.INFO: ==18231== Releasing lock...
[2025-01-12 19:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:20:03] Production.INFO: ==18229== Releasing lock...
[2025-01-12 14:20:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:20:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:20:03] Production.INFO: ==18234== Lock acquired, processing the job...
[2025-01-12 14:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 14:20:03] Production.INFO: ==18236== Lock acquired, processing the job...
[2025-01-12 14:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 14:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:20:03] Production.ERROR: CronJob PID - 18236
[2025-01-12 14:20:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 14:20:03] Production.ERROR: CronJob ID - 5
[2025-01-12 14:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:20:00
[2025-01-12 14:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:20:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 14:20:04] Production.INFO: ==18234== Releasing lock...
[2025-01-12 14:20:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 14:20:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 14:20:04] Production.INFO: ==18240== Lock acquired, processing the job...
[2025-01-12 14:20:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:20:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:20:04] Production.INFO: ==18242== Lock acquired, processing the job...
[2025-01-12 14:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:20:04] Production.INFO: ==18238== Lock acquired, processing the job...
[2025-01-12 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:20:04] Production.INFO: Account Balance Start.
[2025-01-12 14:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:20:04] Production.INFO: 117
[2025-01-12 14:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:20:04] Production.INFO: ==18244== Lock acquired, processing the job...
[2025-01-12 14:20:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:20:04] Production.INFO: ==18246== Lock acquired, processing the job...
[2025-01-12 14:20:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 14:20:04] Production.INFO: ==18248== Lock acquired, processing the job...
[2025-01-12 14:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:20:04] Production.INFO: ==18238== Releasing lock...
[2025-01-12 14:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:20:04] Production.INFO: count ==21
[2025-01-12 14:20:04] Production.ERROR: done
[2025-01-12 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-01-12 14:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:20:04] Production.INFO: count ==21
[2025-01-12 14:20:04] Production.INFO: Total Charge 0
[2025-01-12 14:20:04] Production.INFO: CreateAllLog End
[2025-01-12 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232169') start
[2025-01-12 14:20:04] Production.ERROR: done
[2025-01-12 14:20:04] Production.ERROR: done
[2025-01-12 14:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232169') end
[2025-01-12 14:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:20:04] Production.INFO: 1
[2025-01-12 14:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:20:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 14:20:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232170', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 14:20:05] Production.INFO: ==18248== Releasing lock...
[2025-01-12 14:20:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:20:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:20:05] Production.INFO: Account Balance End.
[2025-01-12 14:20:05] Production.ERROR: CronJobId end 12
[2025-01-12 14:20:05] Production.INFO: ==18242== Releasing lock...
[2025-01-12 14:20:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:20:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:20:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:20:06
[end_date_ymd] => 2025-01-12 14:20:06
[RateCDR] => 1
)
[2025-01-12 14:20:06] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:20:06' and `end` < '2025-01-12 14:20:06'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232170', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 14:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 14:20:08] Production.INFO: ProcessCDR(1,14232170,1,1,2)
[2025-01-12 14:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232170,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232170,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:20:08] Production.INFO: ==18246== Releasing lock...
[2025-01-12 14:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 14:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 14:20:11] Production.ERROR: CronJobId end10
[2025-01-12 14:20:11] Production.INFO: ==18240== Releasing lock...
[2025-01-12 14:20:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:20:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:20:14] Production.INFO: call_cost start
[2025-01-12 14:20:14] Production.INFO: call_cost end
[2025-01-12 14:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:20:15] Production.INFO: ==18236== Releasing lock...
[2025-01-12 14:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:20:19] Production.INFO: count ==1202
[2025-01-12 14:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:20:06 - End Time 2025-01-12 14:20:06
[2025-01-12 14:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232171', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232171', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232171', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232171', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:20:19] Production.INFO: ProcessCDR(1,14232171,1,1,2)
[2025-01-12 14:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232171,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232171,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232171', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232171', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:20:24] Production.INFO: ==18244== Releasing lock...
[2025-01-12 14:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:20:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:21:01] Production.INFO: ==18300== Lock acquired, processing the job...
[2025-01-12 19:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:21:01] Production.INFO: neon service started
[2025-01-12 19:21:01] Production.INFO: neon service started
[2025-01-12 19:21:01] Production.INFO: ==18300== Releasing lock...
[2025-01-12 19:21:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:21:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:21:01] Production.INFO: ==18304== Lock acquired, processing the job...
[2025-01-12 19:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:21:01] Production.INFO: ==18304== Releasing lock...
[2025-01-12 19:21:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:21:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:21:01] Production.INFO: ==18302== Lock acquired, processing the job...
[2025-01-12 14:21:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:21:02] Production.INFO: ==18302== Releasing lock...
[2025-01-12 14:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:21:03] Production.INFO: ==18314== Lock acquired, processing the job...
[2025-01-12 14:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:21:03] Production.INFO: ==18312== Lock acquired, processing the job...
[2025-01-12 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:21:03] Production.INFO: Account Balance Start.
[2025-01-12 14:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:21:03] Production.INFO: 117
[2025-01-12 14:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:21:03] Production.INFO: ==18306== Lock acquired, processing the job...
[2025-01-12 14:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:21:03] Production.INFO: ==18308== Lock acquired, processing the job...
[2025-01-12 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:21:03] Production.INFO: ==18310== Lock acquired, processing the job...
[2025-01-12 14:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:21:03] Production.INFO: ==18316== Lock acquired, processing the job...
[2025-01-12 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:21:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:21:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:21:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:21:03] Production.ERROR: done
[2025-01-12 14:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:21:03] Production.INFO: Total Charge 0
[2025-01-12 14:21:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:21:03] Production.INFO: CreateAllLog End
[2025-01-12 14:21:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:21:03] Production.INFO: count ==21
[2025-01-12 14:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232175') start
[2025-01-12 14:21:03] Production.ERROR: done
[2025-01-12 14:21:03] Production.INFO: Account Balance End.
[2025-01-12 14:21:03] Production.INFO: ==18308== Releasing lock...
[2025-01-12 14:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:21:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:21:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:21:03] Production.INFO: ==18312== Releasing lock...
[2025-01-12 14:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:21:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232175') end
[2025-01-12 14:21:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:21:03] Production.INFO: 1
[2025-01-12 14:21:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:21:03] Production.INFO: ==18316== Releasing lock...
[2025-01-12 14:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:21:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:21:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:21:04
[end_date_ymd] => 2025-01-12 14:21:04
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:21:04' and `end` < '2025-01-12 14: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-01-12 14:21:10] Production.ERROR: CronJobId end10
[2025-01-12 14:21:10] Production.INFO: ==18310== Releasing lock...
[2025-01-12 14:21:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:21:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:21:13] Production.INFO: call_cost start
[2025-01-12 14:21:13] Production.INFO: call_cost end
[2025-01-12 14:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:21:14] Production.INFO: ==18306== Releasing lock...
[2025-01-12 14:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:21:19] Production.INFO: count ==1208
[2025-01-12 14:21:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:21:04 - End Time 2025-01-12 14:21:04
[2025-01-12 14:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232176', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232176', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232176', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232176', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:21:19] Production.INFO: ProcessCDR(1,14232176,1,1,2)
[2025-01-12 14:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:21:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232176,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:21:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:21:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232176,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232176', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:21:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232176', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:21:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:21:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:21:22] Production.INFO: ==18314== Releasing lock...
[2025-01-12 14:21:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:21:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:22:01] Production.INFO: ==18372== Lock acquired, processing the job...
[2025-01-12 19:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:22:01] Production.INFO: neon service started
[2025-01-12 19:22:01] Production.INFO: neon service started
[2025-01-12 19:22:01] Production.INFO: ==18372== Releasing lock...
[2025-01-12 19:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:22:02] Production.INFO: ==18376== Lock acquired, processing the job...
[2025-01-12 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:22:02] Production.INFO: ==18376== Releasing lock...
[2025-01-12 19:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:22:02] Production.INFO: ==18374== Lock acquired, processing the job...
[2025-01-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:22:02] Production.INFO: ==18374== Releasing lock...
[2025-01-12 14:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:22:03] Production.INFO: ==18383== Lock acquired, processing the job...
[2025-01-12 14:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:22:03] Production.INFO: ==18387== Lock acquired, processing the job...
[2025-01-12 14:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:22:03] Production.INFO: ==18379== Lock acquired, processing the job...
[2025-01-12 14:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:22:03] Production.INFO: ==18381== Lock acquired, processing the job...
[2025-01-12 14:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:22:03] Production.INFO: ==18385== Lock acquired, processing the job...
[2025-01-12 14:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:22:03] Production.INFO: ==18389== Lock acquired, processing the job...
[2025-01-12 14:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:22:03] Production.ERROR: done
[2025-01-12 14:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14: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-01-12 14:22:03] Production.INFO: count ==21
[2025-01-12 14:22:03] Production.ERROR: done
[2025-01-12 14:22:04] Production.INFO: Account Balance Start.
[2025-01-12 14:22:04] Production.INFO: CreateAllLog Start
[2025-01-12 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-01-12 14:22:04] Production.INFO: 117
[2025-01-12 14:22:04] Production.INFO: count ==21
[2025-01-12 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232179') start
[2025-01-12 14:22:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:22:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:22:04] Production.INFO: ==18381== Releasing lock...
[2025-01-12 14:22:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:22:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:22:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232179') end
[2025-01-12 14:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:22:04] Production.INFO: 1
[2025-01-12 14:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:22:04] Production.INFO: ==18389== Releasing lock...
[2025-01-12 14:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:22:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:22:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:22:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:22:04] Production.INFO: Total Charge 0
[2025-01-12 14:22:04] Production.INFO: CreateAllLog End
[2025-01-12 14:22:04] Production.INFO: Account Balance End.
[2025-01-12 14:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:22:04] Production.INFO: ==18385== Releasing lock...
[2025-01-12 14:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:22:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:22:05
[end_date_ymd] => 2025-01-12 14:22:05
[RateCDR] => 1
)
[2025-01-12 14:22:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:22:05' and `end` < '2025-01-12 14:22:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:22:11] Production.ERROR: CronJobId end10
[2025-01-12 14:22:11] Production.INFO: ==18383== Releasing lock...
[2025-01-12 14:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:22:13] Production.INFO: call_cost start
[2025-01-12 14:22:13] Production.INFO: call_cost end
[2025-01-12 14:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:22:14] Production.INFO: ==18379== Releasing lock...
[2025-01-12 14:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:22:18] Production.INFO: count ==1209
[2025-01-12 14:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:22:05 - End Time 2025-01-12 14:22:05
[2025-01-12 14:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232181', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232181', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232181', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232181', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:22:18] Production.INFO: ProcessCDR(1,14232181,1,1,2)
[2025-01-12 14:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232181,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232181,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232181', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232181', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:22:23] Production.INFO: ==18387== Releasing lock...
[2025-01-12 14:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:22:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 19:23:02] Production.INFO: ==18446== Lock acquired, processing the job...
[2025-01-12 19:23:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:23:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:23:02] Production.INFO: neon service started
[2025-01-12 19:23:02] Production.INFO: neon service started
[2025-01-12 19:23:02] Production.INFO: ==18446== Releasing lock...
[2025-01-12 19:23:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:23:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:23:02] Production.INFO: ==18450== Lock acquired, processing the job...
[2025-01-12 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:23:02] Production.INFO: ==18450== Releasing lock...
[2025-01-12 19:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:23:02] Production.INFO: ==18448== Lock acquired, processing the job...
[2025-01-12 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:23:02] Production.INFO: ==18448== Releasing lock...
[2025-01-12 14:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:23:03] Production.INFO: ==18453== Lock acquired, processing the job...
[2025-01-12 14:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:23:03] Production.INFO: ==18461== Lock acquired, processing the job...
[2025-01-12 14:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:23:03] Production.INFO: ==18455== Lock acquired, processing the job...
[2025-01-12 14:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:23:03] Production.INFO: ==18457== Lock acquired, processing the job...
[2025-01-12 14:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:23:03] Production.INFO: ==18459== Lock acquired, processing the job...
[2025-01-12 14:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:23:03] Production.ERROR: done
[2025-01-12 14:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:23:03] Production.INFO: ==18463== Lock acquired, processing the job...
[2025-01-12 14:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:23:04] Production.ERROR: done
[2025-01-12 14:23:04] Production.INFO: Account Balance Start.
[2025-01-12 14:23:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:23:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:23:04] Production.INFO: 117
[2025-01-12 14:23:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:23:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:23:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:23:04] Production.INFO: Date 2025-01-08
[2025-01-12 14: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-01-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:23:04] Production.INFO: count ==21
[2025-01-12 14:23:04] Production.INFO: Date 2025-01-09
[2025-01-12 14: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-01-12 14:23:04] Production.INFO: count ==21
[2025-01-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232185') start
[2025-01-12 14:23:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232185') end
[2025-01-12 14:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:23:04] Production.INFO: 1
[2025-01-12 14:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:23:04] Production.INFO: ==18463== Releasing lock...
[2025-01-12 14:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:23:04] Production.INFO: ==18455== Releasing lock...
[2025-01-12 14:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:23:04] Production.INFO: Total Charge 0
[2025-01-12 14:23:04] Production.INFO: CreateAllLog End
[2025-01-12 14:23:04] Production.INFO: Account Balance End.
[2025-01-12 14:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:23:04] Production.INFO: ==18459== Releasing lock...
[2025-01-12 14:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:23:05
[end_date_ymd] => 2025-01-12 14:23:05
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:23:05' and `end` < '2025-01-12 14: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-01-12 14:23:10] Production.ERROR: CronJobId end10
[2025-01-12 14:23:10] Production.INFO: ==18457== Releasing lock...
[2025-01-12 14:23:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:23:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:23:12] Production.INFO: call_cost start
[2025-01-12 14:23:12] Production.INFO: call_cost end
[2025-01-12 14:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:23:13] Production.INFO: ==18453== Releasing lock...
[2025-01-12 14:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:23:19] Production.INFO: count ==1209
[2025-01-12 14:23:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:23:05 - End Time 2025-01-12 14:23:05
[2025-01-12 14:23:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232186', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232186', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232186', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:23:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232186', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:23:20] Production.INFO: ProcessCDR(1,14232186,1,1,2)
[2025-01-12 14:23:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:23:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232186,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:23:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:23:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232186,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232186', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232186', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:23:23] Production.INFO: ==18461== Releasing lock...
[2025-01-12 14:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:23:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 19:24:01] Production.INFO: ==18517== Lock acquired, processing the job...
[2025-01-12 19:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:24:01] Production.INFO: neon service started
[2025-01-12 19:24:01] Production.INFO: neon service started
[2025-01-12 19:24:01] Production.INFO: ==18517== Releasing lock...
[2025-01-12 19:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:24:02] Production.INFO: ==18519== Lock acquired, processing the job...
[2025-01-12 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:24:02] Production.INFO: ==18521== Lock acquired, processing the job...
[2025-01-12 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:24:02] Production.INFO: ==18521== Releasing lock...
[2025-01-12 19:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:24:02] Production.INFO: ==18519== Releasing lock...
[2025-01-12 14:24:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:24:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:24:03] Production.INFO: ==18524== Lock acquired, processing the job...
[2025-01-12 14:24:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:24:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:24:03] Production.INFO: ==18530== Lock acquired, processing the job...
[2025-01-12 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:24:03] Production.INFO: ==18532== Lock acquired, processing the job...
[2025-01-12 14:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:24:03] Production.INFO: Account Balance Start.
[2025-01-12 14:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:24:03] Production.INFO: 117
[2025-01-12 14:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:24:03] Production.INFO: ==18528== Lock acquired, processing the job...
[2025-01-12 14:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:24:03] Production.INFO: ==18526== Lock acquired, processing the job...
[2025-01-12 14:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:24:03] Production.INFO: Total Charge 0
[2025-01-12 14:24:03] Production.INFO: CreateAllLog End
[2025-01-12 14:24:03] Production.INFO: ==18534== Lock acquired, processing the job...
[2025-01-12 14:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:24:03] Production.ERROR: done
[2025-01-12 14:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14: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-01-12 14:24:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:24:03] Production.INFO: count ==21
[2025-01-12 14:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232189') start
[2025-01-12 14:24:03] Production.ERROR: done
[2025-01-12 14:24:03] Production.INFO: Account Balance End.
[2025-01-12 14:24:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:24:03] Production.INFO: ==18530== Releasing lock...
[2025-01-12 14:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232189') end
[2025-01-12 14:24:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:24:04] Production.INFO: 1
[2025-01-12 14:24:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:24:04] Production.INFO: ==18534== Releasing lock...
[2025-01-12 14:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:24:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:24:04] Production.INFO: ==18526== Releasing lock...
[2025-01-12 14:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:24:04
[end_date_ymd] => 2025-01-12 14:24:04
[RateCDR] => 1
)
[2025-01-12 14:24:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:24:04' and `end` < '2025-01-12 14:24:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:24:11] Production.ERROR: CronJobId end10
[2025-01-12 14:24:11] Production.INFO: ==18528== Releasing lock...
[2025-01-12 14:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:24:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:24:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:24:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:24:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:24:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:24:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:24:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:24:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:24:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:24:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:24:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:24:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:24:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:24:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:24:12] Production.INFO: call_cost start
[2025-01-12 14:24:12] Production.INFO: call_cost end
[2025-01-12 14:24:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:24:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:24:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:24:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:24:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:24:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:24:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:24:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:24:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:24:13] Production.INFO: ==18524== Releasing lock...
[2025-01-12 14:24:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:24:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:24:19] Production.INFO: count ==1209
[2025-01-12 14:24:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:24:04 - End Time 2025-01-12 14:24:04
[2025-01-12 14:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232191', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232191', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232191', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232191', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:24:19] Production.INFO: ProcessCDR(1,14232191,1,1,2)
[2025-01-12 14:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232191,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232191,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232191', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232191', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:24:22] Production.INFO: ==18532== Releasing lock...
[2025-01-12 14:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:24:22] Production.INFO: 38 MB #Memory Used#
[2025-01-12 19:25:02] Production.INFO: ==18586== Lock acquired, processing the job...
[2025-01-12 19:25:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:25:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:25:02] Production.INFO: neon service started
[2025-01-12 19:25:02] Production.INFO: neon service started
[2025-01-12 19:25:02] Production.INFO: ==18586== Releasing lock...
[2025-01-12 19:25:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:25:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:25:02] Production.INFO: ==18588== Lock acquired, processing the job...
[2025-01-12 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:25:02] Production.INFO: ==18590== Lock acquired, processing the job...
[2025-01-12 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:25:02] Production.INFO: ==18590== Releasing lock...
[2025-01-12 19:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:25:02] Production.INFO: ==18588== Releasing lock...
[2025-01-12 14:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:25:03] Production.INFO: ==18593== Lock acquired, processing the job...
[2025-01-12 14:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:25:03] Production.INFO: ==18595== Lock acquired, processing the job...
[2025-01-12 14:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:25:03] Production.INFO: ==18597== Lock acquired, processing the job...
[2025-01-12 14:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:25:03] Production.INFO: ==18599== Lock acquired, processing the job...
[2025-01-12 14:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:25:03] Production.INFO: ==18601== Lock acquired, processing the job...
[2025-01-12 14:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:25:04] Production.INFO: Account Balance Start.
[2025-01-12 14:25:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:25:04] Production.INFO: 117
[2025-01-12 14:25:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:25:04] Production.INFO: ==18603== Lock acquired, processing the job...
[2025-01-12 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:25:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:25:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:25:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:25:04] Production.ERROR: done
[2025-01-12 14:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:25:04] Production.INFO: ==18595== Releasing lock...
[2025-01-12 14:25:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:25:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:25:04] Production.INFO: Total Charge 0
[2025-01-12 14:25:04] Production.INFO: CreateAllLog End
[2025-01-12 14: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-01-12 14:25:04] Production.ERROR: done
[2025-01-12 14:25:04] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:25:04] Production.INFO: count ==21
[2025-01-12 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232195') start
[2025-01-12 14:25:04] Production.INFO: Account Balance End.
[2025-01-12 14:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232195') end
[2025-01-12 14:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:25:04] Production.INFO: 1
[2025-01-12 14:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:25:04] Production.INFO: ==18599== Releasing lock...
[2025-01-12 14:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:25:04] Production.INFO: ==18603== Releasing lock...
[2025-01-12 14:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:25:05
[end_date_ymd] => 2025-01-12 14:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:25:05' and `end` < '2025-01-12 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-01-12 14:25:10] Production.ERROR: CronJobId end10
[2025-01-12 14:25:10] Production.INFO: ==18597== Releasing lock...
[2025-01-12 14:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:25:13] Production.INFO: call_cost start
[2025-01-12 14:25:13] Production.INFO: call_cost end
[2025-01-12 14:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:25:14] Production.INFO: ==18593== Releasing lock...
[2025-01-12 14:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:25:18] Production.INFO: count ==1208
[2025-01-12 14:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:25:05 - End Time 2025-01-12 14:25:05
[2025-01-12 14:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232196', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232196', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232196', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232196', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:25:18] Production.INFO: ProcessCDR(1,14232196,1,1,2)
[2025-01-12 14:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:25:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232196,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:25:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:25:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232196,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232196', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:25:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232196', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:25:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:25:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:25:21] Production.INFO: ==18601== Releasing lock...
[2025-01-12 14:25:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:25:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 19:26:01] Production.INFO: ==18657== Lock acquired, processing the job...
[2025-01-12 19:26:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:26:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:26:01] Production.INFO: neon service started
[2025-01-12 19:26:01] Production.INFO: neon service started
[2025-01-12 19:26:01] Production.INFO: ==18657== Releasing lock...
[2025-01-12 19:26:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:26:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:26:02] Production.INFO: ==18659== Lock acquired, processing the job...
[2025-01-12 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:26:02] Production.INFO: ==18661== Lock acquired, processing the job...
[2025-01-12 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:26:02] Production.INFO: ==18661== Releasing lock...
[2025-01-12 19:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:26:02] Production.INFO: ==18659== Releasing lock...
[2025-01-12 14:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:26:03] Production.INFO: ==18664== Lock acquired, processing the job...
[2025-01-12 14:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:26:03] Production.INFO: ==18666== Lock acquired, processing the job...
[2025-01-12 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:26:03] Production.INFO: ==18672== Lock acquired, processing the job...
[2025-01-12 14:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:26:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:26:03] Production.INFO: ==18668== Lock acquired, processing the job...
[2025-01-12 14:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:26:03] Production.INFO: ==18670== Lock acquired, processing the job...
[2025-01-12 14:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:26:03] Production.INFO: ==18666== Releasing lock...
[2025-01-12 14:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:26:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:26:03] Production.INFO: ==18674== Lock acquired, processing the job...
[2025-01-12 14:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:26:03] Production.INFO: Account Balance Start.
[2025-01-12 14:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:26:03] Production.INFO: 117
[2025-01-12 14:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:26:03] Production.ERROR: done
[2025-01-12 14:26:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 14: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-01-12 14:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:26:03] Production.INFO: count ==21
[2025-01-12 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 14: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-01-12 14:26:03] Production.INFO: count ==21
[2025-01-12 14:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232200') start
[2025-01-12 14:26:04] Production.ERROR: done
[2025-01-12 14:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:26:04] Production.INFO: Total Charge 0
[2025-01-12 14:26:04] Production.INFO: CreateAllLog End
[2025-01-12 14:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232200') end
[2025-01-12 14:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:26:04] Production.INFO: 1
[2025-01-12 14:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:26:04] Production.INFO: ==18674== Releasing lock...
[2025-01-12 14:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:26:04] Production.INFO: Account Balance End.
[2025-01-12 14:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:26:04] Production.INFO: ==18670== Releasing lock...
[2025-01-12 14:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:26:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:26:04
[end_date_ymd] => 2025-01-12 14:26:04
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:26:04' and `end` < '2025-01-12 14: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-01-12 14:26:10] Production.ERROR: CronJobId end10
[2025-01-12 14:26:10] Production.INFO: ==18668== Releasing lock...
[2025-01-12 14:26:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:26:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:26:12] Production.INFO: call_cost start
[2025-01-12 14:26:12] Production.INFO: call_cost end
[2025-01-12 14:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:26:13] Production.INFO: ==18664== Releasing lock...
[2025-01-12 14:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:26:19] Production.INFO: count ==1207
[2025-01-12 14:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:26:04 - End Time 2025-01-12 14:26:04
[2025-01-12 14:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232201', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232201', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232201', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232201', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:26:19] Production.INFO: ProcessCDR(1,14232201,1,1,2)
[2025-01-12 14:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:26:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232201,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:26:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:26:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232201,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232201', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:26:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232201', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:26:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:26:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:26:22] Production.INFO: ==18672== Releasing lock...
[2025-01-12 14:26:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:26:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:27:01] Production.INFO: ==18731== Lock acquired, processing the job...
[2025-01-12 19:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:27:01] Production.INFO: neon service started
[2025-01-12 19:27:01] Production.INFO: neon service started
[2025-01-12 19:27:01] Production.INFO: ==18731== Releasing lock...
[2025-01-12 19:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:27:02] Production.INFO: ==18733== Lock acquired, processing the job...
[2025-01-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:27:02] Production.INFO: ==18735== Lock acquired, processing the job...
[2025-01-12 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:27:02] Production.INFO: ==18735== Releasing lock...
[2025-01-12 19:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:27:02] Production.INFO: ==18733== Releasing lock...
[2025-01-12 14:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:27:03] Production.INFO: ==18738== Lock acquired, processing the job...
[2025-01-12 14:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:27:03] Production.INFO: ==18740== Lock acquired, processing the job...
[2025-01-12 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:27:03] Production.INFO: ==18746== Lock acquired, processing the job...
[2025-01-12 14:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:27:03] Production.INFO: ==18740== Releasing lock...
[2025-01-12 14:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:27:03] Production.INFO: ==18742== Lock acquired, processing the job...
[2025-01-12 14:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:27:04] Production.INFO: ==18744== Lock acquired, processing the job...
[2025-01-12 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:27:04] Production.ERROR: done
[2025-01-12 14:27:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:27:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:27:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:27:04] Production.INFO: ==18748== Lock acquired, processing the job...
[2025-01-12 14:27:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:27:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:27:04] Production.ERROR: done
[2025-01-12 14:27:04] Production.INFO: Account Balance Start.
[2025-01-12 14:27:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:27:04] Production.INFO: 117
[2025-01-12 14:27:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:27:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:27:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:27:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:27:04] Production.INFO: count ==21
[2025-01-12 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-01-12 14:27:04] Production.INFO: count ==21
[2025-01-12 14:27:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:27:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232206') start
[2025-01-12 14:27:04] Production.INFO: Total Charge 0
[2025-01-12 14:27:04] Production.INFO: CreateAllLog End
[2025-01-12 14:27:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232206') end
[2025-01-12 14:27:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:27:04] Production.INFO: 1
[2025-01-12 14:27:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:27:04] Production.INFO: Account Balance End.
[2025-01-12 14:27:04] Production.INFO: ==18748== Releasing lock...
[2025-01-12 14:27:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:27:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:27:04] Production.INFO: ==18744== Releasing lock...
[2025-01-12 14:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:27:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:27:05
[end_date_ymd] => 2025-01-12 14:27:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:27:05' and `end` < '2025-01-12 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-01-12 14:27:12] Production.ERROR: CronJobId end10
[2025-01-12 14:27:12] Production.INFO: ==18742== Releasing lock...
[2025-01-12 14:27:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:27:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:27:14] Production.INFO: call_cost start
[2025-01-12 14:27:14] Production.INFO: call_cost end
[2025-01-12 14:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:27:14] Production.INFO: ==18738== Releasing lock...
[2025-01-12 14:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:27:18] Production.INFO: count ==1199
[2025-01-12 14:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:27:05 - End Time 2025-01-12 14:27:05
[2025-01-12 14:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232205', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232205', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232205', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232205', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:27:18] Production.INFO: ProcessCDR(1,14232205,1,1,2)
[2025-01-12 14:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:27:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232205,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:27:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:27:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232205,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232205', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:27:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232205', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:27:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:27:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:27:21] Production.INFO: ==18746== Releasing lock...
[2025-01-12 14:27:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:27:21] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:28:01] Production.INFO: ==18803== Lock acquired, processing the job...
[2025-01-12 19:28:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:28:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:28:01] Production.INFO: neon service started
[2025-01-12 19:28:01] Production.INFO: neon service started
[2025-01-12 19:28:01] Production.INFO: ==18803== Releasing lock...
[2025-01-12 19:28:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:28:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:28:01] Production.INFO: ==18807== Lock acquired, processing the job...
[2025-01-12 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:28:01] Production.INFO: ==18807== Releasing lock...
[2025-01-12 19:28:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:28:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:28:01] Production.INFO: ==18805== Lock acquired, processing the job...
[2025-01-12 14:28:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:28:02] Production.INFO: ==18805== Releasing lock...
[2025-01-12 14:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:28:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:28:03] Production.INFO: ==18811== Lock acquired, processing the job...
[2025-01-12 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:28:03] Production.INFO: ==18809== Lock acquired, processing the job...
[2025-01-12 14:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:28:03] Production.INFO: ==18813== Lock acquired, processing the job...
[2025-01-12 14:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:28:03] Production.INFO: ==18815== Lock acquired, processing the job...
[2025-01-12 14:28:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:28:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:28:03] Production.INFO: ==18811== Releasing lock...
[2025-01-12 14:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:28:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:28:03] Production.INFO: Account Balance Start.
[2025-01-12 14:28:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:28:03] Production.INFO: 117
[2025-01-12 14:28:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:28:03] Production.INFO: ==18819== Lock acquired, processing the job...
[2025-01-12 14:28:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:28:03] Production.INFO: ==18817== Lock acquired, processing the job...
[2025-01-12 14:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:28:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:28:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:28:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:28:03] Production.INFO: count ==21
[2025-01-12 14:28:03] Production.INFO: Date 2025-01-11
[2025-01-12 14: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-01-12 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:28:03] Production.INFO: count ==21
[2025-01-12 14:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232210') start
[2025-01-12 14:28:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:28:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:28:03] Production.INFO: Total Charge 0
[2025-01-12 14:28:03] Production.INFO: CreateAllLog End
[2025-01-12 14:28:03] Production.ERROR: done
[2025-01-12 14:28:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:28:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232210') end
[2025-01-12 14:28:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:28:03] Production.INFO: 1
[2025-01-12 14:28:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:28:04] Production.ERROR: done
[2025-01-12 14:28:04] Production.INFO: Account Balance End.
[2025-01-12 14:28:04] Production.INFO: ==18819== Releasing lock...
[2025-01-12 14:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:28:04] Production.INFO: ==18815== Releasing lock...
[2025-01-12 14:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:28:05
[end_date_ymd] => 2025-01-12 14:28:05
[RateCDR] => 1
)
[2025-01-12 14:28:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:28:05' and `end` < '2025-01-12 14:28:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:28:11] Production.ERROR: CronJobId end10
[2025-01-12 14:28:11] Production.INFO: ==18813== Releasing lock...
[2025-01-12 14:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:28:13] Production.INFO: call_cost start
[2025-01-12 14:28:13] Production.INFO: call_cost end
[2025-01-12 14:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:28:13] Production.INFO: ==18809== Releasing lock...
[2025-01-12 14:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:28:20] Production.INFO: count ==1197
[2025-01-12 14:28:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:28:05 - End Time 2025-01-12 14:28:05
[2025-01-12 14:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232211', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232211', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232211', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232211', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:28:20] Production.INFO: ProcessCDR(1,14232211,1,1,2)
[2025-01-12 14:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232211,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232211,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232211', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232211', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:28:23] Production.INFO: ==18817== Releasing lock...
[2025-01-12 14:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:28:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:29:01] Production.INFO: ==18879== Lock acquired, processing the job...
[2025-01-12 19:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:29:01] Production.INFO: neon service started
[2025-01-12 19:29:01] Production.INFO: neon service started
[2025-01-12 19:29:01] Production.INFO: ==18879== Releasing lock...
[2025-01-12 19:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:29:02] Production.INFO: ==18881== Lock acquired, processing the job...
[2025-01-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:29:02] Production.INFO: ==18883== Lock acquired, processing the job...
[2025-01-12 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:29:02] Production.INFO: ==18883== Releasing lock...
[2025-01-12 19:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:29:02] Production.INFO: ==18881== Releasing lock...
[2025-01-12 14:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:29:03] Production.INFO: ==18892== Lock acquired, processing the job...
[2025-01-12 14:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:29:03] Production.INFO: ==18896== Lock acquired, processing the job...
[2025-01-12 14:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:29:03] Production.INFO: Account Balance Start.
[2025-01-12 14:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:29:03] Production.INFO: ==18886== Lock acquired, processing the job...
[2025-01-12 14:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:29:03] Production.INFO: 117
[2025-01-12 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-01-12 14:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:29:03] Production.INFO: ==18894== Lock acquired, processing the job...
[2025-01-12 14:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:29:03] Production.INFO: count ==21
[2025-01-12 14:29:03] Production.INFO: ==18888== Lock acquired, processing the job...
[2025-01-12 14:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 14:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:29:03] Production.INFO: count ==21
[2025-01-12 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232212') start
[2025-01-12 14:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:29:03] Production.INFO: ==18890== Lock acquired, processing the job...
[2025-01-12 14:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232212') end
[2025-01-12 14:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:29:03] Production.INFO: 1
[2025-01-12 14:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:29:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:29:04] Production.INFO: ==18896== Releasing lock...
[2025-01-12 14:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:29:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:29:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:29:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:29:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:29:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:29:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:29:04] Production.INFO: Total Charge 0
[2025-01-12 14:29:04] Production.INFO: CreateAllLog End
[2025-01-12 14:29:04] Production.ERROR: done
[2025-01-12 14:29:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:29:04] Production.INFO: ==18888== Releasing lock...
[2025-01-12 14:29:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:29:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:29:04] Production.ERROR: done
[2025-01-12 14:29:04] Production.INFO: Account Balance End.
[2025-01-12 14:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:29:04] Production.INFO: ==18892== Releasing lock...
[2025-01-12 14:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:29:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:29:05
[end_date_ymd] => 2025-01-12 14:29:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:29:05' and `end` < '2025-01-12 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-01-12 14:29:11] Production.ERROR: CronJobId end10
[2025-01-12 14:29:11] Production.INFO: ==18890== Releasing lock...
[2025-01-12 14:29:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:29:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:29:13] Production.INFO: call_cost start
[2025-01-12 14:29:13] Production.INFO: call_cost end
[2025-01-12 14:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:29:13] Production.INFO: ==18886== Releasing lock...
[2025-01-12 14:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:29:19] Production.INFO: count ==1196
[2025-01-12 14:29:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:29:05 - End Time 2025-01-12 14:29:05
[2025-01-12 14:29:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232216', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232216', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232216', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:29:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232216', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:29:19] Production.INFO: ProcessCDR(1,14232216,1,1,2)
[2025-01-12 14:29:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232216,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232216,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232216', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232216', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:29:23] Production.INFO: ==18894== Releasing lock...
[2025-01-12 14:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:29:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:30:02] Production.INFO: ==18949== Lock acquired, processing the job...
[2025-01-12 19:30:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:30:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:30:02] Production.INFO: neon service started
[2025-01-12 19:30:02] Production.INFO: neon service started
[2025-01-12 19:30:02] Production.INFO: ==18949== Releasing lock...
[2025-01-12 19:30:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:30:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:30:02] Production.INFO: ==18951== Lock acquired, processing the job...
[2025-01-12 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:30:02] Production.INFO: ==18951== Releasing lock...
[2025-01-12 14:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:30:03] Production.INFO: ==18953== Lock acquired, processing the job...
[2025-01-12 19:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:30:03] Production.INFO: ==18953== Releasing lock...
[2025-01-12 19:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:30:03] Production.INFO: ==18955== Lock acquired, processing the job...
[2025-01-12 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 14:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 14:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 14:30:03] Production.INFO: ==18955== Releasing lock...
[2025-01-12 14:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 14:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 14:30:04] Production.INFO: ==18961== Lock acquired, processing the job...
[2025-01-12 14:30:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:30:04] Production.INFO: ==18957== Lock acquired, processing the job...
[2025-01-12 14:30:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:30:04] Production.INFO: ==18963== Lock acquired, processing the job...
[2025-01-12 14:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:30:04] Production.INFO: ==18959== Lock acquired, processing the job...
[2025-01-12 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:30:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:30:04] Production.INFO: ==18965== Lock acquired, processing the job...
[2025-01-12 14:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:30:04] Production.INFO: ==18967== Lock acquired, processing the job...
[2025-01-12 14:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:30:04] Production.INFO: ==18969== Lock acquired, processing the job...
[2025-01-12 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:30:04] Production.INFO: Account Balance Start.
[2025-01-12 14:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:30:04] Production.INFO: 117
[2025-01-12 14:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:30:04] Production.INFO: count ==21
[2025-01-12 14:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 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-01-12 14:30:04] Production.INFO: count ==21
[2025-01-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232220') start
[2025-01-12 14:30:04] Production.INFO: ==18959== Releasing lock...
[2025-01-12 14:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:30:04] Production.ERROR: done
[2025-01-12 14:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:30:04] Production.ERROR: done
[2025-01-12 14:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:30:04] Production.INFO: Total Charge 0
[2025-01-12 14:30:04] Production.INFO: CreateAllLog End
[2025-01-12 14:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 14:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232221', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 14:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232220') end
[2025-01-12 14:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:30:04] Production.INFO: 1
[2025-01-12 14:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:30:04] Production.INFO: ==18969== Releasing lock...
[2025-01-12 14:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:30:04] Production.ERROR: done
[2025-01-12 14:30:05] Production.INFO: Account Balance End.
[2025-01-12 14:30:05] Production.ERROR: CronJobId end 12
[2025-01-12 14:30:05] Production.INFO: ==18963== Releasing lock...
[2025-01-12 14:30:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:30:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:30:06
[end_date_ymd] => 2025-01-12 14:30:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:30:06' and `end` < '2025-01-12 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-01-12 14:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232221', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 14:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 14:30:08] Production.INFO: ProcessCDR(1,14232221,1,1,2)
[2025-01-12 14:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232221,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232221,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:30:08] Production.INFO: ==18967== Releasing lock...
[2025-01-12 14:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 14:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 14:30:13] Production.ERROR: CronJobId end10
[2025-01-12 14:30:13] Production.INFO: ==18961== Releasing lock...
[2025-01-12 14:30:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:30:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:30:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:30:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:30:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:30:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:30:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:30:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:30:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:30:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:30:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:30:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:30:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:30:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:30:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:30:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:30:15] Production.INFO: call_cost start
[2025-01-12 14:30:15] Production.INFO: call_cost end
[2025-01-12 14:30:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:30:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:30:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:30:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:30:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:30:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:30:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:30:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:30:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:30:16] Production.INFO: ==18957== Releasing lock...
[2025-01-12 14:30:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:30:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:30:19] Production.INFO: count ==1195
[2025-01-12 14:30:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:30:06 - End Time 2025-01-12 14:30:06
[2025-01-12 14:30:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232222', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232222', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232222', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:30:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232222', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:30:20] Production.INFO: ProcessCDR(1,14232222,1,1,2)
[2025-01-12 14:30:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232222,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232222,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232222', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232222', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:30:24] Production.INFO: ==18965== Releasing lock...
[2025-01-12 14:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:30:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:31:01] Production.INFO: ==19024== Lock acquired, processing the job...
[2025-01-12 19:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:31:01] Production.INFO: neon service started
[2025-01-12 19:31:01] Production.INFO: neon service started
[2025-01-12 19:31:01] Production.INFO: ==19024== Releasing lock...
[2025-01-12 19:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:31:01] Production.INFO: ==19028== Lock acquired, processing the job...
[2025-01-12 19:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:31:01] Production.INFO: ==19028== Releasing lock...
[2025-01-12 19:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:31:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:31:02] Production.INFO: ==19026== Lock acquired, processing the job...
[2025-01-12 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:31:02] Production.INFO: ==19026== Releasing lock...
[2025-01-12 14:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:31:03] Production.INFO: ==19032== Lock acquired, processing the job...
[2025-01-12 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:31:03] Production.INFO: ==19034== Lock acquired, processing the job...
[2025-01-12 14:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:31:03] Production.INFO: ==19036== Lock acquired, processing the job...
[2025-01-12 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:31:03] Production.INFO: Account Balance Start.
[2025-01-12 14:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:31:03] Production.INFO: 117
[2025-01-12 14:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:31:03] Production.INFO: ==19030== Lock acquired, processing the job...
[2025-01-12 14:31:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:31:03] Production.INFO: ==19040== Lock acquired, processing the job...
[2025-01-12 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:31:03] Production.INFO: ==19032== Releasing lock...
[2025-01-12 14:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:31:03] Production.INFO: Total Charge 0
[2025-01-12 14:31:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 14:31:03] Production.INFO: ==19038== Lock acquired, processing the job...
[2025-01-12 14:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:31:03] Production.INFO: count ==21
[2025-01-12 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-01-12 14:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:31:03] Production.INFO: count ==21
[2025-01-12 14:31:03] Production.INFO: Account Balance End.
[2025-01-12 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232226') start
[2025-01-12 14:31:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:31:03] Production.INFO: ==19036== Releasing lock...
[2025-01-12 14:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:31:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232226') end
[2025-01-12 14:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:31:03] Production.INFO: 1
[2025-01-12 14:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:31:03] Production.ERROR: done
[2025-01-12 14:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:31:03] Production.INFO: ==19040== Releasing lock...
[2025-01-12 14:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:31:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:31:04] Production.ERROR: done
[2025-01-12 14:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:31:05
[end_date_ymd] => 2025-01-12 14:31:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:31:05' and `end` < '2025-01-12 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-01-12 14:31:11] Production.ERROR: CronJobId end10
[2025-01-12 14:31:11] Production.INFO: ==19034== Releasing lock...
[2025-01-12 14:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:31:13] Production.INFO: call_cost start
[2025-01-12 14:31:13] Production.INFO: call_cost end
[2025-01-12 14:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:31:14] Production.INFO: ==19030== Releasing lock...
[2025-01-12 14:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:31:20] Production.INFO: count ==1190
[2025-01-12 14:31:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:31:05 - End Time 2025-01-12 14:31:05
[2025-01-12 14:31:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232227', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232227', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232227', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:31:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232227', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:31:20] Production.INFO: ProcessCDR(1,14232227,1,1,2)
[2025-01-12 14:31:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232227,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232227,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232227', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232227', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:31:23] Production.INFO: ==19038== Releasing lock...
[2025-01-12 14:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:31:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:32:02] Production.INFO: ==19134== Lock acquired, processing the job...
[2025-01-12 19:32:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:32:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:32:02] Production.INFO: neon service started
[2025-01-12 19:32:02] Production.INFO: neon service started
[2025-01-12 19:32:02] Production.INFO: ==19134== Releasing lock...
[2025-01-12 19:32:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:32:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:32:02] Production.INFO: ==19138== Lock acquired, processing the job...
[2025-01-12 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:32:02] Production.INFO: ==19138== Releasing lock...
[2025-01-12 19:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:32:02] Production.INFO: ==19136== Lock acquired, processing the job...
[2025-01-12 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:32:02] Production.INFO: ==19136== Releasing lock...
[2025-01-12 14:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:32:03] Production.INFO: ==19148== Lock acquired, processing the job...
[2025-01-12 14:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:32:03] Production.INFO: ==19150== Lock acquired, processing the job...
[2025-01-12 14:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:32:03] Production.INFO: ==19140== Lock acquired, processing the job...
[2025-01-12 14:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:32:03] Production.INFO: count ==21
[2025-01-12 14:32:03] Production.INFO: ==19142== Lock acquired, processing the job...
[2025-01-12 14:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:32:03] Production.INFO: ==19144== Lock acquired, processing the job...
[2025-01-12 14:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:32:03] Production.INFO: count ==21
[2025-01-12 14:32:03] Production.INFO: ==19146== Lock acquired, processing the job...
[2025-01-12 14:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232228') start
[2025-01-12 14:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:32:04] Production.INFO: Account Balance Start.
[2025-01-12 14:32:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:32:04] Production.INFO: 117
[2025-01-12 14:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232228') end
[2025-01-12 14:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:32:04] Production.INFO: 1
[2025-01-12 14:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:32:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:32:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:32:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:32:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:32:04] Production.INFO: ==19150== Releasing lock...
[2025-01-12 14:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:32:04] Production.ERROR: done
[2025-01-12 14:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:32:04] Production.ERROR: done
[2025-01-12 14:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:32:04] Production.INFO: ==19142== Releasing lock...
[2025-01-12 14:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:32:04] Production.INFO: Total Charge 0
[2025-01-12 14:32:04] Production.INFO: CreateAllLog End
[2025-01-12 14:32:04] Production.INFO: Account Balance End.
[2025-01-12 14:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:32:04] Production.INFO: ==19146== Releasing lock...
[2025-01-12 14:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:32:05
[end_date_ymd] => 2025-01-12 14:32:05
[RateCDR] => 1
)
[2025-01-12 14:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:32:05' and `end` < '2025-01-12 14:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:32:12] Production.ERROR: CronJobId end10
[2025-01-12 14:32:12] Production.INFO: ==19144== Releasing lock...
[2025-01-12 14:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:32:13] Production.INFO: call_cost start
[2025-01-12 14:32:13] Production.INFO: call_cost end
[2025-01-12 14:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:32:14] Production.INFO: ==19140== Releasing lock...
[2025-01-12 14:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:32:18] Production.INFO: count ==1189
[2025-01-12 14:32:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:32:05 - End Time 2025-01-12 14:32:05
[2025-01-12 14:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232232', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232232', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232232', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232232', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:32:18] Production.INFO: ProcessCDR(1,14232232,1,1,2)
[2025-01-12 14:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:32:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232232,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:32:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:32:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232232,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232232', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:32:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232232', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:32:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:32:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:32:21] Production.INFO: ==19148== Releasing lock...
[2025-01-12 14:32:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:32:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:33:01] Production.INFO: ==19204== Lock acquired, processing the job...
[2025-01-12 19:33:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:33:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:33:01] Production.INFO: neon service started
[2025-01-12 19:33:01] Production.INFO: neon service started
[2025-01-12 19:33:01] Production.INFO: ==19204== Releasing lock...
[2025-01-12 19:33:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:33:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:33:01] Production.INFO: ==19206== Lock acquired, processing the job...
[2025-01-12 14:33:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:33:02] Production.INFO: ==19206== Releasing lock...
[2025-01-12 14:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:33:02] Production.INFO: ==19208== Lock acquired, processing the job...
[2025-01-12 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:33:02] Production.INFO: ==19208== Releasing lock...
[2025-01-12 19:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:33:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:33:02] Production.INFO: ==19212== Lock acquired, processing the job...
[2025-01-12 14:33:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:33:02] Production.INFO: ==19216== Lock acquired, processing the job...
[2025-01-12 14:33:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:33:03] Production.INFO: ==19210== Lock acquired, processing the job...
[2025-01-12 14:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:33:03] Production.INFO: Account Balance Start.
[2025-01-12 14:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:33:03] Production.INFO: 117
[2025-01-12 14:33:03] Production.INFO: ==19214== Lock acquired, processing the job...
[2025-01-12 14:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:33:03] Production.INFO: ==19218== Lock acquired, processing the job...
[2025-01-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:33:03] Production.INFO: ==19212== Releasing lock...
[2025-01-12 14:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:33:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:33:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:33:03] Production.INFO: ==19220== Lock acquired, processing the job...
[2025-01-12 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:33:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:33:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:33:03] Production.INFO: count ==21
[2025-01-12 14:33:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:33:03] Production.INFO: count ==21
[2025-01-12 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232236') start
[2025-01-12 14:33:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:33:03] Production.INFO: Total Charge 0
[2025-01-12 14:33:03] Production.INFO: CreateAllLog End
[2025-01-12 14:33:03] Production.ERROR: done
[2025-01-12 14:33:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:33:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232236') end
[2025-01-12 14:33:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:33:03] Production.INFO: 1
[2025-01-12 14:33:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:33:03] Production.INFO: ==19220== Releasing lock...
[2025-01-12 14:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:33:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:33:03] Production.ERROR: done
[2025-01-12 14:33:03] Production.INFO: Account Balance End.
[2025-01-12 14:33:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:33:03] Production.INFO: ==19216== Releasing lock...
[2025-01-12 14:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:33:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:33:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:33:04
[end_date_ymd] => 2025-01-12 14:33:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:33:04' and `end` < '2025-01-12 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-01-12 14:33:10] Production.ERROR: CronJobId end10
[2025-01-12 14:33:10] Production.INFO: ==19214== Releasing lock...
[2025-01-12 14:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:33:13] Production.INFO: call_cost start
[2025-01-12 14:33:13] Production.INFO: call_cost end
[2025-01-12 14:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:33:13] Production.INFO: ==19210== Releasing lock...
[2025-01-12 14:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:33:18] Production.INFO: count ==1189
[2025-01-12 14:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:33:04 - End Time 2025-01-12 14:33:04
[2025-01-12 14:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232237', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232237', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232237', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232237', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:33:18] Production.INFO: ProcessCDR(1,14232237,1,1,2)
[2025-01-12 14:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:33:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232237,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:33:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:33:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232237,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232237', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:33:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232237', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:33:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:33:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:33:21] Production.INFO: ==19218== Releasing lock...
[2025-01-12 14:33:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:33:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:34:01] Production.INFO: ==19275== Lock acquired, processing the job...
[2025-01-12 19:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:34:01] Production.INFO: neon service started
[2025-01-12 19:34:01] Production.INFO: neon service started
[2025-01-12 19:34:01] Production.INFO: ==19275== Releasing lock...
[2025-01-12 19:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:34:02] Production.INFO: ==19277== Lock acquired, processing the job...
[2025-01-12 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:34:02] Production.INFO: ==19279== Lock acquired, processing the job...
[2025-01-12 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:34:02] Production.INFO: ==19279== Releasing lock...
[2025-01-12 19:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:34:02] Production.INFO: ==19277== Releasing lock...
[2025-01-12 14:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:34:03] Production.INFO: ==19282== Lock acquired, processing the job...
[2025-01-12 14:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:34:03] Production.INFO: ==19286== Lock acquired, processing the job...
[2025-01-12 14:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:34:03] Production.INFO: ==19288== Lock acquired, processing the job...
[2025-01-12 14:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:34:03] Production.INFO: ==19284== Lock acquired, processing the job...
[2025-01-12 14:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:34:03] Production.INFO: ==19290== Lock acquired, processing the job...
[2025-01-12 14:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:34:03] Production.INFO: Account Balance Start.
[2025-01-12 14:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:34:03] Production.INFO: 117
[2025-01-12 14:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:34:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:34:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:34:04] Production.INFO: Total Charge 0
[2025-01-12 14:34:04] Production.INFO: ==19292== Lock acquired, processing the job...
[2025-01-12 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:34:04] Production.INFO: CreateAllLog End
[2025-01-12 14:34:04] Production.INFO: ==19284== Releasing lock...
[2025-01-12 14:34:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:34:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:34:04] Production.ERROR: done
[2025-01-12 14:34:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 14:34:04] Production.INFO: Account Balance End.
[2025-01-12 14:34:04] Production.INFO: count ==21
[2025-01-12 14:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 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-01-12 14:34:04] Production.INFO: ==19288== Releasing lock...
[2025-01-12 14:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:34:04] Production.INFO: count ==21
[2025-01-12 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232241') start
[2025-01-12 14:34:04] Production.ERROR: done
[2025-01-12 14:34:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232241') end
[2025-01-12 14:34:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:34:04] Production.INFO: 1
[2025-01-12 14:34:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:34:04] Production.INFO: ==19292== Releasing lock...
[2025-01-12 14:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:34:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:34:05
[end_date_ymd] => 2025-01-12 14:34:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:34:05' and `end` < '2025-01-12 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-01-12 14:34:11] Production.ERROR: CronJobId end10
[2025-01-12 14:34:11] Production.INFO: ==19286== Releasing lock...
[2025-01-12 14:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:34:13] Production.INFO: call_cost start
[2025-01-12 14:34:13] Production.INFO: call_cost end
[2025-01-12 14:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:34:14] Production.INFO: ==19282== Releasing lock...
[2025-01-12 14:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:34:18] Production.INFO: count ==1188
[2025-01-12 14:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:34:05 - End Time 2025-01-12 14:34:05
[2025-01-12 14:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232242', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232242', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232242', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:34:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232242', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:34:19] Production.INFO: ProcessCDR(1,14232242,1,1,2)
[2025-01-12 14:34:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:34:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232242,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:34:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232242,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232242', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232242', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:34:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:34:22] Production.INFO: ==19290== Releasing lock...
[2025-01-12 14:34:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:34:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:35:02] Production.INFO: ==19357== Lock acquired, processing the job...
[2025-01-12 19:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:35:02] Production.INFO: neon service started
[2025-01-12 19:35:02] Production.INFO: neon service started
[2025-01-12 19:35:02] Production.INFO: ==19357== Releasing lock...
[2025-01-12 19:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:35:02] Production.INFO: ==19361== Lock acquired, processing the job...
[2025-01-12 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:35:02] Production.INFO: ==19359== Lock acquired, processing the job...
[2025-01-12 14:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:35:02] Production.INFO: ==19361== Releasing lock...
[2025-01-12 19:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:35:03] Production.INFO: ==19359== Releasing lock...
[2025-01-12 14:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:35:04] Production.INFO: ==19366== Lock acquired, processing the job...
[2025-01-12 14:35:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:35:04] Production.INFO: ==19374== Lock acquired, processing the job...
[2025-01-12 14:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:35:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:35:04] Production.INFO: ==19368== Lock acquired, processing the job...
[2025-01-12 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:35:04] Production.INFO: ==19370== Lock acquired, processing the job...
[2025-01-12 14:35:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:35:04] Production.INFO: ==19372== Lock acquired, processing the job...
[2025-01-12 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:35:04] Production.INFO: ==19376== Lock acquired, processing the job...
[2025-01-12 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:35:04] Production.INFO: Account Balance Start.
[2025-01-12 14:35:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:35:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:35:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:35:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:35:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:35:04] Production.INFO: 117
[2025-01-12 14:35:04] Production.ERROR: done
[2025-01-12 14:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:35:04] Production.INFO: Date 2025-01-08
[2025-01-12 14: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-01-12 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:35:04] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:35:04] Production.INFO: count ==21
[2025-01-12 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232246') start
[2025-01-12 14:35:04] Production.ERROR: done
[2025-01-12 14:35:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:35:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:35:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:35:04] Production.INFO: ==19368== Releasing lock...
[2025-01-12 14:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232246') end
[2025-01-12 14:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:35:04] Production.INFO: 1
[2025-01-12 14:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:35:04] Production.INFO: ==19376== Releasing lock...
[2025-01-12 14:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:35:04] Production.INFO: Total Charge 0
[2025-01-12 14:35:04] Production.INFO: CreateAllLog End
[2025-01-12 14:35:04] Production.INFO: Account Balance End.
[2025-01-12 14:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:35:04] Production.INFO: ==19372== Releasing lock...
[2025-01-12 14:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:35:05
[end_date_ymd] => 2025-01-12 14:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:35:05' and `end` < '2025-01-12 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-01-12 14:35:12] Production.ERROR: CronJobId end10
[2025-01-12 14:35:12] Production.INFO: ==19370== Releasing lock...
[2025-01-12 14:35:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:35:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:35:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:35:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:35:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:35:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:35:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:35:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:35:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:35:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:35:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:35:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:35:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:35:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:35:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:35:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:35:14] Production.INFO: call_cost start
[2025-01-12 14:35:14] Production.INFO: call_cost end
[2025-01-12 14:35:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:35:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:35:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:35:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:35:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:35:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:35:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:35:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:35:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:35:15] Production.INFO: ==19366== Releasing lock...
[2025-01-12 14:35:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:35:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:35:18] Production.INFO: count ==1188
[2025-01-12 14:35:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:35:05 - End Time 2025-01-12 14:35:05
[2025-01-12 14:35:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232247', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232247', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:35:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232247', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232247', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:35:19] Production.INFO: ProcessCDR(1,14232247,1,1,2)
[2025-01-12 14:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:35:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232247,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:35:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:35:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232247,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232247', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:35:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232247', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:35:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:35:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:35:22] Production.INFO: ==19374== Releasing lock...
[2025-01-12 14:35:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:35:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:36:01] Production.INFO: ==19432== Lock acquired, processing the job...
[2025-01-12 19:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:36:01] Production.INFO: neon service started
[2025-01-12 19:36:01] Production.INFO: neon service started
[2025-01-12 19:36:01] Production.INFO: ==19432== Releasing lock...
[2025-01-12 19:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:36:02] Production.INFO: ==19434== Lock acquired, processing the job...
[2025-01-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:36:02] Production.INFO: ==19436== Lock acquired, processing the job...
[2025-01-12 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:36:02] Production.INFO: ==19436== Releasing lock...
[2025-01-12 19:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:36:02] Production.INFO: ==19434== Releasing lock...
[2025-01-12 14:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:36:03] Production.INFO: ==19439== Lock acquired, processing the job...
[2025-01-12 14:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:36:03] Production.INFO: ==19449== Lock acquired, processing the job...
[2025-01-12 14:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:36:03] Production.INFO: ==19441== Lock acquired, processing the job...
[2025-01-12 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 14:36:03] Production.INFO: ==19443== Lock acquired, processing the job...
[2025-01-12 14:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:36:03] Production.INFO: ==19445== Lock acquired, processing the job...
[2025-01-12 14:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:36:03] Production.INFO: count ==21
[2025-01-12 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-01-12 14:36:03] Production.INFO: count ==21
[2025-01-12 14:36:03] Production.INFO: Account Balance Start.
[2025-01-12 14:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:36:03] Production.INFO: 117
[2025-01-12 14:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232249') start
[2025-01-12 14:36:03] Production.INFO: ==19447== Lock acquired, processing the job...
[2025-01-12 14:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:36:03] Production.INFO: ==19441== Releasing lock...
[2025-01-12 14:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:36:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232249') end
[2025-01-12 14:36:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:36:04] Production.INFO: 1
[2025-01-12 14:36:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:36:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:36:04] Production.INFO: ==19449== Releasing lock...
[2025-01-12 14:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:36:04] Production.INFO: Total Charge 0
[2025-01-12 14:36:04] Production.ERROR: done
[2025-01-12 14:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:36:04] Production.INFO: CreateAllLog End
[2025-01-12 14:36:04] Production.ERROR: done
[2025-01-12 14:36:04] Production.INFO: Account Balance End.
[2025-01-12 14:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:36:04] Production.INFO: ==19445== Releasing lock...
[2025-01-12 14:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:36:05
[end_date_ymd] => 2025-01-12 14:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:36:05' and `end` < '2025-01-12 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-01-12 14:36:11] Production.ERROR: CronJobId end10
[2025-01-12 14:36:11] Production.INFO: ==19443== Releasing lock...
[2025-01-12 14:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:36:13] Production.INFO: call_cost start
[2025-01-12 14:36:13] Production.INFO: call_cost end
[2025-01-12 14:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:36:14] Production.INFO: ==19439== Releasing lock...
[2025-01-12 14:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:36:19] Production.INFO: count ==1188
[2025-01-12 14:36:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:36:05 - End Time 2025-01-12 14:36:05
[2025-01-12 14:36:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232252', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232252', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232252', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:36:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232252', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:36:19] Production.INFO: ProcessCDR(1,14232252,1,1,2)
[2025-01-12 14:36:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232252,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232252,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232252', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232252', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:36:22] Production.INFO: ==19447== Releasing lock...
[2025-01-12 14:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:36:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:37:02] Production.INFO: ==19504== Lock acquired, processing the job...
[2025-01-12 19:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:37:02] Production.INFO: neon service started
[2025-01-12 19:37:02] Production.INFO: neon service started
[2025-01-12 19:37:02] Production.INFO: ==19504== Releasing lock...
[2025-01-12 19:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:37:02] Production.INFO: ==19506== Lock acquired, processing the job...
[2025-01-12 14:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:37:02] Production.INFO: ==19508== Lock acquired, processing the job...
[2025-01-12 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:37:02] Production.INFO: ==19508== Releasing lock...
[2025-01-12 19:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:37:03] Production.INFO: ==19506== Releasing lock...
[2025-01-12 14:37:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:37:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:37:03] Production.INFO: ==19511== Lock acquired, processing the job...
[2025-01-12 14:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:37:03] Production.INFO: ==19515== Lock acquired, processing the job...
[2025-01-12 14:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:37:03] Production.INFO: ==19517== Lock acquired, processing the job...
[2025-01-12 14:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:37:04] Production.INFO: ==19513== Lock acquired, processing the job...
[2025-01-12 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:37:04] Production.INFO: Account Balance Start.
[2025-01-12 14:37:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:37:04] Production.INFO: 117
[2025-01-12 14:37:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:37:04] Production.INFO: ==19519== Lock acquired, processing the job...
[2025-01-12 14:37:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:37:04] Production.INFO: ==19521== Lock acquired, processing the job...
[2025-01-12 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:37:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:37:04] Production.INFO: Total Charge 0
[2025-01-12 14:37:04] Production.INFO: CreateAllLog End
[2025-01-12 14:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:37:04] Production.INFO: ==19513== Releasing lock...
[2025-01-12 14:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:37:04] Production.INFO: count ==21
[2025-01-12 14:37:04] Production.INFO: Account Balance End.
[2025-01-12 14:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:37:04] Production.INFO: count ==21
[2025-01-12 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232256') start
[2025-01-12 14:37:04] Production.ERROR: done
[2025-01-12 14:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:37:04] Production.INFO: ==19517== Releasing lock...
[2025-01-12 14:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232256') end
[2025-01-12 14:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:37:04] Production.INFO: 1
[2025-01-12 14:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:37:04] Production.INFO: ==19521== Releasing lock...
[2025-01-12 14:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:37:04] Production.ERROR: done
[2025-01-12 14:37:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:37:06
[end_date_ymd] => 2025-01-12 14:37:06
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:37:06' and `end` < '2025-01-12 14: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-01-12 14:37:11] Production.ERROR: CronJobId end10
[2025-01-12 14:37:11] Production.INFO: ==19515== Releasing lock...
[2025-01-12 14:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:37:14] Production.INFO: call_cost start
[2025-01-12 14:37:14] Production.INFO: call_cost end
[2025-01-12 14:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:37:15] Production.INFO: ==19511== Releasing lock...
[2025-01-12 14:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:37:20] Production.INFO: count ==1187
[2025-01-12 14:37:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:37:06 - End Time 2025-01-12 14:37:06
[2025-01-12 14:37:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232257', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232257', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232257', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:37:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232257', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:37:20] Production.INFO: ProcessCDR(1,14232257,1,1,2)
[2025-01-12 14:37:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232257,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:37:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232257,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232257', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:37:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232257', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:37:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:37:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:37:24] Production.INFO: ==19519== Releasing lock...
[2025-01-12 14:37:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:37:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:38:01] Production.INFO: ==19574== Lock acquired, processing the job...
[2025-01-12 19:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:38:01] Production.INFO: neon service started
[2025-01-12 19:38:01] Production.INFO: neon service started
[2025-01-12 19:38:01] Production.INFO: ==19574== Releasing lock...
[2025-01-12 19:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:38:02] Production.INFO: ==19576== Lock acquired, processing the job...
[2025-01-12 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:38:02] Production.INFO: ==19578== Lock acquired, processing the job...
[2025-01-12 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:38:02] Production.INFO: ==19578== Releasing lock...
[2025-01-12 19:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:38:02] Production.INFO: ==19576== Releasing lock...
[2025-01-12 14:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:38:03] Production.INFO: ==19581== Lock acquired, processing the job...
[2025-01-12 14:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:38:03] Production.INFO: ==19583== Lock acquired, processing the job...
[2025-01-12 14:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:38:03] Production.INFO: ==19587== Lock acquired, processing the job...
[2025-01-12 14:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:38:03] Production.INFO: ==19585== Lock acquired, processing the job...
[2025-01-12 14:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:38:03] Production.INFO: ==19589== Lock acquired, processing the job...
[2025-01-12 14:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:38:03] Production.INFO: Account Balance Start.
[2025-01-12 14:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:38:03] Production.INFO: 117
[2025-01-12 14:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:38:03] Production.INFO: ==19591== Lock acquired, processing the job...
[2025-01-12 14:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 14: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-01-12 14:38:03] Production.INFO: Total Charge 0
[2025-01-12 14:38:03] Production.ERROR: done
[2025-01-12 14:38:03] Production.INFO: count ==21
[2025-01-12 14:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:38:03] Production.INFO: CreateAllLog End
[2025-01-12 14: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-01-12 14:38:04] Production.INFO: count ==21
[2025-01-12 14:38:04] Production.INFO: ==19583== Releasing lock...
[2025-01-12 14:38:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:38:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232261') start
[2025-01-12 14:38:04] Production.INFO: Account Balance End.
[2025-01-12 14:38:04] Production.ERROR: done
[2025-01-12 14:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:38:04] Production.INFO: ==19587== Releasing lock...
[2025-01-12 14:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:38:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232261') end
[2025-01-12 14:38:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:38:04] Production.INFO: 1
[2025-01-12 14:38:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:38:04] Production.INFO: ==19591== Releasing lock...
[2025-01-12 14:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:38:05
[end_date_ymd] => 2025-01-12 14:38:05
[RateCDR] => 1
)
[2025-01-12 14:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:38:05' and `end` < '2025-01-12 14:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:38:11] Production.ERROR: CronJobId end10
[2025-01-12 14:38:11] Production.INFO: ==19585== Releasing lock...
[2025-01-12 14:38:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:38:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:38:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:38:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:38:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:38:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:38:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:38:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:38:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:38:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:38:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:38:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:38:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:38:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:38:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:38:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:38:13] Production.INFO: call_cost start
[2025-01-12 14:38:13] Production.INFO: call_cost end
[2025-01-12 14:38:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:38:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:38:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:38:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:38:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:38:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:38:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:38:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:38:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:38:14] Production.INFO: ==19581== Releasing lock...
[2025-01-12 14:38:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:38:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:38:18] Production.INFO: count ==1185
[2025-01-12 14:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:38:05 - End Time 2025-01-12 14:38:05
[2025-01-12 14:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232262', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232262', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232262', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232262', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:38:18] Production.INFO: ProcessCDR(1,14232262,1,1,2)
[2025-01-12 14:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:38:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232262,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:38:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232262,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232262', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232262', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:38:22] Production.INFO: ==19589== Releasing lock...
[2025-01-12 14:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:38:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:39:01] Production.INFO: ==19645== Lock acquired, processing the job...
[2025-01-12 19:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:39:01] Production.INFO: neon service started
[2025-01-12 19:39:02] Production.INFO: neon service started
[2025-01-12 19:39:02] Production.INFO: ==19645== Releasing lock...
[2025-01-12 19:39:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:39:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:39:02] Production.INFO: ==19647== Lock acquired, processing the job...
[2025-01-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:39:02] Production.INFO: ==19647== Releasing lock...
[2025-01-12 14:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:39:02] Production.INFO: ==19649== Lock acquired, processing the job...
[2025-01-12 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:39:02] Production.INFO: ==19649== Releasing lock...
[2025-01-12 19:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:39:03] Production.INFO: ==19655== Lock acquired, processing the job...
[2025-01-12 14:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:39:03] Production.INFO: ==19659== Lock acquired, processing the job...
[2025-01-12 14:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:39:03] Production.INFO: ==19651== Lock acquired, processing the job...
[2025-01-12 14:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:39:03] Production.INFO: ==19653== Lock acquired, processing the job...
[2025-01-12 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:39:03] Production.INFO: ==19657== Lock acquired, processing the job...
[2025-01-12 14:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:39:03] Production.INFO: ==19661== Lock acquired, processing the job...
[2025-01-12 14:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:39:03] Production.ERROR: done
[2025-01-12 14:39:03] Production.INFO: Account Balance Start.
[2025-01-12 14:39:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:39:03] Production.INFO: 117
[2025-01-12 14:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:39:03] Production.ERROR: done
[2025-01-12 14:39:03] Production.INFO: ==19653== Releasing lock...
[2025-01-12 14:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:39:04] Production.INFO: count ==21
[2025-01-12 14:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:39:04] Production.INFO: count ==21
[2025-01-12 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232266') start
[2025-01-12 14:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:39:04] Production.INFO: Total Charge 0
[2025-01-12 14:39:04] Production.INFO: CreateAllLog End
[2025-01-12 14:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232266') end
[2025-01-12 14:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:39:04] Production.INFO: 1
[2025-01-12 14:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:39:04] Production.INFO: ==19661== Releasing lock...
[2025-01-12 14:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:39:04] Production.INFO: Account Balance End.
[2025-01-12 14:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:39:04] Production.INFO: ==19657== Releasing lock...
[2025-01-12 14:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:39:04
[end_date_ymd] => 2025-01-12 14:39:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:39:04' and `end` < '2025-01-12 14: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-01-12 14:39:12] Production.ERROR: CronJobId end10
[2025-01-12 14:39:12] Production.INFO: ==19655== Releasing lock...
[2025-01-12 14:39:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:39:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:39:13] Production.INFO: call_cost start
[2025-01-12 14:39:14] Production.INFO: call_cost end
[2025-01-12 14:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:39:14] Production.INFO: ==19651== Releasing lock...
[2025-01-12 14:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:39:19] Production.INFO: count ==1190
[2025-01-12 14:39:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:39:04 - End Time 2025-01-12 14:39:04
[2025-01-12 14:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232267', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232267', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232267', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232267', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:39:19] Production.INFO: ProcessCDR(1,14232267,1,1,2)
[2025-01-12 14:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232267,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232267,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232267', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232267', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:39:23] Production.INFO: ==19659== Releasing lock...
[2025-01-12 14:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:39:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:40:01] Production.INFO: ==19715== Lock acquired, processing the job...
[2025-01-12 19:40:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:40:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:40:01] Production.INFO: neon service started
[2025-01-12 19:40:01] Production.INFO: neon service started
[2025-01-12 19:40:01] Production.INFO: ==19715== Releasing lock...
[2025-01-12 19:40:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:40:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:40:01] Production.INFO: ==19719== Lock acquired, processing the job...
[2025-01-12 19:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:40:01] Production.INFO: ==19719== Releasing lock...
[2025-01-12 19:40:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:40:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:40:01] Production.INFO: ==19717== Lock acquired, processing the job...
[2025-01-12 14:40:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:40:02] Production.INFO: ==19717== Releasing lock...
[2025-01-12 14:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:40:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:40:03] Production.INFO: ==19730== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:40:03] Production.INFO: ==19724== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:40:03] Production.INFO: ==19722== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 14:40:03] Production.INFO: ==19728== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:40:03] Production.INFO: Account Balance Start.
[2025-01-12 14:40:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:40:03] Production.INFO: 117
[2025-01-12 14:40:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:40:03] Production.INFO: ==19726== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:40:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:40:03] Production.ERROR: CronJob PID - 19724
[2025-01-12 14:40:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 14:40:03] Production.ERROR: CronJob ID - 5
[2025-01-12 14:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:40:00
[2025-01-12 14:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:40:03] Production.ERROR: CronJob PID - 19728
[2025-01-12 14:40:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 14:40:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:40:03] Production.ERROR: CronJob ID - 10
[2025-01-12 14:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:40:00
[2025-01-12 14:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:40:03] Production.ERROR: CronJob PID - 19730
[2025-01-12 14:40:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 14:40:03] Production.ERROR: CronJob ID - 12
[2025-01-12 14:40:03] Production.ERROR: CronJob Last Run Time 2025-01-12 14:40:00
[2025-01-12 14:40:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 14:40:03] Production.INFO: ==19722== Releasing lock...
[2025-01-12 14:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 14:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 14:40:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:40:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:40:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:40:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:40:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:40:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:40:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:40:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:40:03] Production.INFO: Total Charge 0
[2025-01-12 14:40:03] Production.INFO: ==19732== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:40:03] Production.INFO: CreateAllLog End
[2025-01-12 14:40:03] Production.INFO: ==19734== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 14:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:40:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:40:03] Production.INFO: ==19736== Lock acquired, processing the job...
[2025-01-12 14:40:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:40:04] Production.INFO: ==19726== Releasing lock...
[2025-01-12 14:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:40:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 14:40:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:40:04] Production.INFO: ==19730== Releasing lock...
[2025-01-12 14:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:40:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:40:04] Production.INFO: count ==21
[2025-01-12 14:40:04] Production.ERROR: done
[2025-01-12 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-01-12 14:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:40:04] Production.INFO: count ==21
[2025-01-12 14:40:04] Production.ERROR: done
[2025-01-12 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232271') start
[2025-01-12 14:40:04] Production.ERROR: done
[2025-01-12 14:40:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 14:40:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232272', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 14:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232271') end
[2025-01-12 14:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:40:04] Production.INFO: 1
[2025-01-12 14:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:40:04] Production.INFO: ==19736== Releasing lock...
[2025-01-12 14:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:40:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:40:05
[end_date_ymd] => 2025-01-12 14:40:05
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:40:05' and `end` < '2025-01-12 14: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-01-12 14:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232272', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 14:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 14:40:08] Production.INFO: ProcessCDR(1,14232272,1,1,2)
[2025-01-12 14:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232272,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232272,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:40:08] Production.INFO: ==19734== Releasing lock...
[2025-01-12 14:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 14:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 14:40:14] Production.ERROR: CronJobId end10
[2025-01-12 14:40:14] Production.INFO: ==19728== Releasing lock...
[2025-01-12 14:40:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:40:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:40:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:40:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:40:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:40:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:40:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:40:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:40:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:40:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:40:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:40:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:40:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:40:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:40:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:40:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:40:15] Production.INFO: call_cost start
[2025-01-12 14:40:15] Production.INFO: call_cost end
[2025-01-12 14:40:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:40:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:40:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:40:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:40:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:40:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:40:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:40:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:40:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:40:16] Production.INFO: ==19724== Releasing lock...
[2025-01-12 14:40:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:40:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:40:18] Production.INFO: count ==1195
[2025-01-12 14:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:40:05 - End Time 2025-01-12 14:40:05
[2025-01-12 14:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232273', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232273', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232273', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232273', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:40:19] Production.INFO: ProcessCDR(1,14232273,1,1,2)
[2025-01-12 14:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:40:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232273,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:40:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:40:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232273,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232273', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:40:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232273', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:40:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:40:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:40:22] Production.INFO: ==19732== Releasing lock...
[2025-01-12 14:40:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:40:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:41:01] Production.INFO: ==19790== Lock acquired, processing the job...
[2025-01-12 19:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:41:01] Production.INFO: neon service started
[2025-01-12 19:41:01] Production.INFO: neon service started
[2025-01-12 19:41:01] Production.INFO: ==19790== Releasing lock...
[2025-01-12 19:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:41:02] Production.INFO: ==19792== Lock acquired, processing the job...
[2025-01-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:41:02] Production.INFO: ==19792== Releasing lock...
[2025-01-12 14:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:41:02] Production.INFO: ==19794== Lock acquired, processing the job...
[2025-01-12 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:41:02] Production.INFO: ==19794== Releasing lock...
[2025-01-12 19:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 14:41:03] Production.INFO: ==19800== Lock acquired, processing the job...
[2025-01-12 14:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:41:03] Production.INFO: ==19804== Lock acquired, processing the job...
[2025-01-12 14:41:03] Production.INFO: ==19796== Lock acquired, processing the job...
[2025-01-12 14:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:41:03] Production.INFO: ==19798== Lock acquired, processing the job...
[2025-01-12 14:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:41:03] Production.INFO: ==19802== Lock acquired, processing the job...
[2025-01-12 14:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:41:03] Production.INFO: ==19806== Lock acquired, processing the job...
[2025-01-12 14:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:41:03] Production.INFO: Account Balance Start.
[2025-01-12 14:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:41:03] Production.INFO: 117
[2025-01-12 14:41:03] Production.ERROR: done
[2025-01-12 14:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:41:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:41:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:41:04] Production.INFO: count ==21
[2025-01-12 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:41:04] Production.INFO: count ==21
[2025-01-12 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232276') start
[2025-01-12 14:41:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:41:04] Production.ERROR: done
[2025-01-12 14:41:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232276') end
[2025-01-12 14:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:41:04] Production.INFO: 1
[2025-01-12 14:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:41:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:41:04] Production.INFO: ==19798== Releasing lock...
[2025-01-12 14:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:41:04] Production.INFO: ==19806== Releasing lock...
[2025-01-12 14:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:41:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:41:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:41:04] Production.INFO: Total Charge 0
[2025-01-12 14:41:04] Production.INFO: CreateAllLog End
[2025-01-12 14:41:04] Production.INFO: Account Balance End.
[2025-01-12 14:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:41:04] Production.INFO: ==19802== Releasing lock...
[2025-01-12 14:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:41:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:41:05
[end_date_ymd] => 2025-01-12 14:41:05
[RateCDR] => 1
)
[2025-01-12 14:41:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:41:05' and `end` < '2025-01-12 14:41:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:41:12] Production.ERROR: CronJobId end10
[2025-01-12 14:41:12] Production.INFO: ==19800== Releasing lock...
[2025-01-12 14:41:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:41:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:41:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:41:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:41:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:41:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:41:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:41:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:41:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:41:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:41:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:41:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:41:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:41:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:41:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:41:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:41:14] Production.INFO: call_cost start
[2025-01-12 14:41:14] Production.INFO: call_cost end
[2025-01-12 14:41:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:41:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:41:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:41:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:41:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:41:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:41:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:41:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:41:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:41:15] Production.INFO: ==19796== Releasing lock...
[2025-01-12 14:41:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:41:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:41:18] Production.INFO: count ==1192
[2025-01-12 14:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:41:05 - End Time 2025-01-12 14:41:05
[2025-01-12 14:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232278', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232278', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232278', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232278', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:41:18] Production.INFO: ProcessCDR(1,14232278,1,1,2)
[2025-01-12 14:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232278,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232278,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232278', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232278', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:41:21] Production.INFO: ==19804== Releasing lock...
[2025-01-12 14:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:41:21] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:42:02] Production.INFO: ==19866== Lock acquired, processing the job...
[2025-01-12 19:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:42:02] Production.INFO: neon service started
[2025-01-12 19:42:02] Production.INFO: neon service started
[2025-01-12 19:42:02] Production.INFO: ==19866== Releasing lock...
[2025-01-12 19:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:42:02] Production.INFO: ==19870== Lock acquired, processing the job...
[2025-01-12 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:42:02] Production.INFO: ==19870== Releasing lock...
[2025-01-12 19:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:42:02] Production.INFO: ==19868== Lock acquired, processing the job...
[2025-01-12 14:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:42:03] Production.INFO: ==19868== Releasing lock...
[2025-01-12 14:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:42:03] Production.INFO: ==19872== Lock acquired, processing the job...
[2025-01-12 14:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:42:03] Production.INFO: ==19876== Lock acquired, processing the job...
[2025-01-12 14:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:42:03] Production.INFO: ==19881== Lock acquired, processing the job...
[2025-01-12 14:42:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:42:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:42:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:42:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:42:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:42:04] Production.INFO: ==19874== Lock acquired, processing the job...
[2025-01-12 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:42:04] Production.INFO: ==19878== Lock acquired, processing the job...
[2025-01-12 14:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:42:04] Production.INFO: ==19883== Lock acquired, processing the job...
[2025-01-12 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:42:04] Production.INFO: Account Balance Start.
[2025-01-12 14:42:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:42:04] Production.INFO: 117
[2025-01-12 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-01-12 14:42:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:42:04] Production.INFO: count ==21
[2025-01-12 14:42:04] Production.ERROR: done
[2025-01-12 14:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 14:42:04] Production.INFO: count ==21
[2025-01-12 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232282') start
[2025-01-12 14:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232282') end
[2025-01-12 14:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:42:04] Production.INFO: 1
[2025-01-12 14:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:42:04] Production.INFO: ==19874== Releasing lock...
[2025-01-12 14:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:42:04] Production.ERROR: done
[2025-01-12 14:42:04] Production.INFO: ==19883== Releasing lock...
[2025-01-12 14:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:42:05] Production.INFO: Total Charge 0
[2025-01-12 14:42:05] Production.INFO: CreateAllLog End
[2025-01-12 14:42:05] Production.INFO: Account Balance End.
[2025-01-12 14:42:05] Production.ERROR: CronJobId end 12
[2025-01-12 14:42:05] Production.INFO: ==19878== Releasing lock...
[2025-01-12 14:42:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:42:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:42:05
[end_date_ymd] => 2025-01-12 14:42:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:42:05' and `end` < '2025-01-12 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-01-12 14:42:12] Production.ERROR: CronJobId end10
[2025-01-12 14:42:12] Production.INFO: ==19876== Releasing lock...
[2025-01-12 14:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:42:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:42:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:42:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:42:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:42:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:42:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:42:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:42:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:42:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:42:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:42:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:42:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:42:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:42:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:42:15] Production.INFO: call_cost start
[2025-01-12 14:42:15] Production.INFO: call_cost end
[2025-01-12 14:42:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:42:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:42:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:42:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:42:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:42:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:42:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:42:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:42:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:42:15] Production.INFO: ==19872== Releasing lock...
[2025-01-12 14:42:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:42:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:42:19] Production.INFO: count ==1194
[2025-01-12 14:42:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:42:05 - End Time 2025-01-12 14:42:05
[2025-01-12 14:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232283', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232283', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232283', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232283', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:42:19] Production.INFO: ProcessCDR(1,14232283,1,1,2)
[2025-01-12 14:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232283,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232283,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232283', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232283', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:42:22] Production.INFO: ==19881== Releasing lock...
[2025-01-12 14:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:42:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:43:01] Production.INFO: ==19936== Lock acquired, processing the job...
[2025-01-12 19:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:43:01] Production.INFO: neon service started
[2025-01-12 19:43:01] Production.INFO: neon service started
[2025-01-12 19:43:01] Production.INFO: ==19936== Releasing lock...
[2025-01-12 19:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:43:02] Production.INFO: ==19938== Lock acquired, processing the job...
[2025-01-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:43:02] Production.INFO: ==19938== Releasing lock...
[2025-01-12 14:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:43:02] Production.INFO: ==19940== Lock acquired, processing the job...
[2025-01-12 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:43:02] Production.INFO: ==19940== Releasing lock...
[2025-01-12 19:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:43:03] Production.INFO: ==19945== Lock acquired, processing the job...
[2025-01-12 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:43:03] Production.INFO: ==19943== Lock acquired, processing the job...
[2025-01-12 14:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:43:03] Production.INFO: ==19947== Lock acquired, processing the job...
[2025-01-12 14:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:43:03] Production.INFO: ==19951== Lock acquired, processing the job...
[2025-01-12 14:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:43:03] Production.INFO: ==19949== Lock acquired, processing the job...
[2025-01-12 14:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:43:03] Production.INFO: ==19953== Lock acquired, processing the job...
[2025-01-12 14:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:43:03] Production.INFO: ==19945== Releasing lock...
[2025-01-12 14:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:43:03] Production.INFO: Account Balance Start.
[2025-01-12 14:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:43:03] Production.INFO: 117
[2025-01-12 14:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:43:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:43:03] Production.INFO: count ==21
[2025-01-12 14:43:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:43:03] Production.INFO: count ==21
[2025-01-12 14:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232287') start
[2025-01-12 14:43:03] Production.ERROR: done
[2025-01-12 14:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:43:04] Production.INFO: Total Charge 0
[2025-01-12 14:43:04] Production.ERROR: done
[2025-01-12 14:43:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232287') end
[2025-01-12 14:43:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:43:04] Production.INFO: 1
[2025-01-12 14:43:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:43:04] Production.INFO: CreateAllLog End
[2025-01-12 14:43:04] Production.INFO: ==19953== Releasing lock...
[2025-01-12 14:43:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:43:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:43:04] Production.INFO: Account Balance End.
[2025-01-12 14:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:43:04] Production.INFO: ==19949== Releasing lock...
[2025-01-12 14:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:43:05
[end_date_ymd] => 2025-01-12 14:43:05
[RateCDR] => 1
)
[2025-01-12 14:43:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:43:05' and `end` < '2025-01-12 14:43:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:43:11] Production.ERROR: CronJobId end10
[2025-01-12 14:43:11] Production.INFO: ==19947== Releasing lock...
[2025-01-12 14:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:43:13] Production.INFO: call_cost start
[2025-01-12 14:43:13] Production.INFO: call_cost end
[2025-01-12 14:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:43:14] Production.INFO: ==19943== Releasing lock...
[2025-01-12 14:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:43:18] Production.INFO: count ==1195
[2025-01-12 14:43:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:43:05 - End Time 2025-01-12 14:43:05
[2025-01-12 14:43:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232288', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232288', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232288', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:43:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232288', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:43:18] Production.INFO: ProcessCDR(1,14232288,1,1,2)
[2025-01-12 14:43:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:43:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232288,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:43:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:43:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232288,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232288', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:43:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232288', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:43:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:43:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:43:22] Production.INFO: ==19951== Releasing lock...
[2025-01-12 14:43:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:43:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:44:02] Production.INFO: ==20009== Lock acquired, processing the job...
[2025-01-12 19:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:44:02] Production.INFO: neon service started
[2025-01-12 19:44:02] Production.INFO: neon service started
[2025-01-12 19:44:02] Production.INFO: ==20009== Releasing lock...
[2025-01-12 19:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:44:02] Production.INFO: ==20011== Lock acquired, processing the job...
[2025-01-12 14:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:44:02] Production.INFO: ==20013== Lock acquired, processing the job...
[2025-01-12 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:44:02] Production.INFO: ==20013== Releasing lock...
[2025-01-12 19:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:44:03] Production.INFO: ==20011== Releasing lock...
[2025-01-12 14:44:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:44:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:44:04] Production.INFO: ==20020== Lock acquired, processing the job...
[2025-01-12 14:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:44:04] Production.INFO: ==20026== Lock acquired, processing the job...
[2025-01-12 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:44:04] Production.INFO: ==20018== Lock acquired, processing the job...
[2025-01-12 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:44:04] Production.INFO: ==20016== Lock acquired, processing the job...
[2025-01-12 14:44:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14: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-01-12 14:44:04] Production.INFO: count ==21
[2025-01-12 14:44:04] Production.INFO: ==20022== Lock acquired, processing the job...
[2025-01-12 14:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:44:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14: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-01-12 14:44:04] Production.INFO: count ==21
[2025-01-12 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232289') start
[2025-01-12 14:44:04] Production.INFO: ==20024== Lock acquired, processing the job...
[2025-01-12 14:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:44:04] Production.INFO: Account Balance Start.
[2025-01-12 14:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:44:04] Production.INFO: 117
[2025-01-12 14:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232289') end
[2025-01-12 14:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:44:04] Production.INFO: 1
[2025-01-12 14:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:44:04] Production.INFO: ==20026== Releasing lock...
[2025-01-12 14:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:44:04] Production.INFO: Total Charge 0
[2025-01-12 14:44:04] Production.INFO: ==20018== Releasing lock...
[2025-01-12 14:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:44:04] Production.INFO: CreateAllLog End
[2025-01-12 14:44:04] Production.ERROR: done
[2025-01-12 14:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:44:05] Production.INFO: Account Balance End.
[2025-01-12 14:44:05] Production.ERROR: done
[2025-01-12 14:44:05] Production.ERROR: CronJobId end 12
[2025-01-12 14:44:05] Production.INFO: ==20022== Releasing lock...
[2025-01-12 14:44:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:44:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:44:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:44:06
[end_date_ymd] => 2025-01-12 14:44:06
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:44:06' and `end` < '2025-01-12 14: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-01-12 14:44:11] Production.ERROR: CronJobId end10
[2025-01-12 14:44:11] Production.INFO: ==20020== Releasing lock...
[2025-01-12 14:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:44:13] Production.INFO: call_cost start
[2025-01-12 14:44:13] Production.INFO: call_cost end
[2025-01-12 14:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:44:14] Production.INFO: ==20016== Releasing lock...
[2025-01-12 14:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:44:19] Production.INFO: count ==1199
[2025-01-12 14:44:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:44:06 - End Time 2025-01-12 14:44:06
[2025-01-12 14:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232293', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232293', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232293', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232293', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:44:19] Production.INFO: ProcessCDR(1,14232293,1,1,2)
[2025-01-12 14:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:44:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232293,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:44:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:44:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232293,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232293', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:44:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232293', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:44:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:44:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:44:22] Production.INFO: ==20024== Releasing lock...
[2025-01-12 14:44:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:44:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:45:01] Production.INFO: ==20084== Lock acquired, processing the job...
[2025-01-12 19:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:45:01] Production.INFO: neon service started
[2025-01-12 19:45:01] Production.INFO: neon service started
[2025-01-12 19:45:01] Production.INFO: ==20084== Releasing lock...
[2025-01-12 19:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:45:02] Production.INFO: ==20086== Lock acquired, processing the job...
[2025-01-12 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:45:02] Production.INFO: ==20088== Lock acquired, processing the job...
[2025-01-12 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:45:02] Production.INFO: ==20088== Releasing lock...
[2025-01-12 19:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:45:02] Production.INFO: ==20086== Releasing lock...
[2025-01-12 14:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:45:03] Production.INFO: ==20090== Lock acquired, processing the job...
[2025-01-12 14:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:45:03] Production.INFO: ==20092== Lock acquired, processing the job...
[2025-01-12 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:45:03] Production.INFO: ==20094== Lock acquired, processing the job...
[2025-01-12 14:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:45:03] Production.INFO: ==20096== Lock acquired, processing the job...
[2025-01-12 14:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:45:03] Production.INFO: Account Balance Start.
[2025-01-12 14:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:45:03] Production.INFO: ==20099== Lock acquired, processing the job...
[2025-01-12 14:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:45:03] Production.INFO: 117
[2025-01-12 14:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:45:03] Production.INFO: ==20101== Lock acquired, processing the job...
[2025-01-12 14:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:45:03] Production.INFO: ==20092== Releasing lock...
[2025-01-12 14:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:45:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:45:03] Production.INFO: count ==21
[2025-01-12 14:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:45:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:45:03] Production.INFO: count ==21
[2025-01-12 14:45:03] Production.INFO: Total Charge 0
[2025-01-12 14:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232297') start
[2025-01-12 14:45:03] Production.INFO: CreateAllLog End
[2025-01-12 14:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232297') end
[2025-01-12 14:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:45:04] Production.INFO: 1
[2025-01-12 14:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:45:04] Production.ERROR: done
[2025-01-12 14:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:45:04] Production.INFO: Account Balance End.
[2025-01-12 14:45:04] Production.INFO: ==20101== Releasing lock...
[2025-01-12 14:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:45:04] Production.ERROR: done
[2025-01-12 14:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:45:04] Production.INFO: ==20096== Releasing lock...
[2025-01-12 14:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:45:05
[end_date_ymd] => 2025-01-12 14:45:05
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:45:05' and `end` < '2025-01-12 14: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-01-12 14:45:11] Production.ERROR: CronJobId end10
[2025-01-12 14:45:11] Production.INFO: ==20094== Releasing lock...
[2025-01-12 14:45:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:45:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:45:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:45:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:45:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:45:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:45:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:45:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:45:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:45:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:45:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:45:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:45:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:45:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:45:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:45:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:45:13] Production.INFO: call_cost start
[2025-01-12 14:45:13] Production.INFO: call_cost end
[2025-01-12 14:45:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:45:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:45:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:45:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:45:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:45:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:45:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:45:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:45:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:45:14] Production.INFO: ==20090== Releasing lock...
[2025-01-12 14:45:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:45:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:45:18] Production.INFO: count ==1201
[2025-01-12 14:45:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:45:05 - End Time 2025-01-12 14:45:05
[2025-01-12 14:45:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232298', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232298', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232298', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:45:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232298', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:45:18] Production.INFO: ProcessCDR(1,14232298,1,1,2)
[2025-01-12 14:45:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:45:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232298,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:45:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:45:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232298,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232298', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:45:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232298', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:45:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:45:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:45:22] Production.INFO: ==20099== Releasing lock...
[2025-01-12 14:45:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:45:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:46:02] Production.INFO: ==20157== Lock acquired, processing the job...
[2025-01-12 19:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:46:02] Production.INFO: neon service started
[2025-01-12 19:46:02] Production.INFO: neon service started
[2025-01-12 19:46:02] Production.INFO: ==20157== Releasing lock...
[2025-01-12 19:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:46:02] Production.INFO: ==20159== Lock acquired, processing the job...
[2025-01-12 14:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:46:02] Production.INFO: ==20161== Lock acquired, processing the job...
[2025-01-12 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:46:02] Production.INFO: ==20161== Releasing lock...
[2025-01-12 19:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:46:03] Production.INFO: ==20159== Releasing lock...
[2025-01-12 14:46:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:46:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:46:03] Production.INFO: ==20164== Lock acquired, processing the job...
[2025-01-12 14:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:46:03] Production.INFO: ==20166== Lock acquired, processing the job...
[2025-01-12 14:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:46:03] Production.INFO: ==20174== Lock acquired, processing the job...
[2025-01-12 14:46:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14: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-01-12 14:46:04] Production.INFO: ==20166== Releasing lock...
[2025-01-12 14:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:46:04] Production.INFO: count ==21
[2025-01-12 14:46:04] Production.INFO: ==20168== Lock acquired, processing the job...
[2025-01-12 14:46:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14: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-01-12 14:46:04] Production.INFO: count ==21
[2025-01-12 14:46:04] Production.INFO: ==20170== Lock acquired, processing the job...
[2025-01-12 14:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:46:04] Production.INFO: ==20172== Lock acquired, processing the job...
[2025-01-12 14:46:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232301') start
[2025-01-12 14:46:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:46:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:46:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:46:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:46:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:46:04] Production.INFO: Account Balance Start.
[2025-01-12 14:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:46:04] Production.INFO: 117
[2025-01-12 14:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232301') end
[2025-01-12 14:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:46:04] Production.INFO: 1
[2025-01-12 14:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:46:04] Production.INFO: ==20174== Releasing lock...
[2025-01-12 14:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:46:04] Production.ERROR: done
[2025-01-12 14:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:46:04] Production.INFO: Total Charge 0
[2025-01-12 14:46:04] Production.INFO: CreateAllLog End
[2025-01-12 14:46:05] Production.ERROR: done
[2025-01-12 14:46:05] Production.INFO: Account Balance End.
[2025-01-12 14:46:05] Production.ERROR: CronJobId end 12
[2025-01-12 14:46:05] Production.INFO: ==20170== Releasing lock...
[2025-01-12 14:46:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:46:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:46:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:46:06
[end_date_ymd] => 2025-01-12 14:46:06
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:46:06' and `end` < '2025-01-12 14: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-01-12 14:46:13] Production.ERROR: CronJobId end10
[2025-01-12 14:46:13] Production.INFO: ==20168== Releasing lock...
[2025-01-12 14:46:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:46:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:46:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:46:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:46:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:46:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:46:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:46:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:46:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:46:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:46:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:46:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:46:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:46:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:46:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:46:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:46:14] Production.INFO: call_cost start
[2025-01-12 14:46:14] Production.INFO: call_cost end
[2025-01-12 14:46:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:46:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:46:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:46:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:46:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:46:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:46:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:46:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:46:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:46:15] Production.INFO: ==20164== Releasing lock...
[2025-01-12 14:46:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:46:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:46:20] Production.INFO: count ==1189
[2025-01-12 14:46:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:46:06 - End Time 2025-01-12 14:46:06
[2025-01-12 14:46:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:46:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232303', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232303', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232303', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:46:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232303', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:46:21] Production.INFO: ProcessCDR(1,14232303,1,1,2)
[2025-01-12 14:46:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:46:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232303,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:46:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:46:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232303,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232303', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:46:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232303', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:46:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:46:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:46:24] Production.INFO: ==20172== Releasing lock...
[2025-01-12 14:46:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:46:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:47:01] Production.INFO: ==20228== Lock acquired, processing the job...
[2025-01-12 19:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:47:01] Production.INFO: neon service started
[2025-01-12 19:47:01] Production.INFO: neon service started
[2025-01-12 19:47:01] Production.INFO: ==20228== Releasing lock...
[2025-01-12 19:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:47:01] Production.INFO: ==20232== Lock acquired, processing the job...
[2025-01-12 19:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:47:01] Production.INFO: ==20232== Releasing lock...
[2025-01-12 19:47:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:47:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:47:02] Production.INFO: ==20230== Lock acquired, processing the job...
[2025-01-12 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:47:02] Production.INFO: ==20230== Releasing lock...
[2025-01-12 14:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:47:03] Production.INFO: ==20236== Lock acquired, processing the job...
[2025-01-12 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:47:03] Production.INFO: ==20245== Lock acquired, processing the job...
[2025-01-12 14:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:47:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:47:03] Production.INFO: count ==21
[2025-01-12 14:47:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 14:47:03] Production.INFO: count ==21
[2025-01-12 14:47:03] Production.INFO: ==20234== Lock acquired, processing the job...
[2025-01-12 14:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232304') start
[2025-01-12 14:47:03] Production.INFO: ==20238== Lock acquired, processing the job...
[2025-01-12 14:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232304') end
[2025-01-12 14:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:47:03] Production.INFO: 1
[2025-01-12 14:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:47:03] Production.INFO: ==20240== Lock acquired, processing the job...
[2025-01-12 14:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:47:03] Production.INFO: ==20245== Releasing lock...
[2025-01-12 14:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:47:03] Production.INFO: ==20242== Lock acquired, processing the job...
[2025-01-12 14:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:47:03] Production.INFO: Account Balance Start.
[2025-01-12 14:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:47:03] Production.INFO: 117
[2025-01-12 14:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:47:03] Production.INFO: ==20236== Releasing lock...
[2025-01-12 14:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:47:03] Production.INFO: Total Charge 0
[2025-01-12 14:47:03] Production.INFO: CreateAllLog End
[2025-01-12 14:47:03] Production.ERROR: done
[2025-01-12 14:47:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:47:04] Production.ERROR: done
[2025-01-12 14:47:04] Production.INFO: Account Balance End.
[2025-01-12 14:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:47:04] Production.INFO: ==20240== Releasing lock...
[2025-01-12 14:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:47:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:47:05
[end_date_ymd] => 2025-01-12 14:47:05
[RateCDR] => 1
)
[2025-01-12 14:47:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:47:05' and `end` < '2025-01-12 14:47:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:47:11] Production.ERROR: CronJobId end10
[2025-01-12 14:47:11] Production.INFO: ==20238== Releasing lock...
[2025-01-12 14:47:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:47:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:47:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:47:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:47:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:47:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:47:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:47:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:47:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:47:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:47:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:47:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:47:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:47:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:47:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:47:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:47:14] Production.INFO: call_cost start
[2025-01-12 14:47:14] Production.INFO: call_cost end
[2025-01-12 14:47:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:47:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:47:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:47:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:47:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:47:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:47:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:47:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:47:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:47:14] Production.INFO: ==20234== Releasing lock...
[2025-01-12 14:47:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:47:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:47:18] Production.INFO: count ==1189
[2025-01-12 14:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:47:05 - End Time 2025-01-12 14:47:05
[2025-01-12 14:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232308', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232308', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232308', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232308', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:47:18] Production.INFO: ProcessCDR(1,14232308,1,1,2)
[2025-01-12 14:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:47:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232308,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:47:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:47:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232308,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232308', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:47:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232308', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:47:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:47:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:47:21] Production.INFO: ==20242== Releasing lock...
[2025-01-12 14:47:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:47:21] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:48:01] Production.INFO: ==20339== Lock acquired, processing the job...
[2025-01-12 19:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:48:01] Production.INFO: neon service started
[2025-01-12 19:48:01] Production.INFO: neon service started
[2025-01-12 19:48:01] Production.INFO: ==20339== Releasing lock...
[2025-01-12 19:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:48:02] Production.INFO: ==20341== Lock acquired, processing the job...
[2025-01-12 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:48:02] Production.INFO: ==20341== Releasing lock...
[2025-01-12 14:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:48:02] Production.INFO: ==20343== Lock acquired, processing the job...
[2025-01-12 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:48:02] Production.INFO: ==20343== Releasing lock...
[2025-01-12 19:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:48:03] Production.INFO: ==20352== Lock acquired, processing the job...
[2025-01-12 14:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:48:03] Production.INFO: Account Balance Start.
[2025-01-12 14:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:48:03] Production.INFO: 117
[2025-01-12 14:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:48:03] Production.INFO: ==20346== Lock acquired, processing the job...
[2025-01-12 14:48:03] Production.INFO: ==20356== Lock acquired, processing the job...
[2025-01-12 14:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:48:03] Production.INFO: ==20348== Lock acquired, processing the job...
[2025-01-12 14:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:48:03] Production.INFO: ==20350== Lock acquired, processing the job...
[2025-01-12 14:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14: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-01-12 14:48:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:48:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:48:03] Production.INFO: count ==21
[2025-01-12 14:48:03] Production.INFO: Total Charge 0
[2025-01-12 14:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232310') start
[2025-01-12 14:48:03] Production.INFO: ==20354== Lock acquired, processing the job...
[2025-01-12 14:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:48:03] Production.INFO: CreateAllLog End
[2025-01-12 14:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232310') end
[2025-01-12 14:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:48:03] Production.INFO: 1
[2025-01-12 14:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:48:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:48:04] Production.INFO: Account Balance End.
[2025-01-12 14:48:04] Production.INFO: ==20356== Releasing lock...
[2025-01-12 14:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:48:04] Production.INFO: ==20352== Releasing lock...
[2025-01-12 14:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:48:04] Production.INFO: ==20348== Releasing lock...
[2025-01-12 14:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:48:04] Production.ERROR: done
[2025-01-12 14:48:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:48:04] Production.ERROR: done
[2025-01-12 14:48:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:48:05
[end_date_ymd] => 2025-01-12 14:48:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:48:05' and `end` < '2025-01-12 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-01-12 14:48:11] Production.ERROR: CronJobId end10
[2025-01-12 14:48:11] Production.INFO: ==20350== Releasing lock...
[2025-01-12 14:48:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:48:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:48:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:48:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:48:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:48:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:48:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:48:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:48:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:48:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:48:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:48:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:48:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:48:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:48:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:48:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:48:13] Production.INFO: call_cost start
[2025-01-12 14:48:13] Production.INFO: call_cost end
[2025-01-12 14:48:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:48:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:48:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:48:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:48:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:48:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:48:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:48:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:48:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:48:14] Production.INFO: ==20346== Releasing lock...
[2025-01-12 14:48:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:48:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:48:18] Production.INFO: count ==1189
[2025-01-12 14:48:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:48:05 - End Time 2025-01-12 14:48:05
[2025-01-12 14:48:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232313', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232313', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232313', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:48:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232313', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:48:19] Production.INFO: ProcessCDR(1,14232313,1,1,2)
[2025-01-12 14:48:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:48:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232313,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:48:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:48:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232313,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232313', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:48:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232313', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:48:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:48:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:48:24] Production.INFO: ==20354== Releasing lock...
[2025-01-12 14:48:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:48:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:49:01] Production.INFO: ==20411== Lock acquired, processing the job...
[2025-01-12 19:49:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:49:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:49:01] Production.INFO: neon service started
[2025-01-12 19:49:01] Production.INFO: neon service started
[2025-01-12 19:49:01] Production.INFO: ==20411== Releasing lock...
[2025-01-12 19:49:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:49:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:49:01] Production.INFO: ==20413== Lock acquired, processing the job...
[2025-01-12 14:49:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:49:02] Production.INFO: ==20413== Releasing lock...
[2025-01-12 14:49:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:49:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:49:02] Production.INFO: ==20415== Lock acquired, processing the job...
[2025-01-12 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:49:02] Production.INFO: ==20415== Releasing lock...
[2025-01-12 19:49:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:49:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:49:02] Production.INFO: ==20421== Lock acquired, processing the job...
[2025-01-12 14:49:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:49:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:49:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:49:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:49:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:49:03] Production.INFO: ==20427== Lock acquired, processing the job...
[2025-01-12 14:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:49:03] Production.INFO: ==20417== Lock acquired, processing the job...
[2025-01-12 14:49:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14: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-01-12 14:49:03] Production.INFO: ==20419== Lock acquired, processing the job...
[2025-01-12 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:49:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:49:03] Production.INFO: ==20425== Lock acquired, processing the job...
[2025-01-12 14:49:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:49:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:49:03] Production.INFO: count ==21
[2025-01-12 14:49:03] Production.INFO: ==20423== Lock acquired, processing the job...
[2025-01-12 14:49:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232314') start
[2025-01-12 14:49:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:49:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232314') end
[2025-01-12 14:49:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:49:03] Production.INFO: 1
[2025-01-12 14:49:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:49:03] Production.INFO: ==20427== Releasing lock...
[2025-01-12 14:49:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:49:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:49:03] Production.INFO: Account Balance Start.
[2025-01-12 14:49:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:49:03] Production.INFO: 117
[2025-01-12 14:49:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:49:03] Production.ERROR: done
[2025-01-12 14:49:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:49:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:49:03] Production.INFO: ==20419== Releasing lock...
[2025-01-12 14:49:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:49:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:49:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:49:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:49:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:49:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:49:03] Production.ERROR: done
[2025-01-12 14:49:03] Production.INFO: Total Charge 0
[2025-01-12 14:49:03] Production.INFO: CreateAllLog End
[2025-01-12 14:49:03] Production.INFO: Account Balance End.
[2025-01-12 14:49:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:49:04] Production.INFO: ==20423== Releasing lock...
[2025-01-12 14:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:49:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:49:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:49:04
[end_date_ymd] => 2025-01-12 14:49:04
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:49:04' and `end` < '2025-01-12 14: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-01-12 14:49:11] Production.ERROR: CronJobId end10
[2025-01-12 14:49:11] Production.INFO: ==20421== Releasing lock...
[2025-01-12 14:49:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:49:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:49:13] Production.INFO: call_cost start
[2025-01-12 14:49:13] Production.INFO: call_cost end
[2025-01-12 14:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:49:14] Production.INFO: ==20417== Releasing lock...
[2025-01-12 14:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:49:18] Production.INFO: count ==1186
[2025-01-12 14:49:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:49:04 - End Time 2025-01-12 14:49:04
[2025-01-12 14:49:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232318', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232318', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232318', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:49:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232318', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:49:18] Production.INFO: ProcessCDR(1,14232318,1,1,2)
[2025-01-12 14:49:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:49:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232318,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:49:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:49:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232318,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232318', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:49:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232318', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:49:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:49:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:49:23] Production.INFO: ==20425== Releasing lock...
[2025-01-12 14:49:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:49:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 19:50:01] Production.INFO: ==20481== Lock acquired, processing the job...
[2025-01-12 19:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:50:01] Production.INFO: neon service started
[2025-01-12 19:50:01] Production.INFO: neon service started
[2025-01-12 19:50:01] Production.INFO: ==20481== Releasing lock...
[2025-01-12 19:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:50:02] Production.INFO: ==20486== Lock acquired, processing the job...
[2025-01-12 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:50:02] Production.INFO: ==20484== Lock acquired, processing the job...
[2025-01-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:50:02] Production.INFO: ==20486== Releasing lock...
[2025-01-12 19:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:50:02] Production.INFO: ==20484== Releasing lock...
[2025-01-12 14:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:50:04] Production.INFO: ==20496== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:50:04] Production.INFO: ==20488== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 14:50:04] Production.INFO: ==20490== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:50:04] Production.INFO: ==20492== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:50:04] Production.INFO: Account Balance Start.
[2025-01-12 14:50:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:50:04] Production.INFO: 117
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:50:04] Production.ERROR: CronJob PID - 20490
[2025-01-12 14:50:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 14:50:04] Production.ERROR: CronJob ID - 5
[2025-01-12 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 14:50:00
[2025-01-12 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:50:04] Production.ERROR: CronJob PID - 20492
[2025-01-12 14:50:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 14:50:04] Production.ERROR: CronJob ID - 7
[2025-01-12 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 14:50:00
[2025-01-12 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 14:50:04] Production.ERROR: CronJob PID - 20496
[2025-01-12 14:50:04] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 14:50:04] Production.ERROR: CronJob ID - 12
[2025-01-12 14:50:04] Production.ERROR: CronJob Last Run Time 2025-01-12 14:50:00
[2025-01-12 14:50:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 14:50:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:50:04] Production.INFO: ==20494== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:50:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 14:50:04] Production.INFO: ==20488== Releasing lock...
[2025-01-12 14:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 14:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 14:50:04] Production.INFO: ==20498== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:50:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:50:04] Production.INFO: ==20502== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:50:04] Production.INFO: ==20500== Lock acquired, processing the job...
[2025-01-12 14:50:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:50:04] Production.INFO: Total Charge 0
[2025-01-12 14:50:04] Production.INFO: CreateAllLog End
[2025-01-12 14:50:04] Production.INFO: count ==21
[2025-01-12 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-01-12 14:50:04] Production.INFO: count ==21
[2025-01-12 14:50:04] Production.INFO: ==20492== Releasing lock...
[2025-01-12 14:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232322') start
[2025-01-12 14:50:04] Production.INFO: Account Balance End.
[2025-01-12 14:50:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:50:04] Production.INFO: ==20496== Releasing lock...
[2025-01-12 14:50:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:50:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:50:05] Production.ERROR: done
[2025-01-12 14:50:05] Production.ERROR: PBX CALL prc_importPBXExtension('14232322') end
[2025-01-12 14:50:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:50:05] Production.INFO: 1
[2025-01-12 14:50:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:50:05] Production.ERROR: done
[2025-01-12 14:50:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:50:05] Production.INFO: ==20502== Releasing lock...
[2025-01-12 14:50:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:50:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:50:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 14:50:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232323', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 14:50:05] Production.ERROR: done
[2025-01-12 14:50:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:50:06
[end_date_ymd] => 2025-01-12 14:50:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:50:06' and `end` < '2025-01-12 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-01-12 14:50:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232323', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 14:50:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 14:50:09] Production.INFO: ProcessCDR(1,14232323,1,1,2)
[2025-01-12 14:50:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:50:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232323,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:50:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:50:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:50:09] Production.INFO: ==20500== Releasing lock...
[2025-01-12 14:50:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 14:50:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 14:50:14] Production.ERROR: CronJobId end10
[2025-01-12 14:50:14] Production.INFO: ==20494== Releasing lock...
[2025-01-12 14:50:14] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:50:14] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:50:16] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:50:16] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:50:16] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:50:16] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:50:16] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:50:16] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:50:16] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:50:16] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:50:16] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:50:16] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:50:16] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:50:16] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:50:16] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:50:16] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:50:16] Production.INFO: call_cost start
[2025-01-12 14:50:16] Production.INFO: call_cost end
[2025-01-12 14:50:17] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:50:17] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:50:17] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:50:17] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:50:17] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:50:17] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:50:17] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:50:17] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:50:17] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:50:17] Production.INFO: ==20490== Releasing lock...
[2025-01-12 14:50:17] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:50:17] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:50:19] Production.INFO: count ==1188
[2025-01-12 14:50:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:50:06 - End Time 2025-01-12 14:50:06
[2025-01-12 14:50:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232324', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232324', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232324', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:50:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232324', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:50:20] Production.INFO: ProcessCDR(1,14232324,1,1,2)
[2025-01-12 14:50:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:50:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232324,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:50:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:50:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232324,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232324', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:50:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232324', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:50:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:50:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:50:24] Production.INFO: ==20498== Releasing lock...
[2025-01-12 14:50:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:50:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 19:51:02] Production.INFO: ==20559== Lock acquired, processing the job...
[2025-01-12 19:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:51:02] Production.INFO: neon service started
[2025-01-12 19:51:02] Production.INFO: neon service started
[2025-01-12 19:51:02] Production.INFO: ==20559== Releasing lock...
[2025-01-12 19:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:51:02] Production.INFO: ==20563== Lock acquired, processing the job...
[2025-01-12 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:51:02] Production.INFO: ==20563== Releasing lock...
[2025-01-12 19:51:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:51:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:51:03] Production.INFO: ==20561== Lock acquired, processing the job...
[2025-01-12 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:51:03] Production.INFO: ==20561== Releasing lock...
[2025-01-12 14:51:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:51:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:51:04] Production.INFO: ==20572== Lock acquired, processing the job...
[2025-01-12 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:51:04] Production.INFO: ==20570== Lock acquired, processing the job...
[2025-01-12 14:51:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:51:04] Production.INFO: Account Balance Start.
[2025-01-12 14:51:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:51:04] Production.INFO: 117
[2025-01-12 14:51:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:51:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:51:04] Production.INFO: ==20576== Lock acquired, processing the job...
[2025-01-12 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:51:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:51:04] Production.INFO: ==20566== Lock acquired, processing the job...
[2025-01-12 14:51:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:51:04] Production.INFO: ==20568== Lock acquired, processing the job...
[2025-01-12 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:51:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 14:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:51:04] Production.INFO: Total Charge 0
[2025-01-12 14:51:04] Production.INFO: count ==21
[2025-01-12 14:51:04] Production.INFO: ==20574== Lock acquired, processing the job...
[2025-01-12 14:51:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:51:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 14:51:04] Production.INFO: CreateAllLog End
[2025-01-12 14:51:04] Production.INFO: count ==21
[2025-01-12 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232326') start
[2025-01-12 14:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232326') end
[2025-01-12 14:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:51:04] Production.INFO: 1
[2025-01-12 14:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:51:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:51:04] Production.INFO: ==20576== Releasing lock...
[2025-01-12 14:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:51:04] Production.INFO: ==20568== Releasing lock...
[2025-01-12 14:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:51:04] Production.INFO: Account Balance End.
[2025-01-12 14:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:51:04] Production.INFO: ==20572== Releasing lock...
[2025-01-12 14:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:51:04] Production.ERROR: done
[2025-01-12 14:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:51:05] Production.ERROR: done
[2025-01-12 14:51:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:51:06
[end_date_ymd] => 2025-01-12 14:51:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:51:06' and `end` < '2025-01-12 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-01-12 14:51:13] Production.ERROR: CronJobId end10
[2025-01-12 14:51:13] Production.INFO: ==20570== Releasing lock...
[2025-01-12 14:51:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:51:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:51:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:51:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:51:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:51:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:51:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:51:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:51:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:51:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:51:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:51:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:51:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:51:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:51:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:51:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:51:15] Production.INFO: call_cost start
[2025-01-12 14:51:15] Production.INFO: call_cost end
[2025-01-12 14:51:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:51:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:51:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:51:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:51:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:51:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:51:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:51:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:51:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:51:16] Production.INFO: ==20566== Releasing lock...
[2025-01-12 14:51:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:51:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:51:19] Production.INFO: count ==1185
[2025-01-12 14:51:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:51:06 - End Time 2025-01-12 14:51:06
[2025-01-12 14:51:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232329', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232329', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232329', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:51:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232329', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:51:19] Production.INFO: ProcessCDR(1,14232329,1,1,2)
[2025-01-12 14:51:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:51:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232329,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:51:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:51:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232329,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232329', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:51:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232329', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:51:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:51:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:51:23] Production.INFO: ==20574== Releasing lock...
[2025-01-12 14:51:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:51:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 19:52:02] Production.INFO: ==20628== Lock acquired, processing the job...
[2025-01-12 19:52:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:52:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:52:02] Production.INFO: neon service started
[2025-01-12 19:52:02] Production.INFO: neon service started
[2025-01-12 19:52:02] Production.INFO: ==20628== Releasing lock...
[2025-01-12 19:52:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:52:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:52:02] Production.INFO: ==20631== Lock acquired, processing the job...
[2025-01-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:52:02] Production.INFO: ==20633== Lock acquired, processing the job...
[2025-01-12 19:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 14:52:02] Production.INFO: ==20631== Releasing lock...
[2025-01-12 14:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:52:03] Production.INFO: ==20633== Releasing lock...
[2025-01-12 19:52:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:52:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:52:03] Production.INFO: ==20641== Lock acquired, processing the job...
[2025-01-12 14:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:52:03] Production.INFO: ==20643== Lock acquired, processing the job...
[2025-01-12 14:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:52:04] Production.INFO: ==20635== Lock acquired, processing the job...
[2025-01-12 14:52:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:52:04] Production.INFO: Account Balance Start.
[2025-01-12 14:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:52:04] Production.INFO: 117
[2025-01-12 14:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:52:04] Production.INFO: ==20637== Lock acquired, processing the job...
[2025-01-12 14:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:52:04] Production.INFO: ==20639== Lock acquired, processing the job...
[2025-01-12 14:52:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:52:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:52:04] Production.INFO: ==20645== Lock acquired, processing the job...
[2025-01-12 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:52:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:52:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:52:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:52:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:52:04] Production.ERROR: done
[2025-01-12 14:52:04] Production.INFO: Total Charge 0
[2025-01-12 14:52:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:52:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 14:52:04] Production.INFO: count ==21
[2025-01-12 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-01-12 14:52:04] Production.INFO: count ==21
[2025-01-12 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232333') start
[2025-01-12 14:52:04] Production.INFO: ==20637== Releasing lock...
[2025-01-12 14:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:52:04] Production.ERROR: done
[2025-01-12 14:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232333') end
[2025-01-12 14:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:52:04] Production.INFO: 1
[2025-01-12 14:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:52:04] Production.INFO: Account Balance End.
[2025-01-12 14:52:04] Production.INFO: ==20645== Releasing lock...
[2025-01-12 14:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:52:04] Production.INFO: ==20641== Releasing lock...
[2025-01-12 14:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:52:05
[end_date_ymd] => 2025-01-12 14:52:05
[RateCDR] => 1
)
[2025-01-12 14:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:52:05' and `end` < '2025-01-12 14:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:52:12] Production.ERROR: CronJobId end10
[2025-01-12 14:52:12] Production.INFO: ==20639== Releasing lock...
[2025-01-12 14:52:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:52:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:52:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:52:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:52:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:52:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:52:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:52:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:52:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:52:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:52:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:52:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:52:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:52:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:52:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:52:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:52:15] Production.INFO: call_cost start
[2025-01-12 14:52:15] Production.INFO: call_cost end
[2025-01-12 14:52:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:52:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:52:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:52:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:52:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:52:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:52:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:52:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:52:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:52:16] Production.INFO: ==20635== Releasing lock...
[2025-01-12 14:52:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:52:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:52:18] Production.INFO: count ==1174
[2025-01-12 14:52:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:52:05 - End Time 2025-01-12 14:52:05
[2025-01-12 14:52:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232334', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232334', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232334', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:52:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232334', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:52:19] Production.INFO: ProcessCDR(1,14232334,1,1,2)
[2025-01-12 14:52:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:52:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232334,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:52:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:52:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232334,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232334', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:52:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232334', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:52:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:52:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:52:22] Production.INFO: ==20643== Releasing lock...
[2025-01-12 14:52:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:52:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 19:53:01] Production.INFO: ==20711== Lock acquired, processing the job...
[2025-01-12 19:53:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:53:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:53:01] Production.INFO: neon service started
[2025-01-12 19:53:01] Production.INFO: neon service started
[2025-01-12 19:53:01] Production.INFO: ==20711== Releasing lock...
[2025-01-12 19:53:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:53:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:53:02] Production.INFO: ==20713== Lock acquired, processing the job...
[2025-01-12 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:53:02] Production.INFO: ==20715== Lock acquired, processing the job...
[2025-01-12 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:53:02] Production.INFO: ==20715== Releasing lock...
[2025-01-12 19:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:53:02] Production.INFO: ==20713== Releasing lock...
[2025-01-12 14:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:53:03] Production.INFO: ==20718== Lock acquired, processing the job...
[2025-01-12 14:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:53:03] Production.INFO: ==20722== Lock acquired, processing the job...
[2025-01-12 14:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:53:03] Production.INFO: ==20720== Lock acquired, processing the job...
[2025-01-12 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:53:03] Production.INFO: ==20724== Lock acquired, processing the job...
[2025-01-12 14:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:53:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:53:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:53:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:53:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:53:03] Production.INFO: Account Balance Start.
[2025-01-12 14:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:53:03] Production.INFO: 117
[2025-01-12 14:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:53:03] Production.INFO: ==20728== Lock acquired, processing the job...
[2025-01-12 14:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:53:03] Production.INFO: ==20726== Lock acquired, processing the job...
[2025-01-12 14:53:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:53:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:53:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 14: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-01-12 14:53:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:53:03] Production.INFO: count ==21
[2025-01-12 14:53:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:53:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232338') start
[2025-01-12 14:53:03] Production.INFO: ==20720== Releasing lock...
[2025-01-12 14:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:53:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232338') end
[2025-01-12 14:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:53:04] Production.INFO: 1
[2025-01-12 14:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:53:04] Production.ERROR: done
[2025-01-12 14:53:04] Production.INFO: Total Charge 0
[2025-01-12 14:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:53:04] Production.INFO: ==20728== Releasing lock...
[2025-01-12 14:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:53:04] Production.INFO: CreateAllLog End
[2025-01-12 14:53:04] Production.ERROR: done
[2025-01-12 14:53:04] Production.INFO: Account Balance End.
[2025-01-12 14:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:53:04] Production.INFO: ==20724== Releasing lock...
[2025-01-12 14:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:53:05
[end_date_ymd] => 2025-01-12 14:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:53:05' and `end` < '2025-01-12 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-01-12 14:53:11] Production.ERROR: CronJobId end10
[2025-01-12 14:53:11] Production.INFO: ==20722== Releasing lock...
[2025-01-12 14:53:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:53:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:53:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:53:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:53:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:53:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:53:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:53:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:53:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:53:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:53:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:53:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:53:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:53:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:53:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:53:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:53:13] Production.INFO: call_cost start
[2025-01-12 14:53:13] Production.INFO: call_cost end
[2025-01-12 14:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:53:14] Production.INFO: ==20718== Releasing lock...
[2025-01-12 14:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:53:18] Production.INFO: count ==1173
[2025-01-12 14:53:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:53:05 - End Time 2025-01-12 14:53:05
[2025-01-12 14:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232339', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232339', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232339', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232339', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:53:19] Production.INFO: ProcessCDR(1,14232339,1,1,2)
[2025-01-12 14:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:53:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232339,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:53:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:53:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232339,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232339', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:53:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232339', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:53:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:53:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:53:22] Production.INFO: ==20726== Releasing lock...
[2025-01-12 14:53:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:53:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 19:54:02] Production.INFO: ==20801== Lock acquired, processing the job...
[2025-01-12 19:54:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:54:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:54:02] Production.INFO: neon service started
[2025-01-12 19:54:02] Production.INFO: neon service started
[2025-01-12 19:54:02] Production.INFO: ==20801== Releasing lock...
[2025-01-12 19:54:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:54:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:54:02] Production.INFO: ==20803== Lock acquired, processing the job...
[2025-01-12 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:54:02] Production.INFO: ==20803== Releasing lock...
[2025-01-12 14:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:54:02] Production.INFO: ==20805== Lock acquired, processing the job...
[2025-01-12 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:54:02] Production.INFO: ==20805== Releasing lock...
[2025-01-12 19:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:54:03] Production.INFO: ==20812== Lock acquired, processing the job...
[2025-01-12 14:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:54:03] Production.INFO: ==20808== Lock acquired, processing the job...
[2025-01-12 14:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:54:03] Production.INFO: ==20818== Lock acquired, processing the job...
[2025-01-12 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:54:03] Production.INFO: ==20810== Lock acquired, processing the job...
[2025-01-12 14:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14: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-01-12 14:54:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:54:03] Production.INFO: count ==21
[2025-01-12 14:54:03] Production.INFO: ==20814== Lock acquired, processing the job...
[2025-01-12 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232341') start
[2025-01-12 14:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:54:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232341') end
[2025-01-12 14:54:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:54:03] Production.INFO: 1
[2025-01-12 14:54:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:54:03] Production.INFO: ==20816== Lock acquired, processing the job...
[2025-01-12 14:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:54:03] Production.INFO: ==20818== Releasing lock...
[2025-01-12 14:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:54:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:54:03] Production.INFO: Account Balance Start.
[2025-01-12 14:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:54:03] Production.INFO: 117
[2025-01-12 14:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:54:04] Production.INFO: ==20810== Releasing lock...
[2025-01-12 14:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:54:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:54:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:54:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:54:04] Production.INFO: Total Charge 0
[2025-01-12 14:54:04] Production.INFO: CreateAllLog End
[2025-01-12 14:54:04] Production.ERROR: done
[2025-01-12 14:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:54:04] Production.INFO: Account Balance End.
[2025-01-12 14:54:04] Production.ERROR: done
[2025-01-12 14:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:54:04] Production.INFO: ==20814== Releasing lock...
[2025-01-12 14:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:54:05
[end_date_ymd] => 2025-01-12 14:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:54:05' and `end` < '2025-01-12 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-01-12 14:54:11] Production.ERROR: CronJobId end10
[2025-01-12 14:54:11] Production.INFO: ==20812== Releasing lock...
[2025-01-12 14:54:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:54:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:54:12] Production.INFO: call_cost start
[2025-01-12 14:54:12] Production.INFO: call_cost end
[2025-01-12 14:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:54:13] Production.INFO: ==20808== Releasing lock...
[2025-01-12 14:54:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:54:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:54:20] Production.INFO: count ==1166
[2025-01-12 14:54:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:54:05 - End Time 2025-01-12 14:54:05
[2025-01-12 14:54:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232344', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232344', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232344', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:54:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232344', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:54:20] Production.INFO: ProcessCDR(1,14232344,1,1,2)
[2025-01-12 14:54:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232344,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232344,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232344', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232344', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:54:23] Production.INFO: ==20816== Releasing lock...
[2025-01-12 14:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:54:23] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 19:55:01] Production.INFO: ==20887== Lock acquired, processing the job...
[2025-01-12 19:55:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:55:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:55:01] Production.INFO: neon service started
[2025-01-12 19:55:01] Production.INFO: neon service started
[2025-01-12 19:55:01] Production.INFO: ==20887== Releasing lock...
[2025-01-12 19:55:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:55:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:55:01] Production.INFO: ==20889== Lock acquired, processing the job...
[2025-01-12 14:55:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:55:02] Production.INFO: ==20889== Releasing lock...
[2025-01-12 14:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:55:02] Production.INFO: ==20891== Lock acquired, processing the job...
[2025-01-12 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:55:02] Production.INFO: ==20891== Releasing lock...
[2025-01-12 19:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:55:03] Production.INFO: ==20894== Lock acquired, processing the job...
[2025-01-12 14:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:55:03] Production.INFO: ==20904== Lock acquired, processing the job...
[2025-01-12 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:55:03] Production.INFO: ==20902== Lock acquired, processing the job...
[2025-01-12 14:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:55:03] Production.INFO: ==20896== Lock acquired, processing the job...
[2025-01-12 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:55:03] Production.INFO: ==20898== Lock acquired, processing the job...
[2025-01-12 14:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14: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-01-12 14:55:03] Production.INFO: ==20900== Lock acquired, processing the job...
[2025-01-12 14:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:55:03] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:55:03] Production.INFO: count ==21
[2025-01-12 14:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232346') start
[2025-01-12 14:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:55:03] Production.INFO: Account Balance Start.
[2025-01-12 14:55:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:55:03] Production.INFO: 117
[2025-01-12 14:55:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:55:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232346') end
[2025-01-12 14:55:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:55:03] Production.INFO: 1
[2025-01-12 14:55:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:55:03] Production.ERROR: done
[2025-01-12 14:55:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:55:03] Production.INFO: ==20904== Releasing lock...
[2025-01-12 14:55:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:55:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:55:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:55:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:55:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:55:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:55:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:55:03] Production.INFO: Total Charge 0
[2025-01-12 14:55:03] Production.INFO: CreateAllLog End
[2025-01-12 14:55:03] Production.INFO: ==20896== Releasing lock...
[2025-01-12 14:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:55:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:55:03] Production.ERROR: done
[2025-01-12 14:55:03] Production.INFO: Account Balance End.
[2025-01-12 14:55:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:55:03] Production.INFO: ==20900== Releasing lock...
[2025-01-12 14:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:55:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:55:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:55:04
[end_date_ymd] => 2025-01-12 14:55:04
[RateCDR] => 1
)
[2025-01-12 14: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-01-12 11:55:04' and `end` < '2025-01-12 14: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-01-12 14:55:12] Production.ERROR: CronJobId end10
[2025-01-12 14:55:12] Production.INFO: ==20898== Releasing lock...
[2025-01-12 14:55:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:55:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:55:13] Production.INFO: call_cost start
[2025-01-12 14:55:13] Production.INFO: call_cost end
[2025-01-12 14:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:55:14] Production.INFO: ==20894== Releasing lock...
[2025-01-12 14:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:55:17] Production.INFO: count ==1163
[2025-01-12 14:55:17] Production.ERROR: pbx CDR StartTime 2025-01-12 11:55:04 - End Time 2025-01-12 14:55:04
[2025-01-12 14:55:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:55:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232349', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232349', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232349', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232349', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:55:18] Production.INFO: ProcessCDR(1,14232349,1,1,2)
[2025-01-12 14:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:55:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232349,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:55:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:55:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232349,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232349', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:55:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232349', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:55:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:55:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:55:21] Production.INFO: ==20902== Releasing lock...
[2025-01-12 14:55:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:55:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 19:56:01] Production.INFO: ==20988== Lock acquired, processing the job...
[2025-01-12 19:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:56:01] Production.INFO: neon service started
[2025-01-12 19:56:01] Production.INFO: neon service started
[2025-01-12 19:56:01] Production.INFO: ==20988== Releasing lock...
[2025-01-12 19:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:56:02] Production.INFO: ==20990== Lock acquired, processing the job...
[2025-01-12 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:56:02] Production.INFO: ==20992== Lock acquired, processing the job...
[2025-01-12 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:56:02] Production.INFO: ==20992== Releasing lock...
[2025-01-12 19:56:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:56:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:56:02] Production.INFO: ==20990== Releasing lock...
[2025-01-12 14:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:56:03] Production.INFO: ==20995== Lock acquired, processing the job...
[2025-01-12 14:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:56:03] Production.INFO: ==20997== Lock acquired, processing the job...
[2025-01-12 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:56:03] Production.INFO: ==20999== Lock acquired, processing the job...
[2025-01-12 14:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:56:03] Production.INFO: ==21001== Lock acquired, processing the job...
[2025-01-12 14:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:56:03] Production.INFO: ==20997== Releasing lock...
[2025-01-12 14:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:56:04] Production.INFO: Account Balance Start.
[2025-01-12 14:56:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:56:04] Production.INFO: ==21005== Lock acquired, processing the job...
[2025-01-12 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:56:04] Production.INFO: 117
[2025-01-12 14:56:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:56:04] Production.INFO: ==21003== Lock acquired, processing the job...
[2025-01-12 14:56:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:56:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:56:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:56:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:56:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 14:56:04] Production.INFO: count ==21
[2025-01-12 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-01-12 14:56:04] Production.INFO: count ==21
[2025-01-12 14:56:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:56:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232353') start
[2025-01-12 14:56:04] Production.INFO: Total Charge 0
[2025-01-12 14:56:04] Production.INFO: CreateAllLog End
[2025-01-12 14:56:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232353') end
[2025-01-12 14:56:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:56:04] Production.INFO: 1
[2025-01-12 14:56:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:56:04] Production.ERROR: done
[2025-01-12 14:56:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:56:04] Production.INFO: ==21005== Releasing lock...
[2025-01-12 14:56:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:56:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:56:04] Production.INFO: Account Balance End.
[2025-01-12 14:56:04] Production.ERROR: done
[2025-01-12 14:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:56:04] Production.INFO: ==21001== Releasing lock...
[2025-01-12 14:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:56:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:56:05
[end_date_ymd] => 2025-01-12 14:56:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:56:05' and `end` < '2025-01-12 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-01-12 14:56:10] Production.ERROR: CronJobId end10
[2025-01-12 14:56:10] Production.INFO: ==20999== Releasing lock...
[2025-01-12 14:56:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:56:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:56:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:56:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:56:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:56:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:56:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:56:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:56:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:56:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:56:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:56:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:56:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:56:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:56:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:56:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:56:12] Production.INFO: call_cost start
[2025-01-12 14:56:12] Production.INFO: call_cost end
[2025-01-12 14:56:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:56:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:56:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:56:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:56:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:56:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:56:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:56:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:56:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:56:13] Production.INFO: ==20995== Releasing lock...
[2025-01-12 14:56:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:56:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:56:19] Production.INFO: count ==1163
[2025-01-12 14:56:19] Production.ERROR: pbx CDR StartTime 2025-01-12 11:56:05 - End Time 2025-01-12 14:56:05
[2025-01-12 14:56:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232354', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232354', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232354', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:56:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232354', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:56:19] Production.INFO: ProcessCDR(1,14232354,1,1,2)
[2025-01-12 14:56:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:56:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232354,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:56:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:56:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232354,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232354', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232354', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:56:23] Production.INFO: ==21003== Releasing lock...
[2025-01-12 14:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:56:23] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 19:57:01] Production.INFO: ==21063== Lock acquired, processing the job...
[2025-01-12 19:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:57:01] Production.INFO: neon service started
[2025-01-12 19:57:01] Production.INFO: neon service started
[2025-01-12 19:57:01] Production.INFO: ==21063== Releasing lock...
[2025-01-12 19:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:57:01] Production.INFO: ==21065== Lock acquired, processing the job...
[2025-01-12 14:57:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 19:57:01] Production.INFO: ==21067== Lock acquired, processing the job...
[2025-01-12 19:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:57:01] Production.INFO: ==21067== Releasing lock...
[2025-01-12 19:57:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:57:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:57:02] Production.INFO: ==21065== Releasing lock...
[2025-01-12 14:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:57:02] Production.INFO: ==21074== Lock acquired, processing the job...
[2025-01-12 14:57:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:57:02] Production.INFO: ==21076== Lock acquired, processing the job...
[2025-01-12 14:57:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:57:02] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:57:02] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:57:02] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:57:02] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:57:03] Production.INFO: ==21070== Lock acquired, processing the job...
[2025-01-12 14:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:57:03] Production.INFO: Account Balance Start.
[2025-01-12 14:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:57:03] Production.INFO: 117
[2025-01-12 14:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:57:03] Production.INFO: ==21072== Lock acquired, processing the job...
[2025-01-12 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:57:03] Production.INFO: ==21078== Lock acquired, processing the job...
[2025-01-12 14:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:57:03] Production.INFO: ==21080== Lock acquired, processing the job...
[2025-01-12 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 14: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-01-12 14:57:03] Production.INFO: Total Charge 0
[2025-01-12 14:57:03] Production.INFO: CreateAllLog End
[2025-01-12 14:57:03] Production.INFO: count ==21
[2025-01-12 14:57:03] Production.INFO: ==21072== Releasing lock...
[2025-01-12 14:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14: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-01-12 14:57:03] Production.INFO: count ==21
[2025-01-12 14:57:03] Production.ERROR: done
[2025-01-12 14:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232358') start
[2025-01-12 14:57:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:57:03] Production.INFO: Account Balance End.
[2025-01-12 14:57:03] Production.ERROR: done
[2025-01-12 14:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232358') end
[2025-01-12 14:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:57:03] Production.INFO: 1
[2025-01-12 14:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:57:03] Production.ERROR: CronJobId end 12
[2025-01-12 14:57:03] Production.INFO: ==21076== Releasing lock...
[2025-01-12 14:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:57:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:57:03] Production.INFO: ==21080== Releasing lock...
[2025-01-12 14:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:57:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:57:04
[end_date_ymd] => 2025-01-12 14:57:04
[RateCDR] => 1
)
[2025-01-12 14:57:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:57:04' and `end` < '2025-01-12 14:57:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 14:57:10] Production.ERROR: CronJobId end10
[2025-01-12 14:57:10] Production.INFO: ==21074== Releasing lock...
[2025-01-12 14:57:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:57:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:57:13] Production.INFO: call_cost start
[2025-01-12 14:57:13] Production.INFO: call_cost end
[2025-01-12 14:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:57:14] Production.INFO: ==21070== Releasing lock...
[2025-01-12 14:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:57:17] Production.INFO: count ==1160
[2025-01-12 14:57:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:57:04 - End Time 2025-01-12 14:57:04
[2025-01-12 14:57:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232359', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232359', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232359', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:57:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232359', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:57:18] Production.INFO: ProcessCDR(1,14232359,1,1,2)
[2025-01-12 14:57:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:57:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232359,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:57:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:57:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232359,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232359', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:57:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232359', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:57:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:57:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:57:21] Production.INFO: ==21078== Releasing lock...
[2025-01-12 14:57:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:57:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 19:58:01] Production.INFO: ==21165== Lock acquired, processing the job...
[2025-01-12 19:58:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:58:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:58:01] Production.INFO: neon service started
[2025-01-12 19:58:01] Production.INFO: neon service started
[2025-01-12 19:58:01] Production.INFO: ==21165== Releasing lock...
[2025-01-12 19:58:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:58:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 19:58:02] Production.INFO: ==21169== Lock acquired, processing the job...
[2025-01-12 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:58:02] Production.INFO: ==21169== Releasing lock...
[2025-01-12 19:58:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:58:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:58:02] Production.INFO: ==21167== Lock acquired, processing the job...
[2025-01-12 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:58:02] Production.INFO: ==21167== Releasing lock...
[2025-01-12 14:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 14:58:03] Production.INFO: ==21176== Lock acquired, processing the job...
[2025-01-12 14:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:58:03] Production.INFO: ==21180== Lock acquired, processing the job...
[2025-01-12 14:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:58:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:58:03] Production.INFO: ==21172== Lock acquired, processing the job...
[2025-01-12 14:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:58:03] Production.INFO: ==21174== Lock acquired, processing the job...
[2025-01-12 14:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:58:03] Production.INFO: ==21178== Lock acquired, processing the job...
[2025-01-12 14:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:58:03] Production.ERROR: done
[2025-01-12 14:58:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:58:03] Production.INFO: ==21182== Lock acquired, processing the job...
[2025-01-12 14:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:58:03] Production.ERROR: done
[2025-01-12 14:58:04] Production.INFO: Account Balance Start.
[2025-01-12 14:58:04] Production.INFO: CreateAllLog Start
[2025-01-12 14:58:04] Production.INFO: 117
[2025-01-12 14: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-01-12 14:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 14:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:58:04] Production.INFO: count ==21
[2025-01-12 14: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-01-12 14:58:04] Production.INFO: count ==21
[2025-01-12 14:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232363') start
[2025-01-12 14:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 14:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 14:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:58:04] Production.INFO: ==21174== Releasing lock...
[2025-01-12 14:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 14:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 14:58:04] Production.INFO: Total Charge 0
[2025-01-12 14:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232363') end
[2025-01-12 14:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:58:04] Production.INFO: 1
[2025-01-12 14:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:58:04] Production.INFO: CreateAllLog End
[2025-01-12 14:58:04] Production.INFO: ==21182== Releasing lock...
[2025-01-12 14:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:58:04] Production.INFO: Account Balance End.
[2025-01-12 14:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:58:04] Production.INFO: ==21178== Releasing lock...
[2025-01-12 14:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 14:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:58:04
[end_date_ymd] => 2025-01-12 14:58:04
[RateCDR] => 1
)
[2025-01-12 14:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 11:58:04' and `end` < '2025-01-12 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-01-12 14:58:11] Production.ERROR: CronJobId end10
[2025-01-12 14:58:11] Production.INFO: ==21176== Releasing lock...
[2025-01-12 14:58:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:58:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:58:13] Production.INFO: call_cost start
[2025-01-12 14:58:13] Production.INFO: call_cost end
[2025-01-12 14:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:58:14] Production.INFO: ==21172== Releasing lock...
[2025-01-12 14:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:58:18] Production.INFO: count ==1175
[2025-01-12 14:58:18] Production.ERROR: pbx CDR StartTime 2025-01-12 11:58:04 - End Time 2025-01-12 14:58:04
[2025-01-12 14:58:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232364', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232364', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232364', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:58:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232364', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:58:18] Production.INFO: ProcessCDR(1,14232364,1,1,2)
[2025-01-12 14:58:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:58:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232364,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:58:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:58:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232364,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232364', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:58:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232364', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:58:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:58:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:58:21] Production.INFO: ==21180== Releasing lock...
[2025-01-12 14:58:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:58:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 19:59:02] Production.INFO: ==21244== Lock acquired, processing the job...
[2025-01-12 19:59:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 19:59:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 19:59:02] Production.INFO: neon service started
[2025-01-12 19:59:02] Production.INFO: neon service started
[2025-01-12 19:59:02] Production.INFO: ==21244== Releasing lock...
[2025-01-12 19:59:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 19:59:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 14:59:02] Production.INFO: ==21246== Lock acquired, processing the job...
[2025-01-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 14:59:02] Production.INFO: ==21246== Releasing lock...
[2025-01-12 14:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 14:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 19:59:02] Production.INFO: ==21248== Lock acquired, processing the job...
[2025-01-12 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 19:59:02] Production.INFO: ==21248== Releasing lock...
[2025-01-12 19:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 19:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 14:59:03] Production.INFO: ==21251== Lock acquired, processing the job...
[2025-01-12 14:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 14:59:03] Production.INFO: ==21255== Lock acquired, processing the job...
[2025-01-12 14:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 14:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 14:59:03] Production.INFO: ==21257== Lock acquired, processing the job...
[2025-01-12 14:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 14:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 14:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 14:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 14:59:03] Production.INFO: Account Balance Start.
[2025-01-12 14:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 14:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 14:59:03] Production.INFO: 117
[2025-01-12 14:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:59:03] Production.INFO: ==21253== Lock acquired, processing the job...
[2025-01-12 14:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 14:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 14:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 14:59:03] Production.INFO: Total Charge 0
[2025-01-12 14:59:03] Production.INFO: ==21259== Lock acquired, processing the job...
[2025-01-12 14:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 14:59:03] Production.INFO: CreateAllLog End
[2025-01-12 14:59:03] Production.INFO: ==21261== Lock acquired, processing the job...
[2025-01-12 14:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 14:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 14:59:03] Production.INFO: Account Balance End.
[2025-01-12 14: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-01-12 14:59:04] Production.INFO: count ==21
[2025-01-12 14:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 14:59:04] Production.INFO: ==21257== Releasing lock...
[2025-01-12 14:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 14:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 14:59:04] Production.INFO: ==21253== Releasing lock...
[2025-01-12 14:59:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 14:59:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 14:59:04] Production.INFO: count ==21
[2025-01-12 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232368') start
[2025-01-12 14:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232368') end
[2025-01-12 14:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 14:59:04] Production.INFO: 1
[2025-01-12 14:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 14:59:04] Production.ERROR: done
[2025-01-12 14:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 14:59:04] Production.INFO: ==21261== Releasing lock...
[2025-01-12 14:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 14:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 14:59:04] Production.ERROR: done
[2025-01-12 14:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 11:59:05
[end_date_ymd] => 2025-01-12 14:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 11:59:05' and `end` < '2025-01-12 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-01-12 14:59:10] Production.ERROR: CronJobId end10
[2025-01-12 14:59:10] Production.INFO: ==21255== Releasing lock...
[2025-01-12 14:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 14:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 14:59:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 14:59:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 14:59:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 14:59:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 14:59:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 14:59:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 14:59:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 14:59:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 14:59:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 14:59:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 14:59:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 14:59:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 14:59:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 14:59:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 14:59:13] Production.INFO: call_cost start
[2025-01-12 14:59:13] Production.INFO: call_cost end
[2025-01-12 14:59:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 14:59:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 14:59:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 14:59:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 14:59:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 14:59:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 14:59:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 14:59:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 14:59:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 14:59:14] Production.INFO: ==21251== Releasing lock...
[2025-01-12 14:59:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 14:59:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 14:59:20] Production.INFO: count ==1181
[2025-01-12 14:59:20] Production.ERROR: pbx CDR StartTime 2025-01-12 11:59:05 - End Time 2025-01-12 14:59:05
[2025-01-12 14:59:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232369', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232369', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232369', 'tblTempVendorCDR_20' ) start
[2025-01-12 14:59:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232369', 'tblTempVendorCDR_20' ) end
[2025-01-12 14:59:20] Production.INFO: ProcessCDR(1,14232369,1,1,2)
[2025-01-12 14:59:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232369,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 14:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232369,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 14:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232369', 'tblTempUsageDetail_20' ) start
[2025-01-12 14:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232369', 'tblTempUsageDetail_20' ) end
[2025-01-12 14:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 14:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 14:59:23] Production.INFO: ==21259== Releasing lock...
[2025-01-12 14:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 14:59:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:00:01] Production.INFO: ==21350== Lock acquired, processing the job...
[2025-01-12 20:00:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:00:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:00:01] Production.INFO: neon service started
[2025-01-12 20:00:01] Production.INFO: neon service started
[2025-01-12 20:00:01] Production.INFO: ==21350== Releasing lock...
[2025-01-12 20:00:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:00:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:00:01] Production.INFO: ==21352== Lock acquired, processing the job...
[2025-01-12 15:00:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:00:02] Production.INFO: ==21354== Lock acquired, processing the job...
[2025-01-12 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:00:02] Production.INFO: ==21352== Releasing lock...
[2025-01-12 15:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:00:02] Production.INFO: ==21354== Releasing lock...
[2025-01-12 20:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:00:03] Production.INFO: ==21359== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:00:03] Production.INFO: ==21357== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 15:00:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 15:00:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 15:00:03] Production.ERROR: CronJob PID - 21359
[2025-01-12 15:00:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 15:00:03] Production.ERROR: CronJob ID - 5
[2025-01-12 15:00:03] Production.ERROR: CronJob Last Run Time 2025-01-12 15:00:00
[2025-01-12 15:00:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 15:00:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 15:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 15:00:03] Production.INFO: ==21357== Releasing lock...
[2025-01-12 15:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 15:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 15:00:03] Production.INFO: ==21361== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:00:03] Production.INFO: ==21363== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:00:03] Production.INFO: ==21368== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:00:03] Production.INFO: ==21365== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:00:03] Production.INFO: ==21373== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:00:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:00:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:00:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:00:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:00:03] Production.INFO: ==21370== Lock acquired, processing the job...
[2025-01-12 15:00:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 15:00:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:00:03] Production.INFO: Account Balance Start.
[2025-01-12 15:00:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:00:03] Production.INFO: 117
[2025-01-12 15: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-01-12 15:00:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:00:03] Production.INFO: count ==21
[2025-01-12 15: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-01-12 15:00:03] Production.INFO: count ==21
[2025-01-12 15:00:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232373') start
[2025-01-12 15:00:03] Production.INFO: ==21361== Releasing lock...
[2025-01-12 15:00:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:00:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:00:03] Production.ERROR: done
[2025-01-12 15:00:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:00:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:00:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232373') end
[2025-01-12 15:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:00:04] Production.INFO: 1
[2025-01-12 15:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:00:04] Production.INFO: ==21373== Releasing lock...
[2025-01-12 15:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:00:04] Production.ERROR: done
[2025-01-12 15:00:04] Production.ERROR: done
[2025-01-12 15:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:00:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 15:00:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232375', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 15:00:04] Production.INFO: Total Charge 0
[2025-01-12 15:00:04] Production.INFO: CreateAllLog End
[2025-01-12 15:00:04] Production.INFO: Account Balance End.
[2025-01-12 15:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:00:04] Production.INFO: ==21365== Releasing lock...
[2025-01-12 15:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:00:05
[end_date_ymd] => 2025-01-12 15:00:05
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:00:05' and `end` < '2025-01-12 15: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-01-12 15:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232375', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 15:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 15:00:08] Production.INFO: ProcessCDR(1,14232375,1,1,2)
[2025-01-12 15:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232375,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232375,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:00:08] Production.INFO: ==21370== Releasing lock...
[2025-01-12 15:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 15:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 15:00:13] Production.ERROR: CronJobId end10
[2025-01-12 15:00:13] Production.INFO: ==21363== Releasing lock...
[2025-01-12 15:00:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:00:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:00:14] Production.INFO: call_cost start
[2025-01-12 15:00:14] Production.INFO: call_cost end
[2025-01-12 15:00:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:00:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:00:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:00:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:00:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:00:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:00:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:00:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:00:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:00:15] Production.INFO: ==21359== Releasing lock...
[2025-01-12 15:00:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:00:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:00:18] Production.INFO: count ==1180
[2025-01-12 15:00:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:00:05 - End Time 2025-01-12 15:00:05
[2025-01-12 15:00:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232374', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232374', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232374', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:00:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232374', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:00:18] Production.INFO: ProcessCDR(1,14232374,1,1,2)
[2025-01-12 15:00:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:00:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232374,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:00:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:00:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232374,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232374', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:00:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232374', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:00:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:00:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:00:23] Production.INFO: ==21368== Releasing lock...
[2025-01-12 15:00:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:00:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:01:01] Production.INFO: ==21522== Lock acquired, processing the job...
[2025-01-12 20:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:01:01] Production.INFO: neon service started
[2025-01-12 20:01:01] Production.INFO: neon service started
[2025-01-12 20:01:01] Production.INFO: ==21522== Releasing lock...
[2025-01-12 20:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:01:02] Production.INFO: ==21530== Lock acquired, processing the job...
[2025-01-12 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:01:02] Production.INFO: ==21530== Releasing lock...
[2025-01-12 20:01:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:01:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:01:02] Production.INFO: ==21528== Lock acquired, processing the job...
[2025-01-12 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:01:02] Production.INFO: ==21528== Releasing lock...
[2025-01-12 15:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:01:03] Production.INFO: ==21533== Lock acquired, processing the job...
[2025-01-12 15:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:01:03] Production.INFO: ==21535== Lock acquired, processing the job...
[2025-01-12 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:01:03] Production.INFO: ==21539== Lock acquired, processing the job...
[2025-01-12 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:01:03] Production.INFO: Account Balance Start.
[2025-01-12 15:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:01:03] Production.INFO: 117
[2025-01-12 15:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:01:03] Production.INFO: ==21535== Releasing lock...
[2025-01-12 15:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:01:03] Production.INFO: ==21543== Lock acquired, processing the job...
[2025-01-12 15:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:01:03] Production.INFO: ==21537== Lock acquired, processing the job...
[2025-01-12 15:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:01:03] Production.INFO: Total Charge 0
[2025-01-12 15:01:03] Production.INFO: CreateAllLog End
[2025-01-12 15:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:01:03] Production.INFO: Account Balance End.
[2025-01-12 15:01:03] Production.INFO: ==21541== Lock acquired, processing the job...
[2025-01-12 15:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15: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-01-12 15:01:03] Production.ERROR: CronJobId end 12
[2025-01-12 15:01:03] Production.INFO: ==21539== Releasing lock...
[2025-01-12 15:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:01:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:01:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:01:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:01:04] Production.INFO: count ==21
[2025-01-12 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232379') start
[2025-01-12 15:01:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232379') end
[2025-01-12 15:01:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:01:04] Production.INFO: 1
[2025-01-12 15:01:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:01:04] Production.ERROR: done
[2025-01-12 15:01:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:01:04] Production.INFO: ==21543== Releasing lock...
[2025-01-12 15:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:01:04] Production.ERROR: done
[2025-01-12 15:01:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:01:05
[end_date_ymd] => 2025-01-12 15:01:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:01:05' and `end` < '2025-01-12 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-01-12 15:01:11] Production.ERROR: CronJobId end10
[2025-01-12 15:01:11] Production.INFO: ==21537== Releasing lock...
[2025-01-12 15:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:01:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:01:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:01:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:01:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:01:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:01:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:01:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:01:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:01:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:01:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:01:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:01:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:01:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:01:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:01:14] Production.INFO: call_cost start
[2025-01-12 15:01:14] Production.INFO: call_cost end
[2025-01-12 15:01:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:01:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:01:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:01:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:01:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:01:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:01:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:01:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:01:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:01:15] Production.INFO: ==21533== Releasing lock...
[2025-01-12 15:01:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:01:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:01:18] Production.INFO: count ==1193
[2025-01-12 15:01:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:01:05 - End Time 2025-01-12 15:01:05
[2025-01-12 15:01:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232380', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232380', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232380', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:01:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232380', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:01:19] Production.INFO: ProcessCDR(1,14232380,1,1,2)
[2025-01-12 15:01:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:01:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232380,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:01:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:01:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232380,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232380', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:01:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232380', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:01:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:01:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:01:23] Production.INFO: ==21541== Releasing lock...
[2025-01-12 15:01:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:01:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:02:01] Production.INFO: ==21644== Lock acquired, processing the job...
[2025-01-12 20:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:02:01] Production.INFO: neon service started
[2025-01-12 20:02:01] Production.INFO: neon service started
[2025-01-12 20:02:01] Production.INFO: ==21644== Releasing lock...
[2025-01-12 20:02:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:02:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:02:02] Production.INFO: ==21646== Lock acquired, processing the job...
[2025-01-12 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:02:02] Production.INFO: ==21648== Lock acquired, processing the job...
[2025-01-12 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:02:02] Production.INFO: ==21648== Releasing lock...
[2025-01-12 20:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:02:02] Production.INFO: ==21646== Releasing lock...
[2025-01-12 15:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:02:03] Production.INFO: ==21651== Lock acquired, processing the job...
[2025-01-12 15:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:02:03] Production.INFO: ==21653== Lock acquired, processing the job...
[2025-01-12 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:02:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:02:03] Production.INFO: ==21659== Lock acquired, processing the job...
[2025-01-12 15:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:02:03] Production.INFO: ==21655== Lock acquired, processing the job...
[2025-01-12 15:02:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:02:03] Production.INFO: ==21657== Lock acquired, processing the job...
[2025-01-12 15:02:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:02:03] Production.INFO: ==21661== Lock acquired, processing the job...
[2025-01-12 15:02:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:02:03] Production.INFO: ==21653== Releasing lock...
[2025-01-12 15:02:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:02:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:02:03] Production.INFO: Account Balance Start.
[2025-01-12 15:02:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:02:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:02:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:02:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:02:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:02:03] Production.INFO: 117
[2025-01-12 15:02:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:02:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:02:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:02:03] Production.INFO: count ==21
[2025-01-12 15:02:03] Production.ERROR: done
[2025-01-12 15:02:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:02:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:02:03] Production.INFO: count ==21
[2025-01-12 15:02:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232384') start
[2025-01-12 15:02:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:02:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:02:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:02:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:02:04] Production.INFO: Total Charge 0
[2025-01-12 15:02:04] Production.ERROR: done
[2025-01-12 15:02:04] Production.INFO: CreateAllLog End
[2025-01-12 15:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232384') end
[2025-01-12 15:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:02:04] Production.INFO: 1
[2025-01-12 15:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:02:04] Production.INFO: ==21661== Releasing lock...
[2025-01-12 15:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:02:04] Production.INFO: Account Balance End.
[2025-01-12 15:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:02:04] Production.INFO: ==21657== Releasing lock...
[2025-01-12 15:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:02:05
[end_date_ymd] => 2025-01-12 15:02:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:02:05' and `end` < '2025-01-12 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-01-12 15:02:12] Production.ERROR: CronJobId end10
[2025-01-12 15:02:12] Production.INFO: ==21655== Releasing lock...
[2025-01-12 15:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:02:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:02:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:02:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:02:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:02:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:02:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:02:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:02:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:02:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:02:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:02:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:02:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:02:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:02:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:02:14] Production.INFO: call_cost start
[2025-01-12 15:02:14] Production.INFO: call_cost end
[2025-01-12 15:02:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:02:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:02:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:02:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:02:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:02:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:02:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:02:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:02:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:02:14] Production.INFO: ==21651== Releasing lock...
[2025-01-12 15:02:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:02:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:02:18] Production.INFO: count ==1178
[2025-01-12 15:02:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:02:05 - End Time 2025-01-12 15:02:05
[2025-01-12 15:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232385', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232385', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232385', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232385', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:02:19] Production.INFO: ProcessCDR(1,14232385,1,1,2)
[2025-01-12 15:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232385,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232385,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232385', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232385', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:02:22] Production.INFO: ==21659== Releasing lock...
[2025-01-12 15:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:02:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:03:02] Production.INFO: ==21773== Lock acquired, processing the job...
[2025-01-12 20:03:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:03:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:03:02] Production.INFO: neon service started
[2025-01-12 20:03:02] Production.INFO: neon service started
[2025-01-12 20:03:02] Production.INFO: ==21773== Releasing lock...
[2025-01-12 20:03:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:03:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:03:02] Production.INFO: ==21775== Lock acquired, processing the job...
[2025-01-12 15:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:03:02] Production.INFO: ==21777== Lock acquired, processing the job...
[2025-01-12 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:03:02] Production.INFO: ==21777== Releasing lock...
[2025-01-12 20:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:03:03] Production.INFO: ==21775== Releasing lock...
[2025-01-12 15:03:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:03:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:03:03] Production.INFO: ==21780== Lock acquired, processing the job...
[2025-01-12 15:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:03:03] Production.INFO: ==21782== Lock acquired, processing the job...
[2025-01-12 15:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:03:03] Production.INFO: ==21788== Lock acquired, processing the job...
[2025-01-12 15:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:03:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:03:04] Production.INFO: ==21784== Lock acquired, processing the job...
[2025-01-12 15:03:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:03:04] Production.INFO: ==21786== Lock acquired, processing the job...
[2025-01-12 15:03:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:03:04] Production.INFO: ==21790== Lock acquired, processing the job...
[2025-01-12 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:03:04] Production.INFO: Account Balance Start.
[2025-01-12 15:03:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:03:04] Production.INFO: ==21782== Releasing lock...
[2025-01-12 15:03:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:03:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:03:04] Production.INFO: 117
[2025-01-12 15:03:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:03:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:03:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:03:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:03:04] Production.ERROR: done
[2025-01-12 15:03:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:03:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 15:03:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:03:04] Production.INFO: count ==21
[2025-01-12 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232389') start
[2025-01-12 15:03:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:03:04] Production.ERROR: done
[2025-01-12 15:03:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232389') end
[2025-01-12 15:03:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:03:04] Production.INFO: 1
[2025-01-12 15:03:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:03:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:03:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:03:04] Production.INFO: ==21790== Releasing lock...
[2025-01-12 15:03:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:03:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:03:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:03:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:03:04] Production.INFO: Total Charge 0
[2025-01-12 15:03:04] Production.INFO: CreateAllLog End
[2025-01-12 15:03:04] Production.INFO: Account Balance End.
[2025-01-12 15:03:05] Production.ERROR: CronJobId end 12
[2025-01-12 15:03:05] Production.INFO: ==21786== Releasing lock...
[2025-01-12 15:03:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:03:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:03:05
[end_date_ymd] => 2025-01-12 15:03:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:03:05' and `end` < '2025-01-12 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-01-12 15:03:11] Production.ERROR: CronJobId end10
[2025-01-12 15:03:11] Production.INFO: ==21784== Releasing lock...
[2025-01-12 15:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:03:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:03:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:03:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:03:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:03:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:03:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:03:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:03:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:03:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:03:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:03:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:03:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:03:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:03:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:03:14] Production.INFO: call_cost start
[2025-01-12 15:03:14] Production.INFO: call_cost end
[2025-01-12 15:03:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:03:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:03:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:03:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:03:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:03:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:03:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:03:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:03:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:03:15] Production.INFO: ==21780== Releasing lock...
[2025-01-12 15:03:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:03:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:03:19] Production.INFO: count ==1172
[2025-01-12 15:03:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:03:05 - End Time 2025-01-12 15:03:05
[2025-01-12 15:03:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232390', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232390', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232390', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:03:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232390', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:03:19] Production.INFO: ProcessCDR(1,14232390,1,1,2)
[2025-01-12 15:03:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:03:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232390,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:03:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:03:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232390,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232390', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:03:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232390', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:03:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:03:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:03:23] Production.INFO: ==21788== Releasing lock...
[2025-01-12 15:03:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:03:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:04:01] Production.INFO: ==21886== Lock acquired, processing the job...
[2025-01-12 20:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:04:01] Production.INFO: neon service started
[2025-01-12 20:04:01] Production.INFO: neon service started
[2025-01-12 20:04:01] Production.INFO: ==21886== Releasing lock...
[2025-01-12 20:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:04:02] Production.INFO: ==21888== Lock acquired, processing the job...
[2025-01-12 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:04:02] Production.INFO: ==21888== Releasing lock...
[2025-01-12 15:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:04:02] Production.INFO: ==21890== Lock acquired, processing the job...
[2025-01-12 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:04:02] Production.INFO: ==21890== Releasing lock...
[2025-01-12 20:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:04:03] Production.INFO: ==21897== Lock acquired, processing the job...
[2025-01-12 15:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:04:03] Production.INFO: ==21903== Lock acquired, processing the job...
[2025-01-12 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:04:03] Production.INFO: ==21893== Lock acquired, processing the job...
[2025-01-12 15:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:04:03] Production.INFO: ==21895== Lock acquired, processing the job...
[2025-01-12 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:04:03] Production.INFO: ==21899== Lock acquired, processing the job...
[2025-01-12 15:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:04:03] Production.INFO: ==21901== Lock acquired, processing the job...
[2025-01-12 15:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:04:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:04:03] Production.INFO: Account Balance Start.
[2025-01-12 15:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:04:03] Production.INFO: 117
[2025-01-12 15:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:04:03] Production.INFO: count ==21
[2025-01-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:04:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:04:03] Production.INFO: count ==21
[2025-01-12 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232391') start
[2025-01-12 15:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:04:03] Production.ERROR: done
[2025-01-12 15:04:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:04:03] Production.INFO: ==21895== Releasing lock...
[2025-01-12 15:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:04:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:04:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232391') end
[2025-01-12 15:04:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:04:03] Production.INFO: 1
[2025-01-12 15:04:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:04:03] Production.ERROR: done
[2025-01-12 15:04:03] Production.INFO: ==21903== Releasing lock...
[2025-01-12 15:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:04:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:04:03] Production.INFO: Total Charge 0
[2025-01-12 15:04:03] Production.INFO: CreateAllLog End
[2025-01-12 15:04:04] Production.INFO: Account Balance End.
[2025-01-12 15:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:04:04] Production.INFO: ==21899== Releasing lock...
[2025-01-12 15:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:04:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:04:04
[end_date_ymd] => 2025-01-12 15:04:04
[RateCDR] => 1
)
[2025-01-12 15:04:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:04:04' and `end` < '2025-01-12 15:04:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:04:11] Production.ERROR: CronJobId end10
[2025-01-12 15:04:11] Production.INFO: ==21897== Releasing lock...
[2025-01-12 15:04:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:04:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:04:13] Production.INFO: call_cost start
[2025-01-12 15:04:13] Production.INFO: call_cost end
[2025-01-12 15:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:04:14] Production.INFO: ==21893== Releasing lock...
[2025-01-12 15:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:04:19] Production.INFO: count ==1180
[2025-01-12 15:04:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:04:04 - End Time 2025-01-12 15:04:04
[2025-01-12 15:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232395', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232395', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232395', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232395', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:04:19] Production.INFO: ProcessCDR(1,14232395,1,1,2)
[2025-01-12 15:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:04:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232395,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:04:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:04:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232395,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232395', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:04:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232395', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:04:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:04:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:04:23] Production.INFO: ==21901== Releasing lock...
[2025-01-12 15:04:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:04:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:05:02] Production.INFO: ==22068== Lock acquired, processing the job...
[2025-01-12 20:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:05:02] Production.INFO: neon service started
[2025-01-12 20:05:02] Production.INFO: neon service started
[2025-01-12 20:05:02] Production.INFO: ==22068== Releasing lock...
[2025-01-12 20:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:05:02] Production.INFO: ==22070== Lock acquired, processing the job...
[2025-01-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:05:02] Production.INFO: ==22072== Lock acquired, processing the job...
[2025-01-12 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:05:02] Production.INFO: ==22072== Releasing lock...
[2025-01-12 20:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:05:02] Production.INFO: ==22070== Releasing lock...
[2025-01-12 15:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:05:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:05:03] Production.INFO: ==22080== Lock acquired, processing the job...
[2025-01-12 15:05:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:05:03] Production.INFO: ==22084== Lock acquired, processing the job...
[2025-01-12 15:05:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:05:03] Production.INFO: Account Balance Start.
[2025-01-12 15:05:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:05:03] Production.INFO: 117
[2025-01-12 15:05:03] Production.INFO: ==22074== Lock acquired, processing the job...
[2025-01-12 15:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15: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-01-12 15:05:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:05:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:05:03] Production.INFO: count ==21
[2025-01-12 15:05:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 15:05:04] Production.INFO: count ==21
[2025-01-12 15:05:04] Production.INFO: ==22076== Lock acquired, processing the job...
[2025-01-12 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232397') start
[2025-01-12 15:05:04] Production.INFO: ==22078== Lock acquired, processing the job...
[2025-01-12 15:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:05:04] Production.INFO: ==22082== Lock acquired, processing the job...
[2025-01-12 15:05:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232397') end
[2025-01-12 15:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:05:04] Production.INFO: 1
[2025-01-12 15:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:05:04] Production.INFO: ==22084== Releasing lock...
[2025-01-12 15:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:05:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:05:04] Production.INFO: Total Charge 0
[2025-01-12 15:05:04] Production.INFO: CreateAllLog End
[2025-01-12 15:05:04] Production.INFO: ==22076== Releasing lock...
[2025-01-12 15:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:05:04] Production.INFO: Account Balance End.
[2025-01-12 15:05:04] Production.ERROR: done
[2025-01-12 15:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:05:04] Production.INFO: ==22080== Releasing lock...
[2025-01-12 15:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:05:04] Production.ERROR: done
[2025-01-12 15:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:05:05
[end_date_ymd] => 2025-01-12 15:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:05:05' and `end` < '2025-01-12 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-01-12 15:05:12] Production.ERROR: CronJobId end10
[2025-01-12 15:05:12] Production.INFO: ==22078== Releasing lock...
[2025-01-12 15:05:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:05:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:05:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:05:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:05:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:05:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:05:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:05:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:05:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:05:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:05:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:05:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:05:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:05:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:05:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:05:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:05:13] Production.INFO: call_cost start
[2025-01-12 15:05:13] Production.INFO: call_cost end
[2025-01-12 15:05:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:05:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:05:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:05:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:05:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:05:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:05:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:05:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:05:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:05:14] Production.INFO: ==22074== Releasing lock...
[2025-01-12 15:05:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:05:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:05:18] Production.INFO: count ==1192
[2025-01-12 15:05:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:05:05 - End Time 2025-01-12 15:05:05
[2025-01-12 15:05:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232400', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232400', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232400', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:05:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232400', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:05:18] Production.INFO: ProcessCDR(1,14232400,1,1,2)
[2025-01-12 15:05:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:05:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232400,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:05:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:05:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232400,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232400', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:05:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232400', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:05:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:05:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:05:23] Production.INFO: ==22082== Releasing lock...
[2025-01-12 15:05:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:05:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:06:01] Production.INFO: ==22173== Lock acquired, processing the job...
[2025-01-12 20:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:06:01] Production.INFO: neon service started
[2025-01-12 20:06:01] Production.INFO: neon service started
[2025-01-12 20:06:01] Production.INFO: ==22173== Releasing lock...
[2025-01-12 20:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:06:01] Production.INFO: ==22176== Lock acquired, processing the job...
[2025-01-12 15:06:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:06:02] Production.INFO: ==22176== Releasing lock...
[2025-01-12 15:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:06:02] Production.INFO: ==22178== Lock acquired, processing the job...
[2025-01-12 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:06:02] Production.INFO: ==22178== Releasing lock...
[2025-01-12 20:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:06:02] Production.INFO: ==22180== Lock acquired, processing the job...
[2025-01-12 15:06:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:06:03] Production.INFO: ==22182== Lock acquired, processing the job...
[2025-01-12 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:06:03] Production.INFO: ==22186== Lock acquired, processing the job...
[2025-01-12 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:06:03] Production.INFO: Account Balance Start.
[2025-01-12 15:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:06:03] Production.INFO: 117
[2025-01-12 15:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:06:03] Production.INFO: ==22188== Lock acquired, processing the job...
[2025-01-12 15:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:06:03] Production.INFO: ==22182== Releasing lock...
[2025-01-12 15:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:06:03] Production.INFO: ==22190== Lock acquired, processing the job...
[2025-01-12 15:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:06:03] Production.INFO: ==22184== Lock acquired, processing the job...
[2025-01-12 15:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:06:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:06:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:06:03] Production.INFO: Total Charge 0
[2025-01-12 15:06:03] Production.INFO: CreateAllLog End
[2025-01-12 15:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:06:03] Production.ERROR: done
[2025-01-12 15:06:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:06:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:06:03] Production.INFO: count ==21
[2025-01-12 15:06:03] Production.ERROR: done
[2025-01-12 15:06:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:06:03] Production.INFO: count ==21
[2025-01-12 15:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232404') start
[2025-01-12 15:06:03] Production.INFO: Account Balance End.
[2025-01-12 15:06:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232404') end
[2025-01-12 15:06:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:06:03] Production.INFO: 1
[2025-01-12 15:06:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:06:03] Production.ERROR: CronJobId end 12
[2025-01-12 15:06:03] Production.INFO: ==22186== Releasing lock...
[2025-01-12 15:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:06:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:06:04] Production.INFO: ==22190== Releasing lock...
[2025-01-12 15:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:06:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:06:04
[end_date_ymd] => 2025-01-12 15:06:04
[RateCDR] => 1
)
[2025-01-12 15:06:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:06:04' and `end` < '2025-01-12 15:06:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:06:11] Production.ERROR: CronJobId end10
[2025-01-12 15:06:11] Production.INFO: ==22184== Releasing lock...
[2025-01-12 15:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:06:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:06:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:06:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:06:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:06:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:06:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:06:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:06:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:06:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:06:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:06:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:06:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:06:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:06:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:06:13] Production.INFO: call_cost start
[2025-01-12 15:06:13] Production.INFO: call_cost end
[2025-01-12 15:06:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:06:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:06:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:06:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:06:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:06:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:06:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:06:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:06:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:06:14] Production.INFO: ==22180== Releasing lock...
[2025-01-12 15:06:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:06:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:06:17] Production.INFO: count ==1186
[2025-01-12 15:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:06:04 - End Time 2025-01-12 15:06:04
[2025-01-12 15:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232405', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232405', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232405', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232405', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:06:18] Production.INFO: ProcessCDR(1,14232405,1,1,2)
[2025-01-12 15:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:06:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232405,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:06:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:06:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232405,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232405', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:06:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232405', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:06:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:06:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:06:22] Production.INFO: ==22188== Releasing lock...
[2025-01-12 15:06:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:06:22] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 20:07:01] Production.INFO: ==22282== Lock acquired, processing the job...
[2025-01-12 20:07:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:07:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:07:02] Production.INFO: neon service started
[2025-01-12 20:07:02] Production.INFO: neon service started
[2025-01-12 20:07:02] Production.INFO: ==22282== Releasing lock...
[2025-01-12 20:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:07:02] Production.INFO: ==22284== Lock acquired, processing the job...
[2025-01-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:07:02] Production.INFO: ==22286== Lock acquired, processing the job...
[2025-01-12 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:07:02] Production.INFO: ==22284== Releasing lock...
[2025-01-12 15:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:07:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:07:02] Production.INFO: ==22286== Releasing lock...
[2025-01-12 20:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:07:03] Production.INFO: ==22295== Lock acquired, processing the job...
[2025-01-12 15:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:07:03] Production.INFO: ==22289== Lock acquired, processing the job...
[2025-01-12 15:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:07:03] Production.INFO: ==22291== Lock acquired, processing the job...
[2025-01-12 15:07:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:07:03] Production.INFO: Account Balance Start.
[2025-01-12 15:07:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:07:03] Production.INFO: 117
[2025-01-12 15:07:03] Production.INFO: ==22299== Lock acquired, processing the job...
[2025-01-12 15:07:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:07:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:07:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:07:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:07:03] Production.INFO: ==22293== Lock acquired, processing the job...
[2025-01-12 15:07:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 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-01-12 15:07:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:07:03] Production.INFO: count ==21
[2025-01-12 15:07:03] Production.INFO: ==22297== Lock acquired, processing the job...
[2025-01-12 15:07:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 15:07:03] Production.INFO: count ==21
[2025-01-12 15:07:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:07:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:07:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232409') start
[2025-01-12 15:07:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:07:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:07:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:07:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:07:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:07:04] Production.INFO: Total Charge 0
[2025-01-12 15:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232409') end
[2025-01-12 15:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:07:04] Production.INFO: 1
[2025-01-12 15:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:07:04] Production.INFO: CreateAllLog End
[2025-01-12 15:07:04] Production.INFO: ==22291== Releasing lock...
[2025-01-12 15:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:07:04] Production.INFO: ==22299== Releasing lock...
[2025-01-12 15:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:07:04] Production.ERROR: done
[2025-01-12 15:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:07:04] Production.INFO: Account Balance End.
[2025-01-12 15:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:07:04] Production.INFO: ==22295== Releasing lock...
[2025-01-12 15:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:07:04] Production.ERROR: done
[2025-01-12 15:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:07:05
[end_date_ymd] => 2025-01-12 15:07:05
[RateCDR] => 1
)
[2025-01-12 15:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:07:05' and `end` < '2025-01-12 15:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:07:12] Production.ERROR: CronJobId end10
[2025-01-12 15:07:12] Production.INFO: ==22293== Releasing lock...
[2025-01-12 15:07:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:07:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:07:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:07:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:07:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:07:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:07:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:07:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:07:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:07:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:07:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:07:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:07:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:07:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:07:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:07:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:07:14] Production.INFO: call_cost start
[2025-01-12 15:07:14] Production.INFO: call_cost end
[2025-01-12 15:07:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:07:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:07:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:07:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:07:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:07:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:07:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:07:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:07:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:07:14] Production.INFO: ==22289== Releasing lock...
[2025-01-12 15:07:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:07:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:07:18] Production.INFO: count ==1182
[2025-01-12 15:07:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:07:05 - End Time 2025-01-12 15:07:05
[2025-01-12 15:07:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232410', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232410', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232410', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:07:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232410', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:07:18] Production.INFO: ProcessCDR(1,14232410,1,1,2)
[2025-01-12 15:07:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:07:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232410,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:07:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:07:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232410,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232410', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:07:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232410', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:07:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:07:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:07:23] Production.INFO: ==22297== Releasing lock...
[2025-01-12 15:07:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:07:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:08:01] Production.INFO: ==22471== Lock acquired, processing the job...
[2025-01-12 20:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:08:01] Production.INFO: neon service started
[2025-01-12 20:08:01] Production.INFO: neon service started
[2025-01-12 20:08:01] Production.INFO: ==22471== Releasing lock...
[2025-01-12 20:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:08:02] Production.INFO: ==22473== Lock acquired, processing the job...
[2025-01-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:08:02] Production.INFO: ==22475== Lock acquired, processing the job...
[2025-01-12 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:08:02] Production.INFO: ==22475== Releasing lock...
[2025-01-12 20:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:08:02] Production.INFO: ==22473== Releasing lock...
[2025-01-12 15:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:08:03] Production.INFO: ==22478== Lock acquired, processing the job...
[2025-01-12 15:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:08:03] Production.INFO: ==22480== Lock acquired, processing the job...
[2025-01-12 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:08:03] Production.INFO: ==22484== Lock acquired, processing the job...
[2025-01-12 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:08:03] Production.INFO: Account Balance Start.
[2025-01-12 15:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:08:03] Production.INFO: 117
[2025-01-12 15:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:08:03] Production.INFO: ==22482== Lock acquired, processing the job...
[2025-01-12 15:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:08:03] Production.INFO: ==22480== Releasing lock...
[2025-01-12 15:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:08:03] Production.INFO: Total Charge 0
[2025-01-12 15:08:03] Production.INFO: CreateAllLog End
[2025-01-12 15:08:03] Production.INFO: ==22486== Lock acquired, processing the job...
[2025-01-12 15:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:08:03] Production.INFO: ==22488== Lock acquired, processing the job...
[2025-01-12 15:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 15:08:03] Production.INFO: Account Balance End.
[2025-01-12 15:08:03] Production.INFO: count ==21
[2025-01-12 15:08:03] Production.ERROR: done
[2025-01-12 15:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 15:08:03] Production.INFO: count ==21
[2025-01-12 15:08:03] Production.ERROR: CronJobId end 12
[2025-01-12 15:08:03] Production.INFO: ==22484== Releasing lock...
[2025-01-12 15:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232414') start
[2025-01-12 15:08:04] Production.ERROR: done
[2025-01-12 15:08:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232414') end
[2025-01-12 15:08:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:08:04] Production.INFO: 1
[2025-01-12 15:08:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:08:04] Production.INFO: ==22488== Releasing lock...
[2025-01-12 15:08:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:08:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:08:04
[end_date_ymd] => 2025-01-12 15:08:04
[RateCDR] => 1
)
[2025-01-12 15:08:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:08:04' and `end` < '2025-01-12 15:08:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:08:11] Production.ERROR: CronJobId end10
[2025-01-12 15:08:11] Production.INFO: ==22482== Releasing lock...
[2025-01-12 15:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:08:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:08:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:08:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:08:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:08:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:08:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:08:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:08:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:08:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:08:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:08:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:08:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:08:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:08:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:08:13] Production.INFO: call_cost start
[2025-01-12 15:08:13] Production.INFO: call_cost end
[2025-01-12 15:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:08:14] Production.INFO: ==22478== Releasing lock...
[2025-01-12 15:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:08:19] Production.INFO: count ==1183
[2025-01-12 15:08:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:08:04 - End Time 2025-01-12 15:08:04
[2025-01-12 15:08:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232415', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232415', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232415', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:08:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232415', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:08:19] Production.INFO: ProcessCDR(1,14232415,1,1,2)
[2025-01-12 15:08:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:08:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232415,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:08:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:08:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232415,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:08:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232415', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:08:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232415', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:08:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:08:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:08:24] Production.INFO: ==22486== Releasing lock...
[2025-01-12 15:08:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:08:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:09:01] Production.INFO: ==22586== Lock acquired, processing the job...
[2025-01-12 20:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:09:01] Production.INFO: neon service started
[2025-01-12 20:09:01] Production.INFO: neon service started
[2025-01-12 20:09:01] Production.INFO: ==22586== Releasing lock...
[2025-01-12 20:09:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:09:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:09:02] Production.INFO: ==22588== Lock acquired, processing the job...
[2025-01-12 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:09:02] Production.INFO: ==22588== Releasing lock...
[2025-01-12 15:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:09:02] Production.INFO: ==22590== Lock acquired, processing the job...
[2025-01-12 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:09:02] Production.INFO: ==22590== Releasing lock...
[2025-01-12 20:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:09:03] Production.INFO: ==22600== Lock acquired, processing the job...
[2025-01-12 15:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:09:03] Production.INFO: ==22602== Lock acquired, processing the job...
[2025-01-12 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:09:03] Production.INFO: ==22592== Lock acquired, processing the job...
[2025-01-12 15:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:09:03] Production.ERROR: done
[2025-01-12 15:09:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:09:03] Production.INFO: ==22594== Lock acquired, processing the job...
[2025-01-12 15:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:09:03] Production.INFO: ==22598== Lock acquired, processing the job...
[2025-01-12 15:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:09:03] Production.INFO: ==22596== Lock acquired, processing the job...
[2025-01-12 15:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:09:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:09:03] Production.INFO: count ==21
[2025-01-12 15:09:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:09:03] Production.INFO: count ==21
[2025-01-12 15:09:03] Production.ERROR: done
[2025-01-12 15:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232416') start
[2025-01-12 15:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:09:03] Production.INFO: Account Balance Start.
[2025-01-12 15:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:09:03] Production.INFO: 117
[2025-01-12 15:09:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232416') end
[2025-01-12 15:09:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:09:03] Production.INFO: 1
[2025-01-12 15:09:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:09:03] Production.INFO: ==22602== Releasing lock...
[2025-01-12 15:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:09:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:09:04] Production.INFO: ==22594== Releasing lock...
[2025-01-12 15:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:09:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:09:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:09:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:09:04] Production.INFO: Total Charge 0
[2025-01-12 15:09:04] Production.INFO: CreateAllLog End
[2025-01-12 15:09:04] Production.INFO: Account Balance End.
[2025-01-12 15:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:09:04] Production.INFO: ==22598== Releasing lock...
[2025-01-12 15:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:09:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:09:04
[end_date_ymd] => 2025-01-12 15:09:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:09:04' and `end` < '2025-01-12 15: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-01-12 15:09:11] Production.ERROR: CronJobId end10
[2025-01-12 15:09:11] Production.INFO: ==22596== Releasing lock...
[2025-01-12 15:09:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:09:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:09:13] Production.INFO: call_cost start
[2025-01-12 15:09:13] Production.INFO: call_cost end
[2025-01-12 15:09:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:09:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:09:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:09:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:09:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:09:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:09:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:09:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:09:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:09:14] Production.INFO: ==22592== Releasing lock...
[2025-01-12 15:09:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:09:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:09:19] Production.INFO: count ==1183
[2025-01-12 15:09:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:09:04 - End Time 2025-01-12 15:09:04
[2025-01-12 15:09:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232420', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232420', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232420', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232420', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:09:19] Production.INFO: ProcessCDR(1,14232420,1,1,2)
[2025-01-12 15:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232420,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232420,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232420', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232420', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:09:23] Production.INFO: ==22600== Releasing lock...
[2025-01-12 15:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:09:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:10:02] Production.INFO: ==22694== Lock acquired, processing the job...
[2025-01-12 20:10:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:10:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:10:02] Production.INFO: neon service started
[2025-01-12 20:10:02] Production.INFO: neon service started
[2025-01-12 20:10:02] Production.INFO: ==22694== Releasing lock...
[2025-01-12 20:10:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:10:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:10:02] Production.INFO: ==22696== Lock acquired, processing the job...
[2025-01-12 15:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:10:02] Production.INFO: ==22698== Lock acquired, processing the job...
[2025-01-12 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:10:02] Production.INFO: ==22698== Releasing lock...
[2025-01-12 20:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:10:03] Production.INFO: ==22696== Releasing lock...
[2025-01-12 15:10:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:10:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:10:03] Production.INFO: ==22703== Lock acquired, processing the job...
[2025-01-12 15:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 15:10:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 15:10:04] Production.INFO: ==22707== Lock acquired, processing the job...
[2025-01-12 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:10:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 15:10:04] Production.INFO: ==22703== Releasing lock...
[2025-01-12 15:10:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 15:10:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 15:10:04] Production.INFO: ==22711== Lock acquired, processing the job...
[2025-01-12 15:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:10:04] Production.INFO: ==22705== Lock acquired, processing the job...
[2025-01-12 15:10:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:10:04] Production.INFO: Account Balance Start.
[2025-01-12 15:10:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:10:04] Production.INFO: 117
[2025-01-12 15:10:04] Production.INFO: ==22715== Lock acquired, processing the job...
[2025-01-12 15:10:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 15:10:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:10:04] Production.INFO: ==22709== Lock acquired, processing the job...
[2025-01-12 15:10:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:10:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:10:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:10:04] Production.INFO: ==22707== Releasing lock...
[2025-01-12 15:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:10:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:10:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:10:04] Production.INFO: ==22713== Lock acquired, processing the job...
[2025-01-12 15:10:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:10:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:10:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:10:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:10:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:10:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:10:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:10:04] Production.INFO: ==22717== Lock acquired, processing the job...
[2025-01-12 15:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:10:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:10:04] Production.INFO: Total Charge 0
[2025-01-12 15:10:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 15:10:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:10:04] Production.INFO: count ==21
[2025-01-12 15:10:04] Production.ERROR: done
[2025-01-12 15:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232424') start
[2025-01-12 15:10:04] Production.ERROR: done
[2025-01-12 15:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 15:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232425', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 15:10:05] Production.INFO: Account Balance End.
[2025-01-12 15:10:05] Production.ERROR: CronJobId end 12
[2025-01-12 15:10:05] Production.ERROR: PBX CALL prc_importPBXExtension('14232424') end
[2025-01-12 15:10:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:10:05] Production.INFO: ==22711== Releasing lock...
[2025-01-12 15:10:05] Production.INFO: 1
[2025-01-12 15:10:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:10:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:10:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:10:05] Production.ERROR: done
[2025-01-12 15:10:05] Production.INFO: ==22717== Releasing lock...
[2025-01-12 15:10:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:10:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:10:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:10:06
[end_date_ymd] => 2025-01-12 15:10:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:10:06' and `end` < '2025-01-12 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-01-12 15:10:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232425', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 15:10:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 15:10:09] Production.INFO: ProcessCDR(1,14232425,1,1,2)
[2025-01-12 15:10:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232425,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:10:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232425,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:10:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:10:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:10:09] Production.INFO: ==22715== Releasing lock...
[2025-01-12 15:10:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 15:10:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 15:10:13] Production.ERROR: CronJobId end10
[2025-01-12 15:10:13] Production.INFO: ==22709== Releasing lock...
[2025-01-12 15:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:10:15] Production.INFO: call_cost start
[2025-01-12 15:10:15] Production.INFO: call_cost end
[2025-01-12 15:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:10:16] Production.INFO: ==22705== Releasing lock...
[2025-01-12 15:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:10:19] Production.INFO: count ==1179
[2025-01-12 15:10:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:10:06 - End Time 2025-01-12 15:10:06
[2025-01-12 15:10:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232426', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232426', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232426', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:10:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232426', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:10:19] Production.INFO: ProcessCDR(1,14232426,1,1,2)
[2025-01-12 15:10:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232426,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232426,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232426', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232426', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:10:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:10:24] Production.INFO: ==22713== Releasing lock...
[2025-01-12 15:10:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:10:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:11:01] Production.INFO: ==22805== Lock acquired, processing the job...
[2025-01-12 20:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:11:01] Production.INFO: neon service started
[2025-01-12 20:11:01] Production.INFO: neon service started
[2025-01-12 20:11:01] Production.INFO: ==22805== Releasing lock...
[2025-01-12 20:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:11:01] Production.INFO: ==22807== Lock acquired, processing the job...
[2025-01-12 15:11:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:11:02] Production.INFO: ==22809== Lock acquired, processing the job...
[2025-01-12 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:11:02] Production.INFO: ==22807== Releasing lock...
[2025-01-12 15:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:11:02] Production.INFO: ==22809== Releasing lock...
[2025-01-12 20:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:11:02] Production.INFO: ==22819== Lock acquired, processing the job...
[2025-01-12 15:11:02] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:11:03] Production.INFO: ==22811== Lock acquired, processing the job...
[2025-01-12 15:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:11:03] Production.INFO: ==22817== Lock acquired, processing the job...
[2025-01-12 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:11:03] Production.INFO: ==22813== Lock acquired, processing the job...
[2025-01-12 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:11:03] Production.INFO: ==22815== Lock acquired, processing the job...
[2025-01-12 15:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:11:03] Production.ERROR: done
[2025-01-12 15:11:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:11:03] Production.INFO: ==22821== Lock acquired, processing the job...
[2025-01-12 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:11:03] Production.INFO: Account Balance Start.
[2025-01-12 15:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:11:03] Production.INFO: 117
[2025-01-12 15:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:11:03] Production.ERROR: done
[2025-01-12 15:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:11:03] Production.INFO: count ==21
[2025-01-12 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-01-12 15:11:03] Production.INFO: count ==21
[2025-01-12 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232430') start
[2025-01-12 15:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:11:03] Production.INFO: ==22813== Releasing lock...
[2025-01-12 15:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:11:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:11:03] Production.INFO: Total Charge 0
[2025-01-12 15:11:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232430') end
[2025-01-12 15:11:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:11:03] Production.INFO: 1
[2025-01-12 15:11:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:11:03] Production.INFO: CreateAllLog End
[2025-01-12 15:11:03] Production.INFO: ==22821== Releasing lock...
[2025-01-12 15:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:11:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:11:03] Production.INFO: Account Balance End.
[2025-01-12 15:11:03] Production.ERROR: CronJobId end 12
[2025-01-12 15:11:03] Production.INFO: ==22817== Releasing lock...
[2025-01-12 15:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:11:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:11:04
[end_date_ymd] => 2025-01-12 15:11:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:11:04' and `end` < '2025-01-12 15: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-01-12 15:11:11] Production.ERROR: CronJobId end10
[2025-01-12 15:11:11] Production.INFO: ==22815== Releasing lock...
[2025-01-12 15:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:11:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:11:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:11:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:11:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:11:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:11:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:11:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:11:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:11:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:11:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:11:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:11:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:11:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:11:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:11:12] Production.INFO: call_cost start
[2025-01-12 15:11:12] Production.INFO: call_cost end
[2025-01-12 15:11:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:11:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:11:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:11:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:11:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:11:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:11:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:11:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:11:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:11:13] Production.INFO: ==22811== Releasing lock...
[2025-01-12 15:11:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:11:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:11:17] Production.INFO: count ==1201
[2025-01-12 15:11:17] Production.ERROR: pbx CDR StartTime 2025-01-12 12:11:04 - End Time 2025-01-12 15:11:04
[2025-01-12 15:11:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232431', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232431', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232431', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:11:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232431', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:11:17] Production.INFO: ProcessCDR(1,14232431,1,1,2)
[2025-01-12 15:11:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:11:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232431,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:11:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:11:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232431,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232431', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:11:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232431', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:11:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:11:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:11:22] Production.INFO: ==22819== Releasing lock...
[2025-01-12 15:11:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:11:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:12:02] Production.INFO: ==22983== Lock acquired, processing the job...
[2025-01-12 20:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:12:02] Production.INFO: neon service started
[2025-01-12 20:12:02] Production.INFO: neon service started
[2025-01-12 20:12:02] Production.INFO: ==22983== Releasing lock...
[2025-01-12 20:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:12:02] Production.INFO: ==22990== Lock acquired, processing the job...
[2025-01-12 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:12:02] Production.INFO: ==22990== Releasing lock...
[2025-01-12 15:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:12:02] Production.INFO: ==22992== Lock acquired, processing the job...
[2025-01-12 20:12:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:12:03] Production.INFO: ==22992== Releasing lock...
[2025-01-12 20:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:12:03] Production.INFO: ==23004== Lock acquired, processing the job...
[2025-01-12 15:12:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:12:03] Production.INFO: ==23002== Lock acquired, processing the job...
[2025-01-12 15:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:12:03] Production.INFO: ==22994== Lock acquired, processing the job...
[2025-01-12 15:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:12:03] Production.INFO: ==22996== Lock acquired, processing the job...
[2025-01-12 15:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:12:03] Production.INFO: ==23000== Lock acquired, processing the job...
[2025-01-12 15:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:12:03] Production.INFO: ==22998== Lock acquired, processing the job...
[2025-01-12 15:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15: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-01-12 15:12:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:12:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:12:04] Production.INFO: count ==21
[2025-01-12 15:12:04] Production.INFO: Account Balance Start.
[2025-01-12 15:12:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232432') start
[2025-01-12 15:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:12:04] Production.INFO: 117
[2025-01-12 15:12:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232432') end
[2025-01-12 15:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:12:04] Production.INFO: 1
[2025-01-12 15:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:12:04] Production.ERROR: done
[2025-01-12 15:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:12:04] Production.INFO: ==23004== Releasing lock...
[2025-01-12 15:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:12:04] Production.INFO: Total Charge 0
[2025-01-12 15:12:04] Production.INFO: ==22996== Releasing lock...
[2025-01-12 15:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:12:04] Production.INFO: CreateAllLog End
[2025-01-12 15:12:04] Production.ERROR: done
[2025-01-12 15:12:04] Production.INFO: Account Balance End.
[2025-01-12 15:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:12:04] Production.INFO: ==23000== Releasing lock...
[2025-01-12 15:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:12:05
[end_date_ymd] => 2025-01-12 15:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:12:05' and `end` < '2025-01-12 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-01-12 15:12:12] Production.ERROR: CronJobId end10
[2025-01-12 15:12:12] Production.INFO: ==22998== Releasing lock...
[2025-01-12 15:12:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:12:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:12:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:12:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:12:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:12:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:12:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:12:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:12:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:12:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:12:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:12:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:12:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:12:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:12:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:12:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:12:14] Production.INFO: call_cost start
[2025-01-12 15:12:14] Production.INFO: call_cost end
[2025-01-12 15:12:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:12:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:12:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:12:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:12:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:12:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:12:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:12:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:12:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:12:15] Production.INFO: ==22994== Releasing lock...
[2025-01-12 15:12:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:12:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:12:18] Production.INFO: count ==1193
[2025-01-12 15:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:12:05 - End Time 2025-01-12 15:12:05
[2025-01-12 15:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232436', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232436', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232436', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232436', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:12:19] Production.INFO: ProcessCDR(1,14232436,1,1,2)
[2025-01-12 15:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232436,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232436,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232436', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232436', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:12:23] Production.INFO: ==23002== Releasing lock...
[2025-01-12 15:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:12:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:13:01] Production.INFO: ==23087== Lock acquired, processing the job...
[2025-01-12 20:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:13:01] Production.INFO: neon service started
[2025-01-12 20:13:01] Production.INFO: neon service started
[2025-01-12 20:13:01] Production.INFO: ==23087== Releasing lock...
[2025-01-12 20:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:13:01] Production.INFO: ==23089== Lock acquired, processing the job...
[2025-01-12 15:13:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:13:02] Production.INFO: ==23089== Releasing lock...
[2025-01-12 15:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:13:02] Production.INFO: ==23091== Lock acquired, processing the job...
[2025-01-12 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:13:02] Production.INFO: ==23091== Releasing lock...
[2025-01-12 20:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:13:03] Production.INFO: ==23100== Lock acquired, processing the job...
[2025-01-12 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:13:03] Production.INFO: ==23104== Lock acquired, processing the job...
[2025-01-12 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:13:03] Production.INFO: ==23096== Lock acquired, processing the job...
[2025-01-12 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:13:03] Production.INFO: Account Balance Start.
[2025-01-12 15:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:13:03] Production.INFO: 117
[2025-01-12 15:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:13:03] Production.INFO: ==23094== Lock acquired, processing the job...
[2025-01-12 15:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:13:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:13:03] Production.INFO: ==23098== Lock acquired, processing the job...
[2025-01-12 15:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:13:03] Production.INFO: count ==21
[2025-01-12 15: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-01-12 15:13:03] Production.INFO: count ==21
[2025-01-12 15:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232438') start
[2025-01-12 15:13:03] Production.INFO: ==23102== Lock acquired, processing the job...
[2025-01-12 15:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:13:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:13:03] Production.INFO: Total Charge 0
[2025-01-12 15:13:03] Production.INFO: ==23096== Releasing lock...
[2025-01-12 15:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:13:03] Production.INFO: CreateAllLog End
[2025-01-12 15:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232438') end
[2025-01-12 15:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:13:03] Production.INFO: 1
[2025-01-12 15:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:13:03] Production.INFO: ==23104== Releasing lock...
[2025-01-12 15:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:13:03] Production.INFO: Account Balance End.
[2025-01-12 15:13:03] Production.ERROR: CronJobId end 12
[2025-01-12 15:13:03] Production.INFO: ==23100== Releasing lock...
[2025-01-12 15:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:13:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:13:04] Production.ERROR: done
[2025-01-12 15:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:13:04] Production.ERROR: done
[2025-01-12 15:13:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:13:04
[end_date_ymd] => 2025-01-12 15:13:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:13:04' and `end` < '2025-01-12 15: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-01-12 15:13:10] Production.ERROR: CronJobId end10
[2025-01-12 15:13:10] Production.INFO: ==23098== Releasing lock...
[2025-01-12 15:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:13:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:13:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:13:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:13:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:13:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:13:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:13:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:13:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:13:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:13:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:13:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:13:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:13:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:13:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:13:13] Production.INFO: call_cost start
[2025-01-12 15:13:13] Production.INFO: call_cost end
[2025-01-12 15:13:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:13:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:13:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:13:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:13:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:13:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:13:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:13:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:13:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:13:14] Production.INFO: ==23094== Releasing lock...
[2025-01-12 15:13:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:13:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:13:18] Production.INFO: count ==1191
[2025-01-12 15:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:13:04 - End Time 2025-01-12 15:13:04
[2025-01-12 15:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232441', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232441', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232441', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232441', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:13:18] Production.INFO: ProcessCDR(1,14232441,1,1,2)
[2025-01-12 15:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:13:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232441,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:13:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:13:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232441,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232441', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:13:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232441', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:13:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:13:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:13:22] Production.INFO: ==23102== Releasing lock...
[2025-01-12 15:13:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:13:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:14:02] Production.INFO: ==23174== Lock acquired, processing the job...
[2025-01-12 20:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:14:02] Production.INFO: neon service started
[2025-01-12 20:14:02] Production.INFO: neon service started
[2025-01-12 20:14:02] Production.INFO: ==23174== Releasing lock...
[2025-01-12 20:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:14:02] Production.INFO: ==23178== Lock acquired, processing the job...
[2025-01-12 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:14:02] Production.INFO: ==23178== Releasing lock...
[2025-01-12 20:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:14:02] Production.INFO: ==23176== Lock acquired, processing the job...
[2025-01-12 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:14:02] Production.INFO: ==23176== Releasing lock...
[2025-01-12 15:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:14:03] Production.INFO: ==23181== Lock acquired, processing the job...
[2025-01-12 15:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:14:03] Production.INFO: ==23183== Lock acquired, processing the job...
[2025-01-12 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:14:03] Production.INFO: ==23189== Lock acquired, processing the job...
[2025-01-12 15:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:14:03] Production.INFO: ==23183== Releasing lock...
[2025-01-12 15:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:14:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:14:03] Production.INFO: ==23185== Lock acquired, processing the job...
[2025-01-12 15:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:14:04] Production.INFO: ==23187== Lock acquired, processing the job...
[2025-01-12 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:14:04] Production.INFO: ==23191== Lock acquired, processing the job...
[2025-01-12 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:14:04] Production.ERROR: done
[2025-01-12 15:14:04] Production.INFO: Account Balance Start.
[2025-01-12 15:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:14:04] Production.INFO: 117
[2025-01-12 15:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:14:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:14:04] Production.INFO: count ==21
[2025-01-12 15:14:04] Production.ERROR: done
[2025-01-12 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232445') start
[2025-01-12 15:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232445') end
[2025-01-12 15:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:14:04] Production.INFO: 1
[2025-01-12 15:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:14:04] Production.INFO: Total Charge 0
[2025-01-12 15:14:04] Production.INFO: ==23191== Releasing lock...
[2025-01-12 15:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:14:04] Production.INFO: CreateAllLog End
[2025-01-12 15:14:04] Production.INFO: Account Balance End.
[2025-01-12 15:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:14:04] Production.INFO: ==23187== Releasing lock...
[2025-01-12 15:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:14:05
[end_date_ymd] => 2025-01-12 15:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:14:05' and `end` < '2025-01-12 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-01-12 15:14:12] Production.ERROR: CronJobId end10
[2025-01-12 15:14:12] Production.INFO: ==23185== Releasing lock...
[2025-01-12 15:14:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:14:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:14:13] Production.INFO: call_cost start
[2025-01-12 15:14:13] Production.INFO: call_cost end
[2025-01-12 15:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:14:14] Production.INFO: ==23181== Releasing lock...
[2025-01-12 15:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:14:18] Production.INFO: count ==1194
[2025-01-12 15:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:14:05 - End Time 2025-01-12 15:14:05
[2025-01-12 15:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232446', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232446', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232446', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232446', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:14:19] Production.INFO: ProcessCDR(1,14232446,1,1,2)
[2025-01-12 15:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:14:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232446,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:14:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:14:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232446,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232446', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:14:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232446', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:14:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:14:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:14:23] Production.INFO: ==23189== Releasing lock...
[2025-01-12 15:14:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:14:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:15:01] Production.INFO: ==23347== Lock acquired, processing the job...
[2025-01-12 20:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:15:01] Production.INFO: neon service started
[2025-01-12 20:15:01] Production.INFO: neon service started
[2025-01-12 20:15:01] Production.INFO: ==23347== Releasing lock...
[2025-01-12 20:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:15:01] Production.INFO: ==23351== Lock acquired, processing the job...
[2025-01-12 20:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:15:01] Production.INFO: ==23351== Releasing lock...
[2025-01-12 20:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:15:02] Production.INFO: ==23349== Lock acquired, processing the job...
[2025-01-12 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:15:02] Production.INFO: ==23349== Releasing lock...
[2025-01-12 15:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:15:03] Production.INFO: ==23354== Lock acquired, processing the job...
[2025-01-12 15:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:15:03] Production.INFO: ==23356== Lock acquired, processing the job...
[2025-01-12 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:15:03] Production.INFO: ==23362== Lock acquired, processing the job...
[2025-01-12 15:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:15:03] Production.INFO: ==23358== Lock acquired, processing the job...
[2025-01-12 15:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:15:03] Production.INFO: ==23360== Lock acquired, processing the job...
[2025-01-12 15:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:15:03] Production.INFO: ==23356== Releasing lock...
[2025-01-12 15:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:15:03] Production.INFO: ==23364== Lock acquired, processing the job...
[2025-01-12 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:15:03] Production.INFO: Account Balance Start.
[2025-01-12 15:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:15:03] Production.INFO: 117
[2025-01-12 15:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:15:03] Production.ERROR: done
[2025-01-12 15:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:15:03] Production.INFO: count ==21
[2025-01-12 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-01-12 15:15:03] Production.INFO: count ==21
[2025-01-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232450') start
[2025-01-12 15:15:03] Production.ERROR: done
[2025-01-12 15:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232450') end
[2025-01-12 15:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:15:03] Production.INFO: 1
[2025-01-12 15:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:15:03] Production.INFO: ==23364== Releasing lock...
[2025-01-12 15:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:15:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:15:04] Production.INFO: Total Charge 0
[2025-01-12 15:15:04] Production.INFO: CreateAllLog End
[2025-01-12 15:15:04] Production.INFO: Account Balance End.
[2025-01-12 15:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:15:04] Production.INFO: ==23360== Releasing lock...
[2025-01-12 15:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:15:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:15:04
[end_date_ymd] => 2025-01-12 15:15:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:15:04' and `end` < '2025-01-12 15: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-01-12 15:15:10] Production.ERROR: CronJobId end10
[2025-01-12 15:15:10] Production.INFO: ==23358== Releasing lock...
[2025-01-12 15:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:15:13] Production.INFO: call_cost start
[2025-01-12 15:15:13] Production.INFO: call_cost end
[2025-01-12 15:15:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:15:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:15:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:15:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:15:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:15:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:15:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:15:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:15:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:15:13] Production.INFO: ==23354== Releasing lock...
[2025-01-12 15:15:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:15:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:15:18] Production.INFO: count ==1193
[2025-01-12 15:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:15:04 - End Time 2025-01-12 15:15:04
[2025-01-12 15:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232451', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232451', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232451', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232451', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:15:18] Production.INFO: ProcessCDR(1,14232451,1,1,2)
[2025-01-12 15:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:15:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232451,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:15:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:15:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232451,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232451', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:15:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232451', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:15:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:15:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:15:21] Production.INFO: ==23362== Releasing lock...
[2025-01-12 15:15:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:15:21] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 20:16:01] Production.INFO: ==23437== Lock acquired, processing the job...
[2025-01-12 20:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:16:01] Production.INFO: neon service started
[2025-01-12 20:16:01] Production.INFO: neon service started
[2025-01-12 20:16:01] Production.INFO: ==23437== Releasing lock...
[2025-01-12 20:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:16:02] Production.INFO: ==23439== Lock acquired, processing the job...
[2025-01-12 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:16:02] Production.INFO: ==23441== Lock acquired, processing the job...
[2025-01-12 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:16:02] Production.INFO: ==23441== Releasing lock...
[2025-01-12 20:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:16:02] Production.INFO: ==23439== Releasing lock...
[2025-01-12 15:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:16:03] Production.INFO: ==23450== Lock acquired, processing the job...
[2025-01-12 15:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:16:03] Production.INFO: ==23444== Lock acquired, processing the job...
[2025-01-12 15:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:16:03] Production.INFO: ==23454== Lock acquired, processing the job...
[2025-01-12 15:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:16:03] Production.INFO: Account Balance Start.
[2025-01-12 15:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:16:03] Production.INFO: 117
[2025-01-12 15:16:03] Production.INFO: ==23446== Lock acquired, processing the job...
[2025-01-12 15:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:16:03] Production.INFO: ==23448== Lock acquired, processing the job...
[2025-01-12 15:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 15: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-01-12 15:16:03] Production.INFO: count ==21
[2025-01-12 15: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-01-12 15:16:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:16:03] Production.INFO: count ==21
[2025-01-12 15:16:03] Production.INFO: ==23452== Lock acquired, processing the job...
[2025-01-12 15:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232453') start
[2025-01-12 15:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:16:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:16:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:16:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:16:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232453') end
[2025-01-12 15:16:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:16:04] Production.INFO: 1
[2025-01-12 15:16:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:16:04] Production.INFO: ==23454== Releasing lock...
[2025-01-12 15:16:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:16:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:16:04] Production.INFO: ==23446== Releasing lock...
[2025-01-12 15:16:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:16:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:16:04] Production.INFO: Total Charge 0
[2025-01-12 15:16:04] Production.INFO: CreateAllLog End
[2025-01-12 15:16:04] Production.ERROR: done
[2025-01-12 15:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:16:04] Production.INFO: Account Balance End.
[2025-01-12 15:16:04] Production.ERROR: done
[2025-01-12 15:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:16:04] Production.INFO: ==23450== Releasing lock...
[2025-01-12 15:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:16:05
[end_date_ymd] => 2025-01-12 15:16:05
[RateCDR] => 1
)
[2025-01-12 15:16:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:16:05' and `end` < '2025-01-12 15:16:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:16:11] Production.ERROR: CronJobId end10
[2025-01-12 15:16:11] Production.INFO: ==23448== Releasing lock...
[2025-01-12 15:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:16:13] Production.INFO: call_cost start
[2025-01-12 15:16:13] Production.INFO: call_cost end
[2025-01-12 15:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:16:14] Production.INFO: ==23444== Releasing lock...
[2025-01-12 15:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:16:19] Production.INFO: count ==1201
[2025-01-12 15:16:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:16:05 - End Time 2025-01-12 15:16:05
[2025-01-12 15:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232456', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232456', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232456', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232456', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:16:19] Production.INFO: ProcessCDR(1,14232456,1,1,2)
[2025-01-12 15:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232456,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:16:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232456,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232456', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:16:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232456', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:16:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:16:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:16:24] Production.INFO: ==23452== Releasing lock...
[2025-01-12 15:16:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:16:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:17:02] Production.INFO: ==23530== Lock acquired, processing the job...
[2025-01-12 20:17:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:17:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:17:02] Production.INFO: neon service started
[2025-01-12 20:17:02] Production.INFO: neon service started
[2025-01-12 20:17:02] Production.INFO: ==23530== Releasing lock...
[2025-01-12 20:17:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:17:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:17:02] Production.INFO: ==23532== Lock acquired, processing the job...
[2025-01-12 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:17:02] Production.INFO: ==23532== Releasing lock...
[2025-01-12 15:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:17:03] Production.INFO: ==23534== Lock acquired, processing the job...
[2025-01-12 20:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:17:03] Production.INFO: ==23534== Releasing lock...
[2025-01-12 20:17:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:17:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:17:03] Production.INFO: ==23538== Lock acquired, processing the job...
[2025-01-12 15:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:17:03] Production.INFO: ==23536== Lock acquired, processing the job...
[2025-01-12 15:17:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:17:03] Production.INFO: ==23540== Lock acquired, processing the job...
[2025-01-12 15:17:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:17:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:17:04] Production.INFO: ==23542== Lock acquired, processing the job...
[2025-01-12 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:17:04] Production.INFO: ==23544== Lock acquired, processing the job...
[2025-01-12 15:17:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:17:04] Production.INFO: ==23546== Lock acquired, processing the job...
[2025-01-12 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:17:04] Production.INFO: ==23538== Releasing lock...
[2025-01-12 15:17:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:17:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:17:04] Production.INFO: Account Balance Start.
[2025-01-12 15:17:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:17:04] Production.INFO: 117
[2025-01-12 15:17:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:17:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15: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-01-12 15:17:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:17:04] Production.INFO: count ==21
[2025-01-12 15:17:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:17:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:17:04] Production.INFO: count ==21
[2025-01-12 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232460') start
[2025-01-12 15:17:04] Production.ERROR: done
[2025-01-12 15:17:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:17:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:17:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:17:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:17:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232460') end
[2025-01-12 15:17:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:17:04] Production.INFO: 1
[2025-01-12 15:17:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:17:04] Production.INFO: Total Charge 0
[2025-01-12 15:17:04] Production.INFO: CreateAllLog End
[2025-01-12 15:17:04] Production.INFO: ==23546== Releasing lock...
[2025-01-12 15:17:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:17:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:17:04] Production.ERROR: done
[2025-01-12 15:17:04] Production.INFO: Account Balance End.
[2025-01-12 15:17:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:17:04] Production.INFO: ==23542== Releasing lock...
[2025-01-12 15:17:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:17:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:17:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:17:05
[end_date_ymd] => 2025-01-12 15:17:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:17:05' and `end` < '2025-01-12 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-01-12 15:17:10] Production.ERROR: CronJobId end10
[2025-01-12 15:17:10] Production.INFO: ==23540== Releasing lock...
[2025-01-12 15:17:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:17:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:17:13] Production.INFO: call_cost start
[2025-01-12 15:17:13] Production.INFO: call_cost end
[2025-01-12 15:17:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:17:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:17:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:17:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:17:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:17:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:17:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:17:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:17:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:17:14] Production.INFO: ==23536== Releasing lock...
[2025-01-12 15:17:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:17:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:17:18] Production.INFO: count ==1201
[2025-01-12 15:17:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:17:05 - End Time 2025-01-12 15:17:05
[2025-01-12 15:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232461', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232461', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232461', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232461', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:17:19] Production.INFO: ProcessCDR(1,14232461,1,1,2)
[2025-01-12 15:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:17:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232461,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:17:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:17:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232461,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232461', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:17:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232461', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:17:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:17:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:17:23] Production.INFO: ==23544== Releasing lock...
[2025-01-12 15:17:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:17:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:18:01] Production.INFO: ==23621== Lock acquired, processing the job...
[2025-01-12 20:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:18:01] Production.INFO: neon service started
[2025-01-12 20:18:01] Production.INFO: neon service started
[2025-01-12 20:18:01] Production.INFO: ==23621== Releasing lock...
[2025-01-12 20:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:18:02] Production.INFO: ==23623== Lock acquired, processing the job...
[2025-01-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:18:02] Production.INFO: ==23623== Releasing lock...
[2025-01-12 15:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:18:02] Production.INFO: ==23625== Lock acquired, processing the job...
[2025-01-12 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:18:02] Production.INFO: ==23625== Releasing lock...
[2025-01-12 20:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:18:03] Production.INFO: ==23627== Lock acquired, processing the job...
[2025-01-12 15:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:18:03] Production.INFO: ==23629== Lock acquired, processing the job...
[2025-01-12 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:18:03] Production.INFO: ==23633== Lock acquired, processing the job...
[2025-01-12 15:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:18:03] Production.INFO: ==23631== Lock acquired, processing the job...
[2025-01-12 15:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:18:03] Production.INFO: ==23638== Lock acquired, processing the job...
[2025-01-12 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:18:03] Production.INFO: Account Balance Start.
[2025-01-12 15:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:18:03] Production.INFO: 117
[2025-01-12 15:18:03] Production.INFO: ==23636== Lock acquired, processing the job...
[2025-01-12 15:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15: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-01-12 15:18:03] Production.INFO: ==23629== Releasing lock...
[2025-01-12 15:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:18:03] Production.INFO: count ==21
[2025-01-12 15:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 15: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-01-12 15:18:03] Production.INFO: count ==21
[2025-01-12 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232465') start
[2025-01-12 15:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:18:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:18:03] Production.INFO: Total Charge 0
[2025-01-12 15:18:03] Production.INFO: CreateAllLog End
[2025-01-12 15:18:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232465') end
[2025-01-12 15:18:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:18:03] Production.INFO: 1
[2025-01-12 15:18:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:18:03] Production.INFO: ==23638== Releasing lock...
[2025-01-12 15:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:18:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:18:03] Production.ERROR: done
[2025-01-12 15:18:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:18:03] Production.ERROR: done
[2025-01-12 15:18:04] Production.INFO: Account Balance End.
[2025-01-12 15:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:18:04] Production.INFO: ==23633== Releasing lock...
[2025-01-12 15:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:18:05
[end_date_ymd] => 2025-01-12 15:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:18:05' and `end` < '2025-01-12 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-01-12 15:18:11] Production.ERROR: CronJobId end10
[2025-01-12 15:18:11] Production.INFO: ==23631== Releasing lock...
[2025-01-12 15:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:18:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:18:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:18:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:18:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:18:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:18:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:18:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:18:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:18:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:18:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:18:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:18:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:18:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:18:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:18:13] Production.INFO: call_cost start
[2025-01-12 15:18:13] Production.INFO: call_cost end
[2025-01-12 15:18:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:18:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:18:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:18:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:18:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:18:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:18:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:18:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:18:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:18:14] Production.INFO: ==23627== Releasing lock...
[2025-01-12 15:18:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:18:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:18:19] Production.INFO: count ==1206
[2025-01-12 15:18:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:18:05 - End Time 2025-01-12 15:18:05
[2025-01-12 15:18:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232466', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232466', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232466', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:18:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232466', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:18:19] Production.INFO: ProcessCDR(1,14232466,1,1,2)
[2025-01-12 15:18:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:18:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232466,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:18:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:18:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232466,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232466', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:18:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232466', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:18:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:18:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:18:23] Production.INFO: ==23636== Releasing lock...
[2025-01-12 15:18:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:18:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:19:02] Production.INFO: ==23755== Lock acquired, processing the job...
[2025-01-12 20:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:19:02] Production.INFO: neon service started
[2025-01-12 20:19:02] Production.INFO: neon service started
[2025-01-12 20:19:02] Production.INFO: ==23755== Releasing lock...
[2025-01-12 20:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:19:02] Production.INFO: ==23757== Lock acquired, processing the job...
[2025-01-12 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:19:02] Production.INFO: ==23757== Releasing lock...
[2025-01-12 15:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:19:02] Production.INFO: ==23759== Lock acquired, processing the job...
[2025-01-12 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:19:02] Production.INFO: ==23759== Releasing lock...
[2025-01-12 20:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:19:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:19:03] Production.INFO: ==23761== Lock acquired, processing the job...
[2025-01-12 15:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:19:03] Production.INFO: ==23763== Lock acquired, processing the job...
[2025-01-12 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:19:03] Production.INFO: ==23767== Lock acquired, processing the job...
[2025-01-12 15:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:19:03] Production.INFO: Account Balance Start.
[2025-01-12 15:19:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:19:03] Production.INFO: 117
[2025-01-12 15:19:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:19:03] Production.INFO: ==23765== Lock acquired, processing the job...
[2025-01-12 15:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:19:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:19:03] Production.INFO: ==23763== Releasing lock...
[2025-01-12 15:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:19:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:19:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:19:03] Production.INFO: ==23769== Lock acquired, processing the job...
[2025-01-12 15:19:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:19:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:19:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:19:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:19:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:19:04] Production.INFO: Total Charge 0
[2025-01-12 15:19:04] Production.INFO: ==23771== Lock acquired, processing the job...
[2025-01-12 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:19:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 15:19:04] Production.INFO: Account Balance End.
[2025-01-12 15:19:04] Production.ERROR: done
[2025-01-12 15:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:19:04] Production.INFO: ==23767== Releasing lock...
[2025-01-12 15:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:19:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:19:04] Production.INFO: count ==21
[2025-01-12 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232470') start
[2025-01-12 15:19:04] Production.ERROR: done
[2025-01-12 15:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232470') end
[2025-01-12 15:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:19:04] Production.INFO: 1
[2025-01-12 15:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:19:04] Production.INFO: ==23771== Releasing lock...
[2025-01-12 15:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:19:05
[end_date_ymd] => 2025-01-12 15:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:19:05' and `end` < '2025-01-12 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-01-12 15:19:10] Production.ERROR: exception 'PDOException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction' in /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php:294
Stack trace:
#0 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(294): PDOStatement->execute(Array)
#1 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(616): Illuminate\Database\Connection->Illuminate\Database\{closure}(Object(Illuminate\Database\MySqlConnection), 'CALL prc_update...', Array)
#2 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(580): Illuminate\Database\Connection->runQueryCallback('CALL prc_update...', Array, Object(Closure))
#3 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Database/Connection.php(297): Illuminate\Database\Connection->run('CALL prc_update...', Array, Object(Closure))
#4 /var/www/html/onswitch.neon.service/app/lib/AccountBalance.php(0): Illuminate\Database\Connection->select()
#5 /var/www/html/onswitch.neon.service/app/Console/Commands/CreateSummaryLive.php(0): App\Lib\AccountBalance::updateAccountUnbilledAmount()
#6 [internal function]: App\Console\Commands\CreateSummaryLive->handle()
#7 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Container/Container.php(526): call_user_func_array(Array, Array)
#8 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(115): Illuminate\Container\Container->call(Array)
#9 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Console/Command.php(101): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#11 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#12 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(App\Console\Commands\CreateSummaryLive), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 /var/www/html/onswitch.neon.service/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#14 /var/www/html/onswitch.neon.service/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(94): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#15 /var/www/html/onswitch.neon.service/artisan(36): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#16 {main}
Next exception 'Illuminate\Database\QueryException' with message 'SQLSTATE[40001]: Serialization failure: 1213 Deadlock found when trying to get lock; try restarting transaction (SQL: CALL prc_updateUnbilledAmount(1,2025-01-12 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-01-12 15:19:10] Production.ERROR: CronJobId end10
[2025-01-12 15:19:10] Production.INFO: ==23765== Releasing lock...
[2025-01-12 15:19:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:19:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:19:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:19:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:19:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:19:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:19:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:19:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:19:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:19:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:19:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:19:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:19:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:19:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:19:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:19:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:19:13] Production.INFO: call_cost start
[2025-01-12 15:19:13] Production.INFO: call_cost end
[2025-01-12 15:19:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:19:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:19:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:19:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:19:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:19:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:19:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:19:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:19:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:19:13] Production.INFO: ==23761== Releasing lock...
[2025-01-12 15:19:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:19:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:19:18] Production.INFO: count ==1198
[2025-01-12 15:19:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:19:05 - End Time 2025-01-12 15:19:05
[2025-01-12 15:19:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232471', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232471', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232471', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:19:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232471', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:19:18] Production.INFO: ProcessCDR(1,14232471,1,1,2)
[2025-01-12 15:19:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232471,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232471,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232471', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232471', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:19:23] Production.INFO: ==23769== Releasing lock...
[2025-01-12 15:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:19:23] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 20:20:01] Production.INFO: ==23847== Lock acquired, processing the job...
[2025-01-12 20:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:20:01] Production.INFO: neon service started
[2025-01-12 20:20:01] Production.INFO: neon service started
[2025-01-12 20:20:01] Production.INFO: ==23847== Releasing lock...
[2025-01-12 20:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:20:01] Production.INFO: ==23851== Lock acquired, processing the job...
[2025-01-12 20:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:20:01] Production.INFO: ==23851== Releasing lock...
[2025-01-12 20:20:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:20:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:20:02] Production.INFO: ==23849== Lock acquired, processing the job...
[2025-01-12 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:20:02] Production.INFO: ==23849== Releasing lock...
[2025-01-12 15:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:20:03] Production.INFO: ==23860== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:20:03] Production.INFO: ==23854== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 15:20:03] Production.INFO: ==23864== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:20:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:20:03] Production.INFO: ==23856== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:20:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:20:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:20:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:20:03] Production.INFO: ==23858== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 15:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 15:20:03] Production.ERROR: CronJob PID - 23860
[2025-01-12 15:20:03] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 15:20:03] Production.INFO: ==23870== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.ERROR: CronJob ID - 10
[2025-01-12 15:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 15:20:00
[2025-01-12 15:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 15:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 15:20:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 15:20:03] Production.ERROR: CronJob PID - 23864
[2025-01-12 15:20:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 CDR Download
[2025-01-12 15:20:03] Production.ERROR: CronJob ID - 16
[2025-01-12 15:20:03] Production.ERROR: CronJob Last Run Time 2025-01-12 15:20:00
[2025-01-12 15:20:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 15:20:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 15:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:20:03] Production.INFO: ==23862== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:20:03] Production.INFO: ==23867== Lock acquired, processing the job...
[2025-01-12 15:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 15:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 15:20:03] Production.INFO: ==23854== Releasing lock...
[2025-01-12 15:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 15:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 15:20:03] Production.ERROR: done
[2025-01-12 15:20:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:20:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 15:20:04] Production.INFO: Account Balance Start.
[2025-01-12 15:20:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:20:04] Production.INFO: 117
[2025-01-12 15:20:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:20:04] Production.INFO: count ==21
[2025-01-12 15:20:04] Production.ERROR: done
[2025-01-12 15:20:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232473') start
[2025-01-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:20:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232473') end
[2025-01-12 15:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:20:04] Production.INFO: 1
[2025-01-12 15:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:20:04] Production.ERROR: done
[2025-01-12 15:20:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:20:04] Production.INFO: ==23870== Releasing lock...
[2025-01-12 15:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:20:04] Production.INFO: ==23858== Releasing lock...
[2025-01-12 15:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 15:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232477', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 15:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:20:04] Production.INFO: Total Charge 0
[2025-01-12 15:20:04] Production.INFO: CreateAllLog End
[2025-01-12 15:20:04] Production.INFO: Account Balance End.
[2025-01-12 15:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:20:04] Production.INFO: ==23862== Releasing lock...
[2025-01-12 15:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:20:05
[end_date_ymd] => 2025-01-12 15:20:05
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:20:05' and `end` < '2025-01-12 15: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-01-12 15:20:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232477', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 15:20:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 15:20:08] Production.INFO: ProcessCDR(1,14232477,1,1,2)
[2025-01-12 15:20:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232477,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:20:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232477,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:20:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:20:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:20:08] Production.INFO: ==23867== Releasing lock...
[2025-01-12 15:20:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 15:20:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 15:20:13] Production.ERROR: CronJobId end10
[2025-01-12 15:20:13] Production.INFO: ==23860== Releasing lock...
[2025-01-12 15:20:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:20:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:20:14] Production.INFO: call_cost start
[2025-01-12 15:20:14] Production.INFO: call_cost end
[2025-01-12 15:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:20:15] Production.INFO: ==23856== Releasing lock...
[2025-01-12 15:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:20:18] Production.INFO: count ==1194
[2025-01-12 15:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:20:05 - End Time 2025-01-12 15:20:05
[2025-01-12 15:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232476', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232476', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232476', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232476', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:20:19] Production.INFO: ProcessCDR(1,14232476,1,1,2)
[2025-01-12 15:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232476,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:20:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232476,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232476', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:20:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232476', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:20:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:20:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:20:23] Production.INFO: ==23864== Releasing lock...
[2025-01-12 15:20:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:20:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:21:01] Production.INFO: ==23933== Lock acquired, processing the job...
[2025-01-12 20:21:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:21:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:21:01] Production.INFO: neon service started
[2025-01-12 20:21:02] Production.INFO: neon service started
[2025-01-12 20:21:02] Production.INFO: ==23933== Releasing lock...
[2025-01-12 20:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:21:02] Production.INFO: ==23935== Lock acquired, processing the job...
[2025-01-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:21:02] Production.INFO: ==23935== Releasing lock...
[2025-01-12 15:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:21:02] Production.INFO: ==23937== Lock acquired, processing the job...
[2025-01-12 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:21:02] Production.INFO: ==23937== Releasing lock...
[2025-01-12 20:21:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:21:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:21:03] Production.INFO: ==23944== Lock acquired, processing the job...
[2025-01-12 15:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:21:03] Production.INFO: ==23948== Lock acquired, processing the job...
[2025-01-12 15:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:21:03] Production.INFO: ==23940== Lock acquired, processing the job...
[2025-01-12 15:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:21:03] Production.INFO: ==23942== Lock acquired, processing the job...
[2025-01-12 15:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:21:03] Production.INFO: ==23946== Lock acquired, processing the job...
[2025-01-12 15:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:21:03] Production.INFO: ==23950== Lock acquired, processing the job...
[2025-01-12 15:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:21:03] Production.INFO: Account Balance Start.
[2025-01-12 15:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:21:03] Production.INFO: 117
[2025-01-12 15:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:21:03] Production.ERROR: done
[2025-01-12 15: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-01-12 15:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:21:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:21:03] Production.INFO: count ==21
[2025-01-12 15: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-01-12 15:21:03] Production.INFO: count ==21
[2025-01-12 15:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232481') start
[2025-01-12 15:21:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:21:04] Production.INFO: ==23942== Releasing lock...
[2025-01-12 15:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:21:04] Production.ERROR: done
[2025-01-12 15:21:04] Production.INFO: Total Charge 0
[2025-01-12 15:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232481') end
[2025-01-12 15:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:21:04] Production.INFO: 1
[2025-01-12 15:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:21:04] Production.INFO: CreateAllLog End
[2025-01-12 15:21:04] Production.INFO: ==23950== Releasing lock...
[2025-01-12 15:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:21:04] Production.INFO: Account Balance End.
[2025-01-12 15:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:21:04] Production.INFO: ==23946== Releasing lock...
[2025-01-12 15:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:21:05
[end_date_ymd] => 2025-01-12 15:21:05
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:21:05' and `end` < '2025-01-12 15: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-01-12 15:21:11] Production.ERROR: CronJobId end10
[2025-01-12 15:21:11] Production.INFO: ==23944== Releasing lock...
[2025-01-12 15:21:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:21:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:21:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:21:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:21:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:21:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:21:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:21:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:21:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:21:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:21:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:21:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:21:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:21:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:21:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:21:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:21:13] Production.INFO: call_cost start
[2025-01-12 15:21:13] Production.INFO: call_cost end
[2025-01-12 15:21:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:21:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:21:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:21:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:21:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:21:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:21:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:21:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:21:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:21:14] Production.INFO: ==23940== Releasing lock...
[2025-01-12 15:21:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:21:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:21:19] Production.INFO: count ==1193
[2025-01-12 15:21:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:21:05 - End Time 2025-01-12 15:21:05
[2025-01-12 15:21:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232482', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232482', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232482', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:21:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232482', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:21:19] Production.INFO: ProcessCDR(1,14232482,1,1,2)
[2025-01-12 15:21:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232482,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232482,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232482', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232482', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:21:24] Production.INFO: ==23948== Releasing lock...
[2025-01-12 15:21:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:21:24] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 20:22:01] Production.INFO: ==24021== Lock acquired, processing the job...
[2025-01-12 20:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:22:01] Production.INFO: neon service started
[2025-01-12 20:22:01] Production.INFO: neon service started
[2025-01-12 20:22:01] Production.INFO: ==24021== Releasing lock...
[2025-01-12 20:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:22:01] Production.INFO: ==24023== Lock acquired, processing the job...
[2025-01-12 15:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:22:02] Production.INFO: ==24023== Releasing lock...
[2025-01-12 15:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:22:02] Production.INFO: ==24025== Lock acquired, processing the job...
[2025-01-12 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:22:02] Production.INFO: ==24025== Releasing lock...
[2025-01-12 20:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:22:02] Production.INFO: ==24033== Lock acquired, processing the job...
[2025-01-12 15:22:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:22:02] Production.INFO: ==24037== Lock acquired, processing the job...
[2025-01-12 15:22:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:22:03] Production.INFO: ==24027== Lock acquired, processing the job...
[2025-01-12 15:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:22:03] Production.INFO: Account Balance Start.
[2025-01-12 15:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:22:03] Production.INFO: 117
[2025-01-12 15:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:22:03] Production.INFO: ==24029== Lock acquired, processing the job...
[2025-01-12 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:22:03] Production.INFO: ==24035== Lock acquired, processing the job...
[2025-01-12 15:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 15: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-01-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:22:03] Production.INFO: ==24031== Lock acquired, processing the job...
[2025-01-12 15:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:22:03] Production.INFO: count ==21
[2025-01-12 15:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15: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-01-12 15:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:22:03] Production.INFO: count ==21
[2025-01-12 15:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232485') start
[2025-01-12 15:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232485') end
[2025-01-12 15:22:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:22:03] Production.INFO: 1
[2025-01-12 15:22:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:22:03] Production.INFO: ==24029== Releasing lock...
[2025-01-12 15:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:22:03] Production.INFO: ==24037== Releasing lock...
[2025-01-12 15:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:22:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:22:03] Production.INFO: Total Charge 0
[2025-01-12 15:22:03] Production.INFO: CreateAllLog End
[2025-01-12 15:22:03] Production.ERROR: done
[2025-01-12 15:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:22:03] Production.INFO: Account Balance End.
[2025-01-12 15:22:03] Production.ERROR: CronJobId end 12
[2025-01-12 15:22:03] Production.INFO: ==24033== Releasing lock...
[2025-01-12 15:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:22:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:22:03] Production.ERROR: done
[2025-01-12 15:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:22:04
[end_date_ymd] => 2025-01-12 15:22:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:22:04' and `end` < '2025-01-12 15: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-01-12 15:22:10] Production.ERROR: CronJobId end10
[2025-01-12 15:22:10] Production.INFO: ==24031== Releasing lock...
[2025-01-12 15:22:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:22:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:22:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:22:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:22:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:22:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:22:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:22:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:22:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:22:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:22:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:22:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:22:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:22:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:22:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:22:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:22:12] Production.INFO: call_cost start
[2025-01-12 15:22:12] Production.INFO: call_cost end
[2025-01-12 15:22:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:22:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:22:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:22:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:22:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:22:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:22:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:22:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:22:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:22:13] Production.INFO: ==24027== Releasing lock...
[2025-01-12 15:22:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:22:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:22:18] Production.INFO: count ==1194
[2025-01-12 15:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:22:04 - End Time 2025-01-12 15:22:04
[2025-01-12 15:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232487', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232487', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232487', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232487', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:22:18] Production.INFO: ProcessCDR(1,14232487,1,1,2)
[2025-01-12 15:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:22:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232487,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:22:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:22:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232487,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232487', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:22:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232487', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:22:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:22:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:22:23] Production.INFO: ==24035== Releasing lock...
[2025-01-12 15:22:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:22:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:23:01] Production.INFO: ==24101== Lock acquired, processing the job...
[2025-01-12 20:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:23:01] Production.INFO: neon service started
[2025-01-12 20:23:01] Production.INFO: neon service started
[2025-01-12 20:23:01] Production.INFO: ==24101== Releasing lock...
[2025-01-12 20:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:23:02] Production.INFO: ==24105== Lock acquired, processing the job...
[2025-01-12 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:23:02] Production.INFO: ==24105== Releasing lock...
[2025-01-12 20:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:23:02] Production.INFO: ==24103== Lock acquired, processing the job...
[2025-01-12 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:23:02] Production.INFO: ==24103== Releasing lock...
[2025-01-12 15:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:23:03] Production.INFO: ==24107== Lock acquired, processing the job...
[2025-01-12 15:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:23:03] Production.INFO: ==24111== Lock acquired, processing the job...
[2025-01-12 15:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:23:03] Production.INFO: ==24109== Lock acquired, processing the job...
[2025-01-12 15:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:23:03] Production.INFO: ==24113== Lock acquired, processing the job...
[2025-01-12 15:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:23:03] Production.INFO: ==24116== Lock acquired, processing the job...
[2025-01-12 15:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:23:03] Production.INFO: Account Balance Start.
[2025-01-12 15:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:23:03] Production.INFO: 117
[2025-01-12 15:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:23:03] Production.INFO: ==24118== Lock acquired, processing the job...
[2025-01-12 15:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:23:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:23:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:23:03] Production.INFO: count ==21
[2025-01-12 15:23:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:23:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:23:03] Production.INFO: count ==21
[2025-01-12 15:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:23:03] Production.ERROR: done
[2025-01-12 15:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232491') start
[2025-01-12 15:23:04] Production.INFO: Total Charge 0
[2025-01-12 15:23:04] Production.INFO: CreateAllLog End
[2025-01-12 15:23:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232491') end
[2025-01-12 15:23:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:23:04] Production.INFO: 1
[2025-01-12 15:23:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:23:04] Production.ERROR: done
[2025-01-12 15:23:04] Production.INFO: ==24109== Releasing lock...
[2025-01-12 15:23:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:23:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:23:04] Production.INFO: ==24118== Releasing lock...
[2025-01-12 15:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:23:04] Production.INFO: Account Balance End.
[2025-01-12 15:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:23:04] Production.INFO: ==24113== Releasing lock...
[2025-01-12 15:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:23:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:23:05
[end_date_ymd] => 2025-01-12 15:23:05
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:23:05' and `end` < '2025-01-12 15: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-01-12 15:23:11] Production.ERROR: CronJobId end10
[2025-01-12 15:23:11] Production.INFO: ==24111== Releasing lock...
[2025-01-12 15:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:23:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:23:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:23:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:23:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:23:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:23:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:23:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:23:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:23:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:23:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:23:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:23:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:23:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:23:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:23:12] Production.INFO: call_cost start
[2025-01-12 15:23:12] Production.INFO: call_cost end
[2025-01-12 15:23:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:23:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:23:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:23:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:23:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:23:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:23:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:23:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:23:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:23:13] Production.INFO: ==24107== Releasing lock...
[2025-01-12 15:23:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:23:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:23:18] Production.INFO: count ==1180
[2025-01-12 15:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:23:05 - End Time 2025-01-12 15:23:05
[2025-01-12 15:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232492', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232492', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232492', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232492', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:23:18] Production.INFO: ProcessCDR(1,14232492,1,1,2)
[2025-01-12 15:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232492,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232492,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232492', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:23:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232492', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:23:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:23:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:23:23] Production.INFO: ==24116== Releasing lock...
[2025-01-12 15:23:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:23:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:24:02] Production.INFO: ==24179== Lock acquired, processing the job...
[2025-01-12 20:24:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:24:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:24:02] Production.INFO: neon service started
[2025-01-12 20:24:02] Production.INFO: neon service started
[2025-01-12 20:24:02] Production.INFO: ==24179== Releasing lock...
[2025-01-12 20:24:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:24:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:24:03] Production.INFO: ==24181== Lock acquired, processing the job...
[2025-01-12 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:24:03] Production.INFO: ==24183== Lock acquired, processing the job...
[2025-01-12 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:24:03] Production.INFO: ==24183== Releasing lock...
[2025-01-12 20:24:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:24:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:24:03] Production.INFO: ==24181== Releasing lock...
[2025-01-12 15:24:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:24:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:24:04] Production.INFO: ==24186== Lock acquired, processing the job...
[2025-01-12 15:24:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:24:04] Production.INFO: ==24188== Lock acquired, processing the job...
[2025-01-12 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:24:04] Production.INFO: ==24192== Lock acquired, processing the job...
[2025-01-12 15:24:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:24:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:24:04] Production.INFO: ==24190== Lock acquired, processing the job...
[2025-01-12 15:24:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:24:04] Production.INFO: ==24194== Lock acquired, processing the job...
[2025-01-12 15:24:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:24:04] Production.INFO: ==24196== Lock acquired, processing the job...
[2025-01-12 15:24:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:24:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:24:04] Production.INFO: Account Balance Start.
[2025-01-12 15:24:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:24:04] Production.INFO: 117
[2025-01-12 15:24:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:24:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:24:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:24:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:24:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:24:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:24:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:24:04] Production.INFO: count ==21
[2025-01-12 15:24:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232496') start
[2025-01-12 15:24:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:24:04] Production.INFO: ==24188== Releasing lock...
[2025-01-12 15:24:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:24:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:24:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:24:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:24:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:24:05] Production.INFO: Total Charge 0
[2025-01-12 15:24:05] Production.INFO: CreateAllLog End
[2025-01-12 15:24:05] Production.ERROR: done
[2025-01-12 15:24:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:24:05] Production.ERROR: PBX CALL prc_importPBXExtension('14232496') end
[2025-01-12 15:24:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:24:05] Production.INFO: 1
[2025-01-12 15:24:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:24:05] Production.INFO: ==24196== Releasing lock...
[2025-01-12 15:24:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:24:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:24:05] Production.INFO: Account Balance End.
[2025-01-12 15:24:05] Production.ERROR: done
[2025-01-12 15:24:05] Production.ERROR: CronJobId end 12
[2025-01-12 15:24:05] Production.INFO: ==24192== Releasing lock...
[2025-01-12 15:24:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:24:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:24:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:24:06
[end_date_ymd] => 2025-01-12 15:24:06
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:24:06' and `end` < '2025-01-12 15: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-01-12 15:24:12] Production.ERROR: CronJobId end10
[2025-01-12 15:24:12] Production.INFO: ==24190== Releasing lock...
[2025-01-12 15:24:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:24:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:24:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:24:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:24:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:24:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:24:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:24:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:24:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:24:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:24:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:24:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:24:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:24:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:24:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:24:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:24:13] Production.INFO: call_cost start
[2025-01-12 15:24:13] Production.INFO: call_cost end
[2025-01-12 15:24:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:24:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:24:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:24:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:24:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:24:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:24:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:24:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:24:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:24:14] Production.INFO: ==24186== Releasing lock...
[2025-01-12 15:24:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:24:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:24:19] Production.INFO: count ==1169
[2025-01-12 15:24:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:24:06 - End Time 2025-01-12 15:24:06
[2025-01-12 15:24:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232497', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232497', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232497', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:24:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232497', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:24:19] Production.INFO: ProcessCDR(1,14232497,1,1,2)
[2025-01-12 15:24:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:24:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232497,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:24:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:24:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232497,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232497', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:24:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232497', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:24:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:24:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:24:24] Production.INFO: ==24194== Releasing lock...
[2025-01-12 15:24:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:24:24] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 20:25:01] Production.INFO: ==24255== Lock acquired, processing the job...
[2025-01-12 20:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:25:01] Production.INFO: neon service started
[2025-01-12 20:25:01] Production.INFO: neon service started
[2025-01-12 20:25:01] Production.INFO: ==24255== Releasing lock...
[2025-01-12 20:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:25:02] Production.INFO: ==24257== Lock acquired, processing the job...
[2025-01-12 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:25:02] Production.INFO: ==24257== Releasing lock...
[2025-01-12 15:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:25:02] Production.INFO: ==24259== Lock acquired, processing the job...
[2025-01-12 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:25:02] Production.INFO: ==24259== Releasing lock...
[2025-01-12 20:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:25:03] Production.INFO: ==24261== Lock acquired, processing the job...
[2025-01-12 15:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:25:03] Production.INFO: ==24265== Lock acquired, processing the job...
[2025-01-12 15:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:25:03] Production.INFO: ==24271== Lock acquired, processing the job...
[2025-01-12 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:25:03] Production.INFO: ==24263== Lock acquired, processing the job...
[2025-01-12 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:25:03] Production.INFO: ==24267== Lock acquired, processing the job...
[2025-01-12 15:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 15:25:03] Production.INFO: ==24269== Lock acquired, processing the job...
[2025-01-12 15:25:03] Production.INFO: count ==21
[2025-01-12 15:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 15:25:03] Production.INFO: count ==21
[2025-01-12 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232499') start
[2025-01-12 15:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:25:03] Production.INFO: Account Balance Start.
[2025-01-12 15:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:25:03] Production.INFO: 117
[2025-01-12 15:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232499') end
[2025-01-12 15:25:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:25:03] Production.INFO: 1
[2025-01-12 15:25:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:25:03] Production.INFO: ==24263== Releasing lock...
[2025-01-12 15:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:25:03] Production.INFO: ==24271== Releasing lock...
[2025-01-12 15:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:25:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:25:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:25:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:25:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:25:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:25:04] Production.ERROR: done
[2025-01-12 15:25:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:25:04] Production.INFO: Total Charge 0
[2025-01-12 15:25:04] Production.INFO: CreateAllLog End
[2025-01-12 15:25:04] Production.ERROR: done
[2025-01-12 15:25:04] Production.INFO: Account Balance End.
[2025-01-12 15:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:25:04] Production.INFO: ==24267== Releasing lock...
[2025-01-12 15:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:25:05
[end_date_ymd] => 2025-01-12 15:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:25:05' and `end` < '2025-01-12 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-01-12 15:25:10] Production.ERROR: CronJobId end10
[2025-01-12 15:25:10] Production.INFO: ==24265== Releasing lock...
[2025-01-12 15:25:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:25:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:25:12] Production.INFO: call_cost start
[2025-01-12 15:25:12] Production.INFO: call_cost end
[2025-01-12 15:25:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:25:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:25:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:25:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:25:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:25:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:25:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:25:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:25:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:25:13] Production.INFO: ==24261== Releasing lock...
[2025-01-12 15:25:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:25:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:25:18] Production.INFO: count ==1170
[2025-01-12 15:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:25:05 - End Time 2025-01-12 15:25:05
[2025-01-12 15:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232502', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232502', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232502', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232502', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:25:18] Production.INFO: ProcessCDR(1,14232502,1,1,2)
[2025-01-12 15:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:25:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232502,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:25:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232502,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232502', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232502', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:25:23] Production.INFO: ==24269== Releasing lock...
[2025-01-12 15:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:25:23] Production.INFO: 36.75 MB #Memory Used#
[2025-01-12 20:26:02] Production.INFO: ==24330== Lock acquired, processing the job...
[2025-01-12 20:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:26:02] Production.INFO: neon service started
[2025-01-12 20:26:02] Production.INFO: neon service started
[2025-01-12 20:26:02] Production.INFO: ==24330== Releasing lock...
[2025-01-12 20:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:26:02] Production.INFO: ==24332== Lock acquired, processing the job...
[2025-01-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:26:02] Production.INFO: ==24332== Releasing lock...
[2025-01-12 15:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:26:03] Production.INFO: ==24334== Lock acquired, processing the job...
[2025-01-12 20:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:26:03] Production.INFO: ==24334== Releasing lock...
[2025-01-12 20:26:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:26:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:26:03] Production.INFO: ==24336== Lock acquired, processing the job...
[2025-01-12 15:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:26:03] Production.INFO: ==24340== Lock acquired, processing the job...
[2025-01-12 15:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:26:03] Production.INFO: ==24338== Lock acquired, processing the job...
[2025-01-12 15:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:26:03] Production.INFO: ==24346== Lock acquired, processing the job...
[2025-01-12 15:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:26:03] Production.INFO: ==24342== Lock acquired, processing the job...
[2025-01-12 15:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:26:04] Production.INFO: ==24338== Releasing lock...
[2025-01-12 15:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:26:04] Production.INFO: Account Balance Start.
[2025-01-12 15:26:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:26:04] Production.INFO: 117
[2025-01-12 15:26:04] Production.INFO: ==24344== Lock acquired, processing the job...
[2025-01-12 15:26:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:26:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:26:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:26:04] Production.INFO: count ==21
[2025-01-12 15:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:26:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:26:04] Production.INFO: count ==21
[2025-01-12 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232505') start
[2025-01-12 15:26:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:26:04] Production.ERROR: done
[2025-01-12 15:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232505') end
[2025-01-12 15:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:26:04] Production.INFO: 1
[2025-01-12 15:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:26:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:26:04] Production.ERROR: done
[2025-01-12 15:26:04] Production.INFO: ==24346== Releasing lock...
[2025-01-12 15:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:26:04] Production.INFO: Total Charge 0
[2025-01-12 15:26:04] Production.INFO: CreateAllLog End
[2025-01-12 15:26:04] Production.INFO: Account Balance End.
[2025-01-12 15:26:05] Production.ERROR: CronJobId end 12
[2025-01-12 15:26:05] Production.INFO: ==24342== Releasing lock...
[2025-01-12 15:26:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:26:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:26:05
[end_date_ymd] => 2025-01-12 15:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:26:05' and `end` < '2025-01-12 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-01-12 15:26:11] Production.ERROR: CronJobId end10
[2025-01-12 15:26:11] Production.INFO: ==24340== Releasing lock...
[2025-01-12 15:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:26:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:26:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:26:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:26:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:26:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:26:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:26:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:26:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:26:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:26:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:26:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:26:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:26:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:26:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:26:14] Production.INFO: call_cost start
[2025-01-12 15:26:14] Production.INFO: call_cost end
[2025-01-12 15:26:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:26:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:26:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:26:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:26:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:26:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:26:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:26:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:26:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:26:15] Production.INFO: ==24336== Releasing lock...
[2025-01-12 15:26:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:26:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:26:18] Production.INFO: count ==1172
[2025-01-12 15:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:26:05 - End Time 2025-01-12 15:26:05
[2025-01-12 15:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232507', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232507', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232507', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232507', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:26:19] Production.INFO: ProcessCDR(1,14232507,1,1,2)
[2025-01-12 15:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232507,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232507,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232507', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232507', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:26:23] Production.INFO: ==24344== Releasing lock...
[2025-01-12 15:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:26:23] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 20:27:01] Production.INFO: ==24403== Lock acquired, processing the job...
[2025-01-12 20:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:27:01] Production.INFO: neon service started
[2025-01-12 20:27:01] Production.INFO: neon service started
[2025-01-12 20:27:01] Production.INFO: ==24403== Releasing lock...
[2025-01-12 20:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:27:01] Production.INFO: ==24405== Lock acquired, processing the job...
[2025-01-12 15:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:27:02] Production.INFO: ==24407== Lock acquired, processing the job...
[2025-01-12 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:27:02] Production.INFO: ==24405== Releasing lock...
[2025-01-12 15:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:27:02] Production.INFO: ==24407== Releasing lock...
[2025-01-12 20:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:27:03] Production.INFO: ==24417== Lock acquired, processing the job...
[2025-01-12 15:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:27:03] Production.INFO: ==24420== Lock acquired, processing the job...
[2025-01-12 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:27:03] Production.INFO: ==24409== Lock acquired, processing the job...
[2025-01-12 15:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:27:03] Production.INFO: ==24411== Lock acquired, processing the job...
[2025-01-12 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:27:03] Production.INFO: ==24413== Lock acquired, processing the job...
[2025-01-12 15:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:27:03] Production.INFO: ==24415== Lock acquired, processing the job...
[2025-01-12 15:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 15:27:03] Production.INFO: Account Balance Start.
[2025-01-12 15:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:27:03] Production.INFO: count ==21
[2025-01-12 15:27:03] Production.INFO: 117
[2025-01-12 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-01-12 15:27:03] Production.INFO: count ==21
[2025-01-12 15:27:03] Production.ERROR: done
[2025-01-12 15:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232508') start
[2025-01-12 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:27:03] Production.ERROR: done
[2025-01-12 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232508') end
[2025-01-12 15:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:27:03] Production.INFO: 1
[2025-01-12 15:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:27:03] Production.INFO: ==24420== Releasing lock...
[2025-01-12 15:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:27:03] Production.INFO: ==24411== Releasing lock...
[2025-01-12 15:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:27:03] Production.INFO: Total Charge 0
[2025-01-12 15:27:04] Production.INFO: CreateAllLog End
[2025-01-12 15:27:04] Production.INFO: Account Balance End.
[2025-01-12 15:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:27:04] Production.INFO: ==24415== Releasing lock...
[2025-01-12 15:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:27:04
[end_date_ymd] => 2025-01-12 15:27:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:27:04' and `end` < '2025-01-12 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-01-12 15:27:10] Production.ERROR: CronJobId end10
[2025-01-12 15:27:10] Production.INFO: ==24413== Releasing lock...
[2025-01-12 15:27:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:27:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:27:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:27:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:27:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:27:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:27:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:27:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:27:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:27:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:27:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:27:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:27:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:27:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:27:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:27:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:27:12] Production.INFO: call_cost start
[2025-01-12 15:27:12] Production.INFO: call_cost end
[2025-01-12 15:27:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:27:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:27:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:27:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:27:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:27:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:27:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:27:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:27:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:27:12] Production.INFO: ==24409== Releasing lock...
[2025-01-12 15:27:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:27:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:27:17] Production.INFO: count ==1175
[2025-01-12 15:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:27:04 - End Time 2025-01-12 15:27:04
[2025-01-12 15:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232512', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232512', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232512', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232512', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:27:18] Production.INFO: ProcessCDR(1,14232512,1,1,2)
[2025-01-12 15:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232512,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232512,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232512', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232512', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:27:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:27:22] Production.INFO: ==24417== Releasing lock...
[2025-01-12 15:27:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:27:22] Production.INFO: 36.5 MB #Memory Used#
[2025-01-12 20:28:02] Production.INFO: ==24477== Lock acquired, processing the job...
[2025-01-12 20:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:28:02] Production.INFO: neon service started
[2025-01-12 20:28:02] Production.INFO: neon service started
[2025-01-12 20:28:02] Production.INFO: ==24477== Releasing lock...
[2025-01-12 20:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:28:02] Production.INFO: ==24479== Lock acquired, processing the job...
[2025-01-12 15:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:28:02] Production.INFO: ==24481== Lock acquired, processing the job...
[2025-01-12 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:28:02] Production.INFO: ==24481== Releasing lock...
[2025-01-12 20:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:28:03] Production.INFO: ==24479== Releasing lock...
[2025-01-12 15:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:28:03] Production.INFO: ==24486== Lock acquired, processing the job...
[2025-01-12 15:28:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:28:03] Production.INFO: ==24488== Lock acquired, processing the job...
[2025-01-12 15:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:28:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:28:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:28:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:28:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:28:03] Production.INFO: ==24492== Lock acquired, processing the job...
[2025-01-12 15:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:28:03] Production.INFO: ==24484== Lock acquired, processing the job...
[2025-01-12 15:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:28:04] Production.INFO: ==24490== Lock acquired, processing the job...
[2025-01-12 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:28:04] Production.INFO: ==24486== Releasing lock...
[2025-01-12 15:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:28:04] Production.INFO: ==24494== Lock acquired, processing the job...
[2025-01-12 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:28:04] Production.INFO: Account Balance Start.
[2025-01-12 15:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:28:04] Production.INFO: 117
[2025-01-12 15:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:28:04] Production.INFO: count ==21
[2025-01-12 15:28:04] Production.ERROR: done
[2025-01-12 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-01-12 15:28:04] Production.INFO: count ==21
[2025-01-12 15:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232516') start
[2025-01-12 15:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:28:04] Production.ERROR: done
[2025-01-12 15:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232516') end
[2025-01-12 15:28:04] Production.INFO: Total Charge 0
[2025-01-12 15:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:28:04] Production.INFO: 1
[2025-01-12 15:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:28:04] Production.INFO: CreateAllLog End
[2025-01-12 15:28:04] Production.INFO: ==24494== Releasing lock...
[2025-01-12 15:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:28:04] Production.INFO: Account Balance End.
[2025-01-12 15:28:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:28:04] Production.INFO: ==24490== Releasing lock...
[2025-01-12 15:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:28:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:28:05
[end_date_ymd] => 2025-01-12 15:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:28:05' and `end` < '2025-01-12 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-01-12 15:28:10] Production.ERROR: CronJobId end10
[2025-01-12 15:28:10] Production.INFO: ==24488== Releasing lock...
[2025-01-12 15:28:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:28:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:28:13] Production.INFO: call_cost start
[2025-01-12 15:28:13] Production.INFO: call_cost end
[2025-01-12 15:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:28:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:28:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:28:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:28:14] Production.INFO: ==24484== Releasing lock...
[2025-01-12 15:28:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:28:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:28:20] Production.INFO: count ==1219
[2025-01-12 15:28:20] Production.ERROR: pbx CDR StartTime 2025-01-12 12:28:05 - End Time 2025-01-12 15:28:05
[2025-01-12 15:28:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232517', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232517', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232517', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:28:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232517', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:28:20] Production.INFO: ProcessCDR(1,14232517,1,1,2)
[2025-01-12 15:28:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:28:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232517,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:28:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:28:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232517,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:28:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232517', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:28:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232517', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:28:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:28:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:28:25] Production.INFO: ==24492== Releasing lock...
[2025-01-12 15:28:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:28:25] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 20:29:01] Production.INFO: ==24546== Lock acquired, processing the job...
[2025-01-12 20:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:29:01] Production.INFO: neon service started
[2025-01-12 20:29:01] Production.INFO: neon service started
[2025-01-12 20:29:01] Production.INFO: ==24546== Releasing lock...
[2025-01-12 20:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:29:01] Production.INFO: ==24550== Lock acquired, processing the job...
[2025-01-12 20:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:29:01] Production.INFO: ==24550== Releasing lock...
[2025-01-12 20:29:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:29:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:29:01] Production.INFO: ==24548== Lock acquired, processing the job...
[2025-01-12 15:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:29:02] Production.INFO: ==24548== Releasing lock...
[2025-01-12 15:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:29:03] Production.INFO: ==24557== Lock acquired, processing the job...
[2025-01-12 15:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:29:03] Production.INFO: ==24559== Lock acquired, processing the job...
[2025-01-12 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:29:03] Production.INFO: ==24553== Lock acquired, processing the job...
[2025-01-12 15:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:29:03] Production.INFO: ==24555== Lock acquired, processing the job...
[2025-01-12 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:29:03] Production.INFO: Account Balance Start.
[2025-01-12 15:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:29:03] Production.INFO: 117
[2025-01-12 15:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:29:03] Production.INFO: Total Charge 0
[2025-01-12 15:29:03] Production.INFO: ==24561== Lock acquired, processing the job...
[2025-01-12 15:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:29:03] Production.INFO: ==24563== Lock acquired, processing the job...
[2025-01-12 15:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:29:03] Production.INFO: CreateAllLog End
[2025-01-12 15:29:03] Production.INFO: ==24555== Releasing lock...
[2025-01-12 15:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 15:29:03] Production.INFO: count ==21
[2025-01-12 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-01-12 15:29:03] Production.INFO: count ==21
[2025-01-12 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232521') start
[2025-01-12 15:29:03] Production.ERROR: done
[2025-01-12 15:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:29:03] Production.ERROR: done
[2025-01-12 15:29:03] Production.INFO: Account Balance End.
[2025-01-12 15:29:03] Production.ERROR: CronJobId end 12
[2025-01-12 15:29:03] Production.INFO: ==24559== Releasing lock...
[2025-01-12 15:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:29:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232521') end
[2025-01-12 15:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:29:03] Production.INFO: 1
[2025-01-12 15:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:29:04] Production.INFO: ==24563== Releasing lock...
[2025-01-12 15:29:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:29:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:29:04
[end_date_ymd] => 2025-01-12 15:29:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:29:04' and `end` < '2025-01-12 15: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-01-12 15:29:10] Production.ERROR: CronJobId end10
[2025-01-12 15:29:10] Production.INFO: ==24557== Releasing lock...
[2025-01-12 15:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:29:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:29:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:29:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:29:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:29:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:29:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:29:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:29:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:29:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:29:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:29:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:29:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:29:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:29:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:29:12] Production.INFO: call_cost start
[2025-01-12 15:29:12] Production.INFO: call_cost end
[2025-01-12 15:29:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:29:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:29:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:29:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:29:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:29:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:29:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:29:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:29:13] Production.INFO: ==24553== Releasing lock...
[2025-01-12 15:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:29:18] Production.INFO: count ==1212
[2025-01-12 15:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:29:04 - End Time 2025-01-12 15:29:04
[2025-01-12 15:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232522', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232522', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232522', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232522', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:29:18] Production.INFO: ProcessCDR(1,14232522,1,1,2)
[2025-01-12 15:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:29:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232522,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:29:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:29:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232522,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232522', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:29:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232522', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:29:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:29:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:29:22] Production.INFO: ==24561== Releasing lock...
[2025-01-12 15:29:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:29:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:30:01] Production.INFO: ==24620== Lock acquired, processing the job...
[2025-01-12 20:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:30:01] Production.INFO: neon service started
[2025-01-12 20:30:01] Production.INFO: neon service started
[2025-01-12 20:30:01] Production.INFO: ==24620== Releasing lock...
[2025-01-12 20:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:30:02] Production.INFO: ==24624== Lock acquired, processing the job...
[2025-01-12 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:30:02] Production.INFO: ==24624== Releasing lock...
[2025-01-12 20:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:30:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:30:02] Production.INFO: ==24622== Lock acquired, processing the job...
[2025-01-12 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:30:02] Production.INFO: ==24622== Releasing lock...
[2025-01-12 15:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:30:03] Production.INFO: ==24627== Lock acquired, processing the job...
[2025-01-12 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 15:30:03] Production.INFO: ==24629== Lock acquired, processing the job...
[2025-01-12 15:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 15:30:03] Production.INFO: ==24631== Lock acquired, processing the job...
[2025-01-12 15:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 15:30:03] Production.INFO: ==24627== Releasing lock...
[2025-01-12 15:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 15:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 15:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:30:03] Production.INFO: ==24635== Lock acquired, processing the job...
[2025-01-12 15:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:30:03] Production.INFO: ==24633== Lock acquired, processing the job...
[2025-01-12 15:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:30:03] Production.INFO: Account Balance Start.
[2025-01-12 15:30:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:30:03] Production.INFO: 117
[2025-01-12 15:30:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:30:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:30:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:30:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:30:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:30:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:30:04] Production.INFO: ==24639== Lock acquired, processing the job...
[2025-01-12 15:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 15:30:04] Production.INFO: ==24637== Lock acquired, processing the job...
[2025-01-12 15:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:30:04] Production.INFO: ==24631== Releasing lock...
[2025-01-12 15:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:30:04] Production.INFO: ==24641== Lock acquired, processing the job...
[2025-01-12 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:30:04] Production.INFO: Total Charge 0
[2025-01-12 15:30:04] Production.INFO: CreateAllLog End
[2025-01-12 15:30:04] Production.ERROR: done
[2025-01-12 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-01-12 15:30:04] Production.INFO: count ==21
[2025-01-12 15:30:04] Production.ERROR: done
[2025-01-12 15:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:30:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:30:04] Production.INFO: count ==21
[2025-01-12 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232526') start
[2025-01-12 15:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 15:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232527', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 15:30:04] Production.INFO: Account Balance End.
[2025-01-12 15:30:04] Production.ERROR: done
[2025-01-12 15:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:30:04] Production.INFO: ==24635== Releasing lock...
[2025-01-12 15:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232526') end
[2025-01-12 15:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:30:04] Production.INFO: 1
[2025-01-12 15:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:30:04] Production.INFO: ==24641== Releasing lock...
[2025-01-12 15:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:30:06
[end_date_ymd] => 2025-01-12 15:30:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:30:06' and `end` < '2025-01-12 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-01-12 15:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232527', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 15:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 15:30:08] Production.INFO: ProcessCDR(1,14232527,1,1,2)
[2025-01-12 15:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:30:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232527,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:30:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:30:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:30:08] Production.INFO: ==24639== Releasing lock...
[2025-01-12 15:30:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 15:30:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 15:30:12] Production.ERROR: CronJobId end10
[2025-01-12 15:30:12] Production.INFO: ==24633== Releasing lock...
[2025-01-12 15:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:30:15] Production.INFO: call_cost start
[2025-01-12 15:30:15] Production.INFO: call_cost end
[2025-01-12 15:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:30:15] Production.INFO: ==24629== Releasing lock...
[2025-01-12 15:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:30:19] Production.INFO: count ==1207
[2025-01-12 15:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:30:06 - End Time 2025-01-12 15:30:06
[2025-01-12 15:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232528', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232528', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232528', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232528', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:30:19] Production.INFO: ProcessCDR(1,14232528,1,1,2)
[2025-01-12 15:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:30:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232528,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:30:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:30:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232528,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232528', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:30:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232528', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:30:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:30:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:30:23] Production.INFO: ==24637== Releasing lock...
[2025-01-12 15:30:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:30:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:31:02] Production.INFO: ==24696== Lock acquired, processing the job...
[2025-01-12 20:31:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:31:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:31:02] Production.INFO: neon service started
[2025-01-12 20:31:02] Production.INFO: neon service started
[2025-01-12 20:31:02] Production.INFO: ==24696== Releasing lock...
[2025-01-12 20:31:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:31:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:31:02] Production.INFO: ==24698== Lock acquired, processing the job...
[2025-01-12 15:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:31:02] Production.INFO: ==24700== Lock acquired, processing the job...
[2025-01-12 20:31:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:31:03] Production.INFO: ==24700== Releasing lock...
[2025-01-12 20:31:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:31:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:31:03] Production.INFO: ==24698== Releasing lock...
[2025-01-12 15:31:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:31:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:31:03] Production.INFO: ==24705== Lock acquired, processing the job...
[2025-01-12 15:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:31:04] Production.INFO: ==24713== Lock acquired, processing the job...
[2025-01-12 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:31:04] Production.INFO: ==24703== Lock acquired, processing the job...
[2025-01-12 15:31:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:31:04] Production.INFO: ==24705== Releasing lock...
[2025-01-12 15:31:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:31:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 15:31:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:31:04] Production.INFO: ==24709== Lock acquired, processing the job...
[2025-01-12 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:31:04] Production.INFO: ==24707== Lock acquired, processing the job...
[2025-01-12 15:31:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:31:04] Production.INFO: count ==21
[2025-01-12 15:31:04] Production.INFO: ==24711== Lock acquired, processing the job...
[2025-01-12 15:31:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 15:31:04] Production.INFO: count ==21
[2025-01-12 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232530') start
[2025-01-12 15:31:04] Production.INFO: Account Balance Start.
[2025-01-12 15:31:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:31:04] Production.INFO: 117
[2025-01-12 15:31:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:31:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:31:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232530') end
[2025-01-12 15:31:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:31:04] Production.INFO: 1
[2025-01-12 15:31:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:31:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:31:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:31:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:31:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:31:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:31:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:31:04] Production.INFO: ==24713== Releasing lock...
[2025-01-12 15:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:31:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:31:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:31:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:31:04] Production.INFO: Total Charge 0
[2025-01-12 15:31:04] Production.INFO: CreateAllLog End
[2025-01-12 15:31:04] Production.ERROR: done
[2025-01-12 15:31:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:31:04] Production.INFO: Account Balance End.
[2025-01-12 15:31:04] Production.ERROR: done
[2025-01-12 15:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:31:04] Production.INFO: ==24709== Releasing lock...
[2025-01-12 15:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:31:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:31:05
[end_date_ymd] => 2025-01-12 15:31:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:31:05' and `end` < '2025-01-12 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-01-12 15:31:11] Production.ERROR: CronJobId end10
[2025-01-12 15:31:11] Production.INFO: ==24707== Releasing lock...
[2025-01-12 15:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:31:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:31:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:31:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:31:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:31:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:31:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:31:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:31:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:31:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:31:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:31:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:31:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:31:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:31:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:31:13] Production.INFO: call_cost start
[2025-01-12 15:31:13] Production.INFO: call_cost end
[2025-01-12 15:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:31:14] Production.INFO: ==24703== Releasing lock...
[2025-01-12 15:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:31:19] Production.INFO: count ==1213
[2025-01-12 15:31:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:31:05 - End Time 2025-01-12 15:31:05
[2025-01-12 15:31:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232533', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232533', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232533', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:31:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232533', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:31:19] Production.INFO: ProcessCDR(1,14232533,1,1,2)
[2025-01-12 15:31:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232533,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:31:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232533,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232533', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:31:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232533', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:31:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:31:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:31:24] Production.INFO: ==24711== Releasing lock...
[2025-01-12 15:31:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:31:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:32:01] Production.INFO: ==24766== Lock acquired, processing the job...
[2025-01-12 20:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:32:01] Production.INFO: neon service started
[2025-01-12 20:32:01] Production.INFO: neon service started
[2025-01-12 20:32:01] Production.INFO: ==24766== Releasing lock...
[2025-01-12 20:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:32:02] Production.INFO: ==24768== Lock acquired, processing the job...
[2025-01-12 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:32:02] Production.INFO: ==24770== Lock acquired, processing the job...
[2025-01-12 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:32:02] Production.INFO: ==24768== Releasing lock...
[2025-01-12 15:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:32:02] Production.INFO: ==24770== Releasing lock...
[2025-01-12 20:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:32:03] Production.INFO: ==24778== Lock acquired, processing the job...
[2025-01-12 15:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:32:03] Production.INFO: ==24783== Lock acquired, processing the job...
[2025-01-12 15:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:32:03] Production.INFO: Account Balance Start.
[2025-01-12 15:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:32:03] Production.INFO: 117
[2025-01-12 15:32:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:32:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:32:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:32:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:32:03] Production.INFO: ==24772== Lock acquired, processing the job...
[2025-01-12 15:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:32:03] Production.INFO: count ==21
[2025-01-12 15:32:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:32:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:32:03] Production.INFO: count ==21
[2025-01-12 15:32:03] Production.INFO: ==24774== Lock acquired, processing the job...
[2025-01-12 15:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:32:03] Production.INFO: ==24776== Lock acquired, processing the job...
[2025-01-12 15:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232535') start
[2025-01-12 15:32:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:32:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:32:03] Production.INFO: ==24780== Lock acquired, processing the job...
[2025-01-12 15:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:32:03] Production.INFO: Total Charge 0
[2025-01-12 15:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:32:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232535') end
[2025-01-12 15:32:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:32:03] Production.INFO: 1
[2025-01-12 15:32:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:32:03] Production.INFO: CreateAllLog End
[2025-01-12 15:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:32:04] Production.INFO: ==24783== Releasing lock...
[2025-01-12 15:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:32:04] Production.INFO: ==24774== Releasing lock...
[2025-01-12 15:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:32:04] Production.INFO: Account Balance End.
[2025-01-12 15:32:04] Production.ERROR: done
[2025-01-12 15:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:32:04] Production.INFO: ==24778== Releasing lock...
[2025-01-12 15:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:32:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:32:04] Production.ERROR: done
[2025-01-12 15:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:32:05
[end_date_ymd] => 2025-01-12 15:32:05
[RateCDR] => 1
)
[2025-01-12 15:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:32:05' and `end` < '2025-01-12 15:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:32:12] Production.ERROR: CronJobId end10
[2025-01-12 15:32:12] Production.INFO: ==24776== Releasing lock...
[2025-01-12 15:32:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:32:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:32:13] Production.INFO: call_cost start
[2025-01-12 15:32:13] Production.INFO: call_cost end
[2025-01-12 15:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:32:14] Production.INFO: ==24772== Releasing lock...
[2025-01-12 15:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:32:19] Production.INFO: count ==1213
[2025-01-12 15:32:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:32:05 - End Time 2025-01-12 15:32:05
[2025-01-12 15:32:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232538', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232538', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232538', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:32:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232538', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:32:19] Production.INFO: ProcessCDR(1,14232538,1,1,2)
[2025-01-12 15:32:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:32:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232538,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:32:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:32:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232538,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232538', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:32:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232538', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:32:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:32:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:32:24] Production.INFO: ==24780== Releasing lock...
[2025-01-12 15:32:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:32:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:33:02] Production.INFO: ==24838== Lock acquired, processing the job...
[2025-01-12 20:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:33:02] Production.INFO: neon service started
[2025-01-12 20:33:02] Production.INFO: neon service started
[2025-01-12 20:33:02] Production.INFO: ==24838== Releasing lock...
[2025-01-12 20:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:33:02] Production.INFO: ==24840== Lock acquired, processing the job...
[2025-01-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:33:02] Production.INFO: ==24840== Releasing lock...
[2025-01-12 15:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:33:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:33:02] Production.INFO: ==24842== Lock acquired, processing the job...
[2025-01-12 20:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:33:03] Production.INFO: ==24842== Releasing lock...
[2025-01-12 20:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:33:03] Production.INFO: ==24844== Lock acquired, processing the job...
[2025-01-12 15:33:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:33:03] Production.INFO: ==24850== Lock acquired, processing the job...
[2025-01-12 15:33:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:33:03] Production.INFO: ==24854== Lock acquired, processing the job...
[2025-01-12 15:33:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:33:03] Production.INFO: ==24846== Lock acquired, processing the job...
[2025-01-12 15:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:33:03] Production.INFO: ==24848== Lock acquired, processing the job...
[2025-01-12 15:33:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:33:03] Production.INFO: Account Balance Start.
[2025-01-12 15:33:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:33:03] Production.INFO: 117
[2025-01-12 15:33:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:33:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 15: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-01-12 15:33:03] Production.INFO: ==24852== Lock acquired, processing the job...
[2025-01-12 15:33:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:33:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:33:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:33:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:33:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:33:03] Production.INFO: count ==21
[2025-01-12 15: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-01-12 15:33:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:33:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:33:03] Production.INFO: count ==21
[2025-01-12 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232540') start
[2025-01-12 15:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:33:04] Production.INFO: Total Charge 0
[2025-01-12 15:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232540') end
[2025-01-12 15:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:33:04] Production.INFO: 1
[2025-01-12 15:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:33:04] Production.INFO: CreateAllLog End
[2025-01-12 15:33:04] Production.INFO: ==24854== Releasing lock...
[2025-01-12 15:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:33:04] Production.INFO: ==24846== Releasing lock...
[2025-01-12 15:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:33:04] Production.INFO: Account Balance End.
[2025-01-12 15:33:04] Production.ERROR: done
[2025-01-12 15:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:33:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:33:04] Production.INFO: ==24850== Releasing lock...
[2025-01-12 15:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:33:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:33:04] Production.ERROR: done
[2025-01-12 15:33:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:33:05
[end_date_ymd] => 2025-01-12 15:33:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:33:05' and `end` < '2025-01-12 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-01-12 15:33:10] Production.ERROR: CronJobId end10
[2025-01-12 15:33:10] Production.INFO: ==24848== Releasing lock...
[2025-01-12 15:33:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:33:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:33:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:33:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:33:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:33:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:33:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:33:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:33:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:33:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:33:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:33:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:33:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:33:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:33:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:33:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:33:13] Production.INFO: call_cost start
[2025-01-12 15:33:13] Production.INFO: call_cost end
[2025-01-12 15:33:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:33:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:33:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:33:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:33:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:33:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:33:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:33:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:33:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:33:13] Production.INFO: ==24844== Releasing lock...
[2025-01-12 15:33:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:33:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:33:18] Production.INFO: count ==1206
[2025-01-12 15:33:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:33:05 - End Time 2025-01-12 15:33:05
[2025-01-12 15:33:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232543', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232543', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232543', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:33:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232543', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:33:18] Production.INFO: ProcessCDR(1,14232543,1,1,2)
[2025-01-12 15:33:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:33:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232543,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:33:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:33:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232543,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:33:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232543', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232543', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:33:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:33:23] Production.INFO: ==24852== Releasing lock...
[2025-01-12 15:33:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:33:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:34:01] Production.INFO: ==24947== Lock acquired, processing the job...
[2025-01-12 20:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:34:01] Production.INFO: neon service started
[2025-01-12 20:34:01] Production.INFO: neon service started
[2025-01-12 20:34:01] Production.INFO: ==24947== Releasing lock...
[2025-01-12 20:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:34:01] Production.INFO: ==24949== Lock acquired, processing the job...
[2025-01-12 15:34:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:34:02] Production.INFO: ==24949== Releasing lock...
[2025-01-12 15:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:34:02] Production.INFO: ==24951== Lock acquired, processing the job...
[2025-01-12 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:34:02] Production.INFO: ==24951== Releasing lock...
[2025-01-12 20:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:34:03] Production.INFO: ==24957== Lock acquired, processing the job...
[2025-01-12 15:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:34:03] Production.INFO: ==24963== Lock acquired, processing the job...
[2025-01-12 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:34:03] Production.INFO: ==24955== Lock acquired, processing the job...
[2025-01-12 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:34:03] Production.INFO: ==24953== Lock acquired, processing the job...
[2025-01-12 15:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:34:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:34:03] Production.INFO: ==24961== Lock acquired, processing the job...
[2025-01-12 15:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:34:03] Production.INFO: count ==21
[2025-01-12 15:34:03] Production.INFO: ==24959== Lock acquired, processing the job...
[2025-01-12 15:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:34:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:34:03] Production.INFO: count ==21
[2025-01-12 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232544') start
[2025-01-12 15:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:34:03] Production.INFO: Account Balance Start.
[2025-01-12 15:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:34:03] Production.INFO: 117
[2025-01-12 15:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232544') end
[2025-01-12 15:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:34:03] Production.INFO: 1
[2025-01-12 15:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:34:03] Production.INFO: ==24955== Releasing lock...
[2025-01-12 15:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:34:03] Production.INFO: ==24963== Releasing lock...
[2025-01-12 15:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:34:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:34:03] Production.ERROR: done
[2025-01-12 15:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:34:03] Production.INFO: Total Charge 0
[2025-01-12 15:34:03] Production.INFO: CreateAllLog End
[2025-01-12 15:34:03] Production.ERROR: done
[2025-01-12 15:34:04] Production.INFO: Account Balance End.
[2025-01-12 15:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:34:04] Production.INFO: ==24959== Releasing lock...
[2025-01-12 15:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:34:04
[end_date_ymd] => 2025-01-12 15:34:04
[RateCDR] => 1
)
[2025-01-12 15:34:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:34:04' and `end` < '2025-01-12 15:34:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:34:10] Production.ERROR: CronJobId end10
[2025-01-12 15:34:10] Production.INFO: ==24957== Releasing lock...
[2025-01-12 15:34:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:34:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:34:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:34:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:34:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:34:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:34:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:34:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:34:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:34:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:34:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:34:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:34:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:34:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:34:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:34:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:34:13] Production.INFO: call_cost start
[2025-01-12 15:34:13] Production.INFO: call_cost end
[2025-01-12 15:34:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:34:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:34:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:34:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:34:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:34:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:34:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:34:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:34:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:34:14] Production.INFO: ==24953== Releasing lock...
[2025-01-12 15:34:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:34:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:34:18] Production.INFO: count ==1204
[2025-01-12 15:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:34:04 - End Time 2025-01-12 15:34:04
[2025-01-12 15:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232548', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232548', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232548', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232548', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:34:18] Production.INFO: ProcessCDR(1,14232548,1,1,2)
[2025-01-12 15:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:34:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232548,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:34:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:34:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232548,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232548', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:34:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232548', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:34:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:34:23] Production.INFO: ==24961== Releasing lock...
[2025-01-12 15:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:34:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:35:02] Production.INFO: ==25018== Lock acquired, processing the job...
[2025-01-12 20:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:35:02] Production.INFO: neon service started
[2025-01-12 20:35:02] Production.INFO: neon service started
[2025-01-12 20:35:02] Production.INFO: ==25018== Releasing lock...
[2025-01-12 20:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:35:02] Production.INFO: ==25020== Lock acquired, processing the job...
[2025-01-12 15:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:35:02] Production.INFO: ==25022== Lock acquired, processing the job...
[2025-01-12 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:35:02] Production.INFO: ==25022== Releasing lock...
[2025-01-12 20:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:35:03] Production.INFO: ==25020== Releasing lock...
[2025-01-12 15:35:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:35:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:35:03] Production.INFO: ==25025== Lock acquired, processing the job...
[2025-01-12 15:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:35:03] Production.INFO: ==25029== Lock acquired, processing the job...
[2025-01-12 15:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:35:03] Production.INFO: ==25031== Lock acquired, processing the job...
[2025-01-12 15:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:35:03] Production.INFO: ==25027== Lock acquired, processing the job...
[2025-01-12 15:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:35:04] Production.INFO: Account Balance Start.
[2025-01-12 15:35:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:35:04] Production.INFO: 117
[2025-01-12 15:35:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:35:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:35:04] Production.INFO: ==25033== Lock acquired, processing the job...
[2025-01-12 15:35:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:35:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:35:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:35:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:35:04] Production.INFO: ==25035== Lock acquired, processing the job...
[2025-01-12 15:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:35:04] Production.INFO: Total Charge 0
[2025-01-12 15:35:04] Production.INFO: CreateAllLog End
[2025-01-12 15:35:04] Production.INFO: ==25027== Releasing lock...
[2025-01-12 15:35:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:35:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 15:35:04] Production.INFO: count ==21
[2025-01-12 15:35:04] Production.INFO: Account Balance End.
[2025-01-12 15:35:04] Production.ERROR: done
[2025-01-12 15:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 15:35:04] Production.INFO: count ==21
[2025-01-12 15:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:35:04] Production.INFO: ==25031== Releasing lock...
[2025-01-12 15:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232552') start
[2025-01-12 15:35:04] Production.ERROR: done
[2025-01-12 15:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232552') end
[2025-01-12 15:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:35:04] Production.INFO: 1
[2025-01-12 15:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:35:05] Production.INFO: ==25035== Releasing lock...
[2025-01-12 15:35:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:35:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:35:05
[end_date_ymd] => 2025-01-12 15:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:35:05' and `end` < '2025-01-12 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-01-12 15:35:11] Production.ERROR: CronJobId end10
[2025-01-12 15:35:11] Production.INFO: ==25029== Releasing lock...
[2025-01-12 15:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:35:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:35:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:35:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:35:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:35:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:35:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:35:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:35:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:35:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:35:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:35:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:35:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:35:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:35:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:35:13] Production.INFO: call_cost start
[2025-01-12 15:35:13] Production.INFO: call_cost end
[2025-01-12 15:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:35:14] Production.INFO: ==25025== Releasing lock...
[2025-01-12 15:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:35:18] Production.INFO: count ==1212
[2025-01-12 15:35:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:35:05 - End Time 2025-01-12 15:35:05
[2025-01-12 15:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232553', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232553', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232553', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232553', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:35:19] Production.INFO: ProcessCDR(1,14232553,1,1,2)
[2025-01-12 15:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232553,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232553,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232553', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232553', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:35:23] Production.INFO: ==25033== Releasing lock...
[2025-01-12 15:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:35:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:36:01] Production.INFO: ==25092== Lock acquired, processing the job...
[2025-01-12 20:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:36:01] Production.INFO: neon service started
[2025-01-12 20:36:01] Production.INFO: neon service started
[2025-01-12 20:36:01] Production.INFO: ==25092== Releasing lock...
[2025-01-12 20:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:36:01] Production.INFO: ==25094== Lock acquired, processing the job...
[2025-01-12 15:36:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:36:02] Production.INFO: ==25094== Releasing lock...
[2025-01-12 15:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:36:02] Production.INFO: ==25096== Lock acquired, processing the job...
[2025-01-12 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:36:02] Production.INFO: ==25096== Releasing lock...
[2025-01-12 20:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:36:03] Production.INFO: ==25103== Lock acquired, processing the job...
[2025-01-12 15:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:36:03] Production.INFO: ==25109== Lock acquired, processing the job...
[2025-01-12 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:36:03] Production.INFO: ==25099== Lock acquired, processing the job...
[2025-01-12 15:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:36:03] Production.INFO: ==25101== Lock acquired, processing the job...
[2025-01-12 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:36:03] Production.INFO: ==25105== Lock acquired, processing the job...
[2025-01-12 15:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:36:03] Production.INFO: ==25107== Lock acquired, processing the job...
[2025-01-12 15:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:36:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:36:03] Production.INFO: Account Balance Start.
[2025-01-12 15:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:36:03] Production.INFO: count ==21
[2025-01-12 15:36:03] Production.INFO: 117
[2025-01-12 15:36:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:36:03] Production.INFO: count ==21
[2025-01-12 15:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232554') start
[2025-01-12 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232554') end
[2025-01-12 15:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:36:03] Production.INFO: 1
[2025-01-12 15:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:36:03] Production.ERROR: done
[2025-01-12 15:36:03] Production.INFO: ==25109== Releasing lock...
[2025-01-12 15:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:36:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:36:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:36:03] Production.INFO: ==25101== Releasing lock...
[2025-01-12 15:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:36:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:36:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:36:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:36:04] Production.INFO: Total Charge 0
[2025-01-12 15:36:04] Production.INFO: CreateAllLog End
[2025-01-12 15:36:04] Production.ERROR: done
[2025-01-12 15:36:04] Production.INFO: Account Balance End.
[2025-01-12 15:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:36:04] Production.INFO: ==25105== Releasing lock...
[2025-01-12 15:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:36:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:36:04
[end_date_ymd] => 2025-01-12 15:36:04
[RateCDR] => 1
)
[2025-01-12 15:36:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:36:04' and `end` < '2025-01-12 15:36:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:36:10] Production.ERROR: CronJobId end10
[2025-01-12 15:36:10] Production.INFO: ==25103== Releasing lock...
[2025-01-12 15:36:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:36:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:36:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:36:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:36:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:36:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:36:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:36:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:36:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:36:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:36:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:36:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:36:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:36:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:36:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:36:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:36:12] Production.INFO: call_cost start
[2025-01-12 15:36:12] Production.INFO: call_cost end
[2025-01-12 15:36:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:36:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:36:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:36:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:36:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:36:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:36:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:36:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:36:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:36:13] Production.INFO: ==25099== Releasing lock...
[2025-01-12 15:36:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:36:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:36:18] Production.INFO: count ==1217
[2025-01-12 15:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:36:04 - End Time 2025-01-12 15:36:04
[2025-01-12 15:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232558', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232558', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232558', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232558', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:36:18] Production.INFO: ProcessCDR(1,14232558,1,1,2)
[2025-01-12 15:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:36:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232558,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:36:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:36:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232558,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232558', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:36:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232558', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:36:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:36:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:36:22] Production.INFO: ==25107== Releasing lock...
[2025-01-12 15:36:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:36:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:37:02] Production.INFO: ==25167== Lock acquired, processing the job...
[2025-01-12 20:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:37:02] Production.INFO: neon service started
[2025-01-12 20:37:02] Production.INFO: neon service started
[2025-01-12 20:37:02] Production.INFO: ==25167== Releasing lock...
[2025-01-12 20:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:37:02] Production.INFO: ==25169== Lock acquired, processing the job...
[2025-01-12 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:37:02] Production.INFO: ==25171== Lock acquired, processing the job...
[2025-01-12 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:37:02] Production.INFO: ==25171== Releasing lock...
[2025-01-12 20:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:37:02] Production.INFO: ==25169== Releasing lock...
[2025-01-12 15:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:37:03] Production.INFO: ==25180== Lock acquired, processing the job...
[2025-01-12 15:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:37:03] Production.INFO: ==25182== Lock acquired, processing the job...
[2025-01-12 15:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:37:03] Production.INFO: ==25174== Lock acquired, processing the job...
[2025-01-12 15:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:37:03] Production.INFO: Account Balance Start.
[2025-01-12 15:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:37:03] Production.INFO: ==25176== Lock acquired, processing the job...
[2025-01-12 15:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:37:03] Production.INFO: 117
[2025-01-12 15:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:37:03] Production.INFO: ==25178== Lock acquired, processing the job...
[2025-01-12 15:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:37:03] Production.INFO: ==25184== Lock acquired, processing the job...
[2025-01-12 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:37:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:37:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:37:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:37:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:37:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:37:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:37:04] Production.INFO: count ==21
[2025-01-12 15:37:04] Production.ERROR: done
[2025-01-12 15:37:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:37:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:37:04] Production.INFO: count ==21
[2025-01-12 15:37:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232562') start
[2025-01-12 15:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232562') end
[2025-01-12 15:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:37:04] Production.INFO: 1
[2025-01-12 15:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:37:04] Production.ERROR: done
[2025-01-12 15:37:04] Production.INFO: ==25184== Releasing lock...
[2025-01-12 15:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:37:04] Production.INFO: Total Charge 0
[2025-01-12 15:37:04] Production.INFO: CreateAllLog End
[2025-01-12 15:37:04] Production.INFO: ==25176== Releasing lock...
[2025-01-12 15:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:37:04] Production.INFO: Account Balance End.
[2025-01-12 15:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:37:04] Production.INFO: ==25180== Releasing lock...
[2025-01-12 15:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:37:05
[end_date_ymd] => 2025-01-12 15:37:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:37:05' and `end` < '2025-01-12 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-01-12 15:37:11] Production.ERROR: CronJobId end10
[2025-01-12 15:37:11] Production.INFO: ==25178== Releasing lock...
[2025-01-12 15:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:37:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:37:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:37:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:37:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:37:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:37:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:37:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:37:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:37:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:37:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:37:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:37:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:37:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:37:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:37:12] Production.INFO: call_cost start
[2025-01-12 15:37:12] Production.INFO: call_cost end
[2025-01-12 15:37:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:37:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:37:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:37:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:37:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:37:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:37:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:37:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:37:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:37:13] Production.INFO: ==25174== Releasing lock...
[2025-01-12 15:37:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:37:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:37:18] Production.INFO: count ==1205
[2025-01-12 15:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:37:05 - End Time 2025-01-12 15:37:05
[2025-01-12 15:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232563', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232563', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232563', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232563', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:37:19] Production.INFO: ProcessCDR(1,14232563,1,1,2)
[2025-01-12 15:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232563,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232563,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232563', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232563', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:37:23] Production.INFO: ==25182== Releasing lock...
[2025-01-12 15:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:37:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:38:01] Production.INFO: ==25236== Lock acquired, processing the job...
[2025-01-12 20:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:38:01] Production.INFO: neon service started
[2025-01-12 20:38:01] Production.INFO: neon service started
[2025-01-12 20:38:01] Production.INFO: ==25236== Releasing lock...
[2025-01-12 20:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:38:01] Production.INFO: ==25238== Lock acquired, processing the job...
[2025-01-12 15:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:38:02] Production.INFO: ==25238== Releasing lock...
[2025-01-12 15:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:38:02] Production.INFO: ==25240== Lock acquired, processing the job...
[2025-01-12 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:38:02] Production.INFO: ==25240== Releasing lock...
[2025-01-12 20:38:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:38:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:38:02] Production.INFO: ==25246== Lock acquired, processing the job...
[2025-01-12 15:38:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:38:03] Production.INFO: ==25253== Lock acquired, processing the job...
[2025-01-12 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:38:03] Production.INFO: ==25242== Lock acquired, processing the job...
[2025-01-12 15:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:38:03] Production.INFO: ==25244== Lock acquired, processing the job...
[2025-01-12 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15: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-01-12 15:38:03] Production.INFO: count ==21
[2025-01-12 15:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15: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-01-12 15:38:03] Production.INFO: count ==21
[2025-01-12 15:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232564') start
[2025-01-12 15:38:03] Production.INFO: ==25248== Lock acquired, processing the job...
[2025-01-12 15:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:38:03] Production.INFO: ==25251== Lock acquired, processing the job...
[2025-01-12 15:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232564') end
[2025-01-12 15:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:38:03] Production.INFO: 1
[2025-01-12 15:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:38:03] Production.INFO: ==25253== Releasing lock...
[2025-01-12 15:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:38:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:38:03] Production.INFO: Account Balance Start.
[2025-01-12 15:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:38:03] Production.INFO: 117
[2025-01-12 15:38:03] Production.INFO: ==25244== Releasing lock...
[2025-01-12 15:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:38:03] Production.ERROR: done
[2025-01-12 15:38:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:38:03] Production.INFO: Total Charge 0
[2025-01-12 15:38:03] Production.INFO: CreateAllLog End
[2025-01-12 15:38:03] Production.ERROR: done
[2025-01-12 15:38:04] Production.INFO: Account Balance End.
[2025-01-12 15:38:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:38:04] Production.INFO: ==25248== Releasing lock...
[2025-01-12 15:38:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:38:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:38:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:38:04
[end_date_ymd] => 2025-01-12 15:38:04
[RateCDR] => 1
)
[2025-01-12 15:38:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:38:04' and `end` < '2025-01-12 15:38:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:38:10] Production.ERROR: CronJobId end10
[2025-01-12 15:38:10] Production.INFO: ==25246== Releasing lock...
[2025-01-12 15:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:38:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:38:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:38:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:38:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:38:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:38:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:38:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:38:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:38:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:38:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:38:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:38:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:38:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:38:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:38:12] Production.INFO: call_cost start
[2025-01-12 15:38:12] Production.INFO: call_cost end
[2025-01-12 15:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:38:13] Production.INFO: ==25242== Releasing lock...
[2025-01-12 15:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:38:18] Production.INFO: count ==1206
[2025-01-12 15:38:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:38:04 - End Time 2025-01-12 15:38:04
[2025-01-12 15:38:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232568', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232568', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232568', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:38:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232568', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:38:18] Production.INFO: ProcessCDR(1,14232568,1,1,2)
[2025-01-12 15:38:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:38:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232568,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:38:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:38:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232568,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232568', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:38:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232568', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:38:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:38:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:38:22] Production.INFO: ==25251== Releasing lock...
[2025-01-12 15:38:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:38:22] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:39:01] Production.INFO: ==25308== Lock acquired, processing the job...
[2025-01-12 20:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:39:01] Production.INFO: neon service started
[2025-01-12 20:39:01] Production.INFO: neon service started
[2025-01-12 20:39:01] Production.INFO: ==25308== Releasing lock...
[2025-01-12 20:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:39:02] Production.INFO: ==25310== Lock acquired, processing the job...
[2025-01-12 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:39:02] Production.INFO: ==25310== Releasing lock...
[2025-01-12 15:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:39:02] Production.INFO: ==25312== Lock acquired, processing the job...
[2025-01-12 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:39:02] Production.INFO: ==25312== Releasing lock...
[2025-01-12 20:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:39:03] Production.INFO: ==25314== Lock acquired, processing the job...
[2025-01-12 15:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:39:03] Production.INFO: ==25324== Lock acquired, processing the job...
[2025-01-12 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:39:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:39:03] Production.INFO: count ==21
[2025-01-12 15:39:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:39:03] Production.INFO: count ==21
[2025-01-12 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232569') start
[2025-01-12 15:39:03] Production.INFO: ==25316== Lock acquired, processing the job...
[2025-01-12 15:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:39:03] Production.INFO: ==25318== Lock acquired, processing the job...
[2025-01-12 15:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:39:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232569') end
[2025-01-12 15:39:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:39:03] Production.INFO: 1
[2025-01-12 15:39:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:39:03] Production.INFO: ==25324== Releasing lock...
[2025-01-12 15:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:39:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:39:03] Production.INFO: ==25320== Lock acquired, processing the job...
[2025-01-12 15:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:39:03] Production.INFO: ==25322== Lock acquired, processing the job...
[2025-01-12 15:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:39:03] Production.INFO: Account Balance Start.
[2025-01-12 15:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:39:03] Production.INFO: 117
[2025-01-12 15:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:39:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:39:04] Production.INFO: ==25316== Releasing lock...
[2025-01-12 15:39:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:39:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:39:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:39:04] Production.ERROR: done
[2025-01-12 15:39:04] Production.INFO: Total Charge 0
[2025-01-12 15:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:39:04] Production.INFO: CreateAllLog End
[2025-01-12 15:39:04] Production.ERROR: done
[2025-01-12 15:39:04] Production.INFO: Account Balance End.
[2025-01-12 15:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:39:04] Production.INFO: ==25320== Releasing lock...
[2025-01-12 15:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:39:05
[end_date_ymd] => 2025-01-12 15:39:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:39:05' and `end` < '2025-01-12 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-01-12 15:39:11] Production.ERROR: CronJobId end10
[2025-01-12 15:39:11] Production.INFO: ==25318== Releasing lock...
[2025-01-12 15:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:39:13] Production.INFO: call_cost start
[2025-01-12 15:39:13] Production.INFO: call_cost end
[2025-01-12 15:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:39:14] Production.INFO: ==25314== Releasing lock...
[2025-01-12 15:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:39:19] Production.INFO: count ==1209
[2025-01-12 15:39:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:39:05 - End Time 2025-01-12 15:39:05
[2025-01-12 15:39:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232573', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232573', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232573', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:39:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232573', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:39:19] Production.INFO: ProcessCDR(1,14232573,1,1,2)
[2025-01-12 15:39:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:39:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232573,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:39:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:39:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232573,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232573', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:39:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232573', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:39:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:39:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:39:24] Production.INFO: ==25322== Releasing lock...
[2025-01-12 15:39:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:39:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:40:02] Production.INFO: ==25380== Lock acquired, processing the job...
[2025-01-12 20:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:40:02] Production.INFO: neon service started
[2025-01-12 20:40:02] Production.INFO: neon service started
[2025-01-12 20:40:02] Production.INFO: ==25380== Releasing lock...
[2025-01-12 20:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:40:02] Production.INFO: ==25383== Lock acquired, processing the job...
[2025-01-12 15:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:40:03] Production.INFO: ==25383== Releasing lock...
[2025-01-12 15:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:40:03] Production.INFO: ==25385== Lock acquired, processing the job...
[2025-01-12 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:40:03] Production.INFO: ==25385== Releasing lock...
[2025-01-12 20:40:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:40:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:40:03] Production.INFO: ==25387== Lock acquired, processing the job...
[2025-01-12 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 15:40:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 15:40:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 15:40:03] Production.INFO: ==25387== Releasing lock...
[2025-01-12 15:40:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 15:40:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 15:40:03] Production.INFO: ==25391== Lock acquired, processing the job...
[2025-01-12 15:40:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:40:04] Production.INFO: ==25393== Lock acquired, processing the job...
[2025-01-12 15:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:40:04] Production.INFO: ==25395== Lock acquired, processing the job...
[2025-01-12 15:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:40:04] Production.INFO: ==25389== Lock acquired, processing the job...
[2025-01-12 15:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:40:04] Production.INFO: Account Balance Start.
[2025-01-12 15:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:40:04] Production.INFO: 117
[2025-01-12 15:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:40:04] Production.INFO: ==25391== Releasing lock...
[2025-01-12 15:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:40:04] Production.INFO: ==25401== Lock acquired, processing the job...
[2025-01-12 15:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:40:04] Production.INFO: ==25397== Lock acquired, processing the job...
[2025-01-12 15:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:40:04] Production.INFO: ==25399== Lock acquired, processing the job...
[2025-01-12 15:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 15:40:04] Production.INFO: count ==21
[2025-01-12 15:40:04] Production.INFO: Total Charge 0
[2025-01-12 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-01-12 15:40:04] Production.INFO: count ==21
[2025-01-12 15:40:04] Production.INFO: CreateAllLog End
[2025-01-12 15:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232577') start
[2025-01-12 15:40:05] Production.ERROR: done
[2025-01-12 15:40:05] Production.ERROR: PBX CALL prc_importPBXExtension('14232577') end
[2025-01-12 15:40:05] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:40:05] Production.INFO: 1
[2025-01-12 15:40:05] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:40:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:40:05] Production.INFO: ==25401== Releasing lock...
[2025-01-12 15:40:05] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:40:05] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:40:05] Production.ERROR: done
[2025-01-12 15:40:05] Production.INFO: Account Balance End.
[2025-01-12 15:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 15:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232578', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 15:40:05] Production.ERROR: CronJobId end 12
[2025-01-12 15:40:05] Production.INFO: ==25395== Releasing lock...
[2025-01-12 15:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:40:05] Production.ERROR: done
[2025-01-12 15:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:40:06
[end_date_ymd] => 2025-01-12 15:40:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:40:06' and `end` < '2025-01-12 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-01-12 15:40:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232578', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 15:40:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 15:40:08] Production.INFO: ProcessCDR(1,14232578,1,1,2)
[2025-01-12 15:40:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232578,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:40:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232578,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:40:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:40:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:40:08] Production.INFO: ==25399== Releasing lock...
[2025-01-12 15:40:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 15:40:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 15:40:12] Production.ERROR: CronJobId end10
[2025-01-12 15:40:12] Production.INFO: ==25393== Releasing lock...
[2025-01-12 15:40:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:40:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:40:14] Production.INFO: call_cost start
[2025-01-12 15:40:14] Production.INFO: call_cost end
[2025-01-12 15:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:40:15] Production.INFO: ==25389== Releasing lock...
[2025-01-12 15:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:40:19] Production.INFO: count ==1211
[2025-01-12 15:40:20] Production.ERROR: pbx CDR StartTime 2025-01-12 12:40:06 - End Time 2025-01-12 15:40:06
[2025-01-12 15:40:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232579', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232579', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232579', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:40:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232579', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:40:20] Production.INFO: ProcessCDR(1,14232579,1,1,2)
[2025-01-12 15:40:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232579,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232579,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232579', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232579', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:40:24] Production.INFO: ==25397== Releasing lock...
[2025-01-12 15:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:40:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:41:01] Production.INFO: ==25454== Lock acquired, processing the job...
[2025-01-12 20:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:41:01] Production.INFO: neon service started
[2025-01-12 20:41:01] Production.INFO: neon service started
[2025-01-12 20:41:01] Production.INFO: ==25454== Releasing lock...
[2025-01-12 20:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:41:02] Production.INFO: ==25456== Lock acquired, processing the job...
[2025-01-12 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:41:02] Production.INFO: ==25456== Releasing lock...
[2025-01-12 15:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:41:02] Production.INFO: ==25458== Lock acquired, processing the job...
[2025-01-12 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:41:02] Production.INFO: ==25458== Releasing lock...
[2025-01-12 20:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 15:41:03] Production.INFO: ==25461== Lock acquired, processing the job...
[2025-01-12 15:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:41:03] Production.INFO: ==25463== Lock acquired, processing the job...
[2025-01-12 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:41:03] Production.INFO: ==25469== Lock acquired, processing the job...
[2025-01-12 15:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:41:03] Production.INFO: ==25467== Lock acquired, processing the job...
[2025-01-12 15:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:41:03] Production.INFO: ==25463== Releasing lock...
[2025-01-12 15:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:41:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:41:03] Production.INFO: ==25465== Lock acquired, processing the job...
[2025-01-12 15:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:41:03] Production.ERROR: done
[2025-01-12 15:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:41:03] Production.INFO: Account Balance Start.
[2025-01-12 15:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:41:03] Production.INFO: 117
[2025-01-12 15:41:03] Production.INFO: ==25471== Lock acquired, processing the job...
[2025-01-12 15:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:41:03] Production.ERROR: done
[2025-01-12 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-01-12 15:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:41:03] Production.INFO: count ==21
[2025-01-12 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-01-12 15:41:03] Production.INFO: count ==21
[2025-01-12 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232583') start
[2025-01-12 15:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:41:03] Production.INFO: Total Charge 0
[2025-01-12 15:41:03] Production.INFO: CreateAllLog End
[2025-01-12 15:41:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232583') end
[2025-01-12 15:41:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:41:03] Production.INFO: 1
[2025-01-12 15:41:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:41:04] Production.INFO: ==25471== Releasing lock...
[2025-01-12 15:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:41:04] Production.INFO: Account Balance End.
[2025-01-12 15:41:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:41:04] Production.INFO: ==25467== Releasing lock...
[2025-01-12 15:41:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:41:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:41:04
[end_date_ymd] => 2025-01-12 15:41:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:41:04' and `end` < '2025-01-12 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-01-12 15:41:10] Production.ERROR: CronJobId end10
[2025-01-12 15:41:10] Production.INFO: ==25465== Releasing lock...
[2025-01-12 15:41:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:41:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:41:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:41:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:41:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:41:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:41:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:41:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:41:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:41:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:41:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:41:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:41:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:41:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:41:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:41:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:41:13] Production.INFO: call_cost start
[2025-01-12 15:41:13] Production.INFO: call_cost end
[2025-01-12 15:41:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:41:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:41:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:41:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:41:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:41:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:41:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:41:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:41:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:41:13] Production.INFO: ==25461== Releasing lock...
[2025-01-12 15:41:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:41:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:41:18] Production.INFO: count ==1231
[2025-01-12 15:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:41:04 - End Time 2025-01-12 15:41:04
[2025-01-12 15:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232584', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232584', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232584', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232584', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:41:18] Production.INFO: ProcessCDR(1,14232584,1,1,2)
[2025-01-12 15:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:41:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232584,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:41:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:41:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232584,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232584', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:41:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232584', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:41:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:41:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:41:23] Production.INFO: ==25469== Releasing lock...
[2025-01-12 15:41:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:41:23] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:42:02] Production.INFO: ==25524== Lock acquired, processing the job...
[2025-01-12 20:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:42:02] Production.INFO: neon service started
[2025-01-12 20:42:02] Production.INFO: neon service started
[2025-01-12 20:42:02] Production.INFO: ==25524== Releasing lock...
[2025-01-12 20:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:42:02] Production.INFO: ==25528== Lock acquired, processing the job...
[2025-01-12 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:42:02] Production.INFO: ==25528== Releasing lock...
[2025-01-12 20:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:42:02] Production.INFO: ==25526== Lock acquired, processing the job...
[2025-01-12 15:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:42:03] Production.INFO: ==25526== Releasing lock...
[2025-01-12 15:42:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:42:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:42:03] Production.INFO: ==25531== Lock acquired, processing the job...
[2025-01-12 15:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:42:03] Production.INFO: ==25535== Lock acquired, processing the job...
[2025-01-12 15:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:42:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:42:03] Production.INFO: ==25537== Lock acquired, processing the job...
[2025-01-12 15:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:42:03] Production.INFO: ==25533== Lock acquired, processing the job...
[2025-01-12 15:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:42:04] Production.INFO: Account Balance Start.
[2025-01-12 15:42:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:42:04] Production.INFO: 117
[2025-01-12 15:42:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:42:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:42:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:42:04] Production.INFO: ==25541== Lock acquired, processing the job...
[2025-01-12 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:42:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:42:04] Production.INFO: ==25539== Lock acquired, processing the job...
[2025-01-12 15:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:42:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:42:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:42:04] Production.INFO: Total Charge 0
[2025-01-12 15:42:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:42:04] Production.INFO: CreateAllLog End
[2025-01-12 15:42:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:42:04] Production.INFO: count ==21
[2025-01-12 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232588') start
[2025-01-12 15:42:04] Production.INFO: ==25533== Releasing lock...
[2025-01-12 15:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:42:04] Production.INFO: Account Balance End.
[2025-01-12 15:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:42:04] Production.INFO: ==25537== Releasing lock...
[2025-01-12 15:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:42:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232588') end
[2025-01-12 15:42:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:42:04] Production.INFO: 1
[2025-01-12 15:42:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:42:04] Production.ERROR: done
[2025-01-12 15:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:42:04] Production.INFO: ==25541== Releasing lock...
[2025-01-12 15:42:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:42:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:42:04] Production.ERROR: done
[2025-01-12 15:42:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:42:05
[end_date_ymd] => 2025-01-12 15:42:05
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:42:05' and `end` < '2025-01-12 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-01-12 15:42:12] Production.ERROR: CronJobId end10
[2025-01-12 15:42:12] Production.INFO: ==25535== Releasing lock...
[2025-01-12 15:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:42:13] Production.INFO: call_cost start
[2025-01-12 15:42:13] Production.INFO: call_cost end
[2025-01-12 15:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:42:14] Production.INFO: ==25531== Releasing lock...
[2025-01-12 15:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:42:19] Production.INFO: count ==1227
[2025-01-12 15:42:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:42:05 - End Time 2025-01-12 15:42:05
[2025-01-12 15:42:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232589', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232589', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232589', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:42:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232589', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:42:19] Production.INFO: ProcessCDR(1,14232589,1,1,2)
[2025-01-12 15:42:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:42:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232589,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:42:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:42:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232589,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232589', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:42:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232589', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:42:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:42:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:42:22] Production.INFO: ==25539== Releasing lock...
[2025-01-12 15:42:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:42:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:43:01] Production.INFO: ==25593== Lock acquired, processing the job...
[2025-01-12 20:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:43:01] Production.INFO: neon service started
[2025-01-12 20:43:01] Production.INFO: neon service started
[2025-01-12 20:43:01] Production.INFO: ==25593== Releasing lock...
[2025-01-12 20:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:43:02] Production.INFO: ==25595== Lock acquired, processing the job...
[2025-01-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:43:02] Production.INFO: ==25597== Lock acquired, processing the job...
[2025-01-12 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:43:02] Production.INFO: ==25597== Releasing lock...
[2025-01-12 20:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:43:02] Production.INFO: ==25595== Releasing lock...
[2025-01-12 15:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:43:03] Production.INFO: ==25602== Lock acquired, processing the job...
[2025-01-12 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:43:03] Production.INFO: ==25600== Lock acquired, processing the job...
[2025-01-12 15:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:43:03] Production.INFO: ==25610== Lock acquired, processing the job...
[2025-01-12 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:43:03] Production.INFO: ==25602== Releasing lock...
[2025-01-12 15:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:43:03] Production.INFO: ==25606== Lock acquired, processing the job...
[2025-01-12 15:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:43:03] Production.INFO: ==25604== Lock acquired, processing the job...
[2025-01-12 15:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 15:43:03] Production.INFO: ==25608== Lock acquired, processing the job...
[2025-01-12 15:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:43:03] Production.INFO: Account Balance Start.
[2025-01-12 15:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:43:03] Production.INFO: 117
[2025-01-12 15:43:03] Production.INFO: count ==21
[2025-01-12 15:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 15:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:43:03] Production.INFO: count ==21
[2025-01-12 15:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232591') start
[2025-01-12 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232591') end
[2025-01-12 15:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:43:03] Production.INFO: 1
[2025-01-12 15:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:43:03] Production.INFO: ==25610== Releasing lock...
[2025-01-12 15:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:43:04] Production.ERROR: done
[2025-01-12 15:43:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:43:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:43:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:43:04] Production.INFO: Total Charge 0
[2025-01-12 15:43:04] Production.INFO: CreateAllLog End
[2025-01-12 15:43:04] Production.ERROR: done
[2025-01-12 15:43:04] Production.INFO: Account Balance End.
[2025-01-12 15:43:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:43:04] Production.INFO: ==25606== Releasing lock...
[2025-01-12 15:43:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:43:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:43:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:43:05
[end_date_ymd] => 2025-01-12 15:43:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:43:05' and `end` < '2025-01-12 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-01-12 15:43:11] Production.ERROR: CronJobId end10
[2025-01-12 15:43:11] Production.INFO: ==25604== Releasing lock...
[2025-01-12 15:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:43:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:43:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:43:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:43:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:43:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:43:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:43:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:43:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:43:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:43:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:43:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:43:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:43:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:43:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:43:13] Production.INFO: call_cost start
[2025-01-12 15:43:13] Production.INFO: call_cost end
[2025-01-12 15:43:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:43:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:43:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:43:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:43:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:43:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:43:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:43:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:43:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:43:14] Production.INFO: ==25600== Releasing lock...
[2025-01-12 15:43:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:43:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:43:19] Production.INFO: count ==1227
[2025-01-12 15:43:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:43:05 - End Time 2025-01-12 15:43:05
[2025-01-12 15:43:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232594', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232594', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232594', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:43:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232594', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:43:19] Production.INFO: ProcessCDR(1,14232594,1,1,2)
[2025-01-12 15:43:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:43:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232594,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:43:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:43:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232594,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232594', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:43:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232594', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:43:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:43:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:43:24] Production.INFO: ==25608== Releasing lock...
[2025-01-12 15:43:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:43:24] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:44:02] Production.INFO: ==25663== Lock acquired, processing the job...
[2025-01-12 20:44:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:44:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:44:02] Production.INFO: neon service started
[2025-01-12 20:44:02] Production.INFO: neon service started
[2025-01-12 20:44:02] Production.INFO: ==25663== Releasing lock...
[2025-01-12 20:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:44:02] Production.INFO: ==25665== Lock acquired, processing the job...
[2025-01-12 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:44:02] Production.INFO: ==25665== Releasing lock...
[2025-01-12 15:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:44:02] Production.INFO: ==25667== Lock acquired, processing the job...
[2025-01-12 20:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:44:03] Production.INFO: ==25667== Releasing lock...
[2025-01-12 20:44:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:44:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:44:03] Production.INFO: ==25670== Lock acquired, processing the job...
[2025-01-12 15:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:44:03] Production.INFO: ==25672== Lock acquired, processing the job...
[2025-01-12 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:44:03] Production.INFO: ==25674== Lock acquired, processing the job...
[2025-01-12 15:44:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:44:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:44:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:44:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:44:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:44:03] Production.INFO: ==25672== Releasing lock...
[2025-01-12 15:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:44:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:44:04] Production.INFO: ==25680== Lock acquired, processing the job...
[2025-01-12 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:44:04] Production.INFO: ==25676== Lock acquired, processing the job...
[2025-01-12 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:44:04] Production.INFO: ==25678== Lock acquired, processing the job...
[2025-01-12 15:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 15:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:44:04] Production.INFO: Account Balance Start.
[2025-01-12 15:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:44:04] Production.INFO: 117
[2025-01-12 15:44:04] Production.INFO: count ==21
[2025-01-12 15:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 15:44:04] Production.INFO: count ==21
[2025-01-12 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232597') start
[2025-01-12 15:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232597') end
[2025-01-12 15:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:44:04] Production.INFO: 1
[2025-01-12 15:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:44:04] Production.ERROR: done
[2025-01-12 15:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:44:04] Production.INFO: Total Charge 0
[2025-01-12 15:44:04] Production.INFO: CreateAllLog End
[2025-01-12 15:44:04] Production.INFO: ==25680== Releasing lock...
[2025-01-12 15:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:44:04] Production.ERROR: done
[2025-01-12 15:44:04] Production.INFO: Account Balance End.
[2025-01-12 15:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:44:04] Production.INFO: ==25676== Releasing lock...
[2025-01-12 15:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:44:05
[end_date_ymd] => 2025-01-12 15:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:44:05' and `end` < '2025-01-12 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-01-12 15:44:11] Production.ERROR: CronJobId end10
[2025-01-12 15:44:11] Production.INFO: ==25674== Releasing lock...
[2025-01-12 15:44:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:44:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:44:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:44:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:44:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:44:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:44:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:44:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:44:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:44:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:44:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:44:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:44:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:44:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:44:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:44:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:44:13] Production.INFO: call_cost start
[2025-01-12 15:44:13] Production.INFO: call_cost end
[2025-01-12 15:44:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:44:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:44:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:44:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:44:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:44:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:44:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:44:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:44:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:44:14] Production.INFO: ==25670== Releasing lock...
[2025-01-12 15:44:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:44:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:44:21] Production.INFO: count ==1229
[2025-01-12 15:44:21] Production.ERROR: pbx CDR StartTime 2025-01-12 12:44:05 - End Time 2025-01-12 15:44:05
[2025-01-12 15:44:21] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232599', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232599', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232599', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:44:21] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232599', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:44:21] Production.INFO: ProcessCDR(1,14232599,1,1,2)
[2025-01-12 15:44:21] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:44:23] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232599,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:44:23] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:44:25] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232599,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232599', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:44:25] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232599', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:44:25] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:44:25] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:44:25] Production.INFO: ==25678== Releasing lock...
[2025-01-12 15:44:25] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:44:25] Production.INFO: 37 MB #Memory Used#
[2025-01-12 20:45:01] Production.INFO: ==25736== Lock acquired, processing the job...
[2025-01-12 20:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:45:01] Production.INFO: neon service started
[2025-01-12 20:45:01] Production.INFO: neon service started
[2025-01-12 20:45:01] Production.INFO: ==25736== Releasing lock...
[2025-01-12 20:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:45:01] Production.INFO: ==25739== Lock acquired, processing the job...
[2025-01-12 15:45:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:45:02] Production.INFO: ==25739== Releasing lock...
[2025-01-12 15:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:45:02] Production.INFO: ==25741== Lock acquired, processing the job...
[2025-01-12 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:45:02] Production.INFO: ==25741== Releasing lock...
[2025-01-12 20:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:45:02] Production.INFO: ==25745== Lock acquired, processing the job...
[2025-01-12 15:45:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:45:03] Production.INFO: ==25743== Lock acquired, processing the job...
[2025-01-12 15:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:45:03] Production.INFO: ==25747== Lock acquired, processing the job...
[2025-01-12 15:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:45:03] Production.INFO: ==25753== Lock acquired, processing the job...
[2025-01-12 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:45:03] Production.INFO: ==25749== Lock acquired, processing the job...
[2025-01-12 15:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:45:03] Production.INFO: ==25751== Lock acquired, processing the job...
[2025-01-12 15:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:45:03] Production.INFO: ==25745== Releasing lock...
[2025-01-12 15:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:45:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 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-01-12 15:45:03] Production.INFO: Account Balance Start.
[2025-01-12 15:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:45:03] Production.INFO: 117
[2025-01-12 15:45:03] Production.INFO: count ==21
[2025-01-12 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-01-12 15:45:03] Production.INFO: count ==21
[2025-01-12 15:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232602') start
[2025-01-12 15:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:45:03] Production.INFO: Total Charge 0
[2025-01-12 15:45:03] Production.ERROR: done
[2025-01-12 15:45:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:45:03] Production.INFO: CreateAllLog End
[2025-01-12 15:45:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232602') end
[2025-01-12 15:45:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:45:03] Production.INFO: 1
[2025-01-12 15:45:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:45:03] Production.INFO: ==25753== Releasing lock...
[2025-01-12 15:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:45:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:45:03] Production.ERROR: done
[2025-01-12 15:45:04] Production.INFO: Account Balance End.
[2025-01-12 15:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:45:04] Production.INFO: ==25749== Releasing lock...
[2025-01-12 15:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:45:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:45:04
[end_date_ymd] => 2025-01-12 15:45:04
[RateCDR] => 1
)
[2025-01-12 15:45:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:45:04' and `end` < '2025-01-12 15:45:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:45:10] Production.ERROR: CronJobId end10
[2025-01-12 15:45:10] Production.INFO: ==25747== Releasing lock...
[2025-01-12 15:45:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:45:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:45:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:45:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:45:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:45:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:45:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:45:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:45:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:45:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:45:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:45:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:45:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:45:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:45:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:45:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:45:12] Production.INFO: call_cost start
[2025-01-12 15:45:12] Production.INFO: call_cost end
[2025-01-12 15:45:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:45:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:45:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:45:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:45:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:45:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:45:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:45:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:45:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:45:12] Production.INFO: ==25743== Releasing lock...
[2025-01-12 15:45:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:45:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:45:19] Production.INFO: count ==1230
[2025-01-12 15:45:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:45:04 - End Time 2025-01-12 15:45:04
[2025-01-12 15:45:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232604', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232604', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232604', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:45:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232604', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:45:19] Production.INFO: ProcessCDR(1,14232604,1,1,2)
[2025-01-12 15:45:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:45:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232604,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:45:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:45:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232604,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232604', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:45:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232604', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:45:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:45:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:45:24] Production.INFO: ==25751== Releasing lock...
[2025-01-12 15:45:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:45:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 20:46:02] Production.INFO: ==25807== Lock acquired, processing the job...
[2025-01-12 20:46:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:46:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:46:02] Production.INFO: neon service started
[2025-01-12 20:46:02] Production.INFO: neon service started
[2025-01-12 20:46:02] Production.INFO: ==25807== Releasing lock...
[2025-01-12 20:46:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:46:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:46:02] Production.INFO: ==25811== Lock acquired, processing the job...
[2025-01-12 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:46:02] Production.INFO: ==25811== Releasing lock...
[2025-01-12 20:46:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:46:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:46:02] Production.INFO: ==25809== Lock acquired, processing the job...
[2025-01-12 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:46:02] Production.INFO: ==25809== Releasing lock...
[2025-01-12 15:46:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:46:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:46:03] Production.INFO: ==25818== Lock acquired, processing the job...
[2025-01-12 15:46:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:46:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:46:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:46:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:46:03] Production.INFO: ==25822== Lock acquired, processing the job...
[2025-01-12 15:46:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:46:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:46:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:46:03] Production.INFO: ==25814== Lock acquired, processing the job...
[2025-01-12 15:46:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:46:03] Production.INFO: ==25816== Lock acquired, processing the job...
[2025-01-12 15:46:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:46:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:46:04] Production.INFO: ==25820== Lock acquired, processing the job...
[2025-01-12 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:46:04] Production.INFO: ==25824== Lock acquired, processing the job...
[2025-01-12 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:46:04] Production.INFO: Account Balance Start.
[2025-01-12 15:46:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:46:04] Production.INFO: 117
[2025-01-12 15:46:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:46:04] Production.ERROR: done
[2025-01-12 15:46:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:46:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:46:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:46:04] Production.INFO: count ==21
[2025-01-12 15:46:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:46:04] Production.INFO: count ==21
[2025-01-12 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232608') start
[2025-01-12 15:46:04] Production.INFO: ==25816== Releasing lock...
[2025-01-12 15:46:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:46:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:46:04] Production.ERROR: done
[2025-01-12 15:46:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:46:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:46:04] Production.INFO: Total Charge 0
[2025-01-12 15:46:04] Production.INFO: CreateAllLog End
[2025-01-12 15:46:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232608') end
[2025-01-12 15:46:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:46:04] Production.INFO: 1
[2025-01-12 15:46:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:46:04] Production.INFO: Account Balance End.
[2025-01-12 15:46:04] Production.INFO: ==25824== Releasing lock...
[2025-01-12 15:46:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:46:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:46:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:46:04] Production.INFO: ==25820== Releasing lock...
[2025-01-12 15:46:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:46:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:46:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:46:05
[end_date_ymd] => 2025-01-12 15:46:05
[RateCDR] => 1
)
[2025-01-12 15:46:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:46:05' and `end` < '2025-01-12 15:46:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:46:10] Production.ERROR: CronJobId end10
[2025-01-12 15:46:10] Production.INFO: ==25818== Releasing lock...
[2025-01-12 15:46:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:46:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:46:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:46:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:46:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:46:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:46:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:46:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:46:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:46:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:46:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:46:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:46:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:46:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:46:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:46:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:46:13] Production.INFO: call_cost start
[2025-01-12 15:46:13] Production.INFO: call_cost end
[2025-01-12 15:46:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:46:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:46:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:46:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:46:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:46:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:46:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:46:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:46:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:46:14] Production.INFO: ==25814== Releasing lock...
[2025-01-12 15:46:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:46:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:46:18] Production.INFO: count ==1239
[2025-01-12 15:46:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:46:05 - End Time 2025-01-12 15:46:05
[2025-01-12 15:46:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232609', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232609', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232609', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:46:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232609', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:46:18] Production.INFO: ProcessCDR(1,14232609,1,1,2)
[2025-01-12 15:46:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:46:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232609,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:46:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:46:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232609,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232609', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:46:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232609', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:46:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:46:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:46:23] Production.INFO: ==25822== Releasing lock...
[2025-01-12 15:46:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:46:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:47:01] Production.INFO: ==25877== Lock acquired, processing the job...
[2025-01-12 20:47:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:47:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:47:01] Production.INFO: neon service started
[2025-01-12 20:47:01] Production.INFO: neon service started
[2025-01-12 20:47:01] Production.INFO: ==25877== Releasing lock...
[2025-01-12 20:47:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:47:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:47:02] Production.INFO: ==25879== Lock acquired, processing the job...
[2025-01-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:47:02] Production.INFO: ==25881== Lock acquired, processing the job...
[2025-01-12 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:47:02] Production.INFO: ==25881== Releasing lock...
[2025-01-12 20:47:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:47:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:47:02] Production.INFO: ==25879== Releasing lock...
[2025-01-12 15:47:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:47:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:47:03] Production.INFO: ==25884== Lock acquired, processing the job...
[2025-01-12 15:47:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:47:03] Production.INFO: ==25888== Lock acquired, processing the job...
[2025-01-12 15:47:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:47:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:47:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:47:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:47:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:47:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:47:03] Production.INFO: ==25894== Lock acquired, processing the job...
[2025-01-12 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:47:03] Production.INFO: ==25886== Lock acquired, processing the job...
[2025-01-12 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:47:03] Production.INFO: ==25890== Lock acquired, processing the job...
[2025-01-12 15:47:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 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-01-12 15:47:03] Production.INFO: count ==21
[2025-01-12 15:47:03] Production.INFO: ==25892== Lock acquired, processing the job...
[2025-01-12 15:47:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 15:47:03] Production.INFO: count ==21
[2025-01-12 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232611') start
[2025-01-12 15:47:03] Production.INFO: Account Balance Start.
[2025-01-12 15:47:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:47:03] Production.INFO: 117
[2025-01-12 15:47:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:47:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:47:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:47:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232611') end
[2025-01-12 15:47:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:47:03] Production.INFO: 1
[2025-01-12 15:47:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:47:03] Production.INFO: ==25894== Releasing lock...
[2025-01-12 15:47:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:47:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:47:03] Production.INFO: ==25886== Releasing lock...
[2025-01-12 15:47:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:47:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:47:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:47:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:47:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:47:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:47:04] Production.INFO: Total Charge 0
[2025-01-12 15:47:04] Production.INFO: CreateAllLog End
[2025-01-12 15:47:04] Production.ERROR: done
[2025-01-12 15:47:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:47:04] Production.INFO: Account Balance End.
[2025-01-12 15:47:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:47:04] Production.INFO: ==25890== Releasing lock...
[2025-01-12 15:47:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:47:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:47:04] Production.ERROR: done
[2025-01-12 15:47:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:47:04
[end_date_ymd] => 2025-01-12 15:47:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:47:04' and `end` < '2025-01-12 15: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-01-12 15:47:10] Production.ERROR: CronJobId end10
[2025-01-12 15:47:10] Production.INFO: ==25888== Releasing lock...
[2025-01-12 15:47:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:47:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:47:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:47:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:47:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:47:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:47:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:47:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:47:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:47:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:47:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:47:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:47:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:47:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:47:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:47:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:47:12] Production.INFO: call_cost start
[2025-01-12 15:47:12] Production.INFO: call_cost end
[2025-01-12 15:47:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:47:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:47:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:47:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:47:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:47:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:47:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:47:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:47:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:47:13] Production.INFO: ==25884== Releasing lock...
[2025-01-12 15:47:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:47:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:47:18] Production.INFO: count ==1244
[2025-01-12 15:47:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:47:04 - End Time 2025-01-12 15:47:04
[2025-01-12 15:47:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232614', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232614', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232614', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:47:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232614', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:47:18] Production.INFO: ProcessCDR(1,14232614,1,1,2)
[2025-01-12 15:47:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:47:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232614,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:47:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:47:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232614,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232614', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:47:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232614', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:47:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:47:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:47:22] Production.INFO: ==25892== Releasing lock...
[2025-01-12 15:47:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:47:22] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 20:48:01] Production.INFO: ==25947== Lock acquired, processing the job...
[2025-01-12 20:48:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:48:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:48:01] Production.INFO: neon service started
[2025-01-12 20:48:01] Production.INFO: neon service started
[2025-01-12 20:48:01] Production.INFO: ==25947== Releasing lock...
[2025-01-12 20:48:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:48:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:48:02] Production.INFO: ==25949== Lock acquired, processing the job...
[2025-01-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:48:02] Production.INFO: ==25949== Releasing lock...
[2025-01-12 15:48:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:48:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:48:02] Production.INFO: ==25951== Lock acquired, processing the job...
[2025-01-12 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:48:02] Production.INFO: ==25951== Releasing lock...
[2025-01-12 20:48:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:48:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:48:03] Production.INFO: ==25961== Lock acquired, processing the job...
[2025-01-12 15:48:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:48:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:48:03] Production.INFO: ==25963== Lock acquired, processing the job...
[2025-01-12 15:48:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:48:03] Production.INFO: ==25953== Lock acquired, processing the job...
[2025-01-12 15:48:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:48:03] Production.INFO: ==25955== Lock acquired, processing the job...
[2025-01-12 15:48:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:48:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:48:03] Production.INFO: ==25957== Lock acquired, processing the job...
[2025-01-12 15:48:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:48:03] Production.INFO: ==25959== Lock acquired, processing the job...
[2025-01-12 15:48:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:48:03] Production.ERROR: done
[2025-01-12 15:48:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:48:03] Production.INFO: count ==21
[2025-01-12 15:48:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:48:03] Production.INFO: count ==21
[2025-01-12 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232615') start
[2025-01-12 15:48:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:48:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:48:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:48:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:48:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:48:03] Production.INFO: Account Balance Start.
[2025-01-12 15:48:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:48:03] Production.INFO: 117
[2025-01-12 15:48:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:48:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:48:03] Production.ERROR: done
[2025-01-12 15:48:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:48:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232615') end
[2025-01-12 15:48:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:48:03] Production.INFO: 1
[2025-01-12 15:48:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:48:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:48:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:48:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:48:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:48:04] Production.INFO: ==25963== Releasing lock...
[2025-01-12 15:48:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:48:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:48:04] Production.INFO: ==25955== Releasing lock...
[2025-01-12 15:48:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:48:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:48:04] Production.INFO: Total Charge 0
[2025-01-12 15:48:04] Production.INFO: CreateAllLog End
[2025-01-12 15:48:04] Production.INFO: Account Balance End.
[2025-01-12 15:48:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:48:04] Production.INFO: ==25959== Releasing lock...
[2025-01-12 15:48:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:48:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:48:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:48:04
[end_date_ymd] => 2025-01-12 15:48:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:48:04' and `end` < '2025-01-12 15: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-01-12 15:48:10] Production.ERROR: CronJobId end10
[2025-01-12 15:48:10] Production.INFO: ==25957== Releasing lock...
[2025-01-12 15:48:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:48:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:48:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:48:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:48:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:48:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:48:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:48:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:48:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:48:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:48:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:48:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:48:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:48:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:48:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:48:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:48:12] Production.INFO: call_cost start
[2025-01-12 15:48:12] Production.INFO: call_cost end
[2025-01-12 15:48:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:48:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:48:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:48:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:48:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:48:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:48:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:48:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:48:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:48:13] Production.INFO: ==25953== Releasing lock...
[2025-01-12 15:48:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:48:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:48:17] Production.INFO: count ==1243
[2025-01-12 15:48:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:48:04 - End Time 2025-01-12 15:48:04
[2025-01-12 15:48:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232619', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232619', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232619', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:48:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232619', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:48:18] Production.INFO: ProcessCDR(1,14232619,1,1,2)
[2025-01-12 15:48:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:48:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232619,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:48:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:48:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232619,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232619', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:48:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232619', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:48:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:48:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:48:22] Production.INFO: ==25961== Releasing lock...
[2025-01-12 15:48:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:48:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 20:49:02] Production.INFO: ==26024== Lock acquired, processing the job...
[2025-01-12 20:49:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:49:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:49:02] Production.INFO: neon service started
[2025-01-12 20:49:02] Production.INFO: neon service started
[2025-01-12 20:49:02] Production.INFO: ==26024== Releasing lock...
[2025-01-12 20:49:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:49:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:49:03] Production.INFO: ==26027== Lock acquired, processing the job...
[2025-01-12 15:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:49:03] Production.INFO: ==26029== Lock acquired, processing the job...
[2025-01-12 20:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:49:03] Production.INFO: ==26029== Releasing lock...
[2025-01-12 20:49:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:49:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:49:03] Production.INFO: ==26027== Releasing lock...
[2025-01-12 15:49:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:49:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:49:04] Production.INFO: ==26037== Lock acquired, processing the job...
[2025-01-12 15:49:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:49:04] Production.INFO: ==26041== Lock acquired, processing the job...
[2025-01-12 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15: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-01-12 15:49:04] Production.INFO: Account Balance Start.
[2025-01-12 15:49:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:49:04] Production.INFO: 117
[2025-01-12 15:49:04] Production.INFO: count ==21
[2025-01-12 15: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-01-12 15:49:04] Production.INFO: count ==21
[2025-01-12 15:49:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232620') start
[2025-01-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:49:04] Production.INFO: ==26031== Lock acquired, processing the job...
[2025-01-12 15:49:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:49:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232620') end
[2025-01-12 15:49:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:49:04] Production.INFO: 1
[2025-01-12 15:49:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:49:04] Production.INFO: ==26041== Releasing lock...
[2025-01-12 15:49:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:49:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:49:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:49:04] Production.INFO: ==26033== Lock acquired, processing the job...
[2025-01-12 15:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:49:04] Production.INFO: ==26035== Lock acquired, processing the job...
[2025-01-12 15:49:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:49:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:49:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:49:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:49:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:49:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:49:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:49:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:49:04] Production.INFO: ==26039== Lock acquired, processing the job...
[2025-01-12 15:49:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:49:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:49:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:49:04] Production.INFO: Total Charge 0
[2025-01-12 15:49:04] Production.INFO: CreateAllLog End
[2025-01-12 15:49:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:49:04] Production.INFO: Account Balance End.
[2025-01-12 15:49:04] Production.INFO: ==26033== Releasing lock...
[2025-01-12 15:49:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:49:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:49:05] Production.ERROR: CronJobId end 12
[2025-01-12 15:49:05] Production.INFO: ==26037== Releasing lock...
[2025-01-12 15:49:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:49:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:49:05] Production.ERROR: done
[2025-01-12 15:49:05] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:49:05] Production.ERROR: done
[2025-01-12 15:49:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:49:06
[end_date_ymd] => 2025-01-12 15:49:06
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:49:06' and `end` < '2025-01-12 15: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-01-12 15:49:12] Production.ERROR: CronJobId end10
[2025-01-12 15:49:12] Production.INFO: ==26035== Releasing lock...
[2025-01-12 15:49:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:49:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:49:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:49:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:49:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:49:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:49:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:49:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:49:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:49:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:49:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:49:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:49:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:49:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:49:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:49:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:49:13] Production.INFO: call_cost start
[2025-01-12 15:49:13] Production.INFO: call_cost end
[2025-01-12 15:49:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:49:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:49:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:49:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:49:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:49:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:49:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:49:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:49:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:49:14] Production.INFO: ==26031== Releasing lock...
[2025-01-12 15:49:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:49:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:49:19] Production.INFO: count ==1240
[2025-01-12 15:49:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:49:06 - End Time 2025-01-12 15:49:06
[2025-01-12 15:49:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232624', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232624', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232624', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:49:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232624', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:49:19] Production.INFO: ProcessCDR(1,14232624,1,1,2)
[2025-01-12 15:49:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:49:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232624,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:49:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:49:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232624,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232624', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:49:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232624', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:49:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:49:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:49:24] Production.INFO: ==26039== Releasing lock...
[2025-01-12 15:49:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:49:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:50:01] Production.INFO: ==26137== Lock acquired, processing the job...
[2025-01-12 20:50:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:50:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:50:01] Production.INFO: neon service started
[2025-01-12 20:50:01] Production.INFO: neon service started
[2025-01-12 20:50:01] Production.INFO: ==26137== Releasing lock...
[2025-01-12 20:50:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:50:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:50:02] Production.INFO: ==26139== Lock acquired, processing the job...
[2025-01-12 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:50:02] Production.INFO: ==26141== Lock acquired, processing the job...
[2025-01-12 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 15:50:02] Production.INFO: ==26139== Releasing lock...
[2025-01-12 15:50:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:50:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:50:02] Production.INFO: ==26141== Releasing lock...
[2025-01-12 20:50:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:50:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:50:03] Production.INFO: ==26151== Lock acquired, processing the job...
[2025-01-12 15:50:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:50:03] Production.INFO: ==26143== Lock acquired, processing the job...
[2025-01-12 15:50:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 15:50:03] Production.INFO: ==26156== Lock acquired, processing the job...
[2025-01-12 15:50:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 15:50:03] Production.INFO: Account Balance Start.
[2025-01-12 15:50:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:50:03] Production.INFO: 117
[2025-01-12 15:50:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:50:03] Production.INFO: ==26158== Lock acquired, processing the job...
[2025-01-12 15:50:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:50:03] Production.INFO: ==26145== Lock acquired, processing the job...
[2025-01-12 15:50:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:50:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:50:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 15:50:03] Production.ERROR: CronJob PID - 26145
[2025-01-12 15:50:03] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 15:50:03] Production.ERROR: CronJob ID - 5
[2025-01-12 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 15:50:00
[2025-01-12 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 15:50:03] Production.ERROR: CronJob PID - 26151
[2025-01-12 15:50:03] Production.ERROR: CronJob Title - Prepaid Account Balance
[2025-01-12 15:50:03] Production.ERROR: CronJob ID - 12
[2025-01-12 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 15:50:00
[2025-01-12 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 15:50:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 15:50:03] Production.ERROR: CronJob PID - 26156
[2025-01-12 15:50:03] Production.ERROR: CronJob Title - PBX - DanielGraystone - 54.39.17.106 Reseller CDR Process
[2025-01-12 15:50:03] Production.ERROR: CronJob ID - 17
[2025-01-12 15:50:03] Production.ERROR: CronJob Last Run Time 2025-01-12 15:50:00
[2025-01-12 15:50:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 15:50:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 15:50:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:50:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:50:03] Production.INFO: ==26147== Lock acquired, processing the job...
[2025-01-12 15:50:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:50:03] Production.INFO: ==26149== Lock acquired, processing the job...
[2025-01-12 15:50:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:50:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:50:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:50:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 15:50:04] Production.INFO: ==26143== Releasing lock...
[2025-01-12 15:50:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 15:50:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 15:50:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:50:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:50:04] Production.INFO: ==26154== Lock acquired, processing the job...
[2025-01-12 15:50:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:50:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:50:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:50:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:50:04] Production.INFO: count ==21
[2025-01-12 15:50:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:50:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:50:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:50:04] Production.INFO: Total Charge 0
[2025-01-12 15:50:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 15:50:04] Production.INFO: count ==21
[2025-01-12 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232627') start
[2025-01-12 15:50:04] Production.ERROR: done
[2025-01-12 15:50:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 15:50:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232629', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 15:50:04] Production.INFO: ==26147== Releasing lock...
[2025-01-12 15:50:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:50:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:50:04] Production.ERROR: done
[2025-01-12 15:50:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:50:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232627') end
[2025-01-12 15:50:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:50:04] Production.INFO: 1
[2025-01-12 15:50:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:50:04] Production.INFO: ==26158== Releasing lock...
[2025-01-12 15:50:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:50:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:50:04] Production.ERROR: done
[2025-01-12 15:50:05] Production.INFO: Account Balance End.
[2025-01-12 15:50:05] Production.ERROR: CronJobId end 12
[2025-01-12 15:50:05] Production.INFO: ==26151== Releasing lock...
[2025-01-12 15:50:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:50:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:50:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:50:05
[end_date_ymd] => 2025-01-12 15:50:05
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:50:05' and `end` < '2025-01-12 15: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-01-12 15:50:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232629', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 15:50:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 15:50:08] Production.INFO: ProcessCDR(1,14232629,1,1,2)
[2025-01-12 15:50:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232629,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:50:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232629,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:50:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:50:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:50:08] Production.INFO: ==26156== Releasing lock...
[2025-01-12 15:50:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 15:50:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 15:50:13] Production.ERROR: CronJobId end10
[2025-01-12 15:50:13] Production.INFO: ==26149== Releasing lock...
[2025-01-12 15:50:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:50:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:50:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:50:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:50:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:50:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:50:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:50:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:50:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:50:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:50:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:50:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:50:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:50:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:50:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:50:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:50:15] Production.INFO: call_cost start
[2025-01-12 15:50:15] Production.INFO: call_cost end
[2025-01-12 15:50:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:50:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:50:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:50:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:50:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:50:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:50:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:50:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:50:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:50:15] Production.INFO: ==26145== Releasing lock...
[2025-01-12 15:50:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:50:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:50:19] Production.INFO: count ==1236
[2025-01-12 15:50:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:50:05 - End Time 2025-01-12 15:50:05
[2025-01-12 15:50:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232630', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232630', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232630', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:50:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232630', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:50:19] Production.INFO: ProcessCDR(1,14232630,1,1,2)
[2025-01-12 15:50:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:50:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232630,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:50:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:50:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232630,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232630', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:50:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232630', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:50:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:50:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:50:23] Production.INFO: ==26154== Releasing lock...
[2025-01-12 15:50:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:50:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:51:02] Production.INFO: ==26211== Lock acquired, processing the job...
[2025-01-12 20:51:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:51:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:51:02] Production.INFO: neon service started
[2025-01-12 20:51:02] Production.INFO: neon service started
[2025-01-12 20:51:02] Production.INFO: ==26211== Releasing lock...
[2025-01-12 20:51:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:51:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:51:02] Production.INFO: ==26213== Lock acquired, processing the job...
[2025-01-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:51:02] Production.INFO: ==26213== Releasing lock...
[2025-01-12 15:51:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:51:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:51:03] Production.INFO: ==26215== Lock acquired, processing the job...
[2025-01-12 20:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:51:03] Production.INFO: ==26215== Releasing lock...
[2025-01-12 20:51:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:51:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:51:03] Production.INFO: ==26217== Lock acquired, processing the job...
[2025-01-12 15:51:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:51:03] Production.INFO: ==26223== Lock acquired, processing the job...
[2025-01-12 15:51:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:51:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:51:03] Production.INFO: ==26225== Lock acquired, processing the job...
[2025-01-12 15:51:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:51:03] Production.INFO: Account Balance Start.
[2025-01-12 15:51:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:51:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:51:03] Production.INFO: 117
[2025-01-12 15:51:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:51:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:51:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:51:03] Production.INFO: ==26219== Lock acquired, processing the job...
[2025-01-12 15:51:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:51:03] Production.INFO: ==26221== Lock acquired, processing the job...
[2025-01-12 15:51:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:51:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:51:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:51:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:51:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:51:04] Production.INFO: ==26227== Lock acquired, processing the job...
[2025-01-12 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:51:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:51:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:51:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:51:04] Production.INFO: Total Charge 0
[2025-01-12 15:51:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:51:04] Production.INFO: CreateAllLog End
[2025-01-12 15:51:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:51:04] Production.INFO: count ==21
[2025-01-12 15:51:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:51:04] Production.INFO: count ==21
[2025-01-12 15:51:04] Production.ERROR: done
[2025-01-12 15:51:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232634') start
[2025-01-12 15:51:04] Production.INFO: Account Balance End.
[2025-01-12 15:51:04] Production.INFO: ==26219== Releasing lock...
[2025-01-12 15:51:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:51:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:51:04] Production.ERROR: done
[2025-01-12 15:51:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232634') end
[2025-01-12 15:51:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:51:04] Production.INFO: 1
[2025-01-12 15:51:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:51:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:51:04] Production.INFO: ==26223== Releasing lock...
[2025-01-12 15:51:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:51:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:51:04] Production.INFO: ==26227== Releasing lock...
[2025-01-12 15:51:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:51:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:51:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:51:05
[end_date_ymd] => 2025-01-12 15:51:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:51:05' and `end` < '2025-01-12 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-01-12 15:51:11] Production.ERROR: CronJobId end10
[2025-01-12 15:51:11] Production.INFO: ==26221== Releasing lock...
[2025-01-12 15:51:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:51:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:51:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:51:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:51:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:51:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:51:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:51:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:51:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:51:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:51:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:51:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:51:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:51:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:51:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:51:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:51:13] Production.INFO: call_cost start
[2025-01-12 15:51:13] Production.INFO: call_cost end
[2025-01-12 15:51:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:51:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:51:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:51:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:51:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:51:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:51:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:51:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:51:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:51:14] Production.INFO: ==26217== Releasing lock...
[2025-01-12 15:51:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:51:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:51:19] Production.INFO: count ==1266
[2025-01-12 15:51:20] Production.ERROR: pbx CDR StartTime 2025-01-12 12:51:05 - End Time 2025-01-12 15:51:05
[2025-01-12 15:51:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232635', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232635', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232635', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:51:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232635', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:51:20] Production.INFO: ProcessCDR(1,14232635,1,1,2)
[2025-01-12 15:51:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:51:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232635,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:51:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:51:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232635,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232635', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:51:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232635', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:51:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:51:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:51:24] Production.INFO: ==26225== Releasing lock...
[2025-01-12 15:51:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:51:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 20:52:01] Production.INFO: ==26284== Lock acquired, processing the job...
[2025-01-12 20:52:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:52:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:52:01] Production.INFO: neon service started
[2025-01-12 20:52:01] Production.INFO: neon service started
[2025-01-12 20:52:01] Production.INFO: ==26284== Releasing lock...
[2025-01-12 20:52:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:52:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:52:02] Production.INFO: ==26288== Lock acquired, processing the job...
[2025-01-12 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:52:02] Production.INFO: ==26288== Releasing lock...
[2025-01-12 20:52:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:52:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:52:02] Production.INFO: ==26286== Lock acquired, processing the job...
[2025-01-12 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:52:02] Production.INFO: ==26286== Releasing lock...
[2025-01-12 15:52:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:52:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:52:03] Production.INFO: ==26295== Lock acquired, processing the job...
[2025-01-12 15:52:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:52:03] Production.INFO: ==26291== Lock acquired, processing the job...
[2025-01-12 15:52:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:52:03] Production.INFO: ==26293== Lock acquired, processing the job...
[2025-01-12 15:52:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:52:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:52:03] Production.INFO: ==26299== Lock acquired, processing the job...
[2025-01-12 15:52:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:52:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:52:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:52:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:52:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:52:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:52:03] Production.INFO: ==26297== Lock acquired, processing the job...
[2025-01-12 15:52:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:52:03] Production.INFO: ==26301== Lock acquired, processing the job...
[2025-01-12 15:52:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:52:03] Production.ERROR: done
[2025-01-12 15:52:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:52:04] Production.INFO: Account Balance Start.
[2025-01-12 15:52:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:52:04] Production.INFO: 117
[2025-01-12 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-01-12 15:52:04] Production.ERROR: done
[2025-01-12 15:52:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:52:04] Production.INFO: count ==21
[2025-01-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:52:04] Production.INFO: count ==21
[2025-01-12 15:52:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:52:04] Production.INFO: ==26293== Releasing lock...
[2025-01-12 15:52:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:52:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232638') start
[2025-01-12 15:52:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:52:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:52:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:52:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:52:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232638') end
[2025-01-12 15:52:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:52:04] Production.INFO: 1
[2025-01-12 15:52:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:52:04] Production.INFO: Total Charge 0
[2025-01-12 15:52:04] Production.INFO: CreateAllLog End
[2025-01-12 15:52:04] Production.INFO: ==26301== Releasing lock...
[2025-01-12 15:52:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:52:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:52:04] Production.INFO: Account Balance End.
[2025-01-12 15:52:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:52:04] Production.INFO: ==26297== Releasing lock...
[2025-01-12 15:52:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:52:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:52:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:52:05
[end_date_ymd] => 2025-01-12 15:52:05
[RateCDR] => 1
)
[2025-01-12 15:52:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:52:05' and `end` < '2025-01-12 15:52:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:52:11] Production.ERROR: CronJobId end10
[2025-01-12 15:52:11] Production.INFO: ==26295== Releasing lock...
[2025-01-12 15:52:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:52:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:52:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:52:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:52:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:52:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:52:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:52:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:52:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:52:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:52:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:52:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:52:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:52:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:52:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:52:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:52:12] Production.INFO: call_cost start
[2025-01-12 15:52:12] Production.INFO: call_cost end
[2025-01-12 15:52:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:52:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:52:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:52:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:52:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:52:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:52:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:52:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:52:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:52:13] Production.INFO: ==26291== Releasing lock...
[2025-01-12 15:52:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:52:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:52:18] Production.INFO: count ==1270
[2025-01-12 15:52:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:52:05 - End Time 2025-01-12 15:52:05
[2025-01-12 15:52:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232640', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232640', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232640', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:52:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232640', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:52:18] Production.INFO: ProcessCDR(1,14232640,1,1,2)
[2025-01-12 15:52:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:52:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232640,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:52:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:52:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232640,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232640', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:52:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232640', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:52:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:52:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:52:23] Production.INFO: ==26299== Releasing lock...
[2025-01-12 15:52:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:52:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 20:53:02] Production.INFO: ==26356== Lock acquired, processing the job...
[2025-01-12 20:53:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:53:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:53:02] Production.INFO: neon service started
[2025-01-12 20:53:02] Production.INFO: neon service started
[2025-01-12 20:53:02] Production.INFO: ==26356== Releasing lock...
[2025-01-12 20:53:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:53:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:53:02] Production.INFO: ==26358== Lock acquired, processing the job...
[2025-01-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:53:02] Production.INFO: ==26358== Releasing lock...
[2025-01-12 15:53:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:53:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:53:02] Production.INFO: ==26360== Lock acquired, processing the job...
[2025-01-12 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:53:02] Production.INFO: ==26360== Releasing lock...
[2025-01-12 20:53:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:53:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:53:03] Production.INFO: ==26368== Lock acquired, processing the job...
[2025-01-12 15:53:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:53:03] Production.INFO: ==26362== Lock acquired, processing the job...
[2025-01-12 15:53:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:53:03] Production.INFO: ==26373== Lock acquired, processing the job...
[2025-01-12 15:53:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:53:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:53:03] Production.INFO: ==26364== Lock acquired, processing the job...
[2025-01-12 15:53:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:53:03] Production.INFO: Account Balance Start.
[2025-01-12 15:53:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:53:03] Production.INFO: 117
[2025-01-12 15:53:03] Production.INFO: ==26366== Lock acquired, processing the job...
[2025-01-12 15:53:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:53:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:53:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:53:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:53:03] Production.INFO: count ==21
[2025-01-12 15: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-01-12 15:53:04] Production.INFO: count ==21
[2025-01-12 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232643') start
[2025-01-12 15:53:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:53:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:53:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:53:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:53:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:53:04] Production.INFO: ==26371== Lock acquired, processing the job...
[2025-01-12 15:53:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:53:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:53:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:53:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:53:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:53:04] Production.INFO: Total Charge 0
[2025-01-12 15:53:04] Production.INFO: CreateAllLog End
[2025-01-12 15:53:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232643') end
[2025-01-12 15:53:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:53:04] Production.INFO: 1
[2025-01-12 15:53:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:53:04] Production.INFO: ==26373== Releasing lock...
[2025-01-12 15:53:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:53:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:53:04] Production.INFO: ==26364== Releasing lock...
[2025-01-12 15:53:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:53:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:53:04] Production.INFO: Account Balance End.
[2025-01-12 15:53:04] Production.ERROR: done
[2025-01-12 15:53:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:53:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:53:04] Production.INFO: ==26368== Releasing lock...
[2025-01-12 15:53:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:53:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:53:04] Production.ERROR: done
[2025-01-12 15:53:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:53:05
[end_date_ymd] => 2025-01-12 15:53:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:53:05' and `end` < '2025-01-12 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-01-12 15:53:10] Production.ERROR: CronJobId end10
[2025-01-12 15:53:10] Production.INFO: ==26366== Releasing lock...
[2025-01-12 15:53:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:53:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:53:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:53:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:53:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:53:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:53:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:53:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:53:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:53:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:53:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:53:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:53:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:53:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:53:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:53:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:53:13] Production.INFO: call_cost start
[2025-01-12 15:53:13] Production.INFO: call_cost end
[2025-01-12 15:53:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:53:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:53:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:53:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:53:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:53:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:53:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:53:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:53:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:53:14] Production.INFO: ==26362== Releasing lock...
[2025-01-12 15:53:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:53:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:53:19] Production.INFO: count ==1281
[2025-01-12 15:53:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:53:05 - End Time 2025-01-12 15:53:05
[2025-01-12 15:53:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232645', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232645', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232645', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:53:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232645', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:53:19] Production.INFO: ProcessCDR(1,14232645,1,1,2)
[2025-01-12 15:53:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:53:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232645,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:53:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:53:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232645,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232645', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:53:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232645', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:53:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:53:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:53:23] Production.INFO: ==26371== Releasing lock...
[2025-01-12 15:53:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:53:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 20:54:01] Production.INFO: ==26429== Lock acquired, processing the job...
[2025-01-12 20:54:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:54:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:54:01] Production.INFO: neon service started
[2025-01-12 20:54:01] Production.INFO: neon service started
[2025-01-12 20:54:01] Production.INFO: ==26429== Releasing lock...
[2025-01-12 20:54:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:54:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:54:02] Production.INFO: ==26431== Lock acquired, processing the job...
[2025-01-12 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:54:02] Production.INFO: ==26433== Lock acquired, processing the job...
[2025-01-12 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:54:02] Production.INFO: ==26433== Releasing lock...
[2025-01-12 20:54:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:54:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:54:02] Production.INFO: ==26431== Releasing lock...
[2025-01-12 15:54:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:54:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:54:03] Production.INFO: ==26436== Lock acquired, processing the job...
[2025-01-12 15:54:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:54:03] Production.INFO: ==26440== Lock acquired, processing the job...
[2025-01-12 15:54:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:54:03] Production.INFO: ==26442== Lock acquired, processing the job...
[2025-01-12 15:54:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:54:03] Production.INFO: ==26438== Lock acquired, processing the job...
[2025-01-12 15:54:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:54:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:54:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:54:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:54:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:54:03] Production.INFO: Account Balance Start.
[2025-01-12 15:54:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:54:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:54:03] Production.INFO: 117
[2025-01-12 15:54:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:54:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:54:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:54:03] Production.INFO: ==26446== Lock acquired, processing the job...
[2025-01-12 15:54:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:54:03] Production.INFO: ==26444== Lock acquired, processing the job...
[2025-01-12 15:54:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:54:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:54:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:54:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:54:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:54:03] Production.INFO: Total Charge 0
[2025-01-12 15:54:03] Production.INFO: CreateAllLog End
[2025-01-12 15:54:04] Production.INFO: ==26438== Releasing lock...
[2025-01-12 15:54:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:54:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 15:54:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:54:04] Production.INFO: count ==21
[2025-01-12 15:54:04] Production.ERROR: done
[2025-01-12 15:54:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232649') start
[2025-01-12 15:54:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232649') end
[2025-01-12 15:54:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:54:04] Production.INFO: 1
[2025-01-12 15:54:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:54:04] Production.INFO: ==26446== Releasing lock...
[2025-01-12 15:54:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:54:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:54:04] Production.ERROR: done
[2025-01-12 15:54:04] Production.INFO: Account Balance End.
[2025-01-12 15:54:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:54:04] Production.INFO: ==26442== Releasing lock...
[2025-01-12 15:54:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:54:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:54:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:54:05
[end_date_ymd] => 2025-01-12 15:54:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:54:05' and `end` < '2025-01-12 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-01-12 15:54:10] Production.ERROR: CronJobId end10
[2025-01-12 15:54:10] Production.INFO: ==26440== Releasing lock...
[2025-01-12 15:54:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:54:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:54:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:54:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:54:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:54:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:54:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:54:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:54:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:54:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:54:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:54:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:54:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:54:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:54:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:54:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:54:13] Production.INFO: call_cost start
[2025-01-12 15:54:13] Production.INFO: call_cost end
[2025-01-12 15:54:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:54:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:54:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:54:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:54:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:54:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:54:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:54:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:54:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:54:14] Production.INFO: ==26436== Releasing lock...
[2025-01-12 15:54:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:54:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:54:18] Production.INFO: count ==1282
[2025-01-12 15:54:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:54:05 - End Time 2025-01-12 15:54:05
[2025-01-12 15:54:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232650', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232650', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232650', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:54:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232650', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:54:18] Production.INFO: ProcessCDR(1,14232650,1,1,2)
[2025-01-12 15:54:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:54:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232650,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:54:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:54:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232650,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232650', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:54:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232650', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:54:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:54:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:54:23] Production.INFO: ==26444== Releasing lock...
[2025-01-12 15:54:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:54:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 20:55:02] Production.INFO: ==26501== Lock acquired, processing the job...
[2025-01-12 20:55:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:55:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:55:02] Production.INFO: neon service started
[2025-01-12 20:55:02] Production.INFO: neon service started
[2025-01-12 20:55:02] Production.INFO: ==26501== Releasing lock...
[2025-01-12 20:55:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:55:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:55:02] Production.INFO: ==26505== Lock acquired, processing the job...
[2025-01-12 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:55:02] Production.INFO: ==26505== Releasing lock...
[2025-01-12 20:55:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:55:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:55:02] Production.INFO: ==26503== Lock acquired, processing the job...
[2025-01-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:55:02] Production.INFO: ==26503== Releasing lock...
[2025-01-12 15:55:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:55:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:55:03] Production.INFO: ==26512== Lock acquired, processing the job...
[2025-01-12 15:55:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:55:03] Production.INFO: ==26516== Lock acquired, processing the job...
[2025-01-12 15:55:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:55:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:55:03] Production.INFO: ==26508== Lock acquired, processing the job...
[2025-01-12 15:55:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:55:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:55:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:55:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:55:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:55:03] Production.INFO: ==26510== Lock acquired, processing the job...
[2025-01-12 15:55:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:55:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:55:03] Production.INFO: ==26514== Lock acquired, processing the job...
[2025-01-12 15:55:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:55:04] Production.INFO: ==26518== Lock acquired, processing the job...
[2025-01-12 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:55:04] Production.ERROR: done
[2025-01-12 15:55:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:55:04] Production.INFO: Account Balance Start.
[2025-01-12 15:55:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:55:04] Production.INFO: 117
[2025-01-12 15:55:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:55:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:55:04] Production.INFO: count ==21
[2025-01-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:55:04] Production.INFO: count ==21
[2025-01-12 15:55:04] Production.ERROR: done
[2025-01-12 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232654') start
[2025-01-12 15:55:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:55:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:55:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232654') end
[2025-01-12 15:55:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:55:04] Production.INFO: 1
[2025-01-12 15:55:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:55:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:55:04] Production.INFO: ==26518== Releasing lock...
[2025-01-12 15:55:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:55:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:55:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:55:04] Production.INFO: ==26510== Releasing lock...
[2025-01-12 15:55:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:55:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:55:04] Production.INFO: Total Charge 0
[2025-01-12 15:55:04] Production.INFO: CreateAllLog End
[2025-01-12 15:55:04] Production.INFO: Account Balance End.
[2025-01-12 15:55:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:55:04] Production.INFO: ==26514== Releasing lock...
[2025-01-12 15:55:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:55:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:55:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:55:05
[end_date_ymd] => 2025-01-12 15:55:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:55:05' and `end` < '2025-01-12 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-01-12 15:55:11] Production.ERROR: CronJobId end10
[2025-01-12 15:55:11] Production.INFO: ==26512== Releasing lock...
[2025-01-12 15:55:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:55:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:55:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:55:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:55:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:55:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:55:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:55:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:55:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:55:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:55:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:55:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:55:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:55:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:55:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:55:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:55:13] Production.INFO: call_cost start
[2025-01-12 15:55:13] Production.INFO: call_cost end
[2025-01-12 15:55:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:55:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:55:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:55:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:55:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:55:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:55:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:55:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:55:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:55:14] Production.INFO: ==26508== Releasing lock...
[2025-01-12 15:55:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:55:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:55:18] Production.INFO: count ==1285
[2025-01-12 15:55:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:55:05 - End Time 2025-01-12 15:55:05
[2025-01-12 15:55:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232655', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232655', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232655', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:55:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232655', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:55:18] Production.INFO: ProcessCDR(1,14232655,1,1,2)
[2025-01-12 15:55:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:55:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232655,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:55:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:55:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232655,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232655', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:55:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232655', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:55:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:55:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:55:23] Production.INFO: ==26516== Releasing lock...
[2025-01-12 15:55:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:55:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 20:56:01] Production.INFO: ==26578== Lock acquired, processing the job...
[2025-01-12 20:56:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:56:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:56:01] Production.INFO: neon service started
[2025-01-12 20:56:01] Production.INFO: neon service started
[2025-01-12 20:56:01] Production.INFO: ==26578== Releasing lock...
[2025-01-12 20:56:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:56:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 20:56:01] Production.INFO: ==26582== Lock acquired, processing the job...
[2025-01-12 20:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:56:01] Production.INFO: ==26582== Releasing lock...
[2025-01-12 20:56:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:56:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:56:02] Production.INFO: ==26580== Lock acquired, processing the job...
[2025-01-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:56:02] Production.INFO: ==26580== Releasing lock...
[2025-01-12 15:56:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:56:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:56:03] Production.INFO: ==26589== Lock acquired, processing the job...
[2025-01-12 15:56:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:56:03] Production.INFO: ==26585== Lock acquired, processing the job...
[2025-01-12 15:56:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:56:03] Production.INFO: ==26593== Lock acquired, processing the job...
[2025-01-12 15:56:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:56:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:56:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:56:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:56:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:56:03] Production.INFO: ==26587== Lock acquired, processing the job...
[2025-01-12 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:56:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:56:03] Production.INFO: ==26591== Lock acquired, processing the job...
[2025-01-12 15:56:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:56:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:56:03] Production.INFO: ==26595== Lock acquired, processing the job...
[2025-01-12 15:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15: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-01-12 15:56:03] Production.INFO: Account Balance Start.
[2025-01-12 15:56:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:56:03] Production.INFO: 117
[2025-01-12 15:56:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:56:03] Production.INFO: count ==21
[2025-01-12 15:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 15: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-01-12 15:56:03] Production.INFO: count ==21
[2025-01-12 15:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232658') start
[2025-01-12 15:56:03] Production.ERROR: done
[2025-01-12 15:56:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:56:03] Production.INFO: ==26587== Releasing lock...
[2025-01-12 15:56:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:56:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:56:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:56:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:56:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:56:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232658') end
[2025-01-12 15:56:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:56:03] Production.INFO: 1
[2025-01-12 15:56:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:56:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:56:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:56:03] Production.INFO: Total Charge 0
[2025-01-12 15:56:03] Production.INFO: CreateAllLog End
[2025-01-12 15:56:03] Production.INFO: ==26595== Releasing lock...
[2025-01-12 15:56:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:56:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:56:04] Production.ERROR: done
[2025-01-12 15:56:04] Production.INFO: Account Balance End.
[2025-01-12 15:56:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:56:04] Production.INFO: ==26591== Releasing lock...
[2025-01-12 15:56:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:56:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:56:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:56:04
[end_date_ymd] => 2025-01-12 15:56:04
[RateCDR] => 1
)
[2025-01-12 15: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-01-12 12:56:04' and `end` < '2025-01-12 15: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-01-12 15:56:11] Production.ERROR: CronJobId end10
[2025-01-12 15:56:11] Production.INFO: ==26589== Releasing lock...
[2025-01-12 15:56:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:56:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:56:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:56:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:56:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:56:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:56:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:56:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:56:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:56:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:56:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:56:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:56:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:56:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:56:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:56:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:56:13] Production.INFO: call_cost start
[2025-01-12 15:56:13] Production.INFO: call_cost end
[2025-01-12 15:56:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:56:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:56:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:56:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:56:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:56:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:56:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:56:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:56:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:56:14] Production.INFO: ==26585== Releasing lock...
[2025-01-12 15:56:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:56:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:56:18] Production.INFO: count ==1287
[2025-01-12 15:56:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:56:04 - End Time 2025-01-12 15:56:04
[2025-01-12 15:56:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232660', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232660', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232660', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:56:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232660', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:56:18] Production.INFO: ProcessCDR(1,14232660,1,1,2)
[2025-01-12 15:56:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:56:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232660,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:56:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:56:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232660,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:56:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232660', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:56:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232660', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:56:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:56:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:56:23] Production.INFO: ==26593== Releasing lock...
[2025-01-12 15:56:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:56:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 20:57:01] Production.INFO: ==26655== Lock acquired, processing the job...
[2025-01-12 20:57:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:57:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:57:01] Production.INFO: neon service started
[2025-01-12 20:57:01] Production.INFO: neon service started
[2025-01-12 20:57:01] Production.INFO: ==26655== Releasing lock...
[2025-01-12 20:57:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:57:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:57:02] Production.INFO: ==26657== Lock acquired, processing the job...
[2025-01-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:57:02] Production.INFO: ==26659== Lock acquired, processing the job...
[2025-01-12 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:57:02] Production.INFO: ==26659== Releasing lock...
[2025-01-12 20:57:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:57:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:57:02] Production.INFO: ==26657== Releasing lock...
[2025-01-12 15:57:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:57:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:57:03] Production.INFO: ==26662== Lock acquired, processing the job...
[2025-01-12 15:57:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:57:03] Production.INFO: ==26664== Lock acquired, processing the job...
[2025-01-12 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:57:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:57:03] Production.INFO: ==26668== Lock acquired, processing the job...
[2025-01-12 15:57:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:57:03] Production.INFO: ==26672== Lock acquired, processing the job...
[2025-01-12 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:57:03] Production.INFO: Account Balance Start.
[2025-01-12 15:57:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:57:03] Production.INFO: 117
[2025-01-12 15:57:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:57:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:57:03] Production.INFO: ==26670== Lock acquired, processing the job...
[2025-01-12 15:57:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:57:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:57:03] Production.INFO: count ==21
[2025-01-12 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:57:03] Production.INFO: count ==21
[2025-01-12 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232664') start
[2025-01-12 15:57:03] Production.INFO: ==26666== Lock acquired, processing the job...
[2025-01-12 15:57:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:57:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:57:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:57:03] Production.INFO: ==26664== Releasing lock...
[2025-01-12 15:57:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:57:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:57:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:57:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:57:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:57:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:57:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:57:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:57:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232664') end
[2025-01-12 15:57:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:57:03] Production.INFO: 1
[2025-01-12 15:57:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:57:03] Production.INFO: Total Charge 0
[2025-01-12 15:57:03] Production.INFO: CreateAllLog End
[2025-01-12 15:57:03] Production.INFO: ==26672== Releasing lock...
[2025-01-12 15:57:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:57:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:57:04] Production.ERROR: done
[2025-01-12 15:57:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:57:04] Production.ERROR: done
[2025-01-12 15:57:04] Production.INFO: Account Balance End.
[2025-01-12 15:57:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:57:04] Production.INFO: ==26668== Releasing lock...
[2025-01-12 15:57:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:57:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:57:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:57:05
[end_date_ymd] => 2025-01-12 15:57:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:57:05' and `end` < '2025-01-12 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-01-12 15:57:11] Production.ERROR: CronJobId end10
[2025-01-12 15:57:11] Production.INFO: ==26666== Releasing lock...
[2025-01-12 15:57:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:57:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:57:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:57:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:57:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:57:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:57:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:57:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:57:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:57:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:57:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:57:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:57:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:57:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:57:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:57:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:57:13] Production.INFO: call_cost start
[2025-01-12 15:57:13] Production.INFO: call_cost end
[2025-01-12 15:57:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:57:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:57:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:57:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:57:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:57:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:57:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:57:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:57:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:57:14] Production.INFO: ==26662== Releasing lock...
[2025-01-12 15:57:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:57:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:57:19] Production.INFO: count ==1290
[2025-01-12 15:57:19] Production.ERROR: pbx CDR StartTime 2025-01-12 12:57:05 - End Time 2025-01-12 15:57:05
[2025-01-12 15:57:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232665', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232665', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232665', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:57:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232665', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:57:19] Production.INFO: ProcessCDR(1,14232665,1,1,2)
[2025-01-12 15:57:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:57:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232665,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:57:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:57:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232665,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232665', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:57:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232665', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:57:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:57:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:57:24] Production.INFO: ==26670== Releasing lock...
[2025-01-12 15:57:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:57:24] Production.INFO: 38 MB #Memory Used#
[2025-01-12 20:58:02] Production.INFO: ==26727== Lock acquired, processing the job...
[2025-01-12 20:58:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:58:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:58:02] Production.INFO: neon service started
[2025-01-12 20:58:02] Production.INFO: neon service started
[2025-01-12 20:58:02] Production.INFO: ==26727== Releasing lock...
[2025-01-12 20:58:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:58:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:58:02] Production.INFO: ==26729== Lock acquired, processing the job...
[2025-01-12 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 15:58:02] Production.INFO: ==26729== Releasing lock...
[2025-01-12 15:58:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:58:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 20:58:03] Production.INFO: ==26731== Lock acquired, processing the job...
[2025-01-12 20:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:58:03] Production.INFO: ==26731== Releasing lock...
[2025-01-12 20:58:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:58:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:58:03] Production.INFO: ==26737== Lock acquired, processing the job...
[2025-01-12 15:58:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:58:03] Production.INFO: ==26733== Lock acquired, processing the job...
[2025-01-12 15:58:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:58:03] Production.INFO: ==26744== Lock acquired, processing the job...
[2025-01-12 15:58:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:58:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:58:03] Production.INFO: ==26735== Lock acquired, processing the job...
[2025-01-12 15:58:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:58:03] Production.INFO: ==26739== Lock acquired, processing the job...
[2025-01-12 15:58:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:58:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:58:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:58:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:58:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15: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-01-12 15:58:03] Production.INFO: ==26742== Lock acquired, processing the job...
[2025-01-12 15:58:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:58:04] Production.INFO: count ==21
[2025-01-12 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-01-12 15:58:04] Production.INFO: count ==21
[2025-01-12 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232667') start
[2025-01-12 15:58:04] Production.INFO: Account Balance Start.
[2025-01-12 15:58:04] Production.INFO: CreateAllLog Start
[2025-01-12 15:58:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:58:04] Production.INFO: 117
[2025-01-12 15:58:04] Production.INFO: ==26735== Releasing lock...
[2025-01-12 15:58:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:58:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:58:04] Production.INFO: Date 2025-01-08
[2025-01-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:58:04] Production.INFO: Date 2025-01-09
[2025-01-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:58:04] Production.INFO: Date 2025-01-10
[2025-01-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:58:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232667') end
[2025-01-12 15:58:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:58:04] Production.INFO: 1
[2025-01-12 15:58:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:58:04] Production.INFO: Date 2025-01-11
[2025-01-12 15:58:04] Production.INFO: ==26744== Releasing lock...
[2025-01-12 15:58:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:58:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:58:04] Production.INFO: Date 2025-01-12
[2025-01-12 15:58:04] Production.INFO: Reseller ==> 0
[2025-01-12 15:58:04] Production.INFO: Total Charge 0
[2025-01-12 15:58:04] Production.INFO: CreateAllLog End
[2025-01-12 15:58:04] Production.ERROR: done
[2025-01-12 15:58:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:58:04] Production.INFO: Account Balance End.
[2025-01-12 15:58:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:58:04] Production.INFO: ==26739== Releasing lock...
[2025-01-12 15:58:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:58:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:58:04] Production.ERROR: done
[2025-01-12 15:58:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:58:05
[end_date_ymd] => 2025-01-12 15:58:05
[RateCDR] => 1
)
[2025-01-12 15:58:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 12:58:05' and `end` < '2025-01-12 15:58:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 15:58:10] Production.ERROR: CronJobId end10
[2025-01-12 15:58:10] Production.INFO: ==26737== Releasing lock...
[2025-01-12 15:58:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:58:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:58:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:58:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:58:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:58:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:58:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:58:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:58:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:58:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:58:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:58:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:58:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:58:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:58:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:58:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:58:13] Production.INFO: call_cost start
[2025-01-12 15:58:13] Production.INFO: call_cost end
[2025-01-12 15:58:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:58:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:58:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:58:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:58:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:58:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:58:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:58:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:58:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:58:14] Production.INFO: ==26733== Releasing lock...
[2025-01-12 15:58:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:58:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:58:20] Production.INFO: count ==1289
[2025-01-12 15:58:20] Production.ERROR: pbx CDR StartTime 2025-01-12 12:58:05 - End Time 2025-01-12 15:58:05
[2025-01-12 15:58:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232670', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232670', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232670', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:58:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232670', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:58:20] Production.INFO: ProcessCDR(1,14232670,1,1,2)
[2025-01-12 15:58:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:58:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232670,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:58:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:58:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232670,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232670', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:58:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232670', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:58:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:58:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:58:23] Production.INFO: ==26742== Releasing lock...
[2025-01-12 15:58:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:58:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 20:59:01] Production.INFO: ==26800== Lock acquired, processing the job...
[2025-01-12 20:59:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 20:59:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 20:59:01] Production.INFO: neon service started
[2025-01-12 20:59:01] Production.INFO: neon service started
[2025-01-12 20:59:01] Production.INFO: ==26800== Releasing lock...
[2025-01-12 20:59:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 20:59:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 15:59:02] Production.INFO: ==26802== Lock acquired, processing the job...
[2025-01-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 20:59:02] Production.INFO: ==26804== Lock acquired, processing the job...
[2025-01-12 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 20:59:02] Production.INFO: ==26804== Releasing lock...
[2025-01-12 20:59:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 20:59:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 15:59:02] Production.INFO: ==26802== Releasing lock...
[2025-01-12 15:59:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 15:59:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 15:59:03] Production.INFO: ==26809== Lock acquired, processing the job...
[2025-01-12 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 15:59:03] Production.INFO: ==26807== Lock acquired, processing the job...
[2025-01-12 15:59:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 15:59:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 15:59:03] Production.INFO: ==26811== Lock acquired, processing the job...
[2025-01-12 15:59:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 15:59:03] Production.INFO: ==26813== Lock acquired, processing the job...
[2025-01-12 15:59:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 15:59:03] Production.INFO: ==26815== Lock acquired, processing the job...
[2025-01-12 15:59:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 15:59:03] Production.INFO: Account Balance Start.
[2025-01-12 15:59:03] Production.INFO: CreateAllLog Start
[2025-01-12 15:59:03] Production.INFO: 117
[2025-01-12 15:59:03] Production.INFO: Date 2025-01-08
[2025-01-12 15:59:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:59:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 15:59:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 15:59:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 15:59:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 15:59:03] Production.INFO: ==26817== Lock acquired, processing the job...
[2025-01-12 15:59:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 15:59:03] Production.INFO: Date 2025-01-09
[2025-01-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:59:03] Production.INFO: Date 2025-01-10
[2025-01-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:59:03] Production.INFO: ==26809== Releasing lock...
[2025-01-12 15:59:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 15:59:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 15:59:03] Production.INFO: Date 2025-01-11
[2025-01-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 15:59:03] Production.INFO: Date 2025-01-12
[2025-01-12 15:59:03] Production.INFO: Reseller ==> 0
[2025-01-12 15:59:03] Production.INFO: count ==21
[2025-01-12 15:59:04] Production.ERROR: done
[2025-01-12 15:59:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 15:59:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 15:59:04] Production.INFO: Total Charge 0
[2025-01-12 15:59:04] Production.INFO: CreateAllLog End
[2025-01-12 15:59:04] Production.INFO: count ==21
[2025-01-12 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232674') start
[2025-01-12 15:59:04] Production.ERROR: done
[2025-01-12 15:59:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232674') end
[2025-01-12 15:59:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 15:59:04] Production.INFO: 1
[2025-01-12 15:59:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 15:59:04] Production.INFO: ==26817== Releasing lock...
[2025-01-12 15:59:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 15:59:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 15:59:04] Production.INFO: Account Balance End.
[2025-01-12 15:59:04] Production.ERROR: CronJobId end 12
[2025-01-12 15:59:04] Production.INFO: ==26813== Releasing lock...
[2025-01-12 15:59:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 15:59:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 15:59:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 12:59:05
[end_date_ymd] => 2025-01-12 15:59:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 12:59:05' and `end` < '2025-01-12 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-01-12 15:59:10] Production.ERROR: CronJobId end10
[2025-01-12 15:59:10] Production.INFO: ==26811== Releasing lock...
[2025-01-12 15:59:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 15:59:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 15:59:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 15:59:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 15:59:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 15:59:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 15:59:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 15:59:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 15:59:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 15:59:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 15:59:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 15:59:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 15:59:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 15:59:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 15:59:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 15:59:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 15:59:13] Production.INFO: call_cost start
[2025-01-12 15:59:13] Production.INFO: call_cost end
[2025-01-12 15:59:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 15:59:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 15:59:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 15:59:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 15:59:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 15:59:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 15:59:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 15:59:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 15:59:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 15:59:13] Production.INFO: ==26807== Releasing lock...
[2025-01-12 15:59:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 15:59:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 15:59:18] Production.INFO: count ==1295
[2025-01-12 15:59:18] Production.ERROR: pbx CDR StartTime 2025-01-12 12:59:05 - End Time 2025-01-12 15:59:05
[2025-01-12 15:59:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232675', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232675', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232675', 'tblTempVendorCDR_20' ) start
[2025-01-12 15:59:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232675', 'tblTempVendorCDR_20' ) end
[2025-01-12 15:59:18] Production.INFO: ProcessCDR(1,14232675,1,1,2)
[2025-01-12 15:59:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:59:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232675,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 15:59:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:59:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232675,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 15:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232675', 'tblTempUsageDetail_20' ) start
[2025-01-12 15:59:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232675', 'tblTempUsageDetail_20' ) end
[2025-01-12 15:59:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 15:59:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 15:59:23] Production.INFO: ==26815== Releasing lock...
[2025-01-12 15:59:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 15:59:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 21:00:02] Production.INFO: ==26871== Lock acquired, processing the job...
[2025-01-12 21:00:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:00:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:00:02] Production.INFO: neon service started
[2025-01-12 21:00:02] Production.INFO: neon service started
[2025-01-12 21:00:02] Production.INFO: ==26871== Releasing lock...
[2025-01-12 21:00:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:00:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:00:02] Production.INFO: ==26875== Lock acquired, processing the job...
[2025-01-12 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:00:02] Production.INFO: ==26875== Releasing lock...
[2025-01-12 21:00:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:00:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:00:02] Production.INFO: ==26873== Lock acquired, processing the job...
[2025-01-12 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:00:02] Production.INFO: ==26873== Releasing lock...
[2025-01-12 16:00:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:00:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:00:03] Production.INFO: ==26877== Lock acquired, processing the job...
[2025-01-12 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 16:00:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 16:00:03] Production.INFO: ==26883== Lock acquired, processing the job...
[2025-01-12 16:00:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:00:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 16:00:03] Production.INFO: ==26877== Releasing lock...
[2025-01-12 16:00:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 16:00:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 16:00:03] Production.INFO: ==26886== Lock acquired, processing the job...
[2025-01-12 16:00:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:00:03] Production.INFO: ==26879== Lock acquired, processing the job...
[2025-01-12 16:00:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:00:03] Production.INFO: ==26888== Lock acquired, processing the job...
[2025-01-12 16:00:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:00:04] Production.INFO: ==26881== Lock acquired, processing the job...
[2025-01-12 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:00:04] Production.INFO: Account Balance Start.
[2025-01-12 16:00:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:00:04] Production.INFO: 117
[2025-01-12 16:00:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:00:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:00:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:00:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:00:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:00:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:00:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:00:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:00:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:00:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:00:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:00:04] Production.INFO: Total Charge 0
[2025-01-12 16:00:04] Production.INFO: CreateAllLog End
[2025-01-12 16:00:04] Production.INFO: ==26890== Lock acquired, processing the job...
[2025-01-12 16:00:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 16:00:04] Production.INFO: ==26892== Lock acquired, processing the job...
[2025-01-12 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:00:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:00:04] Production.ERROR: done
[2025-01-12 16:00:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 16:00:04] Production.INFO: Account Balance End.
[2025-01-12 16:00:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:00:04] Production.INFO: count ==21
[2025-01-12 16:00:04] Production.INFO: ==26881== Releasing lock...
[2025-01-12 16:00:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:00:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232679') start
[2025-01-12 16:00:04] Production.ERROR: done
[2025-01-12 16:00:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:00:04] Production.INFO: ==26886== Releasing lock...
[2025-01-12 16:00:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:00:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:00:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232679') end
[2025-01-12 16:00:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:00:04] Production.INFO: 1
[2025-01-12 16:00:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:00:04] Production.INFO: ==26892== Releasing lock...
[2025-01-12 16:00:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:00:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:00:04] Production.ERROR: done
[2025-01-12 16:00:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 16:00:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232681', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 16:00:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:00:05
[end_date_ymd] => 2025-01-12 16:00:05
[RateCDR] => 1
)
[2025-01-12 16:00:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:00:05' and `end` < '2025-01-12 16:00:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:00:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232681', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 16:00:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 16:00:08] Production.INFO: ProcessCDR(1,14232681,1,1,2)
[2025-01-12 16:00:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232681,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:00:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232681,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:00:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:00:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:00:08] Production.INFO: ==26890== Releasing lock...
[2025-01-12 16:00:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 16:00:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 16:00:12] Production.ERROR: CronJobId end10
[2025-01-12 16:00:12] Production.INFO: ==26883== Releasing lock...
[2025-01-12 16:00:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:00:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:00:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:00:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:00:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:00:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:00:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:00:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:00:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:00:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:00:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:00:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:00:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:00:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:00:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:00:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:00:15] Production.INFO: call_cost start
[2025-01-12 16:00:15] Production.INFO: call_cost end
[2025-01-12 16:00:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:00:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:00:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:00:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:00:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:00:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:00:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:00:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:00:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:00:16] Production.INFO: ==26879== Releasing lock...
[2025-01-12 16:00:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:00:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:00:18] Production.INFO: count ==1293
[2025-01-12 16:00:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:00:05 - End Time 2025-01-12 16:00:05
[2025-01-12 16:00:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232680', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232680', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232680', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:00:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232680', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:00:19] Production.INFO: ProcessCDR(1,14232680,1,1,2)
[2025-01-12 16:00:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:00:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232680,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:00:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:00:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232680,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232680', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:00:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232680', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:00:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:00:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:00:22] Production.INFO: ==26888== Releasing lock...
[2025-01-12 16:00:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:00:22] Production.INFO: 38 MB #Memory Used#
[2025-01-12 21:01:01] Production.INFO: ==26954== Lock acquired, processing the job...
[2025-01-12 21:01:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:01:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:01:01] Production.INFO: neon service started
[2025-01-12 21:01:01] Production.INFO: neon service started
[2025-01-12 21:01:01] Production.INFO: ==26954== Releasing lock...
[2025-01-12 21:01:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:01:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:01:01] Production.INFO: ==26963== Lock acquired, processing the job...
[2025-01-12 21:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:01:01] Production.INFO: ==26963== Releasing lock...
[2025-01-12 21:01:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:01:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:01:02] Production.INFO: ==26961== Lock acquired, processing the job...
[2025-01-12 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:01:02] Production.INFO: ==26961== Releasing lock...
[2025-01-12 16:01:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:01:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:01:03] Production.INFO: ==26971== Lock acquired, processing the job...
[2025-01-12 16:01:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:01:03] Production.INFO: ==26973== Lock acquired, processing the job...
[2025-01-12 16:01:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:01:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:01:03] Production.INFO: ==26965== Lock acquired, processing the job...
[2025-01-12 16:01:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:01:03] Production.INFO: Account Balance Start.
[2025-01-12 16:01:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:01:03] Production.INFO: 117
[2025-01-12 16:01:03] Production.INFO: ==26967== Lock acquired, processing the job...
[2025-01-12 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:01:03] Production.INFO: ==26969== Lock acquired, processing the job...
[2025-01-12 16:01:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:01:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:01:03] Production.INFO: ==26976== Lock acquired, processing the job...
[2025-01-12 16:01:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:01:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:01:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:01:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:01:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:01:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:01:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:01:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:01:03] Production.ERROR: done
[2025-01-12 16:01:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 16:01:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:01:03] Production.INFO: count ==21
[2025-01-12 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-01-12 16:01:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:01:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:01:03] Production.INFO: count ==21
[2025-01-12 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232685') start
[2025-01-12 16:01:03] Production.INFO: Total Charge 0
[2025-01-12 16:01:03] Production.INFO: CreateAllLog End
[2025-01-12 16:01:03] Production.INFO: ==26967== Releasing lock...
[2025-01-12 16:01:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:01:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:01:03] Production.ERROR: done
[2025-01-12 16:01:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232685') end
[2025-01-12 16:01:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:01:03] Production.INFO: 1
[2025-01-12 16:01:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:01:04] Production.INFO: ==26976== Releasing lock...
[2025-01-12 16:01:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:01:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:01:04] Production.INFO: Account Balance End.
[2025-01-12 16:01:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:01:04] Production.INFO: ==26971== Releasing lock...
[2025-01-12 16:01:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:01:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:01:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:01:04
[end_date_ymd] => 2025-01-12 16:01:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:01:04' and `end` < '2025-01-12 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-01-12 16:01:11] Production.ERROR: CronJobId end10
[2025-01-12 16:01:11] Production.INFO: ==26969== Releasing lock...
[2025-01-12 16:01:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:01:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:01:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:01:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:01:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:01:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:01:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:01:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:01:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:01:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:01:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:01:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:01:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:01:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:01:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:01:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:01:13] Production.INFO: call_cost start
[2025-01-12 16:01:13] Production.INFO: call_cost end
[2025-01-12 16:01:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:01:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:01:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:01:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:01:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:01:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:01:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:01:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:01:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:01:14] Production.INFO: ==26965== Releasing lock...
[2025-01-12 16:01:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:01:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:01:18] Production.INFO: count ==1295
[2025-01-12 16:01:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:01:04 - End Time 2025-01-12 16:01:04
[2025-01-12 16:01:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232686', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232686', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232686', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:01:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232686', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:01:18] Production.INFO: ProcessCDR(1,14232686,1,1,2)
[2025-01-12 16:01:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:01:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232686,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:01:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:01:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232686,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232686', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:01:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232686', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:01:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:01:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:01:22] Production.INFO: ==26973== Releasing lock...
[2025-01-12 16:01:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:01:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:02:01] Production.INFO: ==27031== Lock acquired, processing the job...
[2025-01-12 21:02:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:02:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:02:01] Production.INFO: neon service started
[2025-01-12 21:02:02] Production.INFO: neon service started
[2025-01-12 21:02:02] Production.INFO: ==27031== Releasing lock...
[2025-01-12 21:02:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:02:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:02:02] Production.INFO: ==27033== Lock acquired, processing the job...
[2025-01-12 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:02:02] Production.INFO: ==27033== Releasing lock...
[2025-01-12 16:02:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:02:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:02:02] Production.INFO: ==27035== Lock acquired, processing the job...
[2025-01-12 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:02:02] Production.INFO: ==27035== Releasing lock...
[2025-01-12 21:02:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:02:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:02:03] Production.INFO: ==27046== Lock acquired, processing the job...
[2025-01-12 16:02:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:02:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:02:03] Production.INFO: ==27038== Lock acquired, processing the job...
[2025-01-12 16:02:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:02:04] Production.INFO: ==27042== Lock acquired, processing the job...
[2025-01-12 16:02:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:02:04] Production.INFO: ==27040== Lock acquired, processing the job...
[2025-01-12 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:02:04] Production.INFO: ==27044== Lock acquired, processing the job...
[2025-01-12 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:02:04] Production.ERROR: done
[2025-01-12 16:02:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:02:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:02:04] Production.INFO: Account Balance Start.
[2025-01-12 16:02:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:02:04] Production.INFO: 117
[2025-01-12 16:02:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:02:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:02:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:02:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:02:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:02:04] Production.INFO: ==27048== Lock acquired, processing the job...
[2025-01-12 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:02:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:02:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:02:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:02:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:02:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:02:04] Production.INFO: ==27040== Releasing lock...
[2025-01-12 16:02:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:02:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:02:04] Production.ERROR: done
[2025-01-12 16:02:04] Production.INFO: Total Charge 0
[2025-01-12 16:02:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 16:02:04] Production.INFO: count ==21
[2025-01-12 16:02:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 16:02:04] Production.INFO: count ==21
[2025-01-12 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232690') start
[2025-01-12 16:02:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:02:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232690') end
[2025-01-12 16:02:04] Production.INFO: ==27044== Releasing lock...
[2025-01-12 16:02:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:02:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:02:04] Production.INFO: 1
[2025-01-12 16:02:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:02:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:02:04] Production.INFO: ==27048== Releasing lock...
[2025-01-12 16:02:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:02:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:02:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:02:05
[end_date_ymd] => 2025-01-12 16:02:05
[RateCDR] => 1
)
[2025-01-12 16:02:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:02:05' and `end` < '2025-01-12 16:02:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:02:12] Production.ERROR: CronJobId end10
[2025-01-12 16:02:12] Production.INFO: ==27042== Releasing lock...
[2025-01-12 16:02:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:02:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:02:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:02:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:02:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:02:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:02:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:02:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:02:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:02:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:02:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:02:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:02:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:02:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:02:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:02:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:02:15] Production.INFO: call_cost start
[2025-01-12 16:02:15] Production.INFO: call_cost end
[2025-01-12 16:02:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:02:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:02:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:02:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:02:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:02:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:02:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:02:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:02:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:02:15] Production.INFO: ==27038== Releasing lock...
[2025-01-12 16:02:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:02:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:02:18] Production.INFO: count ==1300
[2025-01-12 16:02:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:02:05 - End Time 2025-01-12 16:02:05
[2025-01-12 16:02:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232691', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232691', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232691', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:02:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232691', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:02:19] Production.INFO: ProcessCDR(1,14232691,1,1,2)
[2025-01-12 16:02:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:02:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232691,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:02:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:02:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232691,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232691', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:02:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232691', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:02:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:02:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:02:22] Production.INFO: ==27046== Releasing lock...
[2025-01-12 16:02:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:02:22] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 21:03:01] Production.INFO: ==27106== Lock acquired, processing the job...
[2025-01-12 21:03:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:03:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:03:01] Production.INFO: neon service started
[2025-01-12 21:03:01] Production.INFO: neon service started
[2025-01-12 21:03:01] Production.INFO: ==27106== Releasing lock...
[2025-01-12 21:03:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:03:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:03:01] Production.INFO: ==27108== Lock acquired, processing the job...
[2025-01-12 16:03:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:03:02] Production.INFO: ==27110== Lock acquired, processing the job...
[2025-01-12 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:03:02] Production.INFO: ==27110== Releasing lock...
[2025-01-12 21:03:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:03:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:03:02] Production.INFO: ==27108== Releasing lock...
[2025-01-12 16:03:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:03:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:03:03] Production.INFO: ==27117== Lock acquired, processing the job...
[2025-01-12 16:03:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:03:03] Production.INFO: ==27113== Lock acquired, processing the job...
[2025-01-12 16:03:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:03:03] Production.INFO: ==27115== Lock acquired, processing the job...
[2025-01-12 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:03:03] Production.INFO: ==27123== Lock acquired, processing the job...
[2025-01-12 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:03:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:03:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:03:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:03:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:03:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 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-01-12 16:03:03] Production.INFO: ==27119== Lock acquired, processing the job...
[2025-01-12 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:03:03] Production.INFO: ==27121== Lock acquired, processing the job...
[2025-01-12 16:03:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:03:03] Production.INFO: Account Balance Start.
[2025-01-12 16:03:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:03:03] Production.INFO: 117
[2025-01-12 16:03:03] Production.INFO: count ==21
[2025-01-12 16:03:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 16:03:03] Production.INFO: count ==21
[2025-01-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232692') start
[2025-01-12 16:03:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:03:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:03:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:03:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232692') end
[2025-01-12 16:03:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:03:03] Production.INFO: 1
[2025-01-12 16:03:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:03:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:03:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:03:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:03:03] Production.INFO: Total Charge 0
[2025-01-12 16:03:03] Production.INFO: CreateAllLog End
[2025-01-12 16:03:03] Production.INFO: ==27123== Releasing lock...
[2025-01-12 16:03:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:03:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:03:03] Production.INFO: ==27115== Releasing lock...
[2025-01-12 16:03:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:03:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:03:03] Production.INFO: Account Balance End.
[2025-01-12 16:03:03] Production.ERROR: done
[2025-01-12 16:03:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:03:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:03:03] Production.INFO: ==27119== Releasing lock...
[2025-01-12 16:03:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:03:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:03:04] Production.ERROR: done
[2025-01-12 16:03:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:03:05
[end_date_ymd] => 2025-01-12 16:03:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:03:05' and `end` < '2025-01-12 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-01-12 16:03:11] Production.ERROR: CronJobId end10
[2025-01-12 16:03:11] Production.INFO: ==27117== Releasing lock...
[2025-01-12 16:03:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:03:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:03:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:03:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:03:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:03:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:03:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:03:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:03:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:03:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:03:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:03:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:03:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:03:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:03:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:03:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:03:13] Production.INFO: call_cost start
[2025-01-12 16:03:13] Production.INFO: call_cost end
[2025-01-12 16:03:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:03:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:03:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:03:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:03:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:03:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:03:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:03:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:03:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:03:14] Production.INFO: ==27113== Releasing lock...
[2025-01-12 16:03:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:03:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:03:18] Production.INFO: count ==1300
[2025-01-12 16:03:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:03:05 - End Time 2025-01-12 16:03:05
[2025-01-12 16:03:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232696', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232696', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232696', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:03:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232696', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:03:18] Production.INFO: ProcessCDR(1,14232696,1,1,2)
[2025-01-12 16:03:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:03:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232696,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:03:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:03:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232696,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232696', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:03:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232696', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:03:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:03:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:03:21] Production.INFO: ==27121== Releasing lock...
[2025-01-12 16:03:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:03:21] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 21:04:01] Production.INFO: ==27177== Lock acquired, processing the job...
[2025-01-12 21:04:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:04:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:04:01] Production.INFO: neon service started
[2025-01-12 21:04:01] Production.INFO: neon service started
[2025-01-12 21:04:01] Production.INFO: ==27177== Releasing lock...
[2025-01-12 21:04:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:04:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:04:02] Production.INFO: ==27181== Lock acquired, processing the job...
[2025-01-12 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:04:02] Production.INFO: ==27181== Releasing lock...
[2025-01-12 21:04:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:04:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:04:02] Production.INFO: ==27179== Lock acquired, processing the job...
[2025-01-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:04:02] Production.INFO: ==27179== Releasing lock...
[2025-01-12 16:04:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:04:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:04:03] Production.INFO: ==27183== Lock acquired, processing the job...
[2025-01-12 16:04:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:04:03] Production.INFO: ==27190== Lock acquired, processing the job...
[2025-01-12 16:04:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:04:03] Production.INFO: ==27188== Lock acquired, processing the job...
[2025-01-12 16:04:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:04:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:04:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:04:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:04:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:04:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:04:03] Production.INFO: ==27186== Lock acquired, processing the job...
[2025-01-12 16:04:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:04:03] Production.INFO: Account Balance Start.
[2025-01-12 16:04:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:04:03] Production.INFO: 117
[2025-01-12 16:04:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:04:03] Production.INFO: ==27192== Lock acquired, processing the job...
[2025-01-12 16:04:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:04:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:04:03] Production.INFO: ==27194== Lock acquired, processing the job...
[2025-01-12 16:04:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:04:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:04:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:04:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:04:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:04:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:04:03] Production.INFO: Total Charge 0
[2025-01-12 16: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-01-12 16:04:04] Production.INFO: CreateAllLog End
[2025-01-12 16:04:04] Production.INFO: count ==21
[2025-01-12 16:04:04] Production.INFO: ==27186== Releasing lock...
[2025-01-12 16:04:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:04:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 16:04:04] Production.INFO: count ==21
[2025-01-12 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232700') start
[2025-01-12 16:04:04] Production.ERROR: done
[2025-01-12 16:04:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:04:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232700') end
[2025-01-12 16:04:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:04:04] Production.INFO: 1
[2025-01-12 16:04:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:04:04] Production.INFO: ==27194== Releasing lock...
[2025-01-12 16:04:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:04:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:04:04] Production.ERROR: done
[2025-01-12 16:04:04] Production.INFO: Account Balance End.
[2025-01-12 16:04:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:04:04] Production.INFO: ==27190== Releasing lock...
[2025-01-12 16:04:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:04:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:04:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:04:05
[end_date_ymd] => 2025-01-12 16:04:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:04:05' and `end` < '2025-01-12 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-01-12 16:04:12] Production.ERROR: CronJobId end10
[2025-01-12 16:04:12] Production.INFO: ==27188== Releasing lock...
[2025-01-12 16:04:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:04:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:04:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:04:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:04:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:04:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:04:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:04:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:04:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:04:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:04:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:04:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:04:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:04:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:04:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:04:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:04:13] Production.INFO: call_cost start
[2025-01-12 16:04:13] Production.INFO: call_cost end
[2025-01-12 16:04:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:04:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:04:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:04:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:04:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:04:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:04:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:04:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:04:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:04:14] Production.INFO: ==27183== Releasing lock...
[2025-01-12 16:04:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:04:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:04:19] Production.INFO: count ==1288
[2025-01-12 16:04:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:04:05 - End Time 2025-01-12 16:04:05
[2025-01-12 16:04:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232701', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232701', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232701', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:04:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232701', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:04:19] Production.INFO: ProcessCDR(1,14232701,1,1,2)
[2025-01-12 16:04:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:04:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232701,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:04:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:04:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232701,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232701', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:04:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232701', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:04:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:04:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:04:22] Production.INFO: ==27192== Releasing lock...
[2025-01-12 16:04:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:04:22] Production.INFO: 38 MB #Memory Used#
[2025-01-12 21:05:02] Production.INFO: ==27247== Lock acquired, processing the job...
[2025-01-12 21:05:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:05:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:05:02] Production.INFO: neon service started
[2025-01-12 21:05:02] Production.INFO: neon service started
[2025-01-12 21:05:02] Production.INFO: ==27247== Releasing lock...
[2025-01-12 21:05:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:05:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:05:02] Production.INFO: ==27251== Lock acquired, processing the job...
[2025-01-12 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:05:02] Production.INFO: ==27251== Releasing lock...
[2025-01-12 21:05:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:05:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:05:02] Production.INFO: ==27249== Lock acquired, processing the job...
[2025-01-12 16:05:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:05:03] Production.INFO: ==27249== Releasing lock...
[2025-01-12 16:05:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:05:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:05:03] Production.INFO: ==27256== Lock acquired, processing the job...
[2025-01-12 16:05:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:05:03] Production.INFO: ==27262== Lock acquired, processing the job...
[2025-01-12 16:05:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:05:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:05:03] Production.INFO: ==27254== Lock acquired, processing the job...
[2025-01-12 16:05:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:05:04] Production.INFO: ==27258== Lock acquired, processing the job...
[2025-01-12 16:05:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:05:04] Production.INFO: ==27260== Lock acquired, processing the job...
[2025-01-12 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:05:04] Production.INFO: ==27256== Releasing lock...
[2025-01-12 16:05:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:05:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:05:04] Production.INFO: ==27264== Lock acquired, processing the job...
[2025-01-12 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:05:04] Production.INFO: Account Balance Start.
[2025-01-12 16:05:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:05:04] Production.INFO: 117
[2025-01-12 16:05:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:05:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:05:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:05:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:05:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:05:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:05:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:05:04] Production.ERROR: done
[2025-01-12 16:05:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:05:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:05:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:05:04] Production.INFO: Date 2025-01-12
[2025-01-12 16: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-01-12 16:05:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:05:04] Production.ERROR: done
[2025-01-12 16:05:04] Production.INFO: Total Charge 0
[2025-01-12 16:05:04] Production.INFO: CreateAllLog End
[2025-01-12 16:05:04] Production.INFO: count ==21
[2025-01-12 16: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-01-12 16:05:04] Production.INFO: count ==21
[2025-01-12 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232705') start
[2025-01-12 16:05:04] Production.INFO: Account Balance End.
[2025-01-12 16:05:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:05:04] Production.INFO: ==27260== Releasing lock...
[2025-01-12 16:05:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:05:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:05:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232705') end
[2025-01-12 16:05:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:05:04] Production.INFO: 1
[2025-01-12 16:05:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:05:04] Production.INFO: ==27264== Releasing lock...
[2025-01-12 16:05:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:05:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:05:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:05:05
[end_date_ymd] => 2025-01-12 16:05:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:05:05' and `end` < '2025-01-12 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-01-12 16:05:11] Production.ERROR: CronJobId end10
[2025-01-12 16:05:11] Production.INFO: ==27258== Releasing lock...
[2025-01-12 16:05:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:05:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:05:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:05:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:05:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:05:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:05:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:05:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:05:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:05:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:05:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:05:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:05:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:05:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:05:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:05:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:05:14] Production.INFO: call_cost start
[2025-01-12 16:05:14] Production.INFO: call_cost end
[2025-01-12 16:05:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:05:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:05:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:05:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:05:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:05:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:05:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:05:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:05:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:05:15] Production.INFO: ==27254== Releasing lock...
[2025-01-12 16:05:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:05:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:05:18] Production.INFO: count ==1276
[2025-01-12 16:05:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:05:05 - End Time 2025-01-12 16:05:05
[2025-01-12 16:05:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232706', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232706', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232706', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:05:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232706', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:05:19] Production.INFO: ProcessCDR(1,14232706,1,1,2)
[2025-01-12 16:05:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:05:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232706,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:05:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:05:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232706,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232706', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:05:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232706', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:05:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:05:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:05:22] Production.INFO: ==27262== Releasing lock...
[2025-01-12 16:05:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:05:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:06:01] Production.INFO: ==27360== Lock acquired, processing the job...
[2025-01-12 21:06:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:06:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:06:01] Production.INFO: neon service started
[2025-01-12 21:06:01] Production.INFO: neon service started
[2025-01-12 21:06:01] Production.INFO: ==27360== Releasing lock...
[2025-01-12 21:06:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:06:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:06:02] Production.INFO: ==27362== Lock acquired, processing the job...
[2025-01-12 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:06:02] Production.INFO: ==27364== Lock acquired, processing the job...
[2025-01-12 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:06:02] Production.INFO: ==27364== Releasing lock...
[2025-01-12 21:06:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:06:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:06:02] Production.INFO: ==27362== Releasing lock...
[2025-01-12 16:06:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:06:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:06:03] Production.INFO: ==27367== Lock acquired, processing the job...
[2025-01-12 16:06:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:06:03] Production.INFO: ==27369== Lock acquired, processing the job...
[2025-01-12 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:06:03] Production.INFO: ==27373== Lock acquired, processing the job...
[2025-01-12 16:06:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:06:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:06:03] Production.INFO: Account Balance Start.
[2025-01-12 16:06:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:06:03] Production.INFO: 117
[2025-01-12 16:06:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:06:03] Production.INFO: ==27369== Releasing lock...
[2025-01-12 16:06:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:06:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:06:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:06:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:06:03] Production.INFO: ==27371== Lock acquired, processing the job...
[2025-01-12 16:06:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:06:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:06:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:06:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:06:03] Production.INFO: Total Charge 0
[2025-01-12 16:06:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:06:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:06:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:06:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:06:03] Production.INFO: ==27377== Lock acquired, processing the job...
[2025-01-12 16:06:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:06:03] Production.INFO: CreateAllLog End
[2025-01-12 16:06:03] Production.INFO: ==27375== Lock acquired, processing the job...
[2025-01-12 16:06:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:06:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:06:04] Production.INFO: Account Balance End.
[2025-01-12 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-01-12 16:06:04] Production.INFO: count ==21
[2025-01-12 16:06:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:06:04] Production.INFO: ==27373== Releasing lock...
[2025-01-12 16:06:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:06:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 16:06:04] Production.INFO: count ==21
[2025-01-12 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232710') start
[2025-01-12 16:06:04] Production.ERROR: done
[2025-01-12 16:06:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:06:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232710') end
[2025-01-12 16:06:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:06:04] Production.INFO: 1
[2025-01-12 16:06:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:06:04] Production.INFO: ==27377== Releasing lock...
[2025-01-12 16:06:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:06:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:06:04] Production.ERROR: done
[2025-01-12 16:06:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:06:05
[end_date_ymd] => 2025-01-12 16:06:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:06:05' and `end` < '2025-01-12 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-01-12 16:06:11] Production.ERROR: CronJobId end10
[2025-01-12 16:06:11] Production.INFO: ==27371== Releasing lock...
[2025-01-12 16:06:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:06:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:06:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:06:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:06:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:06:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:06:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:06:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:06:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:06:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:06:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:06:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:06:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:06:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:06:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:06:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:06:13] Production.INFO: call_cost start
[2025-01-12 16:06:13] Production.INFO: call_cost end
[2025-01-12 16:06:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:06:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:06:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:06:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:06:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:06:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:06:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:06:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:06:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:06:13] Production.INFO: ==27367== Releasing lock...
[2025-01-12 16:06:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:06:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:06:18] Production.INFO: count ==1275
[2025-01-12 16:06:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:06:05 - End Time 2025-01-12 16:06:05
[2025-01-12 16:06:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232711', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232711', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232711', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:06:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232711', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:06:18] Production.INFO: ProcessCDR(1,14232711,1,1,2)
[2025-01-12 16:06:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:06:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232711,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:06:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:06:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232711,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232711', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:06:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232711', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:06:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:06:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:06:21] Production.INFO: ==27375== Releasing lock...
[2025-01-12 16:06:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:06:21] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:07:02] Production.INFO: ==27430== Lock acquired, processing the job...
[2025-01-12 21:07:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:07:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:07:02] Production.INFO: neon service started
[2025-01-12 21:07:02] Production.INFO: neon service started
[2025-01-12 21:07:02] Production.INFO: ==27430== Releasing lock...
[2025-01-12 21:07:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:07:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:07:02] Production.INFO: ==27432== Lock acquired, processing the job...
[2025-01-12 16:07:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:07:02] Production.INFO: ==27434== Lock acquired, processing the job...
[2025-01-12 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:07:02] Production.INFO: ==27434== Releasing lock...
[2025-01-12 21:07:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:07:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:07:03] Production.INFO: ==27432== Releasing lock...
[2025-01-12 16:07:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:07:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:07:03] Production.INFO: ==27437== Lock acquired, processing the job...
[2025-01-12 16:07:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:07:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:07:03] Production.INFO: ==27443== Lock acquired, processing the job...
[2025-01-12 16:07:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:07:04] Production.INFO: ==27445== Lock acquired, processing the job...
[2025-01-12 16:07:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:07:04] Production.INFO: Account Balance Start.
[2025-01-12 16:07:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:07:04] Production.INFO: 117
[2025-01-12 16:07:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:07:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:07:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:07:04] Production.INFO: ==27439== Lock acquired, processing the job...
[2025-01-12 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:07:04] Production.INFO: ==27441== Lock acquired, processing the job...
[2025-01-12 16:07:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:07:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:07:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:07:04] Production.INFO: ==27447== Lock acquired, processing the job...
[2025-01-12 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:07:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:07:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:07:04] Production.INFO: Total Charge 0
[2025-01-12 16:07:04] Production.INFO: CreateAllLog End
[2025-01-12 16:07:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:07:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:07:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:07:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:07:04] Production.ERROR: done
[2025-01-12 16:07:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 16:07:04] Production.INFO: count ==21
[2025-01-12 16:07:04] Production.INFO: ==27439== Releasing lock...
[2025-01-12 16:07:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:07:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 16:07:04] Production.ERROR: done
[2025-01-12 16:07:04] Production.INFO: count ==21
[2025-01-12 16:07:04] Production.INFO: Account Balance End.
[2025-01-12 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232715') start
[2025-01-12 16:07:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:07:04] Production.INFO: ==27443== Releasing lock...
[2025-01-12 16:07:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:07:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:07:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232715') end
[2025-01-12 16:07:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:07:04] Production.INFO: 1
[2025-01-12 16:07:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:07:04] Production.INFO: ==27447== Releasing lock...
[2025-01-12 16:07:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:07:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:07:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:07:05
[end_date_ymd] => 2025-01-12 16:07:05
[RateCDR] => 1
)
[2025-01-12 16:07:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:07:05' and `end` < '2025-01-12 16:07:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:07:11] Production.ERROR: CronJobId end10
[2025-01-12 16:07:11] Production.INFO: ==27441== Releasing lock...
[2025-01-12 16:07:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:07:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:07:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:07:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:07:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:07:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:07:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:07:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:07:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:07:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:07:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:07:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:07:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:07:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:07:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:07:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:07:13] Production.INFO: call_cost start
[2025-01-12 16:07:13] Production.INFO: call_cost end
[2025-01-12 16:07:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:07:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:07:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:07:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:07:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:07:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:07:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:07:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:07:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:07:13] Production.INFO: ==27437== Releasing lock...
[2025-01-12 16:07:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:07:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:07:19] Production.INFO: count ==1265
[2025-01-12 16:07:20] Production.ERROR: pbx CDR StartTime 2025-01-12 13:07:05 - End Time 2025-01-12 16:07:05
[2025-01-12 16:07:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232716', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232716', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232716', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:07:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232716', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:07:20] Production.INFO: ProcessCDR(1,14232716,1,1,2)
[2025-01-12 16:07:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:07:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232716,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:07:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:07:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232716,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232716', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:07:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232716', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:07:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:07:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:07:24] Production.INFO: ==27445== Releasing lock...
[2025-01-12 16:07:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:07:24] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:08:01] Production.INFO: ==27505== Lock acquired, processing the job...
[2025-01-12 21:08:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:08:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:08:01] Production.INFO: neon service started
[2025-01-12 21:08:01] Production.INFO: neon service started
[2025-01-12 21:08:01] Production.INFO: ==27505== Releasing lock...
[2025-01-12 21:08:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:08:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:08:02] Production.INFO: ==27510== Lock acquired, processing the job...
[2025-01-12 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:08:02] Production.INFO: ==27510== Releasing lock...
[2025-01-12 21:08:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:08:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:08:02] Production.INFO: ==27508== Lock acquired, processing the job...
[2025-01-12 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:08:02] Production.INFO: ==27508== Releasing lock...
[2025-01-12 16:08:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:08:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:08:03] Production.INFO: ==27512== Lock acquired, processing the job...
[2025-01-12 16:08:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:08:03] Production.INFO: ==27518== Lock acquired, processing the job...
[2025-01-12 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:08:03] Production.INFO: ==27514== Lock acquired, processing the job...
[2025-01-12 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:08:03] Production.INFO: ==27522== Lock acquired, processing the job...
[2025-01-12 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:08:03] Production.INFO: ==27520== Lock acquired, processing the job...
[2025-01-12 16:08:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:08:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:08:03] Production.INFO: Account Balance Start.
[2025-01-12 16:08:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:08:03] Production.INFO: 117
[2025-01-12 16:08:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:08:03] Production.INFO: ==27516== Lock acquired, processing the job...
[2025-01-12 16:08:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:08:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 16: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-01-12 16:08:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:08:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:08:03] Production.INFO: count ==21
[2025-01-12 16: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-01-12 16:08:03] Production.INFO: count ==21
[2025-01-12 16:08:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232720') start
[2025-01-12 16:08:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:08:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:08:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:08:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:08:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:08:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:08:03] Production.INFO: ==27514== Releasing lock...
[2025-01-12 16:08:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:08:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:08:03] Production.INFO: Total Charge 0
[2025-01-12 16:08:03] Production.INFO: CreateAllLog End
[2025-01-12 16:08:03] Production.ERROR: done
[2025-01-12 16:08:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:08:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232720') end
[2025-01-12 16:08:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:08:03] Production.INFO: 1
[2025-01-12 16:08:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:08:03] Production.INFO: ==27522== Releasing lock...
[2025-01-12 16:08:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:08:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:08:03] Production.ERROR: done
[2025-01-12 16:08:03] Production.INFO: Account Balance End.
[2025-01-12 16:08:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:08:03] Production.INFO: ==27518== Releasing lock...
[2025-01-12 16:08:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:08:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:08:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:08:04
[end_date_ymd] => 2025-01-12 16:08:04
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:08:04' and `end` < '2025-01-12 16: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-01-12 16:08:11] Production.ERROR: CronJobId end10
[2025-01-12 16:08:11] Production.INFO: ==27516== Releasing lock...
[2025-01-12 16:08:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:08:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:08:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:08:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:08:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:08:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:08:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:08:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:08:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:08:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:08:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:08:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:08:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:08:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:08:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:08:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:08:13] Production.INFO: call_cost start
[2025-01-12 16:08:13] Production.INFO: call_cost end
[2025-01-12 16:08:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:08:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:08:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:08:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:08:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:08:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:08:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:08:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:08:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:08:14] Production.INFO: ==27512== Releasing lock...
[2025-01-12 16:08:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:08:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:08:17] Production.INFO: count ==1264
[2025-01-12 16:08:17] Production.ERROR: pbx CDR StartTime 2025-01-12 13:08:04 - End Time 2025-01-12 16:08:04
[2025-01-12 16:08:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232721', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232721', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232721', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:08:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232721', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:08:17] Production.INFO: ProcessCDR(1,14232721,1,1,2)
[2025-01-12 16:08:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:08:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232721,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:08:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:08:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232721,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232721', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:08:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232721', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:08:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:08:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:08:22] Production.INFO: ==27520== Releasing lock...
[2025-01-12 16:08:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:08:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:09:01] Production.INFO: ==27582== Lock acquired, processing the job...
[2025-01-12 21:09:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:09:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:09:02] Production.INFO: neon service started
[2025-01-12 21:09:02] Production.INFO: neon service started
[2025-01-12 21:09:02] Production.INFO: ==27582== Releasing lock...
[2025-01-12 21:09:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:09:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:09:02] Production.INFO: ==27584== Lock acquired, processing the job...
[2025-01-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:09:02] Production.INFO: ==27584== Releasing lock...
[2025-01-12 16:09:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:09:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:09:02] Production.INFO: ==27586== Lock acquired, processing the job...
[2025-01-12 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:09:02] Production.INFO: ==27586== Releasing lock...
[2025-01-12 21:09:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:09:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:09:03] Production.INFO: ==27588== Lock acquired, processing the job...
[2025-01-12 16:09:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:09:03] Production.INFO: ==27590== Lock acquired, processing the job...
[2025-01-12 16:09:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:09:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:09:03] Production.INFO: ==27595== Lock acquired, processing the job...
[2025-01-12 16:09:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:09:03] Production.INFO: Account Balance Start.
[2025-01-12 16:09:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:09:03] Production.INFO: 117
[2025-01-12 16:09:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:09:03] Production.INFO: ==27593== Lock acquired, processing the job...
[2025-01-12 16:09:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:09:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:09:03] Production.INFO: ==27597== Lock acquired, processing the job...
[2025-01-12 16:09:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:09:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:09:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:09:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:09:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:09:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:09:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:09:03] Production.INFO: ==27599== Lock acquired, processing the job...
[2025-01-12 16:09:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:09:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:09:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:09:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:09:03] Production.INFO: Total Charge 0
[2025-01-12 16:09:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 16:09:04] Production.INFO: ==27590== Releasing lock...
[2025-01-12 16:09:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:09:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:09:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:09:04] Production.INFO: count ==21
[2025-01-12 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232725') start
[2025-01-12 16:09:04] Production.INFO: Account Balance End.
[2025-01-12 16:09:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:09:04] Production.INFO: ==27595== Releasing lock...
[2025-01-12 16:09:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:09:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:09:04] Production.ERROR: done
[2025-01-12 16:09:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:09:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232725') end
[2025-01-12 16:09:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:09:04] Production.INFO: 1
[2025-01-12 16:09:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:09:04] Production.ERROR: done
[2025-01-12 16:09:04] Production.INFO: ==27599== Releasing lock...
[2025-01-12 16:09:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:09:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:09:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:09:05
[end_date_ymd] => 2025-01-12 16:09:05
[RateCDR] => 1
)
[2025-01-12 16:09:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:09:05' and `end` < '2025-01-12 16:09:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:09:10] Production.ERROR: CronJobId end10
[2025-01-12 16:09:10] Production.INFO: ==27593== Releasing lock...
[2025-01-12 16:09:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:09:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:09:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:09:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:09:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:09:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:09:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:09:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:09:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:09:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:09:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:09:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:09:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:09:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:09:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:09:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:09:13] Production.INFO: call_cost start
[2025-01-12 16:09:13] Production.INFO: call_cost end
[2025-01-12 16:09:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:09:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:09:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:09:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:09:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:09:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:09:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:09:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:09:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:09:13] Production.INFO: ==27588== Releasing lock...
[2025-01-12 16:09:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:09:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:09:18] Production.INFO: count ==1270
[2025-01-12 16:09:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:09:05 - End Time 2025-01-12 16:09:05
[2025-01-12 16:09:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232726', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232726', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:09:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232726', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:09:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232726', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:09:19] Production.INFO: ProcessCDR(1,14232726,1,1,2)
[2025-01-12 16:09:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:09:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232726,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:09:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:09:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232726,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232726', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:09:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232726', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:09:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:09:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:09:23] Production.INFO: ==27597== Releasing lock...
[2025-01-12 16:09:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:09:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:10:01] Production.INFO: ==27659== Lock acquired, processing the job...
[2025-01-12 21:10:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:10:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:10:01] Production.INFO: neon service started
[2025-01-12 21:10:01] Production.INFO: neon service started
[2025-01-12 21:10:01] Production.INFO: ==27659== Releasing lock...
[2025-01-12 21:10:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:10:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:10:02] Production.INFO: ==27661== Lock acquired, processing the job...
[2025-01-12 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:10:02] Production.INFO: ==27663== Lock acquired, processing the job...
[2025-01-12 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:10:02] Production.INFO: ==27663== Releasing lock...
[2025-01-12 21:10:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:10:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:10:02] Production.INFO: ==27661== Releasing lock...
[2025-01-12 16:10:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:10:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:10:03] Production.INFO: ==27666== Lock acquired, processing the job...
[2025-01-12 16:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 16:10:03] Production.INFO: ==27670== Lock acquired, processing the job...
[2025-01-12 16:10:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:10:03] Production.INFO: ==27668== Lock acquired, processing the job...
[2025-01-12 16:10:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:10:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 16:10:03] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 16:10:03] Production.ERROR: CronJob PID - 27670
[2025-01-12 16:10:03] Production.ERROR: CronJob Title - Account Block
[2025-01-12 16:10:03] Production.ERROR: CronJob ID - 7
[2025-01-12 16:10:03] Production.ERROR: CronJob Last Run Time 2025-01-12 16:10:00
[2025-01-12 16:10:03] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 16:10:03] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 16:10:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 16:10:03] Production.INFO: ==27666== Releasing lock...
[2025-01-12 16:10:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 16:10:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 16:10:03] Production.INFO: ==27674== Lock acquired, processing the job...
[2025-01-12 16:10:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:10:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:10:03] Production.INFO: ==27672== Lock acquired, processing the job...
[2025-01-12 16:10:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:10:03] Production.INFO: ==27676== Lock acquired, processing the job...
[2025-01-12 16:10:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:10:03] Production.INFO: Account Balance Start.
[2025-01-12 16:10:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:10:03] Production.INFO: 117
[2025-01-12 16:10:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:10:03] Production.INFO: ==27678== Lock acquired, processing the job...
[2025-01-12 16:10:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 16:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:10:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:10:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:10:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:10:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:10:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:10:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:10:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:10:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:10:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:10:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:10:03] Production.INFO: Total Charge 0
[2025-01-12 16:10:03] Production.INFO: CreateAllLog End
[2025-01-12 16:10:04] Production.INFO: ==27680== Lock acquired, processing the job...
[2025-01-12 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:10:04] Production.INFO: Account Balance End.
[2025-01-12 16:10:04] Production.ERROR: done
[2025-01-12 16:10:04] Production.INFO: ==27670== Releasing lock...
[2025-01-12 16:10:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:10:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:10:04] Production.ERROR: done
[2025-01-12 16:10:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:10:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:10:04] Production.INFO: ==27674== Releasing lock...
[2025-01-12 16:10:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:10:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 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-01-12 16:10:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 16:10:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232731', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 16:10:04] Production.INFO: count ==21
[2025-01-12 16:10:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:10:04] Production.INFO: count ==21
[2025-01-12 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232730') start
[2025-01-12 16:10:04] Production.ERROR: done
[2025-01-12 16:10:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232730') end
[2025-01-12 16:10:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:10:04] Production.INFO: 1
[2025-01-12 16:10:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:10:04] Production.INFO: ==27680== Releasing lock...
[2025-01-12 16:10:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:10:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:10:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:10:05
[end_date_ymd] => 2025-01-12 16:10:05
[RateCDR] => 1
)
[2025-01-12 16:10:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:10:05' and `end` < '2025-01-12 16:10:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:10:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232731', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 16:10:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 16:10:08] Production.INFO: ProcessCDR(1,14232731,1,1,2)
[2025-01-12 16:10:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232731,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:10:08] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232731,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:10:08] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:10:08] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:10:08] Production.INFO: ==27678== Releasing lock...
[2025-01-12 16:10:08] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 16:10:08] Production.INFO: 26 MB #Memory Used#
[2025-01-12 16:10:13] Production.ERROR: CronJobId end10
[2025-01-12 16:10:13] Production.INFO: ==27672== Releasing lock...
[2025-01-12 16:10:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:10:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:10:15] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:10:15] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:10:15] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:10:15] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:10:15] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:10:15] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:10:15] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:10:15] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:10:15] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:10:15] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:10:15] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:10:15] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:10:15] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:10:15] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:10:15] Production.INFO: call_cost start
[2025-01-12 16:10:15] Production.INFO: call_cost end
[2025-01-12 16:10:16] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:10:16] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:10:16] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:10:16] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:10:16] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:10:16] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:10:16] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:10:16] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:10:16] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:10:16] Production.INFO: ==27668== Releasing lock...
[2025-01-12 16:10:16] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:10:16] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:10:18] Production.INFO: count ==1281
[2025-01-12 16:10:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:10:05 - End Time 2025-01-12 16:10:05
[2025-01-12 16:10:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232732', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232732', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232732', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:10:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232732', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:10:18] Production.INFO: ProcessCDR(1,14232732,1,1,2)
[2025-01-12 16:10:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:10:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232732,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:10:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:10:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232732,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232732', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:10:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232732', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:10:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:10:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:10:23] Production.INFO: ==27676== Releasing lock...
[2025-01-12 16:10:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:10:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:11:01] Production.INFO: ==27741== Lock acquired, processing the job...
[2025-01-12 21:11:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:11:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:11:01] Production.INFO: neon service started
[2025-01-12 21:11:01] Production.INFO: neon service started
[2025-01-12 21:11:01] Production.INFO: ==27741== Releasing lock...
[2025-01-12 21:11:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:11:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:11:02] Production.INFO: ==27745== Lock acquired, processing the job...
[2025-01-12 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:11:02] Production.INFO: ==27745== Releasing lock...
[2025-01-12 21:11:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:11:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:11:02] Production.INFO: ==27743== Lock acquired, processing the job...
[2025-01-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:11:02] Production.INFO: ==27743== Releasing lock...
[2025-01-12 16:11:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:11:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:11:03] Production.INFO: ==27748== Lock acquired, processing the job...
[2025-01-12 16:11:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:11:03] Production.INFO: ==27752== Lock acquired, processing the job...
[2025-01-12 16:11:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:11:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:11:03] Production.INFO: ==27754== Lock acquired, processing the job...
[2025-01-12 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:11:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:11:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:11:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:11:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:11:03] Production.INFO: Account Balance Start.
[2025-01-12 16:11:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:11:03] Production.INFO: 117
[2025-01-12 16:11:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:11:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:11:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:11:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:11:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:11:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:11:03] Production.INFO: ==27750== Lock acquired, processing the job...
[2025-01-12 16:11:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:11:03] Production.INFO: Total Charge 0
[2025-01-12 16:11:03] Production.INFO: CreateAllLog End
[2025-01-12 16:11:03] Production.INFO: Account Balance End.
[2025-01-12 16:11:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:11:03] Production.INFO: ==27754== Releasing lock...
[2025-01-12 16:11:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:11:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:11:03] Production.INFO: ==27756== Lock acquired, processing the job...
[2025-01-12 16:11:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:11:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:11:03] Production.INFO: ==27758== Lock acquired, processing the job...
[2025-01-12 16:11:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:11:04] Production.INFO: ==27750== Releasing lock...
[2025-01-12 16:11:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:11:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 16:11:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:11:04] Production.INFO: count ==21
[2025-01-12 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232736') start
[2025-01-12 16:11:04] Production.ERROR: done
[2025-01-12 16:11:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:11:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232736') end
[2025-01-12 16:11:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:11:04] Production.INFO: 1
[2025-01-12 16:11:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:11:04] Production.INFO: ==27758== Releasing lock...
[2025-01-12 16:11:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:11:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:11:04] Production.ERROR: done
[2025-01-12 16:11:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:11:05
[end_date_ymd] => 2025-01-12 16:11:05
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:11:05' and `end` < '2025-01-12 16: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-01-12 16:11:11] Production.ERROR: CronJobId end10
[2025-01-12 16:11:11] Production.INFO: ==27752== Releasing lock...
[2025-01-12 16:11:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:11:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:11:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:11:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:11:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:11:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:11:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:11:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:11:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:11:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:11:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:11:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:11:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:11:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:11:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:11:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:11:13] Production.INFO: call_cost start
[2025-01-12 16:11:13] Production.INFO: call_cost end
[2025-01-12 16:11:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:11:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:11:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:11:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:11:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:11:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:11:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:11:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:11:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:11:14] Production.INFO: ==27748== Releasing lock...
[2025-01-12 16:11:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:11:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:11:18] Production.INFO: count ==1262
[2025-01-12 16:11:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:11:05 - End Time 2025-01-12 16:11:05
[2025-01-12 16:11:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232737', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232737', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232737', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:11:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232737', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:11:18] Production.INFO: ProcessCDR(1,14232737,1,1,2)
[2025-01-12 16:11:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:11:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232737,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:11:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:11:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232737,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232737', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:11:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232737', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:11:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:11:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:11:23] Production.INFO: ==27756== Releasing lock...
[2025-01-12 16:11:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:11:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:12:02] Production.INFO: ==27818== Lock acquired, processing the job...
[2025-01-12 21:12:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:12:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:12:02] Production.INFO: neon service started
[2025-01-12 21:12:02] Production.INFO: neon service started
[2025-01-12 21:12:02] Production.INFO: ==27818== Releasing lock...
[2025-01-12 21:12:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:12:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:12:02] Production.INFO: ==27821== Lock acquired, processing the job...
[2025-01-12 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:12:02] Production.INFO: ==27821== Releasing lock...
[2025-01-12 16:12:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:12:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:12:03] Production.INFO: ==27823== Lock acquired, processing the job...
[2025-01-12 21:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:12:03] Production.INFO: ==27823== Releasing lock...
[2025-01-12 21:12:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:12:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:12:03] Production.INFO: ==27831== Lock acquired, processing the job...
[2025-01-12 16:12:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:12:03] Production.INFO: ==27833== Lock acquired, processing the job...
[2025-01-12 16:12:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:12:03] Production.INFO: Account Balance Start.
[2025-01-12 16:12:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:12:03] Production.INFO: 117
[2025-01-12 16:12:03] Production.INFO: ==27827== Lock acquired, processing the job...
[2025-01-12 16:12:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:12:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:12:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:12:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:12:03] Production.INFO: ==27825== Lock acquired, processing the job...
[2025-01-12 16:12:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:12:03] Production.INFO: ==27829== Lock acquired, processing the job...
[2025-01-12 16:12:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:12:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:12:04] Production.INFO: ==27835== Lock acquired, processing the job...
[2025-01-12 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:12:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:12:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:12:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:12:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:12:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:12:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:12:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:12:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:12:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:12:04] Production.INFO: Total Charge 0
[2025-01-12 16:12:04] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 16:12:04] Production.INFO: ==27827== Releasing lock...
[2025-01-12 16:12:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:12:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:12:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:12:04] Production.ERROR: done
[2025-01-12 16:12:04] Production.INFO: count ==21
[2025-01-12 16:12:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232740') start
[2025-01-12 16:12:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232740') end
[2025-01-12 16:12:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:12:04] Production.INFO: 1
[2025-01-12 16:12:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:12:04] Production.INFO: Account Balance End.
[2025-01-12 16:12:04] Production.ERROR: done
[2025-01-12 16:12:04] Production.INFO: ==27835== Releasing lock...
[2025-01-12 16:12:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:12:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:12:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:12:04] Production.INFO: ==27831== Releasing lock...
[2025-01-12 16:12:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:12:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:12:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:12:05
[end_date_ymd] => 2025-01-12 16:12:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:12:05' and `end` < '2025-01-12 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-01-12 16:12:11] Production.ERROR: CronJobId end10
[2025-01-12 16:12:11] Production.INFO: ==27829== Releasing lock...
[2025-01-12 16:12:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:12:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:12:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:12:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:12:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:12:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:12:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:12:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:12:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:12:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:12:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:12:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:12:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:12:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:12:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:12:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:12:13] Production.INFO: call_cost start
[2025-01-12 16:12:13] Production.INFO: call_cost end
[2025-01-12 16:12:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:12:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:12:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:12:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:12:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:12:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:12:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:12:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:12:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:12:14] Production.INFO: ==27825== Releasing lock...
[2025-01-12 16:12:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:12:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:12:18] Production.INFO: count ==1263
[2025-01-12 16:12:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:12:05 - End Time 2025-01-12 16:12:05
[2025-01-12 16:12:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:12:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232742', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232742', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232742', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:12:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232742', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:12:19] Production.INFO: ProcessCDR(1,14232742,1,1,2)
[2025-01-12 16:12:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:12:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232742,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:12:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:12:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232742,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232742', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:12:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232742', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:12:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:12:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:12:23] Production.INFO: ==27833== Releasing lock...
[2025-01-12 16:12:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:12:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:13:01] Production.INFO: ==27895== Lock acquired, processing the job...
[2025-01-12 21:13:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:13:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:13:01] Production.INFO: neon service started
[2025-01-12 21:13:01] Production.INFO: neon service started
[2025-01-12 21:13:01] Production.INFO: ==27895== Releasing lock...
[2025-01-12 21:13:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:13:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:13:02] Production.INFO: ==27899== Lock acquired, processing the job...
[2025-01-12 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 16:13:02] Production.INFO: ==27897== Lock acquired, processing the job...
[2025-01-12 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:13:02] Production.INFO: ==27899== Releasing lock...
[2025-01-12 21:13:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:13:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:13:02] Production.INFO: ==27897== Releasing lock...
[2025-01-12 16:13:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:13:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:13:03] Production.INFO: ==27904== Lock acquired, processing the job...
[2025-01-12 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:13:03] Production.INFO: ==27902== Lock acquired, processing the job...
[2025-01-12 16:13:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:13:03] Production.INFO: ==27912== Lock acquired, processing the job...
[2025-01-12 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:13:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:13:03] Production.INFO: ==27906== Lock acquired, processing the job...
[2025-01-12 16:13:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:13:03] Production.INFO: ==27908== Lock acquired, processing the job...
[2025-01-12 16:13:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16: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-01-12 16:13:03] Production.INFO: ==27910== Lock acquired, processing the job...
[2025-01-12 16:13:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:13:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:13:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:13:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:13:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:13:03] Production.INFO: count ==21
[2025-01-12 16: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-01-12 16:13:03] Production.INFO: count ==21
[2025-01-12 16:13:03] Production.INFO: Account Balance Start.
[2025-01-12 16:13:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:13:03] Production.INFO: 117
[2025-01-12 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232745') start
[2025-01-12 16:13:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:13:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:13:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232745') end
[2025-01-12 16:13:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:13:03] Production.INFO: 1
[2025-01-12 16:13:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:13:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:13:03] Production.INFO: ==27904== Releasing lock...
[2025-01-12 16:13:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:13:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:13:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:13:03] Production.INFO: ==27912== Releasing lock...
[2025-01-12 16:13:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:13:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:13:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:13:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:13:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:13:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:13:04] Production.INFO: Total Charge 0
[2025-01-12 16:13:04] Production.INFO: CreateAllLog End
[2025-01-12 16:13:04] Production.ERROR: done
[2025-01-12 16:13:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:13:04] Production.INFO: Account Balance End.
[2025-01-12 16:13:04] Production.ERROR: done
[2025-01-12 16:13:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:13:04] Production.INFO: ==27908== Releasing lock...
[2025-01-12 16:13:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:13:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:13:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:13:05
[end_date_ymd] => 2025-01-12 16:13:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:13:05' and `end` < '2025-01-12 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-01-12 16:13:10] Production.ERROR: CronJobId end10
[2025-01-12 16:13:10] Production.INFO: ==27906== Releasing lock...
[2025-01-12 16:13:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:13:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:13:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:13:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:13:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:13:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:13:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:13:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:13:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:13:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:13:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:13:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:13:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:13:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:13:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:13:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:13:12] Production.INFO: call_cost start
[2025-01-12 16:13:12] Production.INFO: call_cost end
[2025-01-12 16:13:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:13:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:13:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:13:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:13:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:13:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:13:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:13:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:13:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:13:13] Production.INFO: ==27902== Releasing lock...
[2025-01-12 16:13:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:13:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:13:18] Production.INFO: count ==1253
[2025-01-12 16:13:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:13:05 - End Time 2025-01-12 16:13:05
[2025-01-12 16:13:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232747', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232747', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232747', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:13:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232747', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:13:18] Production.INFO: ProcessCDR(1,14232747,1,1,2)
[2025-01-12 16:13:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:13:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232747,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:13:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:13:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232747,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232747', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:13:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232747', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:13:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:13:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:13:23] Production.INFO: ==27910== Releasing lock...
[2025-01-12 16:13:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:13:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:14:02] Production.INFO: ==27972== Lock acquired, processing the job...
[2025-01-12 21:14:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:14:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:14:02] Production.INFO: neon service started
[2025-01-12 21:14:02] Production.INFO: neon service started
[2025-01-12 21:14:02] Production.INFO: ==27972== Releasing lock...
[2025-01-12 21:14:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:14:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:14:02] Production.INFO: ==27976== Lock acquired, processing the job...
[2025-01-12 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:14:02] Production.INFO: ==27976== Releasing lock...
[2025-01-12 21:14:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:14:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:14:02] Production.INFO: ==27974== Lock acquired, processing the job...
[2025-01-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:14:02] Production.INFO: ==27974== Releasing lock...
[2025-01-12 16:14:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:14:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:14:03] Production.INFO: ==27978== Lock acquired, processing the job...
[2025-01-12 16:14:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:14:03] Production.INFO: ==27980== Lock acquired, processing the job...
[2025-01-12 16:14:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:14:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:14:03] Production.INFO: ==27986== Lock acquired, processing the job...
[2025-01-12 16:14:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:14:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:14:03] Production.INFO: ==27982== Lock acquired, processing the job...
[2025-01-12 16:14:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:14:03] Production.INFO: ==27988== Lock acquired, processing the job...
[2025-01-12 16:14:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:14:03] Production.INFO: ==27984== Lock acquired, processing the job...
[2025-01-12 16:14:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:14:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:14:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:14:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:14:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:14:04] Production.ERROR: done
[2025-01-12 16:14:04] Production.INFO: ==27980== Releasing lock...
[2025-01-12 16:14:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:14:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:14:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:14:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:14:04] Production.INFO: Account Balance Start.
[2025-01-12 16:14:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:14:04] Production.INFO: 117
[2025-01-12 16:14:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:14:04] Production.INFO: count ==21
[2025-01-12 16:14:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:14:04] Production.ERROR: done
[2025-01-12 16:14:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:14:04] Production.INFO: count ==21
[2025-01-12 16:14:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232750') start
[2025-01-12 16:14:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:14:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:14:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:14:04] Production.INFO: Total Charge 0
[2025-01-12 16:14:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232750') end
[2025-01-12 16:14:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:14:04] Production.INFO: 1
[2025-01-12 16:14:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:14:04] Production.INFO: CreateAllLog End
[2025-01-12 16:14:04] Production.INFO: ==27988== Releasing lock...
[2025-01-12 16:14:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:14:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:14:04] Production.INFO: Account Balance End.
[2025-01-12 16:14:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:14:04] Production.INFO: ==27984== Releasing lock...
[2025-01-12 16:14:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:14:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:14:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:14:05
[end_date_ymd] => 2025-01-12 16:14:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:14:05' and `end` < '2025-01-12 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-01-12 16:14:11] Production.ERROR: CronJobId end10
[2025-01-12 16:14:11] Production.INFO: ==27982== Releasing lock...
[2025-01-12 16:14:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:14:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:14:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:14:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:14:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:14:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:14:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:14:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:14:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:14:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:14:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:14:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:14:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:14:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:14:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:14:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:14:13] Production.INFO: call_cost start
[2025-01-12 16:14:13] Production.INFO: call_cost end
[2025-01-12 16:14:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:14:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:14:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:14:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:14:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:14:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:14:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:14:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:14:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:14:14] Production.INFO: ==27978== Releasing lock...
[2025-01-12 16:14:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:14:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:14:19] Production.INFO: count ==1253
[2025-01-12 16:14:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:14:05 - End Time 2025-01-12 16:14:05
[2025-01-12 16:14:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232752', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232752', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232752', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:14:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232752', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:14:19] Production.INFO: ProcessCDR(1,14232752,1,1,2)
[2025-01-12 16:14:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:14:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232752,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:14:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:14:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232752,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232752', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:14:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232752', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:14:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:14:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:14:24] Production.INFO: ==27986== Releasing lock...
[2025-01-12 16:14:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:14:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:15:01] Production.INFO: ==28050== Lock acquired, processing the job...
[2025-01-12 21:15:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:15:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:15:01] Production.INFO: neon service started
[2025-01-12 21:15:01] Production.INFO: neon service started
[2025-01-12 21:15:01] Production.INFO: ==28050== Releasing lock...
[2025-01-12 21:15:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:15:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:15:01] Production.INFO: ==28054== Lock acquired, processing the job...
[2025-01-12 21:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:15:01] Production.INFO: ==28054== Releasing lock...
[2025-01-12 21:15:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:15:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:15:02] Production.INFO: ==28052== Lock acquired, processing the job...
[2025-01-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:15:02] Production.INFO: ==28052== Releasing lock...
[2025-01-12 16:15:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:15:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:15:03] Production.INFO: ==28056== Lock acquired, processing the job...
[2025-01-12 16:15:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:15:03] Production.INFO: ==28063== Lock acquired, processing the job...
[2025-01-12 16:15:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:15:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:15:03] Production.INFO: ==28058== Lock acquired, processing the job...
[2025-01-12 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:15:03] Production.INFO: Account Balance Start.
[2025-01-12 16:15:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:15:03] Production.INFO: 117
[2025-01-12 16:15:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:15:03] Production.INFO: ==28060== Lock acquired, processing the job...
[2025-01-12 16:15:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:15:03] Production.INFO: ==28067== Lock acquired, processing the job...
[2025-01-12 16:15:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:15:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:15:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:15:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:15:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:15:03] Production.INFO: ==28065== Lock acquired, processing the job...
[2025-01-12 16:15:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:15:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:15:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:15:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:15:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:15:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:15:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:15:03] Production.INFO: count ==21
[2025-01-12 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-01-12 16:15:03] Production.INFO: count ==21
[2025-01-12 16:15:03] Production.INFO: Total Charge 0
[2025-01-12 16:15:03] Production.INFO: ==28058== Releasing lock...
[2025-01-12 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232756') start
[2025-01-12 16:15:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:15:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:15:03] Production.INFO: CreateAllLog End
[2025-01-12 16:15:03] Production.ERROR: done
[2025-01-12 16:15:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232756') end
[2025-01-12 16:15:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:15:03] Production.INFO: 1
[2025-01-12 16:15:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:15:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:15:04] Production.INFO: ==28067== Releasing lock...
[2025-01-12 16:15:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:15:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:15:04] Production.INFO: Account Balance End.
[2025-01-12 16:15:04] Production.ERROR: done
[2025-01-12 16:15:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:15:04] Production.INFO: ==28063== Releasing lock...
[2025-01-12 16:15:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:15:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:15:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:15:05
[end_date_ymd] => 2025-01-12 16:15:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:15:05' and `end` < '2025-01-12 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-01-12 16:15:10] Production.ERROR: CronJobId end10
[2025-01-12 16:15:10] Production.INFO: ==28060== Releasing lock...
[2025-01-12 16:15:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:15:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:15:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:15:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:15:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:15:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:15:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:15:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:15:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:15:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:15:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:15:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:15:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:15:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:15:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:15:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:15:13] Production.INFO: call_cost start
[2025-01-12 16:15:13] Production.INFO: call_cost end
[2025-01-12 16:15:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:15:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:15:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:15:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:15:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:15:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:15:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:15:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:15:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:15:14] Production.INFO: ==28056== Releasing lock...
[2025-01-12 16:15:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:15:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:15:18] Production.INFO: count ==1254
[2025-01-12 16:15:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:15:05 - End Time 2025-01-12 16:15:05
[2025-01-12 16:15:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232757', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232757', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232757', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:15:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232757', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:15:18] Production.INFO: ProcessCDR(1,14232757,1,1,2)
[2025-01-12 16:15:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:15:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232757,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:15:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:15:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232757,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232757', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:15:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232757', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:15:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:15:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:15:23] Production.INFO: ==28065== Releasing lock...
[2025-01-12 16:15:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:15:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:16:01] Production.INFO: ==28140== Lock acquired, processing the job...
[2025-01-12 21:16:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:16:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:16:01] Production.INFO: neon service started
[2025-01-12 21:16:01] Production.INFO: neon service started
[2025-01-12 21:16:01] Production.INFO: ==28140== Releasing lock...
[2025-01-12 21:16:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:16:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:16:02] Production.INFO: ==28142== Lock acquired, processing the job...
[2025-01-12 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:16:02] Production.INFO: ==28142== Releasing lock...
[2025-01-12 16:16:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:16:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:16:02] Production.INFO: ==28144== Lock acquired, processing the job...
[2025-01-12 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:16:02] Production.INFO: ==28144== Releasing lock...
[2025-01-12 21:16:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:16:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:16:03] Production.INFO: ==28148== Lock acquired, processing the job...
[2025-01-12 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:16:03] Production.INFO: ==28157== Lock acquired, processing the job...
[2025-01-12 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 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-01-12 16:16:03] Production.INFO: count ==21
[2025-01-12 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-01-12 16:16:03] Production.INFO: count ==21
[2025-01-12 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232759') start
[2025-01-12 16:16:03] Production.INFO: ==28146== Lock acquired, processing the job...
[2025-01-12 16:16:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:16:03] Production.INFO: ==28150== Lock acquired, processing the job...
[2025-01-12 16:16:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:16:03] Production.INFO: ==28148== Releasing lock...
[2025-01-12 16:16:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:16:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:16:03] Production.INFO: ==28152== Lock acquired, processing the job...
[2025-01-12 16:16:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:16:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232759') end
[2025-01-12 16:16:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:16:03] Production.INFO: 1
[2025-01-12 16:16:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:16:03] Production.INFO: ==28154== Lock acquired, processing the job...
[2025-01-12 16:16:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:16:03] Production.INFO: ==28157== Releasing lock...
[2025-01-12 16:16:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:16:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:16:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:16:03] Production.INFO: Account Balance Start.
[2025-01-12 16:16:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:16:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:16:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:16:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:16:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:16:03] Production.INFO: 117
[2025-01-12 16:16:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:16:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:16:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:16:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:16:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:16:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:16:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:16:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:16:04] Production.INFO: Total Charge 0
[2025-01-12 16:16:04] Production.INFO: CreateAllLog End
[2025-01-12 16:16:04] Production.ERROR: done
[2025-01-12 16:16:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:16:04] Production.ERROR: done
[2025-01-12 16:16:04] Production.INFO: Account Balance End.
[2025-01-12 16:16:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:16:04] Production.INFO: ==28152== Releasing lock...
[2025-01-12 16:16:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:16:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:16:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:16:05
[end_date_ymd] => 2025-01-12 16:16:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:16:05' and `end` < '2025-01-12 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-01-12 16:16:11] Production.ERROR: CronJobId end10
[2025-01-12 16:16:11] Production.INFO: ==28150== Releasing lock...
[2025-01-12 16:16:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:16:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:16:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:16:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:16:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:16:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:16:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:16:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:16:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:16:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:16:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:16:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:16:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:16:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:16:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:16:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:16:13] Production.INFO: call_cost start
[2025-01-12 16:16:13] Production.INFO: call_cost end
[2025-01-12 16:16:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:16:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:16:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:16:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:16:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:16:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:16:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:16:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:16:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:16:14] Production.INFO: ==28146== Releasing lock...
[2025-01-12 16:16:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:16:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:16:18] Production.INFO: count ==1256
[2025-01-12 16:16:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:16:05 - End Time 2025-01-12 16:16:05
[2025-01-12 16:16:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232762', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232762', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232762', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:16:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232762', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:16:19] Production.INFO: ProcessCDR(1,14232762,1,1,2)
[2025-01-12 16:16:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:16:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232762,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:16:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:16:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232762,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232762', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:16:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232762', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:16:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:16:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:16:23] Production.INFO: ==28154== Releasing lock...
[2025-01-12 16:16:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:16:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:17:01] Production.INFO: ==28217== Lock acquired, processing the job...
[2025-01-12 21:17:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:17:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:17:01] Production.INFO: neon service started
[2025-01-12 21:17:01] Production.INFO: neon service started
[2025-01-12 21:17:01] Production.INFO: ==28217== Releasing lock...
[2025-01-12 21:17:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:17:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:17:01] Production.INFO: ==28219== Lock acquired, processing the job...
[2025-01-12 16:17:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:17:01] Production.INFO: ==28221== Lock acquired, processing the job...
[2025-01-12 21:17:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:17:02] Production.INFO: ==28221== Releasing lock...
[2025-01-12 21:17:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:17:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:17:02] Production.INFO: ==28219== Releasing lock...
[2025-01-12 16:17:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:17:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:17:02] Production.INFO: ==28224== Lock acquired, processing the job...
[2025-01-12 16:17:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:17:02] Production.INFO: ==28230== Lock acquired, processing the job...
[2025-01-12 16:17:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:17:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:17:02] Production.INFO: ==28226== Lock acquired, processing the job...
[2025-01-12 16:17:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:17:02] Production.INFO: ==28234== Lock acquired, processing the job...
[2025-01-12 16:17:02] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:17:02] Production.INFO: Account Balance Start.
[2025-01-12 16:17:02] Production.INFO: CreateAllLog Start
[2025-01-12 16:17:02] Production.INFO: 117
[2025-01-12 16:17:02] Production.INFO: Date 2025-01-08
[2025-01-12 16:17:02] Production.INFO: ==28228== Lock acquired, processing the job...
[2025-01-12 16:17:02] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:17:02] Production.INFO: Reseller ==> 0
[2025-01-12 16:17:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:17:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:17:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:17:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:17:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:17:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:17:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:17:03] Production.INFO: count ==21
[2025-01-12 16:17:03] Production.INFO: ==28232== Lock acquired, processing the job...
[2025-01-12 16:17:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:17:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:17:03] Production.INFO: count ==21
[2025-01-12 16:17:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232765') start
[2025-01-12 16:17:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:17:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:17:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:17:03] Production.INFO: ==28226== Releasing lock...
[2025-01-12 16:17:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:17:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:17:03] Production.INFO: Total Charge 0
[2025-01-12 16:17:03] Production.INFO: CreateAllLog End
[2025-01-12 16:17:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232765') end
[2025-01-12 16:17:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:17:03] Production.INFO: 1
[2025-01-12 16:17:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:17:03] Production.INFO: ==28234== Releasing lock...
[2025-01-12 16:17:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:17:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:17:03] Production.ERROR: done
[2025-01-12 16:17:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:17:03] Production.INFO: Account Balance End.
[2025-01-12 16:17:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:17:03] Production.INFO: ==28230== Releasing lock...
[2025-01-12 16:17:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:17:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:17:03] Production.ERROR: done
[2025-01-12 16:17:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:17:04
[end_date_ymd] => 2025-01-12 16:17:04
[RateCDR] => 1
)
[2025-01-12 16:17:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:17:04' and `end` < '2025-01-12 16:17:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:17:11] Production.ERROR: CronJobId end10
[2025-01-12 16:17:11] Production.INFO: ==28228== Releasing lock...
[2025-01-12 16:17:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:17:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:17:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:17:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:17:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:17:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:17:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:17:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:17:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:17:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:17:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:17:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:17:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:17:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:17:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:17:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:17:12] Production.INFO: call_cost start
[2025-01-12 16:17:12] Production.INFO: call_cost end
[2025-01-12 16:17:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:17:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:17:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:17:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:17:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:17:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:17:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:17:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:17:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:17:13] Production.INFO: ==28224== Releasing lock...
[2025-01-12 16:17:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:17:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:17:18] Production.INFO: count ==1255
[2025-01-12 16:17:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:17:04 - End Time 2025-01-12 16:17:04
[2025-01-12 16:17:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232767', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232767', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232767', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:17:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232767', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:17:19] Production.INFO: ProcessCDR(1,14232767,1,1,2)
[2025-01-12 16:17:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:17:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232767,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:17:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:17:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232767,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232767', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:17:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232767', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:17:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:17:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:17:22] Production.INFO: ==28232== Releasing lock...
[2025-01-12 16:17:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:17:22] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:18:01] Production.INFO: ==28304== Lock acquired, processing the job...
[2025-01-12 21:18:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:18:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:18:01] Production.INFO: neon service started
[2025-01-12 21:18:01] Production.INFO: neon service started
[2025-01-12 21:18:01] Production.INFO: ==28304== Releasing lock...
[2025-01-12 21:18:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:18:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:18:02] Production.INFO: ==28307== Lock acquired, processing the job...
[2025-01-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:18:02] Production.INFO: ==28307== Releasing lock...
[2025-01-12 16:18:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:18:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:18:02] Production.INFO: ==28309== Lock acquired, processing the job...
[2025-01-12 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:18:02] Production.INFO: ==28309== Releasing lock...
[2025-01-12 21:18:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:18:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:18:03] Production.INFO: ==28313== Lock acquired, processing the job...
[2025-01-12 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:18:03] Production.INFO: ==28315== Lock acquired, processing the job...
[2025-01-12 16:18:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:18:03] Production.INFO: ==28317== Lock acquired, processing the job...
[2025-01-12 16:18:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:18:03] Production.INFO: ==28311== Lock acquired, processing the job...
[2025-01-12 16:18:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:18:03] Production.INFO: ==28319== Lock acquired, processing the job...
[2025-01-12 16:18:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:18:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:18:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:18:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:18:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:18:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:18:03] Production.INFO: Account Balance Start.
[2025-01-12 16:18:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:18:03] Production.INFO: 117
[2025-01-12 16:18:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:18:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:18:03] Production.INFO: ==28321== Lock acquired, processing the job...
[2025-01-12 16:18:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:18:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:18:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:18:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:18:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:18:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:18:03] Production.INFO: Total Charge 0
[2025-01-12 16:18:03] Production.INFO: ==28313== Releasing lock...
[2025-01-12 16:18:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:18:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:18:03] Production.INFO: CreateAllLog End
[2025-01-12 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-01-12 16:18:03] Production.INFO: count ==21
[2025-01-12 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-01-12 16:18:03] Production.INFO: count ==21
[2025-01-12 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232771') start
[2025-01-12 16:18:04] Production.ERROR: done
[2025-01-12 16:18:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:18:04] Production.INFO: Account Balance End.
[2025-01-12 16:18:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232771') end
[2025-01-12 16:18:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:18:04] Production.INFO: 1
[2025-01-12 16:18:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:18:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:18:04] Production.INFO: ==28317== Releasing lock...
[2025-01-12 16:18:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:18:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:18:04] Production.ERROR: done
[2025-01-12 16:18:04] Production.INFO: ==28321== Releasing lock...
[2025-01-12 16:18:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:18:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:18:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:18:05
[end_date_ymd] => 2025-01-12 16:18:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:18:05' and `end` < '2025-01-12 16:18:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:18:11] Production.ERROR: CronJobId end10
[2025-01-12 16:18:11] Production.INFO: ==28315== Releasing lock...
[2025-01-12 16:18:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:18:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:18:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:18:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:18:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:18:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:18:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:18:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:18:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:18:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:18:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:18:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:18:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:18:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:18:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:18:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:18:12] Production.INFO: call_cost start
[2025-01-12 16:18:12] Production.INFO: call_cost end
[2025-01-12 16:18:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:18:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:18:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:18:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:18:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:18:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:18:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:18:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:18:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:18:13] Production.INFO: ==28311== Releasing lock...
[2025-01-12 16:18:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:18:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:18:18] Production.INFO: count ==1255
[2025-01-12 16:18:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:18:05 - End Time 2025-01-12 16:18:05
[2025-01-12 16:18:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232772', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232772', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232772', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:18:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232772', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:18:18] Production.INFO: ProcessCDR(1,14232772,1,1,2)
[2025-01-12 16:18:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:18:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232772,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:18:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:18:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232772,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232772', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:18:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232772', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:18:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:18:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:18:21] Production.INFO: ==28319== Releasing lock...
[2025-01-12 16:18:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:18:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:19:02] Production.INFO: ==28386== Lock acquired, processing the job...
[2025-01-12 21:19:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:19:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:19:02] Production.INFO: neon service started
[2025-01-12 21:19:02] Production.INFO: neon service started
[2025-01-12 21:19:02] Production.INFO: ==28386== Releasing lock...
[2025-01-12 21:19:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:19:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:19:02] Production.INFO: ==28388== Lock acquired, processing the job...
[2025-01-12 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:19:02] Production.INFO: ==28388== Releasing lock...
[2025-01-12 16:19:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:19:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:19:02] Production.INFO: ==28390== Lock acquired, processing the job...
[2025-01-12 21:19:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:19:03] Production.INFO: ==28390== Releasing lock...
[2025-01-12 21:19:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:19:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:19:03] Production.INFO: ==28396== Lock acquired, processing the job...
[2025-01-12 16:19:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:19:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:19:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:19:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:19:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:19:03] Production.INFO: ==28392== Lock acquired, processing the job...
[2025-01-12 16:19:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:19:03] Production.INFO: ==28402== Lock acquired, processing the job...
[2025-01-12 16:19:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:19:03] Production.INFO: ==28394== Lock acquired, processing the job...
[2025-01-12 16:19:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16: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-01-12 16:19:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:19:03] Production.INFO: count ==21
[2025-01-12 16:19:03] Production.INFO: ==28398== Lock acquired, processing the job...
[2025-01-12 16:19:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16: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-01-12 16:19:04] Production.INFO: count ==21
[2025-01-12 16:19:04] Production.INFO: ==28400== Lock acquired, processing the job...
[2025-01-12 16:19:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232773') start
[2025-01-12 16:19:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:19:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232773') end
[2025-01-12 16:19:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:19:04] Production.INFO: 1
[2025-01-12 16:19:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:19:04] Production.INFO: Account Balance Start.
[2025-01-12 16:19:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:19:04] Production.INFO: 117
[2025-01-12 16:19:04] Production.INFO: ==28402== Releasing lock...
[2025-01-12 16:19:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:19:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:19:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:19:04] Production.INFO: ==28394== Releasing lock...
[2025-01-12 16:19:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:19:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:19:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:19:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:19:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:19:04] Production.ERROR: done
[2025-01-12 16:19:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:19:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:19:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:19:04] Production.INFO: Total Charge 0
[2025-01-12 16:19:04] Production.INFO: CreateAllLog End
[2025-01-12 16:19:04] Production.ERROR: done
[2025-01-12 16:19:04] Production.INFO: Account Balance End.
[2025-01-12 16:19:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:19:04] Production.INFO: ==28398== Releasing lock...
[2025-01-12 16:19:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:19:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:19:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:19:05
[end_date_ymd] => 2025-01-12 16:19:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:19:05' and `end` < '2025-01-12 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-01-12 16:19:11] Production.ERROR: CronJobId end10
[2025-01-12 16:19:11] Production.INFO: ==28396== Releasing lock...
[2025-01-12 16:19:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:19:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:19:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:19:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:19:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:19:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:19:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:19:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:19:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:19:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:19:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:19:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:19:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:19:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:19:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:19:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:19:13] Production.INFO: call_cost start
[2025-01-12 16:19:13] Production.INFO: call_cost end
[2025-01-12 16:19:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:19:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:19:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:19:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:19:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:19:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:19:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:19:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:19:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:19:14] Production.INFO: ==28392== Releasing lock...
[2025-01-12 16:19:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:19:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:19:20] Production.INFO: count ==1254
[2025-01-12 16:19:20] Production.ERROR: pbx CDR StartTime 2025-01-12 13:19:05 - End Time 2025-01-12 16:19:05
[2025-01-12 16:19:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232777', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232777', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232777', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:19:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232777', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:19:20] Production.INFO: ProcessCDR(1,14232777,1,1,2)
[2025-01-12 16:19:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:19:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232777,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:19:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:19:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232777,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232777', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:19:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232777', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:19:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:19:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:19:23] Production.INFO: ==28400== Releasing lock...
[2025-01-12 16:19:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:19:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:20:01] Production.INFO: ==28465== Lock acquired, processing the job...
[2025-01-12 21:20:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:20:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:20:01] Production.INFO: neon service started
[2025-01-12 21:20:01] Production.INFO: neon service started
[2025-01-12 21:20:01] Production.INFO: ==28465== Releasing lock...
[2025-01-12 21:20:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:20:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:20:02] Production.INFO: ==28467== Lock acquired, processing the job...
[2025-01-12 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:20:02] Production.INFO: ==28469== Lock acquired, processing the job...
[2025-01-12 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:20:02] Production.INFO: ==28469== Releasing lock...
[2025-01-12 21:20:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:20:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:20:02] Production.INFO: ==28467== Releasing lock...
[2025-01-12 16:20:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:20:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:20:03] Production.INFO: ==28471== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 16:20:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 16:20:03] Production.INFO: ==28475== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:20:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 16:20:03] Production.INFO: ==28471== Releasing lock...
[2025-01-12 16:20:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 16:20:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 16:20:03] Production.INFO: ==28479== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:20:03] Production.INFO: ==28473== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:20:03] Production.INFO: Account Balance Start.
[2025-01-12 16:20:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:20:03] Production.INFO: 117
[2025-01-12 16:20:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:20:03] Production.INFO: ==28483== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 16:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:20:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:20:03] Production.INFO: ==28481== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:20:03] Production.INFO: ==28477== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:20:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:20:03] Production.INFO: ==28486== Lock acquired, processing the job...
[2025-01-12 16:20:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:20:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:20:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:20:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:20:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:20:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:20:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:20:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:20:04] Production.ERROR: done
[2025-01-12 16:20:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:20:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 16:20:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232782', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 16:20:04] Production.INFO: ==28475== Releasing lock...
[2025-01-12 16:20:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:20:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 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-01-12 16:20:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:20:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:20:04] Production.INFO: count ==21
[2025-01-12 16:20:04] Production.ERROR: done
[2025-01-12 16:20:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 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-01-12 16:20:04] Production.INFO: count ==21
[2025-01-12 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232781') start
[2025-01-12 16:20:04] Production.INFO: Total Charge 0
[2025-01-12 16:20:04] Production.INFO: CreateAllLog End
[2025-01-12 16:20:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232781') end
[2025-01-12 16:20:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:20:04] Production.INFO: 1
[2025-01-12 16:20:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:20:04] Production.ERROR: done
[2025-01-12 16:20:04] Production.INFO: ==28486== Releasing lock...
[2025-01-12 16:20:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:20:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:20:04] Production.INFO: Account Balance End.
[2025-01-12 16:20:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:20:04] Production.INFO: ==28479== Releasing lock...
[2025-01-12 16:20:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:20:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:20:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:20:05
[end_date_ymd] => 2025-01-12 16:20:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:20:05' and `end` < '2025-01-12 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-01-12 16:20:07] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232782', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 16:20:07] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 16:20:07] Production.INFO: ProcessCDR(1,14232782,1,1,2)
[2025-01-12 16:20:07] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:20:07] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232782,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:20:07] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:20:07] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:20:07] Production.INFO: ==28483== Releasing lock...
[2025-01-12 16:20:07] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 16:20:07] Production.INFO: 26 MB #Memory Used#
[2025-01-12 16:20:12] Production.ERROR: CronJobId end10
[2025-01-12 16:20:12] Production.INFO: ==28477== Releasing lock...
[2025-01-12 16:20:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:20:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:20:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:20:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:20:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:20:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:20:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:20:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:20:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:20:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:20:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:20:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:20:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:20:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:20:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:20:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:20:14] Production.INFO: call_cost start
[2025-01-12 16:20:14] Production.INFO: call_cost end
[2025-01-12 16:20:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:20:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:20:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:20:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:20:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:20:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:20:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:20:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:20:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:20:15] Production.INFO: ==28473== Releasing lock...
[2025-01-12 16:20:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:20:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:20:19] Production.INFO: count ==1260
[2025-01-12 16:20:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:20:05 - End Time 2025-01-12 16:20:05
[2025-01-12 16:20:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232783', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232783', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232783', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:20:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232783', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:20:19] Production.INFO: ProcessCDR(1,14232783,1,1,2)
[2025-01-12 16:20:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:20:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232783,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:20:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:20:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232783,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232783', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:20:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232783', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:20:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:20:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:20:24] Production.INFO: ==28481== Releasing lock...
[2025-01-12 16:20:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:20:24] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:21:02] Production.INFO: ==28587== Lock acquired, processing the job...
[2025-01-12 21:21:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:21:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:21:02] Production.INFO: neon service started
[2025-01-12 21:21:02] Production.INFO: neon service started
[2025-01-12 21:21:02] Production.INFO: ==28587== Releasing lock...
[2025-01-12 21:21:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:21:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:21:02] Production.INFO: ==28589== Lock acquired, processing the job...
[2025-01-12 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:21:02] Production.INFO: ==28589== Releasing lock...
[2025-01-12 16:21:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:21:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:21:03] Production.INFO: ==28591== Lock acquired, processing the job...
[2025-01-12 21:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:21:03] Production.INFO: ==28591== Releasing lock...
[2025-01-12 21:21:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:21:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:21:03] Production.INFO: ==28593== Lock acquired, processing the job...
[2025-01-12 16:21:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:21:03] Production.INFO: ==28595== Lock acquired, processing the job...
[2025-01-12 16:21:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:21:03] Production.INFO: ==28597== Lock acquired, processing the job...
[2025-01-12 16:21:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:21:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:21:03] Production.INFO: ==28599== Lock acquired, processing the job...
[2025-01-12 16:21:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:21:03] Production.INFO: ==28603== Lock acquired, processing the job...
[2025-01-12 16:21:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:21:03] Production.INFO: ==28601== Lock acquired, processing the job...
[2025-01-12 16:21:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:21:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:21:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:21:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:21:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:21:03] Production.INFO: Account Balance Start.
[2025-01-12 16:21:03] Production.INFO: CreateAllLog Start
[2025-01-12 16: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-01-12 16:21:03] Production.INFO: 117
[2025-01-12 16:21:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:21:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:21:03] Production.INFO: count ==21
[2025-01-12 16: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-01-12 16:21:03] Production.INFO: count ==21
[2025-01-12 16:21:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:21:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232786') start
[2025-01-12 16:21:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:21:04] Production.INFO: ==28595== Releasing lock...
[2025-01-12 16:21:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:21:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:21:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232786') end
[2025-01-12 16:21:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:21:04] Production.INFO: 1
[2025-01-12 16:21:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:21:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:21:04] Production.INFO: ==28603== Releasing lock...
[2025-01-12 16:21:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:21:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:21:04] Production.ERROR: done
[2025-01-12 16:21:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:21:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:21:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:21:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:21:04] Production.ERROR: done
[2025-01-12 16:21:04] Production.INFO: Total Charge 0
[2025-01-12 16:21:04] Production.INFO: CreateAllLog End
[2025-01-12 16:21:04] Production.INFO: Account Balance End.
[2025-01-12 16:21:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:21:04] Production.INFO: ==28599== Releasing lock...
[2025-01-12 16:21:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:21:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:21:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:21:05
[end_date_ymd] => 2025-01-12 16:21:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:21:05' and `end` < '2025-01-12 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-01-12 16:21:12] Production.ERROR: CronJobId end10
[2025-01-12 16:21:12] Production.INFO: ==28597== Releasing lock...
[2025-01-12 16:21:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:21:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:21:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:21:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:21:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:21:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:21:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:21:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:21:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:21:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:21:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:21:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:21:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:21:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:21:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:21:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:21:12] Production.INFO: call_cost start
[2025-01-12 16:21:12] Production.INFO: call_cost end
[2025-01-12 16:21:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:21:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:21:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:21:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:21:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:21:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:21:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:21:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:21:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:21:13] Production.INFO: ==28593== Releasing lock...
[2025-01-12 16:21:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:21:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:21:18] Production.INFO: count ==1274
[2025-01-12 16:21:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:21:05 - End Time 2025-01-12 16:21:05
[2025-01-12 16:21:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232788', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232788', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232788', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:21:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232788', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:21:18] Production.INFO: ProcessCDR(1,14232788,1,1,2)
[2025-01-12 16:21:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:21:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232788,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:21:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:21:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232788,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232788', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:21:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232788', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:21:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:21:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:21:23] Production.INFO: ==28601== Releasing lock...
[2025-01-12 16:21:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:21:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:22:01] Production.INFO: ==28662== Lock acquired, processing the job...
[2025-01-12 21:22:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:22:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:22:01] Production.INFO: neon service started
[2025-01-12 21:22:01] Production.INFO: neon service started
[2025-01-12 21:22:01] Production.INFO: ==28662== Releasing lock...
[2025-01-12 21:22:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:22:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:22:01] Production.INFO: ==28665== Lock acquired, processing the job...
[2025-01-12 16:22:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:22:02] Production.INFO: ==28665== Releasing lock...
[2025-01-12 16:22:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:22:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:22:02] Production.INFO: ==28667== Lock acquired, processing the job...
[2025-01-12 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:22:02] Production.INFO: ==28667== Releasing lock...
[2025-01-12 21:22:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:22:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:22:03] Production.INFO: ==28671== Lock acquired, processing the job...
[2025-01-12 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:22:03] Production.INFO: ==28677== Lock acquired, processing the job...
[2025-01-12 16:22:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:22:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:22:03] Production.INFO: ==28669== Lock acquired, processing the job...
[2025-01-12 16:22:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:22:03] Production.INFO: ==28673== Lock acquired, processing the job...
[2025-01-12 16:22:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:22:03] Production.INFO: ==28671== Releasing lock...
[2025-01-12 16:22:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:22:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:22:03] Production.INFO: ==28675== Lock acquired, processing the job...
[2025-01-12 16:22:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:22:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:22:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:22:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:22:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:22:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:22:03] Production.INFO: ==28679== Lock acquired, processing the job...
[2025-01-12 16:22:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:22:03] Production.ERROR: done
[2025-01-12 16:22:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:22:03] Production.INFO: Account Balance Start.
[2025-01-12 16:22:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:22:03] Production.INFO: 117
[2025-01-12 16:22:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:22:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:22:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:22:03] Production.ERROR: done
[2025-01-12 16:22:03] Production.INFO: count ==21
[2025-01-12 16:22:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:22:03] Production.INFO: count ==21
[2025-01-12 16:22:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232792') start
[2025-01-12 16:22:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:22:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:22:04] Production.INFO: Total Charge 0
[2025-01-12 16:22:04] Production.INFO: CreateAllLog End
[2025-01-12 16:22:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232792') end
[2025-01-12 16:22:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:22:04] Production.INFO: 1
[2025-01-12 16:22:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:22:04] Production.INFO: ==28679== Releasing lock...
[2025-01-12 16:22:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:22:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:22:04] Production.INFO: Account Balance End.
[2025-01-12 16:22:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:22:04] Production.INFO: ==28675== Releasing lock...
[2025-01-12 16:22:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:22:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:22:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:22:04
[end_date_ymd] => 2025-01-12 16:22:04
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:22:04' and `end` < '2025-01-12 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-01-12 16:22:11] Production.ERROR: CronJobId end10
[2025-01-12 16:22:11] Production.INFO: ==28673== Releasing lock...
[2025-01-12 16:22:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:22:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:22:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:22:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:22:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:22:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:22:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:22:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:22:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:22:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:22:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:22:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:22:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:22:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:22:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:22:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:22:13] Production.INFO: call_cost start
[2025-01-12 16:22:13] Production.INFO: call_cost end
[2025-01-12 16:22:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:22:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:22:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:22:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:22:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:22:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:22:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:22:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:22:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:22:14] Production.INFO: ==28669== Releasing lock...
[2025-01-12 16:22:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:22:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:22:18] Production.INFO: count ==1267
[2025-01-12 16:22:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:22:04 - End Time 2025-01-12 16:22:04
[2025-01-12 16:22:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232793', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232793', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232793', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:22:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232793', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:22:18] Production.INFO: ProcessCDR(1,14232793,1,1,2)
[2025-01-12 16:22:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:22:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232793,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:22:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:22:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232793,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232793', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:22:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232793', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:22:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:22:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:22:21] Production.INFO: ==28677== Releasing lock...
[2025-01-12 16:22:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:22:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:23:01] Production.INFO: ==28739== Lock acquired, processing the job...
[2025-01-12 21:23:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:23:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:23:01] Production.INFO: neon service started
[2025-01-12 21:23:01] Production.INFO: neon service started
[2025-01-12 21:23:01] Production.INFO: ==28739== Releasing lock...
[2025-01-12 21:23:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:23:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:23:02] Production.INFO: ==28741== Lock acquired, processing the job...
[2025-01-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:23:02] Production.INFO: ==28741== Releasing lock...
[2025-01-12 16:23:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:23:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:23:02] Production.INFO: ==28743== Lock acquired, processing the job...
[2025-01-12 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:23:02] Production.INFO: ==28743== Releasing lock...
[2025-01-12 21:23:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:23:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:23:03] Production.INFO: ==28748== Lock acquired, processing the job...
[2025-01-12 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:23:03] Production.INFO: ==28746== Lock acquired, processing the job...
[2025-01-12 16:23:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:23:03] Production.INFO: ==28754== Lock acquired, processing the job...
[2025-01-12 16:23:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:23:03] Production.INFO: ==28750== Lock acquired, processing the job...
[2025-01-12 16:23:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:23:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:23:03] Production.INFO: ==28752== Lock acquired, processing the job...
[2025-01-12 16:23:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:23:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:23:03] Production.INFO: ==28756== Lock acquired, processing the job...
[2025-01-12 16:23:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:23:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:23:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:23:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:23:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:23:03] Production.INFO: ==28748== Releasing lock...
[2025-01-12 16:23:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:23:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:23:03] Production.INFO: Account Balance Start.
[2025-01-12 16:23:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:23:03] Production.INFO: 117
[2025-01-12 16:23:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 16:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:23:03] Production.INFO: count ==21
[2025-01-12 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-01-12 16:23:03] Production.INFO: count ==21
[2025-01-12 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232796') start
[2025-01-12 16:23:03] Production.ERROR: done
[2025-01-12 16:23:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:23:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:23:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:23:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:23:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232796') end
[2025-01-12 16:23:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:23:03] Production.INFO: 1
[2025-01-12 16:23:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:23:04] Production.INFO: ==28756== Releasing lock...
[2025-01-12 16:23:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:23:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:23:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:23:04] Production.ERROR: done
[2025-01-12 16:23:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:23:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:23:04] Production.INFO: Total Charge 0
[2025-01-12 16:23:04] Production.INFO: CreateAllLog End
[2025-01-12 16:23:04] Production.INFO: Account Balance End.
[2025-01-12 16:23:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:23:04] Production.INFO: ==28752== Releasing lock...
[2025-01-12 16:23:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:23:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:23:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:23:04
[end_date_ymd] => 2025-01-12 16:23:04
[RateCDR] => 1
)
[2025-01-12 16:23:04] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:23:04' and `end` < '2025-01-12 16:23:04'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:23:11] Production.ERROR: CronJobId end10
[2025-01-12 16:23:11] Production.INFO: ==28750== Releasing lock...
[2025-01-12 16:23:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:23:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:23:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:23:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:23:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:23:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:23:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:23:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:23:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:23:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:23:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:23:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:23:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:23:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:23:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:23:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:23:13] Production.INFO: call_cost start
[2025-01-12 16:23:13] Production.INFO: call_cost end
[2025-01-12 16:23:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:23:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:23:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:23:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:23:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:23:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:23:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:23:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:23:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:23:14] Production.INFO: ==28746== Releasing lock...
[2025-01-12 16:23:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:23:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:23:18] Production.INFO: count ==1272
[2025-01-12 16:23:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:23:04 - End Time 2025-01-12 16:23:04
[2025-01-12 16:23:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232798', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232798', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232798', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:23:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232798', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:23:18] Production.INFO: ProcessCDR(1,14232798,1,1,2)
[2025-01-12 16:23:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:23:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232798,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:23:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:23:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232798,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232798', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:23:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232798', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:23:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:23:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:23:22] Production.INFO: ==28754== Releasing lock...
[2025-01-12 16:23:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:23:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:24:01] Production.INFO: ==28814== Lock acquired, processing the job...
[2025-01-12 21:24:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:24:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:24:01] Production.INFO: neon service started
[2025-01-12 21:24:01] Production.INFO: neon service started
[2025-01-12 21:24:01] Production.INFO: ==28814== Releasing lock...
[2025-01-12 21:24:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:24:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:24:01] Production.INFO: ==28816== Lock acquired, processing the job...
[2025-01-12 16:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:24:01] Production.INFO: ==28816== Releasing lock...
[2025-01-12 16:24:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:24:01] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:24:01] Production.INFO: ==28818== Lock acquired, processing the job...
[2025-01-12 21:24:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:24:02] Production.INFO: ==28818== Releasing lock...
[2025-01-12 21:24:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:24:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:24:02] Production.INFO: ==28820== Lock acquired, processing the job...
[2025-01-12 16:24:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:24:02] Production.INFO: ==28822== Lock acquired, processing the job...
[2025-01-12 16:24:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:24:02] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:24:02] Production.INFO: ==28827== Lock acquired, processing the job...
[2025-01-12 16:24:02] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:24:03] Production.INFO: ==28822== Releasing lock...
[2025-01-12 16:24:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:24:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:24:03] Production.INFO: ==28825== Lock acquired, processing the job...
[2025-01-12 16:24:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:24:03] Production.INFO: Account Balance Start.
[2025-01-12 16:24:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:24:03] Production.INFO: 117
[2025-01-12 16:24:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:24:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:24:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:24:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:24:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:24:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:24:03] Production.INFO: ==28829== Lock acquired, processing the job...
[2025-01-12 16:24:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:24:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:24:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:24:03] Production.INFO: ==28831== Lock acquired, processing the job...
[2025-01-12 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:24:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:24:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:24:03] Production.INFO: Total Charge 0
[2025-01-12 16:24:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:24:03] Production.INFO: CreateAllLog End
[2025-01-12 16:24:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:24:03] Production.INFO: count ==21
[2025-01-12 16:24:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:24:03] Production.INFO: count ==21
[2025-01-12 16:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232802') start
[2025-01-12 16:24:03] Production.ERROR: done
[2025-01-12 16:24:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:24:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232802') end
[2025-01-12 16:24:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:24:03] Production.INFO: 1
[2025-01-12 16:24:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:24:03] Production.INFO: Account Balance End.
[2025-01-12 16:24:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:24:03] Production.INFO: ==28827== Releasing lock...
[2025-01-12 16:24:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:24:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:24:03] Production.INFO: ==28831== Releasing lock...
[2025-01-12 16:24:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:24:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:24:03] Production.ERROR: done
[2025-01-12 16:24:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:24:05
[end_date_ymd] => 2025-01-12 16:24:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:24:05' and `end` < '2025-01-12 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-01-12 16:24: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,13))' 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-01-12 16:24:11] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:24:11] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:24:11] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:24:11] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:24:11] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:24:11] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:24:11] Production.ERROR: CronJobId end10
[2025-01-12 16:24:11] Production.INFO: ==28825== Releasing lock...
[2025-01-12 16:24:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:24:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:24:11] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:24:11] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:24:11] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:24:11] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:24:11] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:24:11] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:24:11] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:24:11] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:24:11] Production.INFO: call_cost start
[2025-01-12 16:24:11] Production.INFO: call_cost end
[2025-01-12 16:24:12] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:24:12] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:24:12] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:24:12] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:24:12] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:24:12] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:24:12] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:24:12] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:24:12] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:24:12] Production.INFO: ==28820== Releasing lock...
[2025-01-12 16:24:12] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:24:12] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:24:18] Production.INFO: count ==1273
[2025-01-12 16:24:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:24:05 - End Time 2025-01-12 16:24:05
[2025-01-12 16:24:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232803', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232803', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232803', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:24:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232803', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:24:18] Production.INFO: ProcessCDR(1,14232803,1,1,2)
[2025-01-12 16:24:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:24:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232803,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:24:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:24:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232803,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232803', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:24:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232803', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:24:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:24:22] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:24:22] Production.INFO: ==28829== Releasing lock...
[2025-01-12 16:24:22] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:24:22] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:25:01] Production.INFO: ==28892== Lock acquired, processing the job...
[2025-01-12 21:25:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:25:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:25:01] Production.INFO: neon service started
[2025-01-12 21:25:01] Production.INFO: neon service started
[2025-01-12 21:25:01] Production.INFO: ==28892== Releasing lock...
[2025-01-12 21:25:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:25:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:25:02] Production.INFO: ==28894== Lock acquired, processing the job...
[2025-01-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:25:02] Production.INFO: ==28894== Releasing lock...
[2025-01-12 16:25:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:25:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:25:02] Production.INFO: ==28896== Lock acquired, processing the job...
[2025-01-12 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:25:02] Production.INFO: ==28896== Releasing lock...
[2025-01-12 21:25:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:25:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:25:03] Production.INFO: ==28898== Lock acquired, processing the job...
[2025-01-12 16:25:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:25:03] Production.INFO: ==28900== Lock acquired, processing the job...
[2025-01-12 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:25:03] Production.INFO: ==28902== Lock acquired, processing the job...
[2025-01-12 16:25:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:25:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:25:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:25:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:25:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:25:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:25:03] Production.INFO: ==28908== Lock acquired, processing the job...
[2025-01-12 16:25:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:25:03] Production.INFO: ==28904== Lock acquired, processing the job...
[2025-01-12 16:25:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:25:03] Production.INFO: ==28906== Lock acquired, processing the job...
[2025-01-12 16:25:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:25:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:25:03] Production.INFO: ==28900== Releasing lock...
[2025-01-12 16:25:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:25:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:25:03] Production.INFO: Account Balance Start.
[2025-01-12 16:25:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:25:03] Production.INFO: 117
[2025-01-12 16:25:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:25:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:25:03] Production.INFO: count ==21
[2025-01-12 16:25:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:25:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:25:03] Production.INFO: count ==21
[2025-01-12 16:25:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232806') start
[2025-01-12 16:25:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:25:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:25:03] Production.ERROR: done
[2025-01-12 16:25:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:25:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:25:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:25:04] Production.INFO: Total Charge 0
[2025-01-12 16:25:04] Production.INFO: CreateAllLog End
[2025-01-12 16:25:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232806') end
[2025-01-12 16:25:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:25:04] Production.INFO: 1
[2025-01-12 16:25:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:25:04] Production.INFO: ==28908== Releasing lock...
[2025-01-12 16:25:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:25:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:25:04] Production.ERROR: done
[2025-01-12 16:25:04] Production.INFO: Account Balance End.
[2025-01-12 16:25:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:25:04] Production.INFO: ==28904== Releasing lock...
[2025-01-12 16:25:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:25:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:25:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:25:05
[end_date_ymd] => 2025-01-12 16:25:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:25:05' and `end` < '2025-01-12 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-01-12 16:25:11] Production.ERROR: CronJobId end10
[2025-01-12 16:25:11] Production.INFO: ==28902== Releasing lock...
[2025-01-12 16:25:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:25:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:25:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:25:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:25:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:25:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:25:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:25:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:25:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:25:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:25:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:25:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:25:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:25:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:25:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:25:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:25:13] Production.INFO: call_cost start
[2025-01-12 16:25:13] Production.INFO: call_cost end
[2025-01-12 16:25:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:25:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:25:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:25:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:25:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:25:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:25:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:25:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:25:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:25:14] Production.INFO: ==28898== Releasing lock...
[2025-01-12 16:25:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:25:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:25:18] Production.INFO: count ==1278
[2025-01-12 16:25:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:25:05 - End Time 2025-01-12 16:25:05
[2025-01-12 16:25:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232808', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232808', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232808', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:25:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232808', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:25:18] Production.INFO: ProcessCDR(1,14232808,1,1,2)
[2025-01-12 16:25:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:25:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232808,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:25:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:25:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232808,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232808', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:25:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232808', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:25:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:25:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:25:23] Production.INFO: ==28906== Releasing lock...
[2025-01-12 16:25:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:25:23] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 21:26:02] Production.INFO: ==28970== Lock acquired, processing the job...
[2025-01-12 21:26:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:26:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:26:02] Production.INFO: neon service started
[2025-01-12 21:26:02] Production.INFO: neon service started
[2025-01-12 21:26:02] Production.INFO: ==28970== Releasing lock...
[2025-01-12 21:26:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:26:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:26:02] Production.INFO: ==28972== Lock acquired, processing the job...
[2025-01-12 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:26:02] Production.INFO: ==28972== Releasing lock...
[2025-01-12 16:26:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:26:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:26:02] Production.INFO: ==28974== Lock acquired, processing the job...
[2025-01-12 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:26:02] Production.INFO: ==28974== Releasing lock...
[2025-01-12 21:26:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:26:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:26:03] Production.INFO: ==28983== Lock acquired, processing the job...
[2025-01-12 16:26:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:26:03] Production.INFO: ==28987== Lock acquired, processing the job...
[2025-01-12 16:26:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:26:03] Production.INFO: ==28977== Lock acquired, processing the job...
[2025-01-12 16:26:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:26:03] Production.INFO: ==28979== Lock acquired, processing the job...
[2025-01-12 16:26:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:26:03] Production.INFO: ==28981== Lock acquired, processing the job...
[2025-01-12 16:26:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:26:03] Production.INFO: Account Balance Start.
[2025-01-12 16:26:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:26:03] Production.INFO: 117
[2025-01-12 16:26:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:26:03] Production.INFO: Date 2025-01-08
[2025-01-12 16: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-01-12 16:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:26:03] Production.INFO: ==28985== Lock acquired, processing the job...
[2025-01-12 16:26:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:26:03] Production.INFO: count ==21
[2025-01-12 16: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-01-12 16:26:03] Production.INFO: count ==21
[2025-01-12 16:26:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:26:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:26:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:26:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:26:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232810') start
[2025-01-12 16:26:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:26:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:26:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:26:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:26:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:26:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232810') end
[2025-01-12 16:26:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:26:04] Production.INFO: 1
[2025-01-12 16:26:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:26:04] Production.INFO: ==28987== Releasing lock...
[2025-01-12 16:26:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:26:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:26:04] Production.INFO: ==28979== Releasing lock...
[2025-01-12 16:26:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:26:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:26:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:26:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:26:04] Production.INFO: Total Charge 0
[2025-01-12 16:26:04] Production.INFO: CreateAllLog End
[2025-01-12 16:26:04] Production.ERROR: done
[2025-01-12 16:26:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:26:04] Production.INFO: Account Balance End.
[2025-01-12 16:26:04] Production.ERROR: done
[2025-01-12 16:26:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:26:04] Production.INFO: ==28983== Releasing lock...
[2025-01-12 16:26:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:26:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:26:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:26:05
[end_date_ymd] => 2025-01-12 16:26:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:26:05' and `end` < '2025-01-12 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-01-12 16:26:11] Production.ERROR: CronJobId end10
[2025-01-12 16:26:11] Production.INFO: ==28981== Releasing lock...
[2025-01-12 16:26:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:26:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:26:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:26:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:26:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:26:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:26:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:26:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:26:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:26:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:26:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:26:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:26:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:26:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:26:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:26:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:26:13] Production.INFO: call_cost start
[2025-01-12 16:26:13] Production.INFO: call_cost end
[2025-01-12 16:26:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:26:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:26:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:26:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:26:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:26:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:26:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:26:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:26:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:26:13] Production.INFO: ==28977== Releasing lock...
[2025-01-12 16:26:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:26:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:26:19] Production.INFO: count ==1268
[2025-01-12 16:26:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:26:05 - End Time 2025-01-12 16:26:05
[2025-01-12 16:26:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232813', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232813', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232813', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:26:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232813', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:26:19] Production.INFO: ProcessCDR(1,14232813,1,1,2)
[2025-01-12 16:26:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:26:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232813,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:26:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:26:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232813,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232813', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:26:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232813', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:26:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:26:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:26:23] Production.INFO: ==28985== Releasing lock...
[2025-01-12 16:26:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:26:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:27:01] Production.INFO: ==29048== Lock acquired, processing the job...
[2025-01-12 21:27:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:27:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:27:01] Production.INFO: neon service started
[2025-01-12 21:27:01] Production.INFO: neon service started
[2025-01-12 21:27:01] Production.INFO: ==29048== Releasing lock...
[2025-01-12 21:27:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:27:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:27:01] Production.INFO: ==29050== Lock acquired, processing the job...
[2025-01-12 16:27:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:27:02] Production.INFO: ==29050== Releasing lock...
[2025-01-12 16:27:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:27:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:27:02] Production.INFO: ==29052== Lock acquired, processing the job...
[2025-01-12 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:27:02] Production.INFO: ==29052== Releasing lock...
[2025-01-12 21:27:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:27:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:27:03] Production.INFO: ==29054== Lock acquired, processing the job...
[2025-01-12 16:27:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:27:03] Production.INFO: ==29060== Lock acquired, processing the job...
[2025-01-12 16:27:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:27:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:27:03] Production.INFO: ==29064== Lock acquired, processing the job...
[2025-01-12 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:27:03] Production.INFO: ==29056== Lock acquired, processing the job...
[2025-01-12 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:27:03] Production.INFO: Account Balance Start.
[2025-01-12 16:27:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:27:03] Production.INFO: 117
[2025-01-12 16:27:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:27:03] Production.INFO: ==29058== Lock acquired, processing the job...
[2025-01-12 16:27:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:27:03] Production.INFO: count ==21
[2025-01-12 16:27:03] Production.INFO: Date 2025-01-09
[2025-01-12 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-01-12 16:27:03] Production.INFO: count ==21
[2025-01-12 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:27:03] Production.INFO: ==29062== Lock acquired, processing the job...
[2025-01-12 16:27:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232816') start
[2025-01-12 16:27:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:27:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:27:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:27:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:27:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:27:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:27:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:27:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232816') end
[2025-01-12 16:27:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:27:03] Production.INFO: 1
[2025-01-12 16:27:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:27:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:27:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:27:03] Production.INFO: Total Charge 0
[2025-01-12 16:27:03] Production.INFO: ==29064== Releasing lock...
[2025-01-12 16:27:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:27:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:27:03] Production.INFO: CreateAllLog End
[2025-01-12 16:27:03] Production.INFO: ==29056== Releasing lock...
[2025-01-12 16:27:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:27:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:27:03] Production.ERROR: done
[2025-01-12 16:27:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:27:03] Production.INFO: Account Balance End.
[2025-01-12 16:27:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:27:04] Production.INFO: ==29060== Releasing lock...
[2025-01-12 16:27:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:27:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:27:04] Production.ERROR: done
[2025-01-12 16:27:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:27:04
[end_date_ymd] => 2025-01-12 16:27:04
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:27:04' and `end` < '2025-01-12 16: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-01-12 16:27:11] Production.ERROR: CronJobId end10
[2025-01-12 16:27:11] Production.INFO: ==29058== Releasing lock...
[2025-01-12 16:27:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:27:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:27:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:27:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:27:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:27:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:27:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:27:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:27:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:27:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:27:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:27:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:27:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:27:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:27:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:27:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:27:13] Production.INFO: call_cost start
[2025-01-12 16:27:13] Production.INFO: call_cost end
[2025-01-12 16:27:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:27:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:27:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:27:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:27:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:27:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:27:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:27:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:27:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:27:14] Production.INFO: ==29054== Releasing lock...
[2025-01-12 16:27:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:27:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:27:18] Production.INFO: count ==1268
[2025-01-12 16:27:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:27:04 - End Time 2025-01-12 16:27:04
[2025-01-12 16:27:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232818', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232818', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232818', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:27:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232818', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:27:18] Production.INFO: ProcessCDR(1,14232818,1,1,2)
[2025-01-12 16:27:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:27:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232818,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:27:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:27:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232818,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232818', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:27:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232818', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:27:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:27:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:27:23] Production.INFO: ==29062== Releasing lock...
[2025-01-12 16:27:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:27:23] Production.INFO: 37.25 MB #Memory Used#
[2025-01-12 21:28:02] Production.INFO: ==29125== Lock acquired, processing the job...
[2025-01-12 21:28:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:28:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:28:02] Production.INFO: neon service started
[2025-01-12 21:28:02] Production.INFO: neon service started
[2025-01-12 21:28:02] Production.INFO: ==29125== Releasing lock...
[2025-01-12 21:28:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:28:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:28:02] Production.INFO: ==29127== Lock acquired, processing the job...
[2025-01-12 16:28:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:28:02] Production.INFO: ==29129== Lock acquired, processing the job...
[2025-01-12 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:28:02] Production.INFO: ==29129== Releasing lock...
[2025-01-12 21:28:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:28:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:28:03] Production.INFO: ==29127== Releasing lock...
[2025-01-12 16:28:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:28:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:28:03] Production.INFO: ==29140== Lock acquired, processing the job...
[2025-01-12 16:28:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:28:03] Production.INFO: ==29136== Lock acquired, processing the job...
[2025-01-12 16:28:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:28:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:28:03] Production.INFO: ==29132== Lock acquired, processing the job...
[2025-01-12 16:28:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:28:04] Production.INFO: ==29134== Lock acquired, processing the job...
[2025-01-12 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:28:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:28:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:28:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:28:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:28:04] Production.INFO: ==29138== Lock acquired, processing the job...
[2025-01-12 16:28:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:28:04] Production.INFO: ==29142== Lock acquired, processing the job...
[2025-01-12 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:28:04] Production.INFO: Account Balance Start.
[2025-01-12 16:28:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:28:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:28:04] Production.INFO: 117
[2025-01-12 16:28:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:28:04] Production.ERROR: done
[2025-01-12 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-01-12 16:28:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:28:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:28:04] Production.INFO: count ==21
[2025-01-12 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232822') start
[2025-01-12 16:28:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:28:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:28:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:28:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232822') end
[2025-01-12 16:28:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:28:04] Production.INFO: 1
[2025-01-12 16:28:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:28:04] Production.ERROR: done
[2025-01-12 16:28:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:28:04] Production.INFO: ==29134== Releasing lock...
[2025-01-12 16:28:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:28:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:28:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:28:04] Production.INFO: ==29142== Releasing lock...
[2025-01-12 16:28:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:28:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:28:04] Production.INFO: Total Charge 0
[2025-01-12 16:28:04] Production.INFO: CreateAllLog End
[2025-01-12 16:28:04] Production.INFO: Account Balance End.
[2025-01-12 16:28:05] Production.ERROR: CronJobId end 12
[2025-01-12 16:28:05] Production.INFO: ==29138== Releasing lock...
[2025-01-12 16:28:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:28:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:28:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:28:05
[end_date_ymd] => 2025-01-12 16:28:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:28:05' and `end` < '2025-01-12 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-01-12 16:28:11] Production.ERROR: CronJobId end10
[2025-01-12 16:28:11] Production.INFO: ==29136== Releasing lock...
[2025-01-12 16:28:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:28:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:28:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:28:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:28:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:28:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:28:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:28:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:28:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:28:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:28:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:28:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:28:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:28:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:28:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:28:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:28:13] Production.INFO: call_cost start
[2025-01-12 16:28:13] Production.INFO: call_cost end
[2025-01-12 16:28:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:28:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:28:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:28:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:28:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:28:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:28:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:28:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:28:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:28:13] Production.INFO: ==29132== Releasing lock...
[2025-01-12 16:28:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:28:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:28:18] Production.INFO: count ==1273
[2025-01-12 16:28:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:28:05 - End Time 2025-01-12 16:28:05
[2025-01-12 16:28:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232823', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232823', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232823', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:28:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232823', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:28:19] Production.INFO: ProcessCDR(1,14232823,1,1,2)
[2025-01-12 16:28:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:28:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232823,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:28:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:28:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232823,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232823', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:28:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232823', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:28:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:28:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:28:23] Production.INFO: ==29140== Releasing lock...
[2025-01-12 16:28:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:28:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:29:01] Production.INFO: ==29205== Lock acquired, processing the job...
[2025-01-12 21:29:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:29:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:29:01] Production.INFO: neon service started
[2025-01-12 21:29:01] Production.INFO: neon service started
[2025-01-12 21:29:01] Production.INFO: ==29205== Releasing lock...
[2025-01-12 21:29:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:29:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:29:01] Production.INFO: ==29207== Lock acquired, processing the job...
[2025-01-12 16:29:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:29:02] Production.INFO: ==29207== Releasing lock...
[2025-01-12 16:29:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:29:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:29:02] Production.INFO: ==29209== Lock acquired, processing the job...
[2025-01-12 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:29:02] Production.INFO: ==29209== Releasing lock...
[2025-01-12 21:29:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:29:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:29:03] Production.INFO: ==29220== Lock acquired, processing the job...
[2025-01-12 16:29:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:29:03] Production.INFO: ==29215== Lock acquired, processing the job...
[2025-01-12 16:29:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:29:03] Production.INFO: ==29211== Lock acquired, processing the job...
[2025-01-12 16:29:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:29:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:29:03] Production.INFO: ==29213== Lock acquired, processing the job...
[2025-01-12 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:29:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:29:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:29:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:29:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:29:03] Production.INFO: ==29217== Lock acquired, processing the job...
[2025-01-12 16:29:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:29:03] Production.INFO: ==29223== Lock acquired, processing the job...
[2025-01-12 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:29:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:29:03] Production.INFO: Account Balance Start.
[2025-01-12 16:29:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:29:03] Production.INFO: 117
[2025-01-12 16:29:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:29:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:29:03] Production.ERROR: done
[2025-01-12 16:29:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:29:03] Production.INFO: count ==21
[2025-01-12 16:29:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:29:03] Production.INFO: count ==21
[2025-01-12 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232825') start
[2025-01-12 16:29:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:29:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:29:03] Production.ERROR: done
[2025-01-12 16:29:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:29:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:29:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:29:03] Production.INFO: Total Charge 0
[2025-01-12 16:29:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232825') end
[2025-01-12 16:29:03] Production.INFO: CreateAllLog End
[2025-01-12 16:29:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:29:03] Production.INFO: 1
[2025-01-12 16:29:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:29:03] Production.INFO: ==29213== Releasing lock...
[2025-01-12 16:29:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:29:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:29:03] Production.INFO: ==29223== Releasing lock...
[2025-01-12 16:29:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:29:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:29:03] Production.INFO: Account Balance End.
[2025-01-12 16:29:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:29:04] Production.INFO: ==29217== Releasing lock...
[2025-01-12 16:29:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:29:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:29:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:29:04
[end_date_ymd] => 2025-01-12 16:29:04
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:29:04' and `end` < '2025-01-12 16: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-01-12 16:29:10] Production.ERROR: CronJobId end10
[2025-01-12 16:29:10] Production.INFO: ==29215== Releasing lock...
[2025-01-12 16:29:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:29:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:29:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:29:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:29:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:29:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:29:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:29:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:29:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:29:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:29:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:29:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:29:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:29:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:29:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:29:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:29:13] Production.INFO: call_cost start
[2025-01-12 16:29:13] Production.INFO: call_cost end
[2025-01-12 16:29:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:29:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:29:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:29:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:29:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:29:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:29:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:29:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:29:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:29:13] Production.INFO: ==29211== Releasing lock...
[2025-01-12 16:29:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:29:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:29:18] Production.INFO: count ==1281
[2025-01-12 16:29:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:29:04 - End Time 2025-01-12 16:29:04
[2025-01-12 16:29:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232828', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232828', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232828', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:29:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232828', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:29:18] Production.INFO: ProcessCDR(1,14232828,1,1,2)
[2025-01-12 16:29:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:29:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232828,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:29:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:29:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232828,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232828', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:29:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232828', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:29:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:29:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:29:23] Production.INFO: ==29220== Releasing lock...
[2025-01-12 16:29:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:29:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 21:30:01] Production.INFO: ==29290== Lock acquired, processing the job...
[2025-01-12 21:30:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:30:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:30:01] Production.INFO: neon service started
[2025-01-12 21:30:01] Production.INFO: neon service started
[2025-01-12 21:30:01] Production.INFO: ==29290== Releasing lock...
[2025-01-12 21:30:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:30:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:30:02] Production.INFO: ==29292== Lock acquired, processing the job...
[2025-01-12 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:30:02] Production.INFO: ==29292== Releasing lock...
[2025-01-12 16:30:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:30:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:30:02] Production.INFO: ==29294== Lock acquired, processing the job...
[2025-01-12 21:30:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:30:03] Production.INFO: ==29294== Releasing lock...
[2025-01-12 21:30:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:30:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:30:03] Production.INFO: ==29296== Lock acquired, processing the job...
[2025-01-12 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 16:30:03] Production.INFO: ==29298== Lock acquired, processing the job...
[2025-01-12 16:30:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:30:03] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 16:30:03] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 16:30:03] Production.INFO: ==29296== Releasing lock...
[2025-01-12 16:30:03] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 16:30:03] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 16:30:03] Production.INFO: ==29302== Lock acquired, processing the job...
[2025-01-12 16:30:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:30:03] Production.INFO: ==29300== Lock acquired, processing the job...
[2025-01-12 16:30:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:30:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:30:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:30:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:30:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:30:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:30:03] Production.INFO: ==29304== Lock acquired, processing the job...
[2025-01-12 16:30:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:30:04] Production.INFO: ==29306== Lock acquired, processing the job...
[2025-01-12 16:30:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:30:04] Production.INFO: ==29308== Lock acquired, processing the job...
[2025-01-12 16:30:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 16:30:04] Production.INFO: Account Balance Start.
[2025-01-12 16:30:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:30:04] Production.INFO: 117
[2025-01-12 16:30:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:30:04] Production.INFO: ==29310== Lock acquired, processing the job...
[2025-01-12 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:30:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:30:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:30:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:30:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:30:04] Production.INFO: ==29300== Releasing lock...
[2025-01-12 16:30:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:30:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:30:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:30:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:30:04] Production.ERROR: done
[2025-01-12 16:30:04] Production.ERROR: done
[2025-01-12 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-01-12 16:30:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:30:04] Production.INFO: Total Charge 0
[2025-01-12 16:30:04] Production.INFO: CreateAllLog End
[2025-01-12 16:30:04] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 16:30:04] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232833', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 16:30:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:30:04] Production.INFO: count ==21
[2025-01-12 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232832') start
[2025-01-12 16:30:04] Production.ERROR: done
[2025-01-12 16:30:04] Production.INFO: Account Balance End.
[2025-01-12 16:30:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232832') end
[2025-01-12 16:30:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:30:04] Production.INFO: 1
[2025-01-12 16:30:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:30:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:30:04] Production.INFO: ==29304== Releasing lock...
[2025-01-12 16:30:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:30:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:30:04] Production.INFO: ==29310== Releasing lock...
[2025-01-12 16:30:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:30:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:30:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:30:06
[end_date_ymd] => 2025-01-12 16:30:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:30:06' and `end` < '2025-01-12 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-01-12 16:30:08] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232833', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 16:30:08] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 16:30:08] Production.INFO: ProcessCDR(1,14232833,1,1,2)
[2025-01-12 16:30:08] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232833,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:30:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232833,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:30:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:30:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:30:09] Production.INFO: ==29308== Releasing lock...
[2025-01-12 16:30:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 16:30:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 16:30:12] Production.ERROR: CronJobId end10
[2025-01-12 16:30:12] Production.INFO: ==29302== Releasing lock...
[2025-01-12 16:30:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:30:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:30:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:30:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:30:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:30:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:30:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:30:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:30:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:30:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:30:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:30:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:30:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:30:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:30:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:30:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:30:14] Production.INFO: call_cost start
[2025-01-12 16:30:14] Production.INFO: call_cost end
[2025-01-12 16:30:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:30:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:30:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:30:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:30:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:30:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:30:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:30:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:30:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:30:15] Production.INFO: ==29298== Releasing lock...
[2025-01-12 16:30:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:30:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:30:19] Production.INFO: count ==1272
[2025-01-12 16:30:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:30:06 - End Time 2025-01-12 16:30:06
[2025-01-12 16:30:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232834', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232834', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232834', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:30:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232834', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:30:19] Production.INFO: ProcessCDR(1,14232834,1,1,2)
[2025-01-12 16:30:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:30:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232834,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:30:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:30:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232834,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232834', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:30:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232834', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:30:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:30:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:30:24] Production.INFO: ==29306== Releasing lock...
[2025-01-12 16:30:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:30:24] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:31:01] Production.INFO: ==29377== Lock acquired, processing the job...
[2025-01-12 21:31:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:31:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:31:01] Production.INFO: neon service started
[2025-01-12 21:31:01] Production.INFO: neon service started
[2025-01-12 21:31:01] Production.INFO: ==29377== Releasing lock...
[2025-01-12 21:31:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:31:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:31:01] Production.INFO: ==29381== Lock acquired, processing the job...
[2025-01-12 21:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:31:01] Production.INFO: ==29381== Releasing lock...
[2025-01-12 21:31:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:31:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:31:01] Production.INFO: ==29379== Lock acquired, processing the job...
[2025-01-12 16:31:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:31:02] Production.INFO: ==29379== Releasing lock...
[2025-01-12 16:31:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:31:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:31:02] Production.INFO: ==29384== Lock acquired, processing the job...
[2025-01-12 16:31:02] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:31:03] Production.INFO: ==29386== Lock acquired, processing the job...
[2025-01-12 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:31:03] Production.INFO: ==29388== Lock acquired, processing the job...
[2025-01-12 16:31:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:31:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:31:03] Production.INFO: ==29392== Lock acquired, processing the job...
[2025-01-12 16:31:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:31:03] Production.INFO: ==29390== Lock acquired, processing the job...
[2025-01-12 16:31:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:31:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:31:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:31:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:31:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:31:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:31:03] Production.INFO: ==29394== Lock acquired, processing the job...
[2025-01-12 16:31:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:31:03] Production.INFO: Account Balance Start.
[2025-01-12 16:31:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:31:03] Production.INFO: 117
[2025-01-12 16:31:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:31:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:31:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:31:03] Production.INFO: count ==21
[2025-01-12 16:31:03] Production.INFO: Date 2025-01-11
[2025-01-12 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-01-12 16:31:03] Production.INFO: count ==21
[2025-01-12 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:31:03] Production.INFO: ==29386== Releasing lock...
[2025-01-12 16:31:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:31:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:31:03] Production.ERROR: done
[2025-01-12 16:31:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232838') start
[2025-01-12 16:31:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:31:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:31:03] Production.INFO: Total Charge 0
[2025-01-12 16:31:03] Production.INFO: CreateAllLog End
[2025-01-12 16:31:03] Production.ERROR: done
[2025-01-12 16:31:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232838') end
[2025-01-12 16:31:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:31:03] Production.INFO: 1
[2025-01-12 16:31:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:31:04] Production.INFO: Account Balance End.
[2025-01-12 16:31:04] Production.INFO: ==29394== Releasing lock...
[2025-01-12 16:31:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:31:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:31:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:31:04] Production.INFO: ==29390== Releasing lock...
[2025-01-12 16:31:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:31:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:31:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:31:04
[end_date_ymd] => 2025-01-12 16:31:04
[RateCDR] => 1
)
[2025-01-12 16:31: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-01-12 13:31:04' and `end` < '2025-01-12 16:31: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-01-12 16:31:11] Production.ERROR: CronJobId end10
[2025-01-12 16:31:11] Production.INFO: ==29388== Releasing lock...
[2025-01-12 16:31:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:31:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:31:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:31:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:31:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:31:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:31:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:31:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:31:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:31:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:31:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:31:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:31:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:31:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:31:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:31:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:31:13] Production.INFO: call_cost start
[2025-01-12 16:31:13] Production.INFO: call_cost end
[2025-01-12 16:31:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:31:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:31:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:31:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:31:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:31:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:31:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:31:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:31:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:31:14] Production.INFO: ==29384== Releasing lock...
[2025-01-12 16:31:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:31:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:31:18] Production.INFO: count ==1270
[2025-01-12 16:31:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:31:04 - End Time 2025-01-12 16:31:04
[2025-01-12 16:31:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232839', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232839', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232839', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:31:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232839', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:31:18] Production.INFO: ProcessCDR(1,14232839,1,1,2)
[2025-01-12 16:31:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:31:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232839,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:31:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:31:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232839,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232839', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:31:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232839', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:31:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:31:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:31:23] Production.INFO: ==29392== Releasing lock...
[2025-01-12 16:31:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:31:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:32:01] Production.INFO: ==29468== Lock acquired, processing the job...
[2025-01-12 21:32:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:32:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:32:01] Production.INFO: neon service started
[2025-01-12 21:32:01] Production.INFO: neon service started
[2025-01-12 21:32:01] Production.INFO: ==29468== Releasing lock...
[2025-01-12 21:32:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:32:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:32:02] Production.INFO: ==29470== Lock acquired, processing the job...
[2025-01-12 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:32:02] Production.INFO: ==29470== Releasing lock...
[2025-01-12 16:32:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:32:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:32:02] Production.INFO: ==29472== Lock acquired, processing the job...
[2025-01-12 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:32:02] Production.INFO: ==29472== Releasing lock...
[2025-01-12 21:32:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:32:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:32:03] Production.INFO: ==29479== Lock acquired, processing the job...
[2025-01-12 16:32:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:32:03] Production.INFO: ==29483== Lock acquired, processing the job...
[2025-01-12 16:32:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:32:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:32:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:32:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:32:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:32:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:32:03] Production.INFO: ==29475== Lock acquired, processing the job...
[2025-01-12 16:32:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:32:03] Production.INFO: ==29477== Lock acquired, processing the job...
[2025-01-12 16:32:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:32:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:32:03] Production.INFO: ==29481== Lock acquired, processing the job...
[2025-01-12 16:32:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:32:03] Production.INFO: ==29485== Lock acquired, processing the job...
[2025-01-12 16:32:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:32:03] Production.ERROR: done
[2025-01-12 16:32:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:32:03] Production.INFO: Account Balance Start.
[2025-01-12 16:32:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:32:03] Production.INFO: 117
[2025-01-12 16:32:04] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 16:32:04] Production.ERROR: done
[2025-01-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:32:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:32:04] Production.INFO: count ==21
[2025-01-12 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232843') start
[2025-01-12 16:32:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:32:04] Production.INFO: ==29477== Releasing lock...
[2025-01-12 16:32:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:32:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:32:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:32:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232843') end
[2025-01-12 16:32:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:32:04] Production.INFO: 1
[2025-01-12 16:32:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:32:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:32:04] Production.INFO: ==29485== Releasing lock...
[2025-01-12 16:32:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:32:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:32:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:32:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:32:04] Production.INFO: Total Charge 0
[2025-01-12 16:32:04] Production.INFO: CreateAllLog End
[2025-01-12 16:32:04] Production.INFO: Account Balance End.
[2025-01-12 16:32:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:32:04] Production.INFO: ==29481== Releasing lock...
[2025-01-12 16:32:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:32:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:32:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:32:05
[end_date_ymd] => 2025-01-12 16:32:05
[RateCDR] => 1
)
[2025-01-12 16:32:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:32:05' and `end` < '2025-01-12 16:32:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:32:11] Production.ERROR: CronJobId end10
[2025-01-12 16:32:11] Production.INFO: ==29479== Releasing lock...
[2025-01-12 16:32:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:32:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:32:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:32:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:32:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:32:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:32:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:32:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:32:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:32:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:32:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:32:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:32:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:32:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:32:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:32:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:32:13] Production.INFO: call_cost start
[2025-01-12 16:32:13] Production.INFO: call_cost end
[2025-01-12 16:32:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:32:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:32:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:32:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:32:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:32:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:32:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:32:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:32:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:32:14] Production.INFO: ==29475== Releasing lock...
[2025-01-12 16:32:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:32:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:32:18] Production.INFO: count ==1271
[2025-01-12 16:32:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:32:05 - End Time 2025-01-12 16:32:05
[2025-01-12 16:32:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232844', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232844', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232844', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:32:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232844', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:32:18] Production.INFO: ProcessCDR(1,14232844,1,1,2)
[2025-01-12 16:32:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:32:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232844,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:32:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:32:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232844,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232844', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:32:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232844', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:32:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:32:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:32:23] Production.INFO: ==29483== Releasing lock...
[2025-01-12 16:32:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:32:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:33:02] Production.INFO: ==29564== Lock acquired, processing the job...
[2025-01-12 21:33:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:33:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:33:02] Production.INFO: neon service started
[2025-01-12 21:33:02] Production.INFO: neon service started
[2025-01-12 21:33:02] Production.INFO: ==29564== Releasing lock...
[2025-01-12 21:33:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:33:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:33:02] Production.INFO: ==29566== Lock acquired, processing the job...
[2025-01-12 16:33:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:33:02] Production.INFO: ==29568== Lock acquired, processing the job...
[2025-01-12 21:33:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:33:03] Production.INFO: ==29568== Releasing lock...
[2025-01-12 21:33:03] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:33:03] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:33:03] Production.INFO: ==29566== Releasing lock...
[2025-01-12 16:33:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:33:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:33:03] Production.INFO: ==29573== Lock acquired, processing the job...
[2025-01-12 16:33:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:33:04] Production.INFO: ==29581== Lock acquired, processing the job...
[2025-01-12 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:33:04] Production.INFO: ==29571== Lock acquired, processing the job...
[2025-01-12 16:33:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:33:04] Production.INFO: ==29573== Releasing lock...
[2025-01-12 16:33:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:33:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:33:04] Production.INFO: ==29577== Lock acquired, processing the job...
[2025-01-12 16:33:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:33:04] Production.INFO: ==29575== Lock acquired, processing the job...
[2025-01-12 16:33:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16: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-01-12 16:33:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:33:04] Production.INFO: count ==21
[2025-01-12 16:33:04] Production.INFO: ==29579== Lock acquired, processing the job...
[2025-01-12 16:33:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 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-01-12 16:33:04] Production.INFO: Account Balance Start.
[2025-01-12 16:33:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:33:04] Production.INFO: count ==21
[2025-01-12 16:33:04] Production.INFO: 117
[2025-01-12 16:33:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:33:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:33:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:33:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:33:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232846') start
[2025-01-12 16:33:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:33:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:33:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232846') end
[2025-01-12 16:33:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:33:04] Production.INFO: 1
[2025-01-12 16:33:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:33:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:33:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:33:04] Production.INFO: ==29581== Releasing lock...
[2025-01-12 16:33:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:33:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:33:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:33:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:33:04] Production.INFO: Total Charge 0
[2025-01-12 16:33:04] Production.INFO: CreateAllLog End
[2025-01-12 16:33:04] Production.ERROR: done
[2025-01-12 16:33:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:33:05] Production.INFO: Account Balance End.
[2025-01-12 16:33:05] Production.ERROR: done
[2025-01-12 16:33:05] Production.ERROR: CronJobId end 12
[2025-01-12 16:33:05] Production.INFO: ==29577== Releasing lock...
[2025-01-12 16:33:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:33:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:33:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:33:06
[end_date_ymd] => 2025-01-12 16:33:06
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:33:06' and `end` < '2025-01-12 16: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-01-12 16:33:12] Production.ERROR: CronJobId end10
[2025-01-12 16:33:12] Production.INFO: ==29575== Releasing lock...
[2025-01-12 16:33:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:33:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:33:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:33:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:33:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:33:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:33:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:33:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:33:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:33:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:33:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:33:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:33:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:33:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:33:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:33:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:33:15] Production.INFO: call_cost start
[2025-01-12 16:33:15] Production.INFO: call_cost end
[2025-01-12 16:33:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:33:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:33:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:33:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:33:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:33:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:33:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:33:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:33:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:33:15] Production.INFO: ==29571== Releasing lock...
[2025-01-12 16:33:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:33:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:33:19] Production.INFO: count ==1274
[2025-01-12 16:33:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:33:06 - End Time 2025-01-12 16:33:06
[2025-01-12 16:33:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232849', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232849', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232849', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:33:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232849', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:33:19] Production.INFO: ProcessCDR(1,14232849,1,1,2)
[2025-01-12 16:33:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:33:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232849,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:33:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:33:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232849,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232849', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:33:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232849', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:33:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:33:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:33:24] Production.INFO: ==29579== Releasing lock...
[2025-01-12 16:33:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:33:24] Production.INFO: 38 MB #Memory Used#
[2025-01-12 21:34:01] Production.INFO: ==29651== Lock acquired, processing the job...
[2025-01-12 21:34:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:34:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:34:01] Production.INFO: neon service started
[2025-01-12 21:34:01] Production.INFO: neon service started
[2025-01-12 21:34:01] Production.INFO: ==29651== Releasing lock...
[2025-01-12 21:34:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:34:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:34:02] Production.INFO: ==29653== Lock acquired, processing the job...
[2025-01-12 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:34:02] Production.INFO: ==29653== Releasing lock...
[2025-01-12 16:34:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:34:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:34:02] Production.INFO: ==29655== Lock acquired, processing the job...
[2025-01-12 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:34:02] Production.INFO: ==29655== Releasing lock...
[2025-01-12 21:34:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:34:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:34:03] Production.INFO: ==29659== Lock acquired, processing the job...
[2025-01-12 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:34:03] Production.INFO: ==29663== Lock acquired, processing the job...
[2025-01-12 16:34:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:34:03] Production.INFO: ==29665== Lock acquired, processing the job...
[2025-01-12 16:34:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:34:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:34:03] Production.INFO: Account Balance Start.
[2025-01-12 16:34:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:34:03] Production.INFO: 117
[2025-01-12 16:34:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:34:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:34:03] Production.INFO: ==29657== Lock acquired, processing the job...
[2025-01-12 16:34:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:34:03] Production.INFO: ==29661== Lock acquired, processing the job...
[2025-01-12 16:34:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:34:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:34:03] Production.INFO: ==29659== Releasing lock...
[2025-01-12 16:34:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:34:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:34:03] Production.INFO: ==29667== Lock acquired, processing the job...
[2025-01-12 16:34:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:34:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:34:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:34:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:34:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:34:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:34:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:34:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:34:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:34:03] Production.INFO: Total Charge 0
[2025-01-12 16: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-01-12 16:34:03] Production.INFO: CreateAllLog End
[2025-01-12 16:34:03] Production.INFO: count ==21
[2025-01-12 16:34:03] Production.ERROR: done
[2025-01-12 16: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-01-12 16:34:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:34:03] Production.INFO: count ==21
[2025-01-12 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232853') start
[2025-01-12 16:34:03] Production.ERROR: done
[2025-01-12 16:34:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232853') end
[2025-01-12 16:34:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:34:03] Production.INFO: 1
[2025-01-12 16:34:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:34:04] Production.INFO: Account Balance End.
[2025-01-12 16:34:04] Production.INFO: ==29667== Releasing lock...
[2025-01-12 16:34:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:34:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:34:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:34:04] Production.INFO: ==29663== Releasing lock...
[2025-01-12 16:34:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:34:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:34:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:34:04
[end_date_ymd] => 2025-01-12 16:34:04
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:34:04' and `end` < '2025-01-12 16: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-01-12 16:34:11] Production.ERROR: CronJobId end10
[2025-01-12 16:34:11] Production.INFO: ==29661== Releasing lock...
[2025-01-12 16:34:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:34:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:34:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:34:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:34:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:34:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:34:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:34:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:34:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:34:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:34:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:34:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:34:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:34:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:34:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:34:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:34:12] Production.INFO: call_cost start
[2025-01-12 16:34:12] Production.INFO: call_cost end
[2025-01-12 16:34:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:34:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:34:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:34:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:34:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:34:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:34:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:34:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:34:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:34:13] Production.INFO: ==29657== Releasing lock...
[2025-01-12 16:34:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:34:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:34:18] Production.INFO: count ==1278
[2025-01-12 16:34:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:34:04 - End Time 2025-01-12 16:34:04
[2025-01-12 16:34:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232854', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232854', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232854', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:34:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232854', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:34:18] Production.INFO: ProcessCDR(1,14232854,1,1,2)
[2025-01-12 16:34:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:34:20] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232854,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:34:20] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:34:22] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232854,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232854', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:34:22] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232854', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:34:22] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:34:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:34:23] Production.INFO: ==29665== Releasing lock...
[2025-01-12 16:34:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:34:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 21:35:02] Production.INFO: ==29749== Lock acquired, processing the job...
[2025-01-12 21:35:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:35:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:35:02] Production.INFO: neon service started
[2025-01-12 21:35:02] Production.INFO: neon service started
[2025-01-12 21:35:02] Production.INFO: ==29749== Releasing lock...
[2025-01-12 21:35:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:35:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:35:02] Production.INFO: ==29751== Lock acquired, processing the job...
[2025-01-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:35:02] Production.INFO: ==29751== Releasing lock...
[2025-01-12 16:35:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:35:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:35:02] Production.INFO: ==29753== Lock acquired, processing the job...
[2025-01-12 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:35:02] Production.INFO: ==29753== Releasing lock...
[2025-01-12 21:35:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:35:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:35:03] Production.INFO: ==29755== Lock acquired, processing the job...
[2025-01-12 16:35:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:35:03] Production.INFO: ==29757== Lock acquired, processing the job...
[2025-01-12 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:35:03] Production.INFO: ==29759== Lock acquired, processing the job...
[2025-01-12 16:35:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:35:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:35:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:35:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:35:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:35:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:35:03] Production.INFO: ==29761== Lock acquired, processing the job...
[2025-01-12 16:35:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:35:03] Production.INFO: ==29763== Lock acquired, processing the job...
[2025-01-12 16:35:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:35:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:35:03] Production.INFO: ==29757== Releasing lock...
[2025-01-12 16:35:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:35:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:35:04] Production.INFO: ==29765== Lock acquired, processing the job...
[2025-01-12 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:35:04] Production.INFO: Account Balance Start.
[2025-01-12 16:35:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:35:04] Production.INFO: 117
[2025-01-12 16:35:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:35:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:35:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:35:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:35:04] Production.INFO: count ==21
[2025-01-12 16:35:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:35:04] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:35:04] Production.INFO: count ==21
[2025-01-12 16:35:04] Production.ERROR: done
[2025-01-12 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232858') start
[2025-01-12 16:35:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:35:04] Production.INFO: Total Charge 0
[2025-01-12 16:35:04] Production.INFO: CreateAllLog End
[2025-01-12 16:35:04] Production.ERROR: done
[2025-01-12 16:35:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232858') end
[2025-01-12 16:35:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:35:04] Production.INFO: 1
[2025-01-12 16:35:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:35:04] Production.INFO: ==29765== Releasing lock...
[2025-01-12 16:35:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:35:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:35:04] Production.INFO: Account Balance End.
[2025-01-12 16:35:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:35:04] Production.INFO: ==29761== Releasing lock...
[2025-01-12 16:35:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:35:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:35:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:35:05
[end_date_ymd] => 2025-01-12 16:35:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:35:05' and `end` < '2025-01-12 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-01-12 16:35:11] Production.ERROR: CronJobId end10
[2025-01-12 16:35:11] Production.INFO: ==29759== Releasing lock...
[2025-01-12 16:35:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:35:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:35:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:35:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:35:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:35:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:35:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:35:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:35:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:35:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:35:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:35:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:35:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:35:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:35:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:35:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:35:13] Production.INFO: call_cost start
[2025-01-12 16:35:13] Production.INFO: call_cost end
[2025-01-12 16:35:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:35:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:35:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:35:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:35:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:35:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:35:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:35:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:35:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:35:14] Production.INFO: ==29755== Releasing lock...
[2025-01-12 16:35:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:35:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:35:19] Production.INFO: count ==1278
[2025-01-12 16:35:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:35:05 - End Time 2025-01-12 16:35:05
[2025-01-12 16:35:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232859', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232859', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232859', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:35:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232859', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:35:19] Production.INFO: ProcessCDR(1,14232859,1,1,2)
[2025-01-12 16:35:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:35:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232859,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:35:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:35:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232859,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232859', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:35:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232859', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:35:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:35:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:35:23] Production.INFO: ==29763== Releasing lock...
[2025-01-12 16:35:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:35:23] Production.INFO: 38 MB #Memory Used#
[2025-01-12 21:36:01] Production.INFO: ==29843== Lock acquired, processing the job...
[2025-01-12 21:36:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:36:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:36:01] Production.INFO: neon service started
[2025-01-12 21:36:01] Production.INFO: neon service started
[2025-01-12 21:36:01] Production.INFO: ==29843== Releasing lock...
[2025-01-12 21:36:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:36:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:36:02] Production.INFO: ==29845== Lock acquired, processing the job...
[2025-01-12 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:36:02] Production.INFO: ==29845== Releasing lock...
[2025-01-12 16:36:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:36:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:36:02] Production.INFO: ==29847== Lock acquired, processing the job...
[2025-01-12 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:36:02] Production.INFO: ==29847== Releasing lock...
[2025-01-12 21:36:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:36:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:36:03] Production.INFO: ==29852== Lock acquired, processing the job...
[2025-01-12 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:36:03] Production.INFO: ==29860== Lock acquired, processing the job...
[2025-01-12 16:36:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:36:03] Production.INFO: ==29850== Lock acquired, processing the job...
[2025-01-12 16:36:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:36:03] Production.INFO: ==29854== Lock acquired, processing the job...
[2025-01-12 16:36:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:36:03] Production.INFO: ==29858== Lock acquired, processing the job...
[2025-01-12 16:36:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16: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-01-12 16:36:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:36:03] Production.INFO: ==29856== Lock acquired, processing the job...
[2025-01-12 16:36:03] Production.INFO: count ==21
[2025-01-12 16:36:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:36:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16: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-01-12 16:36:03] Production.INFO: count ==21
[2025-01-12 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232860') start
[2025-01-12 16:36:03] Production.INFO: Account Balance Start.
[2025-01-12 16:36:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:36:03] Production.INFO: 117
[2025-01-12 16:36:03] Production.INFO: ==29852== Releasing lock...
[2025-01-12 16:36:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:36:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:36:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:36:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:36:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:36:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:36:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:36:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232860') end
[2025-01-12 16:36:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:36:03] Production.INFO: 1
[2025-01-12 16:36:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:36:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:36:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:36:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:36:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:36:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:36:04] Production.INFO: Total Charge 0
[2025-01-12 16:36:04] Production.ERROR: done
[2025-01-12 16:36:04] Production.INFO: ==29860== Releasing lock...
[2025-01-12 16:36:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:36:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:36:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:36:04] Production.INFO: CreateAllLog End
[2025-01-12 16:36:04] Production.ERROR: done
[2025-01-12 16:36:04] Production.INFO: Account Balance End.
[2025-01-12 16:36:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:36:04] Production.INFO: ==29856== Releasing lock...
[2025-01-12 16:36:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:36:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:36:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:36:05
[end_date_ymd] => 2025-01-12 16:36:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:36:05' and `end` < '2025-01-12 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-01-12 16:36:11] Production.ERROR: CronJobId end10
[2025-01-12 16:36:11] Production.INFO: ==29854== Releasing lock...
[2025-01-12 16:36:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:36:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:36:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:36:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:36:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:36:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:36:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:36:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:36:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:36:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:36:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:36:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:36:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:36:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:36:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:36:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:36:13] Production.INFO: call_cost start
[2025-01-12 16:36:13] Production.INFO: call_cost end
[2025-01-12 16:36:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:36:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:36:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:36:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:36:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:36:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:36:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:36:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:36:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:36:14] Production.INFO: ==29850== Releasing lock...
[2025-01-12 16:36:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:36:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:36:18] Production.INFO: count ==1272
[2025-01-12 16:36:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:36:05 - End Time 2025-01-12 16:36:05
[2025-01-12 16:36:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232864', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232864', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232864', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:36:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232864', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:36:18] Production.INFO: ProcessCDR(1,14232864,1,1,2)
[2025-01-12 16:36:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:36:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232864,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:36:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:36:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232864,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232864', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:36:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232864', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:36:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:36:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:36:21] Production.INFO: ==29858== Releasing lock...
[2025-01-12 16:36:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:36:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:37:02] Production.INFO: ==29978== Lock acquired, processing the job...
[2025-01-12 21:37:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:37:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:37:02] Production.INFO: neon service started
[2025-01-12 21:37:02] Production.INFO: neon service started
[2025-01-12 21:37:02] Production.INFO: ==29978== Releasing lock...
[2025-01-12 21:37:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:37:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:37:02] Production.INFO: ==29980== Lock acquired, processing the job...
[2025-01-12 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:37:02] Production.INFO: ==29982== Lock acquired, processing the job...
[2025-01-12 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:37:02] Production.INFO: ==29982== Releasing lock...
[2025-01-12 21:37:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:37:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:37:02] Production.INFO: ==29980== Releasing lock...
[2025-01-12 16:37:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:37:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:37:03] Production.INFO: ==29991== Lock acquired, processing the job...
[2025-01-12 16:37:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:37:03] Production.INFO: ==29993== Lock acquired, processing the job...
[2025-01-12 16:37:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:37:03] Production.INFO: ==29995== Lock acquired, processing the job...
[2025-01-12 16:37:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:37:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:37:03] Production.INFO: ==29985== Lock acquired, processing the job...
[2025-01-12 16:37:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:37:03] Production.INFO: ==29987== Lock acquired, processing the job...
[2025-01-12 16:37:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:37:03] Production.INFO: ==29989== Lock acquired, processing the job...
[2025-01-12 16:37:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:37:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 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-01-12 16:37:03] Production.INFO: Account Balance Start.
[2025-01-12 16:37:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:37:03] Production.INFO: 117
[2025-01-12 16:37:03] Production.INFO: count ==21
[2025-01-12 16:37:03] Production.INFO: Date 2025-01-08
[2025-01-12 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-01-12 16:37:03] Production.INFO: count ==21
[2025-01-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:37:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232866') start
[2025-01-12 16:37:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:37:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:37:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:37:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:37:03] Production.ERROR: done
[2025-01-12 16:37:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:37:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:37:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:37:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:37:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:37:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232866') end
[2025-01-12 16:37:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:37:04] Production.INFO: 1
[2025-01-12 16:37:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:37:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:37:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:37:04] Production.INFO: ==29995== Releasing lock...
[2025-01-12 16:37:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:37:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:37:04] Production.ERROR: done
[2025-01-12 16:37:04] Production.INFO: Total Charge 0
[2025-01-12 16:37:04] Production.INFO: CreateAllLog End
[2025-01-12 16:37:04] Production.INFO: ==29987== Releasing lock...
[2025-01-12 16:37:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:37:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:37:04] Production.INFO: Account Balance End.
[2025-01-12 16:37:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:37:04] Production.INFO: ==29991== Releasing lock...
[2025-01-12 16:37:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:37:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:37:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:37:05
[end_date_ymd] => 2025-01-12 16:37:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:37:05' and `end` < '2025-01-12 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-01-12 16:37:11] Production.ERROR: CronJobId end10
[2025-01-12 16:37:11] Production.INFO: ==29989== Releasing lock...
[2025-01-12 16:37:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:37:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:37:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:37:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:37:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:37:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:37:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:37:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:37:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:37:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:37:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:37:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:37:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:37:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:37:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:37:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:37:14] Production.INFO: call_cost start
[2025-01-12 16:37:14] Production.INFO: call_cost end
[2025-01-12 16:37:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:37:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:37:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:37:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:37:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:37:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:37:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:37:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:37:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:37:15] Production.INFO: ==29985== Releasing lock...
[2025-01-12 16:37:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:37:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:37:19] Production.INFO: count ==1272
[2025-01-12 16:37:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:37:05 - End Time 2025-01-12 16:37:05
[2025-01-12 16:37:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232869', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232869', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232869', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:37:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232869', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:37:19] Production.INFO: ProcessCDR(1,14232869,1,1,2)
[2025-01-12 16:37:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:37:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232869,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:37:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:37:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232869,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232869', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:37:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232869', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:37:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:37:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:37:23] Production.INFO: ==29993== Releasing lock...
[2025-01-12 16:37:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:37:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:38:01] Production.INFO: ==30073== Lock acquired, processing the job...
[2025-01-12 21:38:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:38:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:38:01] Production.INFO: neon service started
[2025-01-12 21:38:01] Production.INFO: neon service started
[2025-01-12 21:38:01] Production.INFO: ==30073== Releasing lock...
[2025-01-12 21:38:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:38:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:38:01] Production.INFO: ==30077== Lock acquired, processing the job...
[2025-01-12 21:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:38:01] Production.INFO: ==30077== Releasing lock...
[2025-01-12 21:38:01] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:38:01] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:38:01] Production.INFO: ==30075== Lock acquired, processing the job...
[2025-01-12 16:38:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:38:02] Production.INFO: ==30075== Releasing lock...
[2025-01-12 16:38:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:38:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:38:03] Production.INFO: ==30080== Lock acquired, processing the job...
[2025-01-12 16:38:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:38:03] Production.INFO: ==30082== Lock acquired, processing the job...
[2025-01-12 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:38:03] Production.INFO: ==30086== Lock acquired, processing the job...
[2025-01-12 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:38:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:38:03] Production.INFO: ==30084== Lock acquired, processing the job...
[2025-01-12 16:38:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:38:03] Production.INFO: Account Balance Start.
[2025-01-12 16:38:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:38:03] Production.INFO: 117
[2025-01-12 16:38:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:38:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:38:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:38:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:38:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:38:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:38:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:38:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:38:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:38:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:38:03] Production.INFO: Total Charge 0
[2025-01-12 16:38:03] Production.INFO: CreateAllLog End
[2025-01-12 16:38:03] Production.INFO: ==30082== Releasing lock...
[2025-01-12 16:38:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:38:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:38:03] Production.INFO: ==30088== Lock acquired, processing the job...
[2025-01-12 16:38:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:38:03] Production.INFO: ==30090== Lock acquired, processing the job...
[2025-01-12 16:38:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:38:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:38:03] Production.INFO: Account Balance End.
[2025-01-12 16: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-01-12 16:38:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:38:03] Production.INFO: ==30086== Releasing lock...
[2025-01-12 16:38:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:38:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:38:03] Production.INFO: count ==21
[2025-01-12 16: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-01-12 16:38:03] Production.INFO: count ==21
[2025-01-12 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232873') start
[2025-01-12 16:38:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232873') end
[2025-01-12 16:38:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:38:03] Production.INFO: 1
[2025-01-12 16:38:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:38:04] Production.INFO: ==30090== Releasing lock...
[2025-01-12 16:38:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:38:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:38:04] Production.ERROR: done
[2025-01-12 16:38:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:38:04] Production.ERROR: done
[2025-01-12 16:38:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:38:05
[end_date_ymd] => 2025-01-12 16:38:05
[RateCDR] => 1
)
[2025-01-12 16:38:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:38:05' and `end` < '2025-01-12 16:38:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:38:10] Production.ERROR: CronJobId end10
[2025-01-12 16:38:10] Production.INFO: ==30084== Releasing lock...
[2025-01-12 16:38:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:38:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:38:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:38:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:38:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:38:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:38:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:38:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:38:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:38:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:38:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:38:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:38:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:38:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:38:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:38:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:38:12] Production.INFO: call_cost start
[2025-01-12 16:38:12] Production.INFO: call_cost end
[2025-01-12 16:38:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:38:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:38:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:38:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:38:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:38:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:38:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:38:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:38:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:38:13] Production.INFO: ==30080== Releasing lock...
[2025-01-12 16:38:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:38:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:38:19] Production.INFO: count ==1273
[2025-01-12 16:38:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:38:05 - End Time 2025-01-12 16:38:05
[2025-01-12 16:38:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232874', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232874', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232874', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:38:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232874', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:38:19] Production.INFO: ProcessCDR(1,14232874,1,1,2)
[2025-01-12 16:38:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:38:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232874,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:38:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:38:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232874,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232874', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:38:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232874', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:38:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:38:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:38:23] Production.INFO: ==30088== Releasing lock...
[2025-01-12 16:38:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:38:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:39:01] Production.INFO: ==30169== Lock acquired, processing the job...
[2025-01-12 21:39:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:39:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:39:01] Production.INFO: neon service started
[2025-01-12 21:39:01] Production.INFO: neon service started
[2025-01-12 21:39:01] Production.INFO: ==30169== Releasing lock...
[2025-01-12 21:39:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:39:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:39:02] Production.INFO: ==30173== Lock acquired, processing the job...
[2025-01-12 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:39:02] Production.INFO: ==30173== Releasing lock...
[2025-01-12 21:39:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:39:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:39:02] Production.INFO: ==30171== Lock acquired, processing the job...
[2025-01-12 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:39:02] Production.INFO: ==30171== Releasing lock...
[2025-01-12 16:39:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:39:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:39:03] Production.INFO: ==30178== Lock acquired, processing the job...
[2025-01-12 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:39:03] Production.INFO: ==30182== Lock acquired, processing the job...
[2025-01-12 16:39:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:39:03] Production.INFO: ==30180== Lock acquired, processing the job...
[2025-01-12 16:39:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:39:03] Production.INFO: ==30176== Lock acquired, processing the job...
[2025-01-12 16:39:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:39:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:39:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:39:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:39:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:39:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:39:03] Production.INFO: Account Balance Start.
[2025-01-12 16:39:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:39:03] Production.INFO: 117
[2025-01-12 16:39:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:39:03] Production.INFO: ==30178== Releasing lock...
[2025-01-12 16:39:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:39:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:39:03] Production.INFO: ==30184== Lock acquired, processing the job...
[2025-01-12 16:39:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:39:03] Production.INFO: ==30186== Lock acquired, processing the job...
[2025-01-12 16:39:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:39:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:39:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:39:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:39:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:39:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:39:04] Production.INFO: count ==21
[2025-01-12 16:39:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:39:04] Production.INFO: count ==21
[2025-01-12 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232878') start
[2025-01-12 16:39:04] Production.ERROR: done
[2025-01-12 16:39:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:39:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:39:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:39:04] Production.INFO: Total Charge 0
[2025-01-12 16:39:04] Production.INFO: CreateAllLog End
[2025-01-12 16:39:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232878') end
[2025-01-12 16:39:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:39:04] Production.INFO: 1
[2025-01-12 16:39:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:39:04] Production.ERROR: done
[2025-01-12 16:39:04] Production.INFO: Account Balance End.
[2025-01-12 16:39:04] Production.INFO: ==30186== Releasing lock...
[2025-01-12 16:39:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:39:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:39:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:39:04] Production.INFO: ==30182== Releasing lock...
[2025-01-12 16:39:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:39:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:39:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:39:05
[end_date_ymd] => 2025-01-12 16:39:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:39:05' and `end` < '2025-01-12 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-01-12 16:39:11] Production.ERROR: CronJobId end10
[2025-01-12 16:39:11] Production.INFO: ==30180== Releasing lock...
[2025-01-12 16:39:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:39:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:39:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:39:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:39:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:39:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:39:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:39:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:39:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:39:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:39:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:39:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:39:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:39:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:39:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:39:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:39:13] Production.INFO: call_cost start
[2025-01-12 16:39:13] Production.INFO: call_cost end
[2025-01-12 16:39:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:39:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:39:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:39:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:39:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:39:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:39:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:39:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:39:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:39:14] Production.INFO: ==30176== Releasing lock...
[2025-01-12 16:39:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:39:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:39:18] Production.INFO: count ==1275
[2025-01-12 16:39:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:39:05 - End Time 2025-01-12 16:39:05
[2025-01-12 16:39:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232879', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232879', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232879', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:39:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232879', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:39:18] Production.INFO: ProcessCDR(1,14232879,1,1,2)
[2025-01-12 16:39:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:39:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232879,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:39:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:39:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232879,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232879', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:39:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232879', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:39:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:39:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:39:23] Production.INFO: ==30184== Releasing lock...
[2025-01-12 16:39:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:39:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:40:02] Production.INFO: ==30266== Lock acquired, processing the job...
[2025-01-12 21:40:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:40:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:40:02] Production.INFO: neon service started
[2025-01-12 21:40:02] Production.INFO: neon service started
[2025-01-12 21:40:02] Production.INFO: ==30266== Releasing lock...
[2025-01-12 21:40:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:40:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:40:02] Production.INFO: ==30271== Lock acquired, processing the job...
[2025-01-12 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:40:02] Production.INFO: ==30271== Releasing lock...
[2025-01-12 21:40:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:40:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:40:02] Production.INFO: ==30269== Lock acquired, processing the job...
[2025-01-12 16:40:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:40:03] Production.INFO: ==30269== Releasing lock...
[2025-01-12 16:40:03] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:40:03] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:40:04] Production.INFO: ==30277== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:40:04] Production.INFO: ==30279== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:40:04] Production.INFO: ==30273== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Starts#
[2025-01-12 16:40:04] Production.INFO: ==30287== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:40:04] Production.INFO: ==30275== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob start =============================
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 16:40:04] Production.ERROR: CronJob PID - 30275
[2025-01-12 16:40:04] Production.ERROR: CronJob Title - System Alerts
[2025-01-12 16:40:04] Production.ERROR: CronJob ID - 5
[2025-01-12 16:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 16:40:00
[2025-01-12 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 16:40:04] Production.ERROR: CronJob PID - 30277
[2025-01-12 16:40:04] Production.ERROR: CronJob Title - Account Block
[2025-01-12 16:40:04] Production.ERROR: CronJob ID - 7
[2025-01-12 16:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 16:40:00
[2025-01-12 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 16:40:04] Production.ERROR: CronJob PID - 30279
[2025-01-12 16:40:04] Production.ERROR: CronJob Title - Create Customer Summary Live
[2025-01-12 16:40:04] Production.ERROR: CronJob ID - 10
[2025-01-12 16:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 16:40:00
[2025-01-12 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email start =============================
[2025-01-12 16:40:04] Production.ERROR: CronJob PID - 30287
[2025-01-12 16:40:04] Production.ERROR: CronJob Title - Import PBX Extensions and DIDs
[2025-01-12 16:40:04] Production.ERROR: CronJob ID - 19
[2025-01-12 16:40:04] Production.ERROR: CronJob Last Run Time 2025-01-12 16:40:00
[2025-01-12 16:40:04] Production.ERROR: CronJob Active Minutes 0
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob email end =============================
[2025-01-12 16:40:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:40:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:40:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:40:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:40:04] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:40:04] Production.INFO: count ==21
[2025-01-12 16:40:04] Production.ERROR: ========================== active cronjob end =============================
[2025-01-12 16:40:04] Production.INFO: ==30273== Releasing lock...
[2025-01-12 16:40:04] Production.INFO: activecronjobemail-command-activecronjobemail-companyid-1-cronjobid-1 #Stops#
[2025-01-12 16:40:04] Production.INFO: 25.5 MB #Memory Used#
[2025-01-12 16:40:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:40:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:40:04] Production.INFO: count ==21
[2025-01-12 16:40:04] Production.INFO: ==30281== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232880') start
[2025-01-12 16:40:04] Production.INFO: ==30283== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:40:04] Production.INFO: ==30285== Lock acquired, processing the job...
[2025-01-12 16:40:04] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Starts#
[2025-01-12 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:40:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232880') end
[2025-01-12 16:40:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:40:04] Production.INFO: 1
[2025-01-12 16:40:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:40:04] Production.INFO: Account Balance Start.
[2025-01-12 16:40:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:40:04] Production.INFO: 117
[2025-01-12 16:40:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:40:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:40:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:40:04] Production.INFO: ==30287== Releasing lock...
[2025-01-12 16:40:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:40:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:40:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:40:04] Production.INFO: ==30277== Releasing lock...
[2025-01-12 16:40:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:40:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:40:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:40:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:40:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:40:04] Production.INFO: Total Charge 0
[2025-01-12 16:40:04] Production.INFO: CreateAllLog End
[2025-01-12 16:40:04] Production.ERROR: done
[2025-01-12 16:40:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:40:04] Production.ERROR: done
[2025-01-12 16:40:05] Production.ERROR: ========================== Temp table Data Insert and delete live cdr of reseller(today) start =============================
[2025-01-12 16:40:05] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232884', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) start
[2025-01-12 16:40:05] Production.ERROR: done
[2025-01-12 16:40:05] Production.INFO: Account Balance End.
[2025-01-12 16:40:05] Production.ERROR: CronJobId end 12
[2025-01-12 16:40:05] Production.INFO: ==30281== Releasing lock...
[2025-01-12 16:40:05] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:40:05] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:40:06] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:40:06
[end_date_ymd] => 2025-01-12 16:40:06
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:40:06' and `end` < '2025-01-12 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-01-12 16:40:09] Production.INFO: CALL prc_InsertTemptResellerCDR ('1','1' , '14232884', 'tblTempUsageDetail_20reseller','2025-01-12','2025-01-12','1' ) end
[2025-01-12 16:40:09] Production.ERROR: ========================== Temp table Data Insert end =============================
[2025-01-12 16:40:09] Production.INFO: ProcessCDR(1,14232884,1,1,2)
[2025-01-12 16:40:09] Production.ERROR: start CALL prc_reseller_ProcesssCDR( 1,1,14232884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:40:09] Production.ERROR: end CALL prc_reseller_ProcesssCDR( 1,1,14232884,'tblTempUsageDetail_20reseller',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:40:09] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:40:09] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:40:09] Production.INFO: ==30285== Releasing lock...
[2025-01-12 16:40:09] Production.INFO: resellerpbxaccountusage-command-resellerpbxaccountusage-companyid-1-cronjobid-17 #Stops#
[2025-01-12 16:40:09] Production.INFO: 26 MB #Memory Used#
[2025-01-12 16:40:13] Production.ERROR: CronJobId end10
[2025-01-12 16:40:13] Production.INFO: ==30279== Releasing lock...
[2025-01-12 16:40:13] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:40:13] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:40:14] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:40:14] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:40:14] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:40:14] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:40:14] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:40:14] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:40:14] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:40:14] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:40:14] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:40:14] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:40:14] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:40:14] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:40:14] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:40:14] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:40:15] Production.INFO: call_cost start
[2025-01-12 16:40:15] Production.INFO: call_cost end
[2025-01-12 16:40:15] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:40:15] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:40:15] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:40:15] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:40:15] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:40:15] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:40:15] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:40:15] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:40:15] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:40:15] Production.INFO: ==30275== Releasing lock...
[2025-01-12 16:40:15] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:40:15] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:40:19] Production.INFO: count ==1276
[2025-01-12 16:40:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:40:06 - End Time 2025-01-12 16:40:06
[2025-01-12 16:40:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232885', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232885', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232885', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:40:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232885', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:40:19] Production.INFO: ProcessCDR(1,14232885,1,1,2)
[2025-01-12 16:40:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:40:22] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232885,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:40:22] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:40:24] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232885,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232885', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:40:24] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232885', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:40:24] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:40:24] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:40:24] Production.INFO: ==30283== Releasing lock...
[2025-01-12 16:40:24] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:40:24] Production.INFO: 38.25 MB #Memory Used#
[2025-01-12 21:41:01] Production.INFO: ==30368== Lock acquired, processing the job...
[2025-01-12 21:41:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:41:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:41:01] Production.INFO: neon service started
[2025-01-12 21:41:01] Production.INFO: neon service started
[2025-01-12 21:41:01] Production.INFO: ==30368== Releasing lock...
[2025-01-12 21:41:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:41:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 21:41:02] Production.INFO: ==30372== Lock acquired, processing the job...
[2025-01-12 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:41:02] Production.INFO: ==30372== Releasing lock...
[2025-01-12 21:41:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:41:02] Production.INFO: 26 MB #Memory Used#
[2025-01-12 16:41:02] Production.INFO: ==30370== Lock acquired, processing the job...
[2025-01-12 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:41:02] Production.INFO: ==30370== Releasing lock...
[2025-01-12 16:41:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:41:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:41:03] Production.INFO: ==30381== Lock acquired, processing the job...
[2025-01-12 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:41:03] Production.INFO: ==30383== Lock acquired, processing the job...
[2025-01-12 16:41:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:41:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:41:03] Production.INFO: Account Balance Start.
[2025-01-12 16:41:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:41:03] Production.INFO: 117
[2025-01-12 16:41:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:41:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:41:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:41:03] Production.INFO: ==30375== Lock acquired, processing the job...
[2025-01-12 16:41:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:41:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:41:03] Production.INFO: ==30377== Lock acquired, processing the job...
[2025-01-12 16:41:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:41:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:41:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:41:03] Production.INFO: ==30379== Lock acquired, processing the job...
[2025-01-12 16:41:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:41:03] Production.INFO: Total Charge 0
[2025-01-12 16:41:03] Production.INFO: CreateAllLog End
[2025-01-12 16:41:03] Production.INFO: ==30385== Lock acquired, processing the job...
[2025-01-12 16:41:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:41:03] Production.ERROR: done
[2025-01-12 16:41:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:41:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:41:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:41:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:41:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:41:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:41:03] Production.INFO: Account Balance End.
[2025-01-12 16: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-01-12 16:41:03] Production.ERROR: done
[2025-01-12 16:41:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:41:03] Production.INFO: ==30381== Releasing lock...
[2025-01-12 16:41:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:41:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:41:03] Production.INFO: count ==21
[2025-01-12 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-01-12 16:41:04] Production.INFO: count ==21
[2025-01-12 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232888') start
[2025-01-12 16:41:04] Production.INFO: ==30377== Releasing lock...
[2025-01-12 16:41:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:41:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:41:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232888') end
[2025-01-12 16:41:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:41:04] Production.INFO: 1
[2025-01-12 16:41:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:41:04] Production.INFO: ==30385== Releasing lock...
[2025-01-12 16:41:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:41:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:41:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:41:04
[end_date_ymd] => 2025-01-12 16:41:04
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:41:04' and `end` < '2025-01-12 16: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-01-12 16:41:11] Production.ERROR: CronJobId end10
[2025-01-12 16:41:11] Production.INFO: ==30379== Releasing lock...
[2025-01-12 16:41:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:41:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:41:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:41:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:41:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:41:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:41:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:41:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:41:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:41:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:41:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:41:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:41:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:41:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:41:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:41:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:41:13] Production.INFO: call_cost start
[2025-01-12 16:41:13] Production.INFO: call_cost end
[2025-01-12 16:41:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:41:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:41:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:41:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:41:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:41:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:41:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:41:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:41:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:41:14] Production.INFO: ==30375== Releasing lock...
[2025-01-12 16:41:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:41:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:41:18] Production.INFO: count ==1294
[2025-01-12 16:41:18] Production.ERROR: pbx CDR StartTime 2025-01-12 13:41:04 - End Time 2025-01-12 16:41:04
[2025-01-12 16:41:18] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232890', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232890', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232890', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:41:18] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232890', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:41:18] Production.INFO: ProcessCDR(1,14232890,1,1,2)
[2025-01-12 16:41:18] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:41:19] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232890,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:41:19] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:41:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232890,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232890', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:41:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232890', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:41:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:41:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:41:21] Production.INFO: ==30383== Releasing lock...
[2025-01-12 16:41:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:41:21] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:42:02] Production.INFO: ==30469== Lock acquired, processing the job...
[2025-01-12 21:42:02] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:42:02] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:42:02] Production.INFO: neon service started
[2025-01-12 21:42:02] Production.INFO: neon service started
[2025-01-12 21:42:02] Production.INFO: ==30469== Releasing lock...
[2025-01-12 21:42:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:42:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:42:02] Production.INFO: ==30471== Lock acquired, processing the job...
[2025-01-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:42:02] Production.INFO: ==30473== Lock acquired, processing the job...
[2025-01-12 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:42:02] Production.INFO: ==30473== Releasing lock...
[2025-01-12 21:42:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:42:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:42:02] Production.INFO: ==30471== Releasing lock...
[2025-01-12 16:42:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:42:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:42:03] Production.INFO: ==30479== Lock acquired, processing the job...
[2025-01-12 16:42:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:42:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:42:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:42:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:42:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:42:03] Production.INFO: ==30486== Lock acquired, processing the job...
[2025-01-12 16:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:42:03] Production.INFO: ==30482== Lock acquired, processing the job...
[2025-01-12 16:42:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:42:03] Production.INFO: select e.ex_id,e.ex_name,e.ex_number,ex_datecreation,t.te_code
from
ex_extensions as e inner join te_tenants as t on t.te_id = e.ex_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:42:03] Production.INFO: Account Balance Start.
[2025-01-12 16:42:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:42:03] Production.INFO: 117
[2025-01-12 16:42:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:42:03] Production.INFO: count ==21
[2025-01-12 16:42:03] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:42:03] Production.INFO: count ==21
[2025-01-12 16:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232891') start
[2025-01-12 16:42:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:42:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:42:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:42:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:42:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:42:03] Production.INFO: ==30475== Lock acquired, processing the job...
[2025-01-12 16:42:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:42:03] Production.INFO: ==30477== Lock acquired, processing the job...
[2025-01-12 16:42:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:42:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232891') end
[2025-01-12 16:42:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:42:03] Production.INFO: 1
[2025-01-12 16:42:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:42:03] Production.INFO: ==30486== Releasing lock...
[2025-01-12 16:42:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:42:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:42:04] Production.INFO: Total Charge 0
[2025-01-12 16:42:04] Production.INFO: CreateAllLog End
[2025-01-12 16:42:04] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:42:04] Production.INFO: Account Balance End.
[2025-01-12 16:42:04] Production.INFO: ==30484== Lock acquired, processing the job...
[2025-01-12 16:42:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:42:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:42:04] Production.INFO: ==30482== Releasing lock...
[2025-01-12 16:42:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:42:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:42:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:42:04] Production.INFO: ==30477== Releasing lock...
[2025-01-12 16:42:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:42:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:42:04] Production.ERROR: done
[2025-01-12 16:42:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:42:04] Production.ERROR: done
[2025-01-12 16:42:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:42:05
[end_date_ymd] => 2025-01-12 16:42:05
[RateCDR] => 1
)
[2025-01-12 16:42:05] Production.INFO: select c.src, c.ID,c.`start`,c.`end`,c.duration,c.billsec,c.realsrc as extension,c.accountcode,
c.firstdst,c.lastdst,coalesce(sum(cc_cost)) as cc_cost,c.pincode, c.userfield,IFNULL(cc_type ,'') as cc_type,
disposition,IFNULL(p.pr_name,'') as cc_peername,IFNULL(cc.cc_buy,'') as cc_buy, ex.ex_name,ex.ex_description,
pin.pc_description as pincode_name
from asteriskcdrdb.cdr c
left outer join asterisk.cc_callcosts cc on
c.uniqueid=cc.cc_uniqueid and ( c.sequence=cc.cc_cdr_sequence or (c.sequence is null and cc.cc_cdr_sequence=0 ) ) /*-- Given by mirta same as in their front end.*/
left outer join asterisk.pr_providers p on
cc_pr_id = pr_id
left outer join asterisk.te_tenants te ON te.te_code = c.accountcode
left outer join asterisk.ex_extensions ex ON CONCAT(ex.ex_number, '-', te.te_code) = c.realsrc and ex.ex_te_id = te.te_id
left outer join asterisk.pc_pincodes pin ON pin.pc_pin = c.pincode
where `end` >= '2025-01-12 13:42:05' and `end` < '2025-01-12 16:42:05'
AND (
userfield like '%outbound%'
or userfield like '%inbound%'
or ( userfield = '' AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE' ) /*-- Ignore Internal call*/
)
AND ( dst<>'h' or duration <> 0 ) /*-- given by mirta*/
AND IFNULL(cc_type ,'') <> 'OUTNOCHARGE'
and prevuniqueid=''
group by ID,c.`start`,c.`end`,realsrc,firstdst,duration,billsec,userfield,uniqueid,prevuniqueid,lastdst,dst,pincode,IFNULL(cc_type ,'')
[2025-01-12 16:42:12] Production.ERROR: CronJobId end10
[2025-01-12 16:42:12] Production.INFO: ==30479== Releasing lock...
[2025-01-12 16:42:12] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:42:12] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:42:13] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:42:13] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:42:13] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:42:13] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:42:13] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:42:13] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:42:13] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:42:13] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:42:13] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:42:13] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:42:13] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:42:13] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:42:13] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:42:13] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:42:14] Production.INFO: call_cost start
[2025-01-12 16:42:14] Production.INFO: call_cost end
[2025-01-12 16:42:14] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:42:14] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:42:14] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:42:14] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:42:14] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:42:14] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:42:14] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:42:14] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:42:14] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:42:14] Production.INFO: ==30475== Releasing lock...
[2025-01-12 16:42:14] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:42:14] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:42:19] Production.INFO: count ==1294
[2025-01-12 16:42:20] Production.ERROR: pbx CDR StartTime 2025-01-12 13:42:05 - End Time 2025-01-12 16:42:05
[2025-01-12 16:42:20] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232895', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232895', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232895', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:42:20] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232895', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:42:20] Production.INFO: ProcessCDR(1,14232895,1,1,2)
[2025-01-12 16:42:20] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:42:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232895,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:42:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:42:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232895,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232895', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:42:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232895', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:42:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:42:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:42:23] Production.INFO: ==30484== Releasing lock...
[2025-01-12 16:42:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:42:23] Production.INFO: 37.5 MB #Memory Used#
[2025-01-12 21:43:01] Production.INFO: ==30573== Lock acquired, processing the job...
[2025-01-12 21:43:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:43:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:43:01] Production.INFO: neon service started
[2025-01-12 21:43:01] Production.INFO: neon service started
[2025-01-12 21:43:01] Production.INFO: ==30573== Releasing lock...
[2025-01-12 21:43:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:43:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:43:01] Production.INFO: ==30575== Lock acquired, processing the job...
[2025-01-12 16:43:01] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 16:43:02] Production.INFO: ==30575== Releasing lock...
[2025-01-12 16:43:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:43:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 21:43:02] Production.INFO: ==30577== Lock acquired, processing the job...
[2025-01-12 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:43:02] Production.INFO: ==30577== Releasing lock...
[2025-01-12 21:43:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:43:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:43:02] Production.INFO: ==30581== Lock acquired, processing the job...
[2025-01-12 16:43:02] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:43:03] Production.INFO: ==30587== Lock acquired, processing the job...
[2025-01-12 16:43:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:43:03] Production.INFO: ==30579== Lock acquired, processing the job...
[2025-01-12 16:43:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:43:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:43:03] Production.INFO: ==30583== Lock acquired, processing the job...
[2025-01-12 16:43:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:43:03] Production.INFO: ==30585== Lock acquired, processing the job...
[2025-01-12 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:43:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:43:03] Production.INFO: ==30589== Lock acquired, processing the job...
[2025-01-12 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:43:03] Production.INFO: Account Balance Start.
[2025-01-12 16:43:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:43:03] Production.INFO: 117
[2025-01-12 16:43:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:43:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:43:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:43:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:43:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:43:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:43:03] Production.INFO: count ==21
[2025-01-12 16:43:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 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-01-12 16:43:03] Production.INFO: count ==21
[2025-01-12 16:43:03] Production.INFO: ==30581== Releasing lock...
[2025-01-12 16:43:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:43:03] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232899') start
[2025-01-12 16:43:03] Production.ERROR: done
[2025-01-12 16:43:03] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:43:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:43:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:43:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:43:03] Production.INFO: Total Charge 0
[2025-01-12 16:43:03] Production.ERROR: done
[2025-01-12 16:43:03] Production.ERROR: PBX CALL prc_importPBXExtension('14232899') end
[2025-01-12 16:43:03] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:43:03] Production.INFO: 1
[2025-01-12 16:43:03] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:43:03] Production.INFO: CreateAllLog End
[2025-01-12 16:43:03] Production.INFO: ==30589== Releasing lock...
[2025-01-12 16:43:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:43:03] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:43:03] Production.INFO: Account Balance End.
[2025-01-12 16:43:03] Production.ERROR: CronJobId end 12
[2025-01-12 16:43:03] Production.INFO: ==30585== Releasing lock...
[2025-01-12 16:43:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:43:03] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:43:04] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:43:04
[end_date_ymd] => 2025-01-12 16:43:04
[RateCDR] => 1
)
[2025-01-12 16: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-01-12 13:43:04' and `end` < '2025-01-12 16: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-01-12 16:43:11] Production.ERROR: CronJobId end10
[2025-01-12 16:43:11] Production.INFO: ==30583== Releasing lock...
[2025-01-12 16:43:11] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:43:11] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:43:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:43:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:43:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:43:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:43:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:43:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:43:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:43:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:43:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:43:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:43:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:43:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:43:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:43:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:43:13] Production.INFO: call_cost start
[2025-01-12 16:43:13] Production.INFO: call_cost end
[2025-01-12 16:43:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:43:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:43:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:43:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:43:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:43:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:43:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:43:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:43:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:43:13] Production.INFO: ==30579== Releasing lock...
[2025-01-12 16:43:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:43:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:43:17] Production.INFO: count ==1297
[2025-01-12 16:43:17] Production.ERROR: pbx CDR StartTime 2025-01-12 13:43:04 - End Time 2025-01-12 16:43:04
[2025-01-12 16:43:17] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232900', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232900', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232900', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:43:17] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232900', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:43:17] Production.INFO: ProcessCDR(1,14232900,1,1,2)
[2025-01-12 16:43:17] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:43:18] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232900,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:43:18] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:43:21] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232900,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232900', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:43:21] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232900', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:43:21] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:43:21] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:43:21] Production.INFO: ==30587== Releasing lock...
[2025-01-12 16:43:21] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:43:21] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:44:01] Production.INFO: ==30668== Lock acquired, processing the job...
[2025-01-12 21:44:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:44:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:44:02] Production.INFO: neon service started
[2025-01-12 21:44:02] Production.INFO: neon service started
[2025-01-12 21:44:02] Production.INFO: ==30668== Releasing lock...
[2025-01-12 21:44:02] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:44:02] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:44:02] Production.INFO: ==30670== Lock acquired, processing the job...
[2025-01-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:44:02] Production.INFO: ==30672== Lock acquired, processing the job...
[2025-01-12 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:44:02] Production.INFO: ==30672== Releasing lock...
[2025-01-12 21:44:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:44:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:44:02] Production.INFO: ==30670== Releasing lock...
[2025-01-12 16:44:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:44:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:44:03] Production.INFO: ==30675== Lock acquired, processing the job...
[2025-01-12 16:44:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:44:03] Production.INFO: ==30685== Lock acquired, processing the job...
[2025-01-12 16:44:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:44:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:44:03] Production.INFO: ==30677== Lock acquired, processing the job...
[2025-01-12 16:44:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 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-01-12 16:44:04] Production.INFO: ==30679== Lock acquired, processing the job...
[2025-01-12 16:44:04] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:44:04] Production.INFO: ==30681== Lock acquired, processing the job...
[2025-01-12 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:44:04] Production.INFO: count ==21
[2025-01-12 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-01-12 16:44:04] Production.INFO: count ==21
[2025-01-12 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232902') start
[2025-01-12 16:44:04] Production.INFO: ==30683== Lock acquired, processing the job...
[2025-01-12 16:44:04] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:44:04] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:44:04] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:44:04] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:44:04] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:44:04] Production.INFO: Account Balance Start.
[2025-01-12 16:44:04] Production.INFO: CreateAllLog Start
[2025-01-12 16:44:04] Production.INFO: 117
[2025-01-12 16:44:04] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:44:04] Production.INFO: Date 2025-01-08
[2025-01-12 16:44:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232902') end
[2025-01-12 16:44:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:44:04] Production.INFO: 1
[2025-01-12 16:44:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:44:04] Production.INFO: ==30677== Releasing lock...
[2025-01-12 16:44:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:44:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:44:04] Production.INFO: ==30685== Releasing lock...
[2025-01-12 16:44:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:44:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:44:04] Production.INFO: Date 2025-01-09
[2025-01-12 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:44:04] Production.INFO: Date 2025-01-10
[2025-01-12 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:44:04] Production.INFO: Date 2025-01-11
[2025-01-12 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:44:04] Production.INFO: Date 2025-01-12
[2025-01-12 16:44:04] Production.INFO: Reseller ==> 0
[2025-01-12 16:44:04] Production.INFO: Total Charge 0
[2025-01-12 16:44:04] Production.INFO: CreateAllLog End
[2025-01-12 16:44:04] Production.ERROR: done
[2025-01-12 16:44:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16:44:04] Production.INFO: Account Balance End.
[2025-01-12 16:44:04] Production.ERROR: done
[2025-01-12 16:44:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:44:04] Production.INFO: ==30681== Releasing lock...
[2025-01-12 16:44:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:44:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:44:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:44:05
[end_date_ymd] => 2025-01-12 16:44:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:44:05' and `end` < '2025-01-12 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-01-12 16:44:10] Production.ERROR: CronJobId end10
[2025-01-12 16:44:10] Production.INFO: ==30679== Releasing lock...
[2025-01-12 16:44:10] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Stops#
[2025-01-12 16:44:10] Production.INFO: 26.25 MB #Memory Used#
[2025-01-12 16:44:12] Production.INFO: ============== LowBalanceReminder END ===========
[2025-01-12 16:44:12] Production.INFO: ============== Balance Warning START===========
[2025-01-12 16:44:12] Production.INFO: ============== Balance Warning END===========
[2025-01-12 16:44:12] Production.INFO: ============== InvoicePaymentReminder START===========
[2025-01-12 16:44:12] Production.INFO: ============== InvoicePaymentReminder END ===========
[2025-01-12 16:44:12] Production.INFO: ============== AccountPaymentReminder START===========
[2025-01-12 16:44:12] Production.INFO: ============== AccountPaymentReminder END===========
[2025-01-12 16:44:12] Production.INFO: ============== ACD/ASR alert START===========
[2025-01-12 16:44:12] Production.INFO: ============== ACD/ASR alert END===========
[2025-01-12 16:44:12] Production.INFO: ============== Negative Margin alert START===========
[2025-01-12 16:44:12] Production.INFO: ============== Negative Margin alert END===========
[2025-01-12 16:44:12] Production.INFO: ============== Vendor Balance alert START===========
[2025-01-12 16:44:12] Production.INFO: ============== Vendor Balance alert END===========
[2025-01-12 16:44:12] Production.INFO: ============== CDR Post Process START===========
[2025-01-12 16:44:12] Production.INFO: call_cost start
[2025-01-12 16:44:12] Production.INFO: call_cost end
[2025-01-12 16:44:13] Production.INFO: ============== CDR Post Process END===========
[2025-01-12 16:44:13] Production.INFO: ============== Report Schedule START===========
[2025-01-12 16:44:13] Production.INFO: ============== Report Schedule END===========
[2025-01-12 16:44:13] Production.INFO: ============== Account Balance Email Reminder START===========
[2025-01-12 16:44:13] Production.INFO: ============== Account Balance Email Reminder END===========
[2025-01-12 16:44:13] Production.INFO: ============== LowStockReminder alert START===========
[2025-01-12 16:44:13] Production.INFO: ============== LowStockReminder alert END===========
[2025-01-12 16:44:13] Production.INFO: ============== Deal alert START===========
[2025-01-12 16:44:13] Production.INFO: ============== Deal alert END===========
[2025-01-12 16:44:13] Production.INFO: ==30675== Releasing lock...
[2025-01-12 16:44:13] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Stops#
[2025-01-12 16:44:13] Production.INFO: 28.25 MB #Memory Used#
[2025-01-12 16:44:18] Production.INFO: count ==1297
[2025-01-12 16:44:19] Production.ERROR: pbx CDR StartTime 2025-01-12 13:44:05 - End Time 2025-01-12 16:44:05
[2025-01-12 16:44:19] Production.ERROR: ========================== pbx transaction end =============================
[2025-01-12 16:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232905', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID ('1','1' , '14232905', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232905', 'tblTempVendorCDR_20' ) start
[2025-01-12 16:44:19] Production.INFO: CALL prc_DeleteDuplicateUniqueID2 ('1','1' , '14232905', 'tblTempVendorCDR_20' ) end
[2025-01-12 16:44:19] Production.INFO: ProcessCDR(1,14232905,1,1,2)
[2025-01-12 16:44:19] Production.ERROR: start CALL prc_ProcesssVCDR( 1,1,14232905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:44:21] Production.ERROR: end CALL prc_ProcesssVCDR( 1,1,14232905,'tblTempVendorCDR_20',1,2,'','CurrentRate','0','0')
[2025-01-12 16:44:21] Production.ERROR: start CALL prc_ProcesssCDR( 1,1,14232905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:44:23] Production.ERROR: end CALL prc_ProcesssCDR( 1,1,14232905,'tblTempUsageDetail_20',1,2,'','CurrentRate','0','0','0','0')
[2025-01-12 16:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232905', 'tblTempUsageDetail_20' ) start
[2025-01-12 16:44:23] Production.ERROR: PBX CALL prc_ProcessDiscountPlan ('14232905', 'tblTempUsageDetail_20' ) end
[2025-01-12 16:44:23] Production.ERROR: pbx prc_insertCDR start
[2025-01-12 16:44:23] Production.ERROR: pbx prc_insertCDR end
[2025-01-12 16:44:23] Production.INFO: ==30683== Releasing lock...
[2025-01-12 16:44:23] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Stops#
[2025-01-12 16:44:23] Production.INFO: 37.75 MB #Memory Used#
[2025-01-12 21:45:01] Production.INFO: ==30767== Lock acquired, processing the job...
[2025-01-12 21:45:01] Production.INFO: neonservice-command-neonservice #Starts#
[2025-01-12 21:45:01] Production.INFO: neonservice########### Service Starts ###########
[2025-01-12 21:45:01] Production.INFO: neon service started
[2025-01-12 21:45:01] Production.INFO: neon service started
[2025-01-12 21:45:01] Production.INFO: ==30767== Releasing lock...
[2025-01-12 21:45:01] Production.INFO: neonservice-command-neonservice #Stops#
[2025-01-12 21:45:01] Production.INFO: 24.5 MB #Memory Used#
[2025-01-12 16:45:02] Production.INFO: ==30769== Lock acquired, processing the job...
[2025-01-12 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Starts#
[2025-01-12 21:45:02] Production.INFO: ==30771== Lock acquired, processing the job...
[2025-01-12 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Starts#
[2025-01-12 21:45:02] Production.INFO: ==30771== Releasing lock...
[2025-01-12 21:45:02] Production.INFO: rmservice-command-rmservice-companyid-2 #Stops#
[2025-01-12 21:45:02] Production.INFO: 25 MB #Memory Used#
[2025-01-12 16:45:02] Production.INFO: ==30769== Releasing lock...
[2025-01-12 16:45:02] Production.INFO: rmservice-command-rmservice-companyid-1 #Stops#
[2025-01-12 16:45:02] Production.INFO: 25.25 MB #Memory Used#
[2025-01-12 16:45:03] Production.INFO: ==30780== Lock acquired, processing the job...
[2025-01-12 16:45:03] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Starts#
[2025-01-12 16:45:03] Production.INFO: ==30782== Lock acquired, processing the job...
[2025-01-12 16:45:03] Production.INFO: pbxaccountusage-command-pbxaccountusage-companyid-1-cronjobid-16 #Starts#
[2025-01-12 16:45:03] Production.INFO: Account Balance Start.
[2025-01-12 16:45:03] Production.INFO: CreateAllLog Start
[2025-01-12 16:45:03] Production.INFO: 117
[2025-01-12 16:45:03] Production.INFO: Date 2025-01-08
[2025-01-12 16:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:45:03] Production.ERROR: tblTempUsageDetail_20
[2025-01-12 16:45:03] Production.INFO: Date 2025-01-09
[2025-01-12 16:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:45:03] Production.INFO: ==30774== Lock acquired, processing the job...
[2025-01-12 16:45:03] Production.INFO: neonalerts-command-neonalerts-companyid-1-cronjobid-5 #Starts#
[2025-01-12 16:45:03] Production.INFO: Date 2025-01-10
[2025-01-12 16:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:45:03] Production.INFO: Date 2025-01-11
[2025-01-12 16:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:45:03] Production.INFO: ==30776== Lock acquired, processing the job...
[2025-01-12 16:45:03] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Starts#
[2025-01-12 16:45:03] Production.INFO: ==30778== Lock acquired, processing the job...
[2025-01-12 16:45:03] Production.INFO: createsummarylive-command-createsummarylive-companyid-1-cronjobid-10 #Starts#
[2025-01-12 16:45:03] Production.INFO: ==30784== Lock acquired, processing the job...
[2025-01-12 16:45:03] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Starts#
[2025-01-12 16:45:03] Production.INFO: ============== LowBalanceReminder START===========
[2025-01-12 16:45:03] Production.ERROR: tmp_tblUsageDetailsReport_120250112Live done
[2025-01-12 16:45:03] Production.ERROR: tmp_tblVendorUsageDetailsReport_120250112Live done
[2025-01-12 16:45:03] Production.ERROR: CALL prc_updateLiveTables(1,120250112Live)
[2025-01-12 16:45:03] Production.INFO: call prc_generateSummaryLive(1,'2025-01-12','2025-01-12','120250112Live')
[2025-01-12 16:45:03] Production.INFO: Date 2025-01-12
[2025-01-12 16:45:03] Production.INFO: Reseller ==> 0
[2025-01-12 16:45:03] Production.INFO: Total Charge 0
[2025-01-12 16:45:03] Production.INFO: CreateAllLog End
[2025-01-12 16:45:04] Production.ERROR: done
[2025-01-12 16:45:04] Production.ERROR: tblTempVendorCDR_20
[2025-01-12 16: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-01-12 16:45:04] Production.ERROR: done
[2025-01-12 16:45:04] Production.INFO: ==30776== Releasing lock...
[2025-01-12 16:45:04] Production.INFO: pbxaccountblock-command-pbxaccountblock-companyid-1-cronjobid-7 #Stops#
[2025-01-12 16:45:04] Production.INFO: 26.75 MB #Memory Used#
[2025-01-12 16:45:04] Production.INFO: count ==21
[2025-01-12 16:45:04] Production.INFO: select di.di_id,di.di_te_id,di_country,di_area,di_number,t.te_code
from
di_dids as di inner join te_tenants as t on t.te_id = di.di_te_id
where t.te_code='OnSwitchIt'
[2025-01-12 16:45:04] Production.INFO: Account Balance End.
[2025-01-12 16:45:04] Production.INFO: count ==21
[2025-01-12 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232909') start
[2025-01-12 16:45:04] Production.ERROR: CronJobId end 12
[2025-01-12 16:45:04] Production.INFO: ==30780== Releasing lock...
[2025-01-12 16:45:04] Production.INFO: accountbalancegenerator-command-accountbalancegenerator-companyid-1-cronjobid-12 #Stops#
[2025-01-12 16:45:04] Production.INFO: 27.75 MB #Memory Used#
[2025-01-12 16:45:04] Production.ERROR: PBX CALL prc_importPBXExtension('14232909') end
[2025-01-12 16:45:04] Production.INFO: array (
0 =>
array (
'Message' => '0 Records Imported
',
),
)
[2025-01-12 16:45:04] Production.INFO: 1
[2025-01-12 16:45:04] Production.ERROR: ========================== import pbx extension end =============================
[2025-01-12 16:45:04] Production.INFO: ==30784== Releasing lock...
[2025-01-12 16:45:04] Production.INFO: importpbxextensions-command-importpbxextensions-companyid-1-cronjobid-19 #Stops#
[2025-01-12 16:45:04] Production.INFO: 26.5 MB #Memory Used#
[2025-01-12 16:45:05] Production.ERROR: Array
(
[start_date_ymd] => 2025-01-12 13:45:05
[end_date_ymd] => 2025-01-12 16:45:05
[RateCDR] => 1
)
[2025-01-12 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-01-12 13:45:05' and `end` < '2025-01-12 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 ,'') <